@font-face {
    font-family: IRANSansX;
    src: url('../fonts/iransansx-regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: IRANSansX;
    src: url('../fonts/iransansx-medium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: IRANSansX;
    src: url('../fonts/iransansx-bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}
:root {
    --orange: #ff741c;
    --orange-dark: #e35b0c;
    --peach: #fff2e7;
    --ink: #24302e;
    --muted: #84908b;
    --line: #e9eeeb;
    --bg: #f7f9f8;
    --green: #18785c;
    --green-bg: #e9f6ee;
    --radius: 20px;
    --shadow: 0 10px 40px #263f2c07;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: IRANSansX, sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.9;
}
button,
input,
textarea,
select {
    font: inherit;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: wait;
    opacity: 0.55;
}
input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dde4e0;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    outline: none;
    min-height: 48px;
}
input:focus,
textarea:focus,
select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px #ff741c12;
}
input[type='checkbox'] {
    width: 17px;
    height: 17px;
    min-height: 0;
    accent-color: var(--orange);
    flex: none;
}
textarea {
    min-height: 100px;
    resize: vertical;
}
label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
}
label.check {
    flex-direction: row;
    align-items: center;
    font-size: 13px;
    margin: 14px 0;
}
h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}
h1 {
    font-size: 28px;
    line-height: 1.6;
    margin-bottom: 10px;
}
h2 {
    font-size: 20px;
    margin-bottom: 14px;
}
h3 {
    font-size: 16px;
    margin-bottom: 9px;
}
p {
    margin-bottom: 14px;
}
.muted {
    color: var(--muted);
}
.small {
    font-size: 12px;
}
.tiny {
    font-size: 10px;
}
.orange {
    color: var(--orange);
}
.green {
    color: var(--green);
}
.row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.between {
    justify-content: space-between;
}
.wrap {
    flex-wrap: wrap;
}
.gap {
    gap: 20px;
}
.stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.full {
    grid-column: 1/-1;
}
.wide {
    width: 100%;
}
.hidden {
    display: none !important;
}
.center {
    text-align: center;
}
.ltr {
    direction: ltr;
}
.num {
    font-variant-numeric: tabular-nums;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-weight: 500;
    transition:
        transform 0.18s,
        background 0.18s;
    font-size: 13px;
}
.btn:hover {
    transform: translateY(-2px);
    background: #fcf8f4;
}
.btn.primary {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
    box-shadow: 0 5px 14px #ff741c1a;
}
.btn.primary:hover {
    background: var(--orange-dark);
}
.btn.soft {
    background: var(--peach);
    color: #c85610;
    border-color: transparent;
}
.btn.dark {
    background: var(--ink);
    color: #fff;
}
.btn.small {
    min-height: 34px;
    padding: 5px 12px;
    font-size: 11px;
}
.btn.danger {
    background: #fff0ef;
    color: #c64940;
}
.icon-btn {
    border: 1px solid var(--line);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--ink);
    flex: none;
}
.icon-btn:hover {
    color: var(--orange);
    border-color: #ffc49c;
}
.icon-btn i {
    font-size: 18px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #f0f3f1;
    color: #718179;
    font-size: 10px;
    white-space: nowrap;
}
.badge.success {
    background: var(--green-bg);
    color: var(--green);
}
.badge.warning {
    background: #fff4dc;
    color: #b78218;
}
.badge.danger {
    background: #ffedeb;
    color: #bd5147;
}
.badge.orange {
    background: var(--peach);
    color: #ce621a;
}
.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 100%;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
}
.card-head h2,
.card-head h3 {
    margin: 0;
}
.notice {
    border: 1px solid #ffddc2;
    border-radius: 12px;
    background: #fff8ee;
    padding: 12px 16px;
    font-size: 12px;
    color: #996229;
}
.notice.danger {
    border-color: #ffdad7;
    background: #fff3f2;
    color: #bd5147;
}
.notice.success {
    border-color: #cde6d6;
    background: var(--green-bg);
    color: var(--green);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}
.eyebrow {
    font-size: 11px;
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 0.3px;
}
.divider {
    height: 1px;
    background: var(--line);
    margin: 20px 0;
}
.brand-logo {
    width: 140px;
    height: 60px;
    object-fit: contain;
}
.avatar {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    object-fit: cover;
    background: var(--peach);
}
.avatar.big {
    width: 96px;
    height: 96px;
    border-radius: 26px;
}
.empty {
    text-align: center;
    padding: 45px 20px;
    color: var(--muted);
}
.empty i {
    font-size: 32px;
    color: #c2ccc5;
    display: block;
    margin-bottom: 10px;
}
.empty img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}
.table-wrap {
    overflow: auto;
}
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
}
th {
    color: var(--muted);
    font-weight: 500;
    font-size: 11px;
    background: #fafcfb;
}
th,
td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
}
tr:last-child td {
    border-bottom: 0;
}
tbody tr:hover {
    background: #fffdfa;
}
.table-product {
    display: flex;
    align-items: center;
    gap: 10px;
}
.table-product img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 12px;
}
.table-product span {
    display: block;
    font-size: 10px;
    color: var(--muted);
}
.pill-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.pill-tabs button,
.pill-tabs a {
    padding: 8px 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 12px;
    color: #768379;
    cursor: pointer;
}
.pill-tabs .active {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}
.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 0 25px;
}
.page-heading p {
    font-size: 12px;
    color: var(--muted);
    margin: 5px 0 0;
}
.page-heading h1 {
    font-size: 24px;
    margin: 0;
}
.page-heading .eyebrow {
    margin-bottom: 8px;
    display: block;
}
/* Storefront */
.store-header {
    height: 94px;
    border-bottom: 1px solid var(--line);
    background: white;
}
.container {
    max-width: 1240px;
    margin: auto;
    padding: 0 28px;
}
.store-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.store-header nav {
    display: flex;
    gap: 26px;
    font-size: 12px;
}
.location-chip {
    border: 0;
    background: transparent;
    display: flex;
    gap: 10px;
    align-items: center;
    text-align: right;
    cursor: pointer;
}
.location-chip i {
    color: var(--orange);
    font-size: 23px;
}
.location-chip small {
    display: block;
    font-size: 10px;
    color: var(--muted);
}
.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 450px;
    align-items: center;
    gap: 35px;
    padding: 45px 0 26px;
}
.hero h1 {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: -1.7px;
    margin: 16px 0;
}
.hero h1 em {
    font-style: normal;
    color: var(--orange);
    position: relative;
}
.hero h1 em:after {
    content: '';
    position: absolute;
    bottom: -7px;
    right: 0;
    width: 90%;
    height: 5px;
    border-radius: 50%;
    background: #ffb87f;
    transform: rotate(-3deg);
}
.hero p {
    font-size: 13px;
    line-height: 2.2;
    color: #7b8980;
    max-width: 460px;
}
.searchbox {
    display: flex;
    gap: 10px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin: 22px 0;
    max-width: 510px;
}
.searchbox input {
    border: 0;
    box-shadow: none;
    min-width: 0;
}
.hero-trust {
    display: flex;
    gap: 25px;
    color: #7e8a81;
    font-size: 10px;
}
.hero-trust i {
    color: var(--green);
    margin-left: 5px;
}
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 20px;
}
.section-heading h2 {
    margin: 0;
    font-size: 22px;
}
.section-heading p {
    color: var(--muted);
    font-size: 11px;
    margin: 6px 0 0;
}
.categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}
.category {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}
.category:hover,
.category.active {
    border-color: #ffb781;
    background: #fff8f1;
    transform: translateY(-3px);
}
.category img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    margin: auto auto 8px;
}
.category span {
    font-size: 12px;
}
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.shop-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.2s;
    position: relative;
}
.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 13px 35px #273d2e0d;
}
.shop-cover {
    height: 175px;
    width: 100%;
    object-fit: cover;
}
.shop-card .content {
    padding: 18px;
}
.shop-card h3 {
    font-size: 16px;
    margin: 0;
}
.shop-card p {
    font-size: 11px;
    color: var(--muted);
    margin: 9px 0;
}
.shop-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 13px;
    font-size: 10px;
    color: #879289;
}
.shop-meta i {
    margin-left: 4px;
}
.rating {
    background: #f0f8e9;
    color: #5b821d;
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 11px;
}
.rating i {
    color: #9bba4b;
}
.shop-top-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    background: #fffffff2;
    box-shadow: 0 2px 9px #0001;
}
.promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff0e3;
    border: 1px solid #ffe0c7;
    border-radius: 24px;
    padding: 22px 45px;
    margin: 45px 0;
    overflow: hidden;
}
.promo-banner img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}
.promo-banner h2 {
    font-size: 26px;
    margin-bottom: 10px;
}
.footer {
    background: #fff;
    border-top: 1px solid var(--line);
    margin-top: 50px;
    padding: 35px 0;
    color: #849087;
    font-size: 11px;
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}
.footer-links {
    display: flex;
    gap: 22px;
}
.shop-hero {
    height: 235px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    margin-top: 25px;
}
.shop-hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}
.shop-hero .caption {
    position: absolute;
    right: 30px;
    bottom: 25px;
    color: white;
}
.shop-hero h1 {
    font-size: 32px;
    margin: 0;
}
.shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 25px;
    margin-top: 25px;
}
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 17px;
    display: flex;
    gap: 16px;
    align-items: center;
}
.product-card img {
    width: 110px;
    height: 110px;
    border-radius: 15px;
    object-fit: cover;
}
.product-card h3 {
    font-size: 14px;
}
.product-card p {
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 9px;
    line-height: 1.9;
}
.price {
    font-size: 13px;
    font-weight: 700;
}
.price small {
    font-weight: 400;
    color: var(--muted);
    font-size: 9px;
}
.cart-panel {
    align-self: start;
    position: sticky;
    top: 20px;
}
.cart-item {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}
.quantity {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.quantity button {
    width: 26px;
    height: 26px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    color: var(--orange);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 8px 0;
}
.summary-row.total {
    border-top: 1px solid var(--line);
    margin-top: 10px;
    padding-top: 16px;
    font-weight: 700;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 25px;
}
.address-option {
    border: 1px solid var(--line);
    padding: 15px;
    border-radius: 15px;
    cursor: pointer;
    margin-bottom: 12px;
}
.address-option.selected {
    border-color: var(--orange);
    background: #fffbf7;
}
.pay-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.pay-option {
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--line);
    cursor: pointer;
    font-size: 12px;
}
.pay-option.active {
    background: var(--peach);
    border-color: var(--orange);
}
/* Panels */
.panel-layout {
    display: grid;
    grid-template-columns: 244px minmax(0, 1fr);
    min-height: 100vh;
}
.sidebar {
    background: #fff;
    border-left: 1px solid var(--line);
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 24px 18px 18px;
    overflow-y: auto;
}
.sidebar .brand-logo {
    width: 145px;
    margin: 0 14px 28px;
    height: 55px;
}
.sidebar-label {
    color: #b0b9b3;
    font-size: 9px;
    margin: 12px 18px 7px;
}
.side-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.side-nav a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 15px;
    font-size: 12px;
    color: #7a887f;
    border-radius: 12px;
    transition: 0.15s;
}
.side-nav a i {
    font-size: 18px;
    color: #89988d;
}
.side-nav a:hover {
    background: #faf8f4;
    color: #bc662c;
}
.side-nav a.active {
    background: var(--peach);
    color: #e26313;
    font-weight: 700;
}
.side-nav a.active i {
    color: #ed741d;
}
.sidebar-bottom {
    margin-top: auto;
    padding-top: 25px;
}
.sidebar-promo {
    background: #fff7ed;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    font-size: 10px;
    color: #a67b55;
}
.sidebar-promo img {
    height: 80px;
    width: 90px;
    object-fit: contain;
    display: block;
    margin: -6px auto 4px;
}
.panel-main {
    min-width: 0;
}
.panel-topbar {
    height: 82px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.breadcrumb {
    font-size: 11px;
    color: #97a199;
}
.top-user {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 11px;
}
.top-user small {
    color: var(--muted);
    display: block;
    font-size: 9px;
}
.panel-body {
    padding: 28px 32px;
    max-width: 1550px;
    margin: auto;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}
.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    min-width: 0;
}
.stat .stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--peach);
    color: #e87b2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.stat .stat-icon.green {
    background: #edf7ed;
    color: #639b6c;
}
.stat .stat-icon.blue {
    background: #eef2fd;
    color: #7a8cc2;
}
.stat .stat-icon.purple {
    background: #f5eefd;
    color: #9a81bf;
}
.stat strong {
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-top: 16px;
    line-height: 1.4;
    white-space: nowrap;
}
.stat strong small {
    font-size: 10px;
    font-weight: 400;
    color: var(--muted);
}
.stat p {
    font-size: 11px;
    color: #8c988f;
    margin: 9px 0 0;
}
.dashboard-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
    gap: 22px;
}
.welcome-banner {
    background: #fff0e3;
    border: 1px solid #ffe0c4;
    border-radius: 20px;
    padding: 25px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 155px;
    margin-bottom: 24px;
    overflow: hidden;
}
.welcome-banner h2 {
    font-size: 22px;
}
.welcome-banner p {
    font-size: 12px;
    color: #ad855e;
    margin: 0;
}
.welcome-banner img {
    width: 125px;
    height: 125px;
    object-fit: contain;
}
.chart-bars {
    height: 180px;
    display: flex;
    align-items: end;
    gap: 14px;
    padding: 15px 0 0;
    border-bottom: 1px dashed var(--line);
    direction: ltr;
}
.chart-bar {
    flex: 1;
    background: #ffe7d5;
    border-radius: 7px 7px 0 0;
    position: relative;
    min-height: 7px;
    transition: 0.3s;
}
.chart-bar:nth-child(2n) {
    background: #ff973f;
}
.chart-bar span {
    position: absolute;
    bottom: -25px;
    width: 100%;
    text-align: center;
    font-size: 9px;
    color: #96a298;
}
.chart-labels {
    padding-bottom: 30px;
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.quick-item {
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 17px 5px;
    font-size: 10px;
    color: #7c8c7e;
}
.quick-item i {
    display: block;
    font-size: 23px;
    color: #ed8a43;
    margin-bottom: 9px;
}
.alert-line {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}
.alert-line i {
    font-size: 18px;
    color: #e9ad41;
}
.alert-line:last-child {
    border-bottom: 0;
}
.mobile-bottom {
    display: none;
}
.test-banner {
    background: #fff6de;
    border-bottom: 1px solid #f2e3ba;
    text-align: center;
    padding: 5px 12px;
    font-size: 10px;
    color: #987224;
}
.order-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
}
.order-card .order-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
}
.order-card .order-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 15px;
    margin-top: 15px;
}
.order-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.timeline {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 25px 0;
}
.timeline .step {
    flex: 1;
    text-align: center;
    color: #b9c3bc;
    font-size: 10px;
    position: relative;
}
.timeline .step:before {
    content: '';
    height: 2px;
    background: #edf0ed;
    position: absolute;
    top: 15px;
    left: -50%;
    width: 100%;
    z-index: 0;
}
.timeline .step:last-child:before {
    display: none;
}
.timeline .step i {
    display: block;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #f1f4f1;
    margin: 0 auto 10px;
    position: relative;
    z-index: 1;
    font-size: 15px;
}
.timeline .step.done {
    color: var(--green);
}
.timeline .step.done i {
    background: #e7f4e7;
}
.contract-paper {
    border: 1px solid var(--line);
    background: #fffcf8;
    padding: 25px;
    border-radius: 15px;
    white-space: pre-wrap;
    font-size: 12px;
    line-height: 2.2;
    max-height: 350px;
    overflow: auto;
}
.ticket-message {
    padding: 16px;
    border-radius: 15px;
    background: #f6f8f7;
    margin-bottom: 12px;
    font-size: 12px;
    white-space: pre-wrap;
}
.ticket-message.staff {
    background: var(--peach);
}
.product-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.product-selector button {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 13px;
    text-align: right;
}
.product-selector img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}
.pos-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
}
.map-box {
    height: 310px;
    border-radius: 15px;
    background: #f2f4ef;
    position: relative;
    border: 1px solid var(--line);
    overflow: hidden;
}
.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 25px;
    color: #819285;
    font-size: 12px;
}
.map-toolbar {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 500;
}
.map-results button {
    display: block;
    width: 100%;
    text-align: right;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: white;
    padding: 10px;
    cursor: pointer;
}
.select2-container {
    width: 100% !important;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 48px;
    border: 1px solid #dde4e0;
    border-radius: 12px;
    padding: 9px 7px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 11px;
}
.select2-dropdown {
    border-color: #dde4e0;
    border-radius: 10px;
    overflow: hidden;
    font-size: 12px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--orange);
}
jdp-container {
    z-index: 10000 !important;
    font-family: IRANSansX !important;
}
/* Dialog and feedback */
dialog {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    width: min(620px, 94vw);
    max-height: 90vh;
    color: var(--ink);
    box-shadow: 0 30px 100px #17251e26;
    overflow: auto;
}
dialog::backdrop {
    background: #1b2c2466;
    backdrop-filter: blur(4px);
}
.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    margin-bottom: 22px;
}
.modal-head h2 {
    font-size: 19px;
    margin: 0;
}
#toasts {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: var(--ink);
    color: white;
    border-radius: 13px;
    padding: 13px 20px;
    box-shadow: 0 10px 30px #0002;
    font-size: 12px;
    max-width: 380px;
}
.toast.error {
    background: #b94e42;
}
.initial-loader {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #98a69d;
    font-size: 12px;
}
.initial-loader img {
    width: 160px;
    margin-bottom: 18px;
}
.skeleton {
    height: 130px;
    background: linear-gradient(90deg, #f1f4f1, #fafbfa, #f1f4f1);
    background-size: 200%;
    animation: skeleton 1.5s infinite;
    border-radius: 18px;
}
@keyframes skeleton {
    to {
        background-position: -200%;
    }
}
.setup-body {
    background: #fff6ef;
    padding: 35px 20px;
    min-height: 100vh;
}
.setup-card {
    max-width: 680px;
    margin: auto;
    background: white;
    border: 1px solid #ffe2cc;
    border-radius: 25px;
    padding: 35px;
}
.setup-card > .brand-logo {
    display: block;
    margin: 0 auto 20px;
}
.setup-card h1 {
    font-size: 25px;
}
.setup-card form {
    margin-top: 22px;
}
.code-block {
    font-family: monospace;
    direction: ltr;
    text-align: left;
    white-space: pre-wrap;
    background: #f5f7f5;
    border-radius: 12px;
    padding: 15px;
}
.profile-photo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}
.print-only {
    display: none;
}
@media (min-width: 1500px) {
    .container {
        max-width: 1350px;
    }
    .panel-body {
        padding: 35px 42px;
    }
}
@media (max-width: 1150px) {
    .hero h1 {
        font-size: 36px;
    }
    .hero-photo {
        width: 290px;
        height: 290px;
    }
    .hero-visual:before {
        width: 300px;
        height: 300px;
    }
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        gap: 12px;
    }
    .stat {
        padding: 16px;
    }
    .stat strong {
        font-size: 20px;
    }
    .panel-layout {
        grid-template-columns: 215px minmax(0, 1fr);
    }
    .panel-body {
        padding: 24px;
    }
    .dashboard-columns {
        grid-template-columns: 1fr;
    }
    .sidebar {
        padding: 22px 12px;
    }
    .hero-trust {
        gap: 12px;
    }
}
@media (max-width: 800px) {
    .container {
        padding: 0 18px;
    }
    .store-header {
        height: 78px;
    }
    .store-header nav {
        display: none;
    }
    .store-header .brand-logo {
        width: 110px;
        height: 48px;
    }
    .location-chip {
        font-size: 10px;
    }
    .location-chip i {
        font-size: 18px;
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 28px 0;
    }
    .hero-copy {
        text-align: center;
    }
    .hero-copy p,
    .hero .searchbox {
        margin-left: auto;
        margin-right: auto;
    }
    .hero h1 {
        font-size: 34px;
        line-height: 1.7;
        letter-spacing: -1px;
    }
    .hero-trust {
        justify-content: center;
    }
    .hero-visual {
        min-height: 300px;
        grid-row: 2;
    }
    .hero-photo {
        width: 260px;
        height: 260px;
    }
    .hero-visual:before {
        width: 280px;
        height: 280px;
    }
    .floating-food {
        width: 100px;
        height: 100px;
        right: 10%;
        bottom: 0;
    }
    .hero-float.top {
        right: 5%;
        top: 10px;
    }
    .hero-float.bottom {
        left: 5%;
        bottom: 10px;
    }
    .categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .category img {
        width: 55px;
        height: 55px;
        border-radius: 15px;
    }
    .category {
        padding: 10px;
    }
    .section-heading h2 {
        font-size: 18px;
    }
    .promo-banner {
        padding: 20px;
        margin: 30px 0;
    }
    .promo-banner img {
        width: 90px;
        height: 100px;
    }
    .promo-banner h2 {
        font-size: 19px;
    }
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    .shop-layout,
    .checkout-layout,
    .pos-layout {
        grid-template-columns: 1fr;
    }
    .cart-panel {
        position: static;
    }
    .shop-hero {
        height: 190px;
    }
    .panel-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: fixed;
        right: 0;
        width: 255px;
        z-index: 1500;
        transform: translateX(100%);
        transition: transform 0.2s;
        box-shadow: -15px 0 50px #0001;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .panel-topbar {
        height: 70px;
        padding: 0 18px;
    }
    .panel-body {
        padding: 20px 16px 95px;
    }
    .breadcrumb {
        display: none;
    }
    .page-heading h1 {
        font-size: 21px;
    }
    .page-heading {
        align-items: flex-start;
        gap: 15px;
    }
    .page-heading .btn {
        padding: 8px 12px;
        font-size: 11px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat strong {
        font-size: 22px;
    }
    .stat .stat-icon {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }
    .welcome-banner {
        padding: 18px;
    }
    .welcome-banner img {
        width: 95px;
        height: 100px;
    }
    .welcome-banner h2 {
        font-size: 18px;
    }
    .mobile-bottom {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 9px 8px calc(9px + env(safe-area-inset-bottom));
        background: #fffffffa;
        border-top: 1px solid var(--line);
        z-index: 1000;
        justify-content: space-around;
        backdrop-filter: blur(10px);
    }
    .mobile-bottom a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-size: 9px;
        color: #98a49a;
    }
    .mobile-bottom i {
        font-size: 21px;
    }
    .mobile-bottom a.active {
        color: var(--orange);
    }
    .store-main {
        padding-bottom: 50px;
    }
    .menu-toggle {
        display: inline-flex !important;
    }
    .card {
        padding: 18px;
    }
    .form-grid {
        gap: 15px;
    }
    .form-grid label {
        font-size: 11px;
    }
    input,
    select,
    textarea {
        font-size: 16px;
    }
    .product-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    .top-user .user-copy {
        display: none;
    }
    .order-card {
        padding: 17px;
    }
    .order-foot {
        flex-wrap: wrap;
        gap: 12px;
    }
    .test-banner {
        font-size: 9px;
    }
    .shop-cover {
        height: 145px;
    }
    .shop-card .content {
        padding: 14px;
    }
    .shop-meta {
        gap: 5px;
        font-size: 9px;
    }
    .footer {
        margin-bottom: 55px;
    }
    .setup-card {
        padding: 24px;
    }
    .setup-card .form-grid {
        grid-template-columns: 1fr;
    }
    #toasts {
        left: 15px;
        right: 15px;
        bottom: 85px;
    }
    .toast {
        max-width: 100%;
    }
}
@media (min-width: 801px) {
    .menu-toggle {
        display: none !important;
    }
}
@media (max-width: 480px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
    .product-card img {
        width: 88px;
        height: 95px;
    }
    .product-card {
        gap: 12px;
        padding: 13px;
    }
    .hero h1 {
        font-size: 30px;
    }
    .hero-trust {
        font-size: 9px;
        gap: 8px;
    }
    .store-header .container {
        gap: 8px;
    }
    .store-header .btn {
        padding: 9px 12px;
        font-size: 11px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .shop-meta {
        font-size: 10px;
    }
    .hero-float {
        font-size: 10px;
        padding: 9px;
    }
    .stat strong {
        font-size: 19px;
    }
    .form-grid .full {
        grid-column: auto;
    }
    .footer-links {
        gap: 15px;
    }
    .top-user {
        gap: 7px;
    }
    .card-head {
        flex-wrap: wrap;
    }
    .table-wrap table {
        font-size: 11px;
    }
    .timeline {
        gap: 3px;
    }
    .timeline .step {
        font-size: 9px;
    }
    .product-selector {
        gap: 8px;
    }
}
@media print {
    body {
        background: white;
        font-size: 12px;
    }
    .sidebar,
    .panel-topbar,
    .mobile-bottom,
    .test-banner,
    .btn,
    .icon-btn,
    .footer,
    .store-header,
    .no-print,
    #toasts {
        display: none !important;
    }
    .panel-layout,
    .dashboard-columns,
    .shop-layout {
        display: block;
    }
    .panel-body {
        padding: 0;
    }
    .card {
        box-shadow: none;
        border-color: #bbb;
        break-inside: avoid;
    }
    .print-only {
        display: block;
    }
    .table-wrap {
        overflow: visible;
    }
    th,
    td {
        padding: 8px;
    }
    .receipt {
        width: 80mm;
        margin: auto;
    }
    .receipt h1 {
        font-size: 18px;
    }
    dialog {
        position: static;
        max-height: none;
        width: 100%;
        border: 0;
        box-shadow: none;
    }
    body:has(dialog[open]) #app {
        display: none;
    }
    .modal-head {
        display: none;
    }
}

/* Store header and province/city browser */
.store-header {
    height: 92px;
}
.store-header .container {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 340px) 1fr;
    gap: 24px;
}
.store-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    direction: rtl;
    white-space: nowrap;
}
.store-brand img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.store-brand strong {
    display: block;
    font-size: 22px;
    line-height: 1.6;
    font-weight: 800;
}
.store-brand small {
    display: block;
    font-size: 11px;
    color: var(--muted);
}
.store-header .header-account {
    justify-self: end;
}
.store-header .location-chip {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fafbf9;
    gap: 12px;
    min-width: 0;
}
.location-pin {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff0e5;
    flex-shrink: 0;
}
.store-header .location-pin i {
    font-size: 21px;
}
.location-copy {
    flex: 1;
    min-width: 0;
}
.store-header .location-copy small {
    font-size: 11px;
    margin-bottom: 3px;
}
.location-copy strong {
    display: block;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.store-header .location-chip > i {
    font-size: 12px;
    color: var(--muted);
}
dialog.location-dialog {
    width: min(680px, calc(100vw - 32px));
    max-height: calc(100dvh - 40px);
    padding: 24px;
    overflow: hidden;
}
.location-dialog .modal-head {
    margin-bottom: 16px;
}
.location-path {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 36px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
}
.location-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: #fff0e5;
    color: #a44308;
    border-radius: 10px;
    padding: 9px 12px;
    cursor: pointer;
}
.location-search {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 14px;
}
.location-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    font-size: 16px;
}
.region-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
    max-height: min(380px, 45dvh);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 2px;
    scrollbar-gutter: stable;
}
.region-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    text-align: right;
    font-size: 13px;
    min-height: 50px;
}
.region-option:hover,
.region-option.selected {
    background: #fff6ee;
    border-color: #ffbd8f;
    color: #a44308;
}
.region-option i {
    font-size: 12px;
}
.region-option:focus-visible,
.location-chip:focus-visible,
.location-back:focus-visible {
    outline: 3px solid #ff9c58;
    outline-offset: 2px;
}
.region-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 28px;
}
.location-note {
    font-size: 11px;
    line-height: 1.9;
    color: var(--muted);
    margin: 16px 0 0;
}
@media (max-width: 800px) {
    .store-header {
        height: 80px;
    }
    .store-header .container {
        display: flex;
        justify-content: space-between;
        gap: 12px;
    }
    .store-header .header-account {
        display: none;
    }
    .store-brand {
        gap: 5px;
        flex-shrink: 0;
    }
    .store-brand img {
        width: 44px;
        height: 44px;
    }
    .store-brand strong {
        font-size: 17px;
    }
    .store-brand small {
        font-size: 9px;
    }
    .store-header .location-chip {
        width: auto;
        max-width: 54%;
        gap: 8px;
        padding: 8px 10px;
        border-radius: 12px;
    }
    .location-pin {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }
    .store-header .location-pin i {
        font-size: 18px;
    }
    .location-copy strong {
        font-size: 11px;
    }
    .store-header .location-copy small {
        font-size: 10px;
    }
    dialog.location-dialog {
        padding: 18px;
    }
    .region-list {
        grid-template-columns: 1fr;
    }
}

/* A consistent rhythm for the storefront, with one time-aware serving tray. */
.store-header {
    height: 88px;
}
.store-header .container {
    grid-template-columns: minmax(180px, 1fr) minmax(240px, 320px) minmax(180px, 1fr);
}
.store-brand {
    gap: 4px;
}
.store-brand img {
    width: 62px;
    height: 62px;
}
.store-brand strong {
    font-size: 23px;
    line-height: 1.5;
}
.store-brand small {
    font-size: 11px;
    line-height: 1.6;
}
.store-header .header-account {
    min-height: 46px;
    font-size: 13px;
    padding: 10px 18px;
    gap: 8px;
}
.store-header .header-account i {
    font-size: 18px;
}
.store-header .location-chip {
    min-height: 58px;
    padding: 8px 14px;
}
.store-main {
    width: 100%;
    min-width: 0;
}
.hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    padding: 48px 0;
    min-height: 510px;
}
.hero-copy {
    min-width: 0;
}
.hero .eyebrow {
    font-size: 13px;
    line-height: 1.8;
}
.hero h1 {
    font-size: clamp(30px, 3.1vw, 44px);
    line-height: 1.65;
    letter-spacing: -1px;
    margin: 14px 0 18px;
}
.hero p {
    font-size: 14px;
    line-height: 2.1;
    margin: 0;
    max-width: 480px;
}
.hero .searchbox {
    max-width: none;
    width: 100%;
    margin: 24px 0 18px;
    padding: 7px;
    border-radius: 16px;
    align-items: center;
    box-shadow: 0 8px 24px #24302e05;
}
.hero .searchbox input {
    font-size: 14px;
    padding: 12px;
    height: 48px;
}
.hero .searchbox button {
    height: 48px;
    width: 48px;
    padding: 0;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
}
.hero .searchbox button i {
    font-size: 19px;
}
.hero-trust {
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 11px;
}
.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.hero-trust i {
    margin: 0;
    font-size: 14px;
}
/* Transparent overhead tray; no labels, card or decorative background. */
.meal-scene {
    margin: 0;
    padding: 0;
    min-width: 0;
    width: 100%;
    max-width: 480px;
    justify-self: center;
    background: transparent;
    border: 0;
}
.meal-tray-art {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    animation: meal-tray-turn 65s linear infinite;
    transform-origin: center;
    backface-visibility: hidden;
    image-rendering: auto;
}
@keyframes meal-tray-turn {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .meal-tray-art {
        animation: none;
    }
}
@media (max-width: 800px) {
    .store-header {
        height: 78px;
    }
    .store-header .container {
        display: flex;
    }
    .store-brand img {
        width: 46px;
        height: 46px;
    }
    .store-brand strong {
        font-size: 18px;
    }
    .store-brand small {
        font-size: 9px;
    }
    .store-header .location-chip {
        min-height: 48px;
    }
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        padding: 28px 0 32px;
        min-height: 0;
    }
    .hero h1 {
        font-size: clamp(29px, 6vw, 38px);
        line-height: 1.65;
    }
    .hero-copy {
        text-align: right;
    }
    .hero p {
        margin: 0;
        font-size: 13px;
    }
    .hero .eyebrow {
        font-size: 12px;
    }
    .hero-trust {
        justify-content: flex-start;
        gap: 10px 14px;
        font-size: 10px;
    }
    .meal-scene {
        max-width: 400px;
    }
    .meal-tray-art {
        max-width: 360px;
        margin: auto;
    }
}
@media (max-width: 380px) {
    .store-header .container {
        padding-inline: 12px;
        gap: 8px;
    }
    .store-brand img {
        width: 38px;
        height: 38px;
    }
    .store-brand strong {
        font-size: 16px;
    }
    .store-header .location-chip {
        padding-inline: 8px;
        gap: 6px;
    }
    .hero .searchbox input {
        font-size: 12px;
        padding-inline: 8px;
    }
}

/* Refined storefront chrome: centered desktop location and mobile app bars. */
.store-header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: 90px;
    background: #ffffffed;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid #e9eeeb;
    box-shadow: 0 4px 24px #24302e04;
}
.store-header .container {
    max-width: 1280px;
    gap: 28px;
}
.store-brand {
    gap: 6px;
    align-items: center;
}
.store-brand img {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
}
.store-brand strong {
    font-size: 22px;
    letter-spacing: -0.6px;
    font-weight: 700;
}
.store-brand small {
    font-size: 10px;
    margin-top: 3px;
    color: #7d8984;
}
.store-header .location-chip {
    min-height: 56px;
    border-radius: 16px;
    border: 1px solid #edf0ed;
    background: #f8faf9;
    transition:
        background 0.2s,
        border-color 0.2s;
    padding: 8px 14px;
}
.store-header .location-chip:hover {
    background: #fff8f2;
    border-color: #ffd8bc;
}
.location-pin {
    background: #fff0e4;
    border-radius: 11px;
}
.store-header .location-copy small {
    font-size: 10px;
    color: #84908b;
}
.store-header .location-copy strong {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
}
.store-header .header-account {
    border: 1px solid #ffdfc7;
    background: #fff7f0;
    color: #be5310;
    border-radius: 13px;
    min-height: 44px;
    font-size: 12px;
    font-weight: 500;
}
.store-header .header-account:hover {
    background: #ffeddf;
}
.store-app-nav .app-cart-count[hidden] {
    display: none;
}
@media (max-width: 800px) {
    .store-header {
        height: auto;
        padding-top: env(safe-area-inset-top, 0px);
    }
    .store-header .container {
        min-height: 76px;
        padding-inline: max(16px, env(safe-area-inset-right));
        gap: 12px;
    }
    .store-brand {
        gap: 2px;
    }
    .store-brand img {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }
    .store-brand strong {
        font-size: 18px;
        letter-spacing: -0.4px;
    }
    .store-brand small {
        font-size: 9px;
        margin-top: 1px;
    }
    .store-header .header-account {
        display: none;
    }
    .store-header .location-chip {
        width: auto;
        max-width: 52%;
        min-height: 48px;
        padding: 7px 10px;
        border-radius: 14px;
        gap: 8px;
    }
    .store-header .location-copy strong {
        font-size: 12px;
    }
    .store-header .location-copy small {
        font-size: 9px;
        margin-bottom: 1px;
    }
    .store-header .location-chip > i {
        font-size: 10px;
    }
    .store-header .location-pin {
        width: 30px;
        height: 32px;
    }
    .store-header .location-pin i {
        font-size: 18px;
    }
    .store-app-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom));
        background: #fffffff5;
        border-top: 1px solid #e8edea;
        box-shadow: 0 -8px 30px #24302e07;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1000;
    }
    .store-app-nav a {
        min-height: 52px;
        justify-content: center;
        gap: 3px;
        font-size: 10px;
        font-weight: 500;
        color: #87928e;
        border-radius: 12px;
    }
    .store-app-nav .app-tab-icon {
        display: grid;
        place-items: center;
        position: relative;
        width: 48px;
        height: 30px;
        border-radius: 11px;
        transition: background 0.15s;
    }
    .store-app-nav i {
        font-size: 21px;
        line-height: 1;
    }
    .store-app-nav a.active {
        color: #d65b11;
    }
    .store-app-nav a.active .app-tab-icon {
        background: #fff0e5;
    }
    .store-app-nav a:active {
        background: #fff7f1;
    }
    .store-app-nav .app-cart-count {
        position: absolute;
        top: -3px;
        right: 1px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 8px;
        background: #ff741c;
        color: white;
        border: 2px solid white;
        font-size: 8px;
        line-height: 12px;
    }
    .store-main {
        padding-bottom: calc(90px + env(safe-area-inset-bottom));
    }
    .footer {
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }
}
@media (max-width: 360px) {
    .store-header .container {
        padding-inline: 10px;
        gap: 6px;
    }
    .store-brand img {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
    .store-brand strong {
        font-size: 16px;
    }
    .store-header .location-chip {
        gap: 5px;
        padding-inline: 7px;
    }
    .store-header .location-copy strong {
        font-size: 11px;
    }
}
/* Compact header and refreshed discovery UI */
.store-brand img {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
}
.store-header .location-chip {
    height: 44px;
    min-height: 44px;
    padding-block: 4px;
    border-radius: 12px;
}
.store-header .location-pin {
    width: 30px;
    height: 30px;
}
.store-header .location-copy small {
    font-size: 9px;
    margin-bottom: 0;
}
.store-header .location-copy strong {
    font-size: 12px;
    line-height: 1.6;
}
.store-header .header-account {
    height: 44px;
    min-height: 44px;
    padding: 8px 16px;
}
.hero {
    min-height: 420px;
    padding-block: 32px;
    gap: 48px;
}
.hero-copy {
    max-width: 490px;
}
.hero-copy .eyebrow {
    font-size: 12px;
    color: #dc6118;
    letter-spacing: 0;
}
.hero-copy h1 {
    font-size: clamp(29px, 3vw, 41px);
    line-height: 1.65;
    margin: 12px 0 14px;
    letter-spacing: -0.9px;
}
.hero-copy h1 em:after {
    display: none;
}
.hero-copy p {
    font-size: 13px;
    line-height: 2;
    max-width: 410px;
}
.hero .searchbox {
    margin: 22px 0 0;
    border-radius: 18px;
    padding: 6px;
}
.hero .searchbox input {
    font-size: 13px;
    height: 44px;
}
.hero .searchbox button {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
}
.category {
    border: 1px solid #e9eeeb;
    border-radius: 22px;
    background: #fff;
    padding: 14px 10px 16px;
    transition:
        transform 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}
.category:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px #24302e08;
    border-color: #ffd7ba;
}
.category-cutout {
    display: block;
    width: 100%;
    max-width: 120px;
    aspect-ratio: 1;
    margin: 0 auto 8px;
    background-image: url('../images/category-cutouts.webp');
    background-size: 300% 200%;
    background-repeat: no-repeat;
}
.category > span:last-child {
    font-size: 13px;
    font-weight: 500;
}
/* Province list at the right, branded Iran map at the left. */
dialog.location-dialog {
    width: min(860px, calc(100vw - 32px));
    padding: 24px;
    border-radius: 28px;
    overflow: auto;
}
.location-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
}
.location-browser {
    min-width: 0;
}
.location-path {
    font-size: 12px;
}
.location-search {
    height: 46px;
    background: #f8faf9;
    border-color: #e7ece9;
}
.location-search input {
    height: 42px;
    padding-inline: 0;
    font-size: 13px;
    outline-offset: 3px;
}
.location-dialog .region-list {
    grid-template-columns: 1fr;
    height: min(340px, 40dvh);
    max-height: none;
    gap: 7px;
}
.location-dialog .region-option {
    min-height: 45px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
}
.location-dialog .region-option:hover {
    background: #fff6ee;
}
.location-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff8f0;
    border: 1px solid #ffebdb;
    border-radius: 22px;
    padding: 20px;
    min-width: 0;
}
.location-map img {
    width: 100%;
    max-width: 310px;
    height: auto;
}
.location-map strong {
    font-size: 16px;
    margin-top: 10px;
}
.location-map p {
    font-size: 11px;
    color: #9e7b60;
    margin: 6px 0 0;
}
.location-note {
    font-size: 10px;
}
/* OTP customer onboarding */
dialog.auth-dialog {
    width: min(800px, calc(100vw - 28px));
    max-height: calc(100dvh - 28px);
    padding: 20px;
    border-radius: 28px;
    overflow: auto;
}
.auth-dialog .modal-head {
    padding: 0 4px 16px;
    margin-bottom: 18px;
}
.auth-dialog .modal-head h2 {
    font-size: 17px;
}
.customer-auth {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 28px;
    align-items: stretch;
}
.auth-visual {
    background: #fff3e7;
    border: 1px solid #ffead7;
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.auth-food-art {
    display: block;
    width: 100%;
    max-width: 210px;
    aspect-ratio: 1;
    background-image: url('../images/category-cutouts.webp');
    background-size: 300% 200%;
    background-position: 0% 0%;
    background-repeat: no-repeat;
}
.auth-visual strong {
    font-size: 22px;
    line-height: 1.8;
}
.auth-visual p {
    font-size: 11px;
    color: #a37c5e;
}
.auth-content {
    min-width: 0;
    padding: 12px 0;
}
.auth-step {
    color: #d65d15;
    font-size: 11px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.auth-content h3 {
    font-size: 20px;
    margin: 14px 0 12px;
    line-height: 1.7;
}
.auth-content p {
    font-size: 12px;
    line-height: 2;
    color: #7c8882;
    margin: 0 0 18px;
}
.auth-content label {
    font-size: 12px;
}
.auth-mobile-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #dfe7e1;
    border-radius: 14px;
    background: #fafcfb;
    padding: 0 12px;
}
.auth-mobile-wrap:focus-within {
    border-color: #ff9f60;
    box-shadow: 0 0 0 3px #fff1e6;
}
.auth-mobile-wrap > span {
    color: #ff741c;
    font-size: 21px;
}
.auth-mobile-wrap input {
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    height: 56px;
    text-align: left;
    outline: 0;
}
.auth-content .btn {
    min-height: 48px;
    font-size: 13px;
}
.auth-content .auth-limit {
    font-size: 10px;
    margin: 14px 0;
}
.auth-partner-link {
    color: #af5823;
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.auth-edit {
    border: 0;
    background: transparent;
    color: #d65d15;
    font-size: 11px;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.auth-edit:disabled {
    color: #9a9f9b;
    opacity: 1;
    cursor: default;
}
.otp-inputs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
}
.otp-inputs input {
    width: 100%;
    height: 58px;
    border-radius: 13px;
    padding: 8px;
    text-align: center;
    font-size: 25px;
    background: #fafcfb;
    border: 1px solid #dfe7e1;
}
.otp-inputs input:focus {
    outline: none;
    border-color: #ff9f60;
    box-shadow: 0 0 0 3px #fff1e6;
}
.otp-resend-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 10px;
    color: #87928a;
}
.auth-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.auth-content .auth-test {
    font-size: 11px;
    color: #a45a27;
    margin-bottom: 0;
}
.partner-entry {
    max-width: 650px;
    margin: 40px auto;
    text-align: center;
}
.partner-entry .auth-food-art {
    margin: auto;
    max-width: 170px;
}
.partner-entry h1 {
    font-size: 24px;
}
.partner-entry p {
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}
.partner-login-link {
    font-size: 12px;
    color: #b3612e;
}
@media (max-width: 800px) {
    .store-brand img {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }
    .store-brand strong {
        font-size: 17px;
    }
    .store-header .location-chip {
        height: 42px;
        min-height: 42px;
        max-width: 54%;
    }
    .store-header .location-copy strong {
        font-size: 11px;
    }
    .hero {
        padding-block: 24px;
        gap: 22px;
        min-height: 0;
    }
    .hero-copy {
        max-width: none;
    }
    .hero-copy h1 {
        font-size: clamp(28px, 6vw, 36px);
    }
    .hero-copy p {
        font-size: 12px;
    }
    .category {
        border-radius: 17px;
        padding: 10px 7px 12px;
    }
    .category-cutout {
        max-width: 95px;
        margin-bottom: 4px;
    }
    .category > span:last-child {
        font-size: 11px;
    }
    .location-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
        gap: 14px;
    }
    .location-map {
        padding: 10px;
    }
    .location-map strong {
        font-size: 12px;
    }
    .location-map p {
        font-size: 10px;
    }
    .customer-auth {
        gap: 18px;
    }
}
@media (max-width: 540px) {
    dialog.location-dialog {
        padding: 18px;
    }
    .location-layout {
        grid-template-columns: 1fr;
    }
    .location-map {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 8px;
    }
    .location-map img {
        width: 76px;
        height: 76px;
    }
    .location-map p {
        display: none;
    }
    .customer-auth {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .auth-visual {
        flex-direction: row;
        padding: 8px 14px;
        justify-content: space-between;
        gap: 10px;
        min-height: 100px;
    }
    .auth-visual .auth-food-art {
        max-width: 100px;
        flex: 0 0 100px;
    }
    .auth-visual strong {
        font-size: 17px;
        text-align: right;
    }
    .auth-visual p {
        display: none;
    }
    .auth-content {
        padding: 0 4px 8px;
    }
    .auth-content h3 {
        font-size: 18px;
        margin-top: 10px;
    }
}

/* Show only the actual logo artwork; preserve the original raster unchanged. */
.store-brand {
    gap: 10px;
}
.store-brand-mark {
    display: block;
    position: relative;
    overflow: hidden;
    width: 52px;
    aspect-ratio: 128 / 130;
    flex: 0 0 52px;
    direction: ltr;
}
.store-brand .store-brand-mark img {
    position: absolute;
    width: 200%;
    height: 193.846154%;
    max-width: none;
    left: -49.21875%;
    top: -50.769231%;
    object-fit: fill;
    margin: 0;
    padding: 0;
}
@media (max-width: 800px) {
    .store-brand {
        gap: 8px;
    }
    .store-brand-mark {
        width: 42px;
        flex-basis: 42px;
    }
}
/* Discovery storefront */
.service-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin: 12px 0 40px;
}
.service-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 12px 12px 18px;
    border: 1px solid #edf0ed;
    border-radius: 20px;
    background: white;
    transition:
        transform 0.2s,
        border-color 0.2s;
}
.service-tile:hover {
    transform: translateY(-4px);
    border-color: #ffba87;
}
.service-tile .category-cutout {
    max-width: 110px;
    margin: 0;
}
.service-tile strong {
    font-size: 13px;
    font-weight: 500;
}
.service-tile > i {
    position: absolute;
    left: 12px;
    bottom: 20px;
    font-size: 10px;
    color: var(--orange);
}
.discovery-section {
    margin: 38px 0;
}
.section-heading h2 {
    font-size: 21px;
    line-height: 1.7;
    margin: 0 0 5px;
}
.section-heading p {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0;
}
.section-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #d35b15;
    font-size: 12px;
    white-space: nowrap;
}
.shop-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 44px) / 3);
    gap: 22px;
    overflow-x: auto;
    padding: 4px 1px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.discovery-shop {
    scroll-snap-align: start;
    border-radius: 19px;
}
.discovery-cover {
    position: relative;
    margin-bottom: 22px;
}
.discovery-cover .shop-cover {
    display: block;
    height: 168px;
    object-fit: cover;
}
.shop-card-logo {
    width: 64px;
    height: 64px;
    padding: 6px;
    background: white;
    border-radius: 16px;
    object-fit: contain;
    position: absolute;
    bottom: -23px;
    right: 18px;
    border: 1px solid #eef1ee;
    box-shadow: 0 4px 12px #24302e0b;
}
.discovery-shop .content {
    padding: 13px 18px 16px;
}
.discovery-shop h3 {
    font-size: 16px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 75%;
}
.discovery-shop .content > p {
    font-size: 11px;
    color: var(--muted);
    margin: 9px 0 12px;
}
.discovery-shop .rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    padding: 4px 7px;
    border-radius: 8px;
    background: #f5f8f1;
}
.shop-state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #91978f;
    font-size: 10px;
    margin-top: 10px;
}
.shop-state:before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}
.shop-state.is-open {
    color: #21845c;
}
.shop-discount {
    position: absolute;
    right: 0;
    top: 15px;
    padding: 6px 12px;
    border-radius: 12px 0 0 12px;
    background: #ff741c;
    color: white;
    font-size: 11px;
    font-weight: 500;
}
.listing-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 0 20px;
    font-size: 12px;
    flex-wrap: wrap;
}
.listing-tools > label {
    display: flex;
    align-items: center;
    gap: 8px;
}
.listing-tools select {
    width: auto;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    background: white;
}
.open-filter input {
    width: 17px;
    height: 17px;
    accent-color: #ff741c;
}
.filter-city {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
}
.home-ad {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff2e6;
    border-radius: 22px;
    padding: 20px 28px;
    margin: 24px 0;
}
.home-ad strong {
    font-size: 21px;
}
.home-ad p {
    font-size: 12px;
}
.home-ad img {
    max-width: 32%;
    max-height: 150px;
    object-fit: contain;
}
.home-about {
    padding: 20px 0 45px;
    max-width: 900px;
}
.home-about h2 {
    font-size: 20px;
}
.home-about p {
    font-size: 13px;
    line-height: 2.2;
    color: #7c8882;
}
.home-about a {
    color: #d75e16;
    font-size: 12px;
}
.business-promo {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
    overflow: hidden;
    padding: 38px 45px;
    border: 1px solid #ffe3cb;
    border-radius: 30px;
    background: linear-gradient(125deg, #fff5eb, #fffdf9);
    margin: 45px 0;
}
.business-kicker {
    font-size: 11px;
    font-weight: 500;
    color: #cc5c18;
}
.business-copy h2 {
    font-size: 34px;
    line-height: 1.7;
    margin: 10px 0;
}
.business-copy h2 em {
    font-style: normal;
    color: #f27525;
}
.business-copy p {
    font-size: 13px;
    line-height: 2.1;
    color: #8b8177;
    max-width: 440px;
}
.business-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0;
}
.business-benefits span {
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.business-benefits i {
    font-size: 17px;
    color: #e47630;
}
.business-login {
    display: block;
    margin-top: 16px;
    color: #ab652f;
    font-size: 11px;
}
.business-art {
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}
.business-art > img {
    width: 100%;
    max-height: 290px;
    object-fit: contain;
    border-radius: 30px;
    position: relative;
}
.business-orbit {
    position: absolute;
    width: 90%;
    aspect-ratio: 1;
    border: 1px dashed #ffc18d;
    border-radius: 50%;
    z-index: -1;
    transform: rotate(-15deg);
    background: #ffead541;
}
.business-float {
    position: absolute;
    bottom: 4px;
    background: white;
    border: 1px solid #ffe2c9;
    border-radius: 13px;
    padding: 12px 14px;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 10px 25px #a46a2920;
}
.business-float i {
    color: #f27525;
    font-size: 20px;
}
.catalog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    color: #87918c;
    margin: 22px 0;
}
.catalog-breadcrumb i {
    font-size: 9px;
}
.category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
}
.category-heading h1 {
    font-size: 28px;
    margin: 0;
}
.category-heading p {
    font-size: 12px;
    color: var(--muted);
}
/* Simultaneous province and city columns */
dialog.location-dialog {
    width: min(760px, calc(100vw - 24px));
    border-radius: 24px;
    padding: 22px;
}
.city-intro {
    font-size: 12px;
    color: #8a948e;
    margin: 0 0 20px;
}
.city-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}
.city-columns > section {
    min-width: 0;
}
.city-columns h3 {
    font-size: 14px;
    margin: 0 0 12px;
}
.city-search {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border: 1px solid #e5ebe6;
    border-radius: 12px;
    background: #f8faf9;
}
.city-search i {
    color: #9aaba0;
    font-size: 16px;
}
.city-search input {
    width: 100%;
    min-width: 0;
    padding: 12px 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    font-size: 13px;
    outline: 0;
}
.city-search:focus-within {
    border-color: #ffb17c;
    box-shadow: 0 0 0 3px #fff3e9;
}
.city-options {
    height: min(360px, 45dvh);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding: 4px 0;
    margin-top: 10px;
}
.city-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #f1f4f1;
    border-radius: 8px;
    background: white;
    text-align: right;
    font-size: 12px;
}
.city-option i {
    font-size: 11px;
    color: #adbbb1;
}
.city-option:hover,
.city-option.selected {
    color: #d25e18;
    background: #fff3e9;
}
.city-option.selected i {
    color: #d25e18;
}
.city-empty {
    font-size: 12px;
    color: var(--muted);
    padding: 20px 6px;
}
/* Restaurant identity and categorized menu */
.restaurant-profile {
    background: white;
    border: 1px solid #ebefeb;
    border-radius: 24px;
    overflow: hidden;
}
.restaurant-cover {
    height: 245px;
    overflow: hidden;
}
.restaurant-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.restaurant-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 28px 16px;
    margin-top: -34px;
    position: relative;
}
.restaurant-logo {
    width: 100px;
    height: 100px;
    background: white;
    border: 1px solid #edf0ed;
    padding: 8px;
    border-radius: 21px;
    object-fit: contain;
    box-shadow: 0 4px 18px #24302e12;
    flex-shrink: 0;
}
.restaurant-heading {
    flex: 1;
    padding-top: 36px;
    min-width: 0;
}
.restaurant-heading h1 {
    font-size: 27px;
    margin: 5px 0;
}
.restaurant-heading p {
    font-size: 12px;
    color: #8a958d;
    margin: 0;
}
.restaurant-summary > .icon-btn {
    margin-top: 35px;
}
.restaurant-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 12px 28px 20px;
    font-size: 12px;
    color: #7a8980;
}
.restaurant-facts span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.restaurant-facts i {
    color: #f58439;
}
.restaurant-details {
    border-top: 1px solid #f0f3ef;
    margin: 0 28px;
    padding: 16px 0;
    font-size: 12px;
    color: #7f8b83;
    line-height: 2;
}
.restaurant-details summary {
    cursor: pointer;
    color: #48554c;
}
.restaurant-details summary i {
    font-size: 10px;
    margin-right: 8px;
}
.restaurant-menu-layout {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: start;
    margin: 28px 0;
}
.menu-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: white;
    border: 1px solid #edf0ed;
    border-radius: 18px;
    padding: 16px 10px;
}
.menu-sidebar h2 {
    font-size: 13px;
    padding: 0 8px 10px;
    margin: 0;
}
.menu-sidebar button {
    border: 0;
    background: transparent;
    padding: 11px 10px;
    text-align: right;
    border-radius: 11px;
    font-size: 12px;
    color: #7b8880;
}
.menu-sidebar button:hover,
.menu-sidebar button.active {
    color: #d45b14;
    background: #fff0e5;
}
.restaurant-menu {
    min-width: 0;
}
.menu-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    background: white;
    border: 1px solid #e9eeea;
    border-radius: 14px;
}
.menu-search input {
    border: 0;
    box-shadow: none;
    background: transparent;
    font-size: 13px;
    padding: 15px 0;
}
.menu-search > i {
    color: #95a499;
}
.menu-group {
    margin: 26px 0;
    scroll-margin-top: 115px;
}
.menu-group > h2 {
    font-size: 19px;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu-group h2 small,
.shop-reviews h2 small {
    font-size: 10px;
    color: #96a198;
    font-weight: 400;
}
.restaurant-menu .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}
.menu-product {
    background: white;
    border: 1px solid #edf0ed;
    border-radius: 17px;
    padding: 17px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.menu-product > div {
    flex: 1;
    min-width: 0;
}
.menu-product h3 {
    font-size: 14px;
    margin: 0 0 7px;
}
.menu-product p {
    font-size: 11px;
    line-height: 1.9;
    margin: 0 0 15px;
    color: #91a095;
}
.menu-product img {
    width: 102px;
    height: 102px;
    object-fit: cover;
    border-radius: 14px;
    flex-shrink: 0;
}
.menu-product .price {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.menu-product del {
    font-size: 10px;
    color: #a0aaa3;
    font-weight: 400;
}
.menu-product .icon-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #ffd5b8;
    border-radius: 10px;
    color: #f47622;
    background: #fff7f0;
}
.menu-product[hidden],
.menu-group[hidden],
.menu-empty[hidden] {
    display: none !important;
}
.restaurant-menu-layout .cart-panel {
    position: sticky;
    top: 110px;
    padding: 18px;
    border-radius: 19px;
}
.shop-reviews {
    scroll-margin-top: 120px;
}
.shop-reviews h2 {
    font-size: 18px;
}
.review-item {
    padding: 18px 0;
    border-bottom: 1px solid #eef1ee;
    font-size: 12px;
}
.review-item p {
    line-height: 2;
    color: #7c8a81;
}
.menu-mobile-tabs,
.shop-mobile-cart {
    display: none;
}
.menu-empty {
    padding: 24px;
    text-align: center;
    background: white;
    border-radius: 16px;
    font-size: 12px;
}
.shop-brand-editor {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 24px;
    margin-bottom: 25px;
}
.shop-brand-editor > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    border: 1px solid #e9eeea;
    border-radius: 18px;
}
.shop-brand-editor small {
    font-size: 10px;
    color: #92a095;
}
.shop-logo-preview {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border: 1px solid #edf0ed;
    padding: 8px;
    border-radius: 20px;
}
.shop-cover-preview {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 14px;
}
.seo-fallback {
    padding-block: 40px;
}
.seo-fallback h1 {
    font-size: 28px;
}
.seo-fallback nav,
.seo-fallback ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
@media (max-width: 1100px) {
    .restaurant-menu-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
    .menu-sidebar {
        display: none;
    }
    .menu-mobile-tabs {
        display: flex;
        gap: 8px;
        overflow: auto;
        padding: 14px 0;
        scrollbar-width: none;
        position: sticky;
        top: 90px;
        background: var(--bg);
        z-index: 20;
    }
    .menu-mobile-tabs button {
        border: 1px solid #e9eeeb;
        border-radius: 11px;
        background: white;
        white-space: nowrap;
        padding: 9px 14px;
        font-size: 12px;
    }
    .menu-mobile-tabs button.active {
        color: #db681e;
        border-color: #ffc59a;
        background: #fff2e7;
    }
}
@media (max-width: 800px) {
    .store-main.container {
        padding-inline: 16px;
    }
    .store-header .container {
        min-height: 70px;
    }
    .hero {
        display: block;
        position: relative;
        padding: 18px 0 22px;
        min-height: 180px;
    }
    .hero .hero-copy {
        width: 100%;
    }
    .hero .hero-copy .eyebrow {
        display: block;
        max-width: 63%;
        font-size: 10px;
        line-height: 1.9;
    }
    .hero .hero-copy h1 {
        max-width: 65%;
        font-size: 24px;
        margin: 7px 0 32px;
        letter-spacing: -0.7px;
        line-height: 1.8;
    }
    .hero .hero-copy p {
        display: none;
    }
    .hero .meal-scene {
        position: absolute;
        width: 120px;
        max-width: 33%;
        left: 0;
        top: 0;
        z-index: 0;
    }
    .hero .searchbox {
        position: relative;
        z-index: 1;
        height: 48px;
        padding: 4px 8px;
        margin: 0;
        border-radius: 14px;
        box-shadow: none;
        background: #fff;
    }
    .hero .searchbox input {
        height: 40px;
        font-size: 12px;
    }
    .hero .searchbox button {
        height: 38px;
        width: 38px;
        flex-basis: 38px;
        border-radius: 11px;
    }
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 10px;
        margin: 0 0 28px;
    }
    .service-tile {
        background: transparent;
        border: 0;
        border-radius: 0;
        padding: 2px 0 8px;
    }
    .service-tile .category-cutout {
        max-width: 86px;
    }
    .service-tile strong {
        font-size: 11px;
    }
    .service-tile > i {
        display: none;
    }
    .discovery-section {
        margin: 28px 0;
    }
    .section-heading {
        gap: 12px;
        margin-bottom: 15px;
    }
    .section-heading h2 {
        font-size: 17px;
        margin-bottom: 3px;
    }
    .section-heading p {
        font-size: 10px;
    }
    .section-more {
        font-size: 10px;
        gap: 4px;
    }
    .shop-rail {
        grid-auto-columns: 76%;
        gap: 14px;
        padding-bottom: 12px;
        margin-left: -16px;
        padding-left: 16px;
    }
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .discovery-cover .shop-cover {
        height: 155px;
    }
    .discovery-shop h3 {
        font-size: 15px;
    }
    .discovery-shop .content {
        padding: 12px 15px 14px;
    }
    .discovery-shop .shop-meta {
        font-size: 10px;
    }
    .shop-card-logo {
        width: 58px;
        height: 58px;
        right: 15px;
        bottom: -20px;
        border-radius: 14px;
    }
    .home-ad {
        padding: 17px;
        border-radius: 18px;
        gap: 12px;
    }
    .home-ad strong {
        font-size: 17px;
    }
    .home-ad p {
        font-size: 10px;
        line-height: 1.8;
    }
    .listing-tools {
        gap: 12px;
        padding-top: 6px;
        font-size: 11px;
    }
    .listing-tools select {
        font-size: 11px;
        min-height: 38px;
        max-width: 170px;
    }
    .filter-city {
        font-size: 11px;
        padding: 8px 10px;
    }
    .business-promo {
        grid-template-columns: 1fr;
        padding: 24px 22px;
        gap: 16px;
        border-radius: 23px;
        margin: 32px 0;
    }
    .business-copy h2 {
        font-size: 27px;
    }
    .business-copy p {
        font-size: 12px;
    }
    .business-benefits {
        gap: 10px;
        margin: 18px 0;
    }
    .business-benefits span {
        font-size: 10px;
    }
    .business-art {
        display: none;
    }
    .home-about h2 {
        font-size: 17px;
    }
    .home-about p {
        font-size: 12px;
    }
    .category-heading {
        align-items: flex-start;
    }
    .category-heading h1 {
        font-size: 22px;
    }
    .category-heading .btn {
        font-size: 10px;
        padding: 9px;
        white-space: nowrap;
    }
    .category-heading p {
        font-size: 11px;
        line-height: 1.9;
    }
    .city-columns {
        gap: 12px;
    }
    dialog.location-dialog {
        padding: 18px 14px;
    }
    .city-columns h3 {
        font-size: 12px;
    }
    .city-search {
        padding: 0 8px;
        gap: 5px;
    }
    .city-search input {
        font-size: 16px;
        padding: 10px 0;
    }
    .city-search input::placeholder {
        font-size: 11px;
    }
    .city-search i {
        font-size: 13px;
    }
    .city-option {
        padding: 10px 8px;
        font-size: 11px;
    }
    .city-intro {
        font-size: 10px;
        line-height: 1.9;
    }
    .restaurant-profile {
        border-radius: 19px;
    }
    .restaurant-cover {
        height: 155px;
    }
    .restaurant-summary {
        gap: 12px;
        padding: 0 16px 14px;
        margin-top: -26px;
    }
    .restaurant-logo {
        width: 76px;
        height: 76px;
        border-radius: 17px;
        padding: 6px;
    }
    .restaurant-heading {
        padding-top: 27px;
    }
    .restaurant-heading h1 {
        font-size: 20px;
        line-height: 1.7;
    }
    .restaurant-heading p {
        font-size: 10px;
    }
    .restaurant-facts {
        gap: 12px 16px;
        padding: 5px 16px 17px;
        font-size: 10px;
    }
    .restaurant-details {
        margin-inline: 16px;
        font-size: 11px;
    }
    .restaurant-menu-layout {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 20px;
    }
    .restaurant-menu-layout .cart-panel {
        display: none;
    }
    .menu-mobile-tabs {
        top: 70px;
        margin-inline: -16px;
        padding-inline: 16px;
    }
    .menu-group {
        scroll-margin-top: 135px;
    }
    .menu-group > h2 {
        font-size: 17px;
    }
    .menu-product {
        gap: 12px;
        padding: 14px;
    }
    .menu-product h3 {
        font-size: 13px;
    }
    .menu-product p {
        font-size: 10px;
    }
    .menu-product img {
        width: 94px;
        height: 94px;
    }
    .shop-mobile-cart {
        display: flex;
        position: fixed;
        bottom: calc(78px + env(safe-area-inset-bottom));
        left: 16px;
        right: 16px;
        gap: 10px;
        align-items: center;
        justify-content: space-between;
        background: #ff741c;
        color: white;
        border-radius: 15px;
        padding: 15px 18px;
        z-index: 800;
        box-shadow: 0 7px 24px #c4632630;
        font-size: 12px;
    }
    .shop-mobile-cart [data-cart-count] {
        margin-right: auto;
        font-size: 11px;
        background: #ffffff26;
        padding: 2px 8px;
        border-radius: 8px;
    }
    .store-main:has(.restaurant-profile) {
        padding-bottom: 180px;
    }
    .shop-brand-editor {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 360px) {
    .hero .hero-copy h1 {
        font-size: 22px;
    }
    .shop-rail {
        grid-auto-columns: 86%;
    }
    .menu-product img {
        width: 80px;
        height: 80px;
    }
    .menu-product .row.between {
        gap: 5px;
    }
}
/* IRANSansX's Persian numeral glyphs, including editable numeric fields. */
body,
button,
input,
select,
textarea {
    font-feature-settings: 'ss02' 1;
}
pre,
code,
[data-latin-numbers] {
    font-feature-settings: normal;
}
@media (max-width: 800px) {
    .business-promo {
        position: relative;
    }
    .business-copy h2 {
        max-width: 68%;
        font-size: 25px;
        margin-bottom: 22px;
    }
    .business-kicker {
        display: block;
        max-width: 65%;
        font-size: 10px;
    }
    .business-art {
        display: grid;
        position: absolute;
        left: 14px;
        top: 18px;
        width: 94px;
        height: 94px;
    }
    .business-art > img {
        max-height: 94px;
        border-radius: 16px;
    }
    .business-art .business-float {
        display: none;
    }
}
/* Search labels must override the global column label rule. */
.step-city-search,
.location-search,
.city-search,
.menu-search,
.listing-tools > label {
    flex-direction: row;
}
.step-city-dialog .modal-head {
    margin-bottom: 18px;
}
.step-city-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 24px;
}
.step-city-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 36px;
    margin-bottom: 14px;
    font-size: 13px;
}
.city-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 10px;
    padding: 8px 11px;
    background: #fff0e5;
    color: #b6581c;
    font-size: 11px;
}
.step-city-search {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    height: 46px;
    border: 1px solid #e4ebe6;
    border-radius: 13px;
    padding: 0 13px;
    background: #f8faf9;
}
.step-city-search > i {
    display: block;
    flex: 0 0 18px;
    color: #8aa397;
    font-size: 17px;
}
.step-city-search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    font-size: 13px;
    text-align: right;
}
.step-city-search:focus-within {
    border-color: #ffb17b;
    box-shadow: 0 0 0 3px #fff1e7;
}
.step-city-search input::-webkit-search-cancel-button {
    appearance: none;
}
.clear-city-search {
    border: 0;
    background: transparent;
    padding: 5px;
    color: #9aa69d;
}
.clear-city-search[hidden] {
    display: none;
}
.step-city-list {
    height: min(340px, 43dvh);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    margin-top: 12px;
}
.step-city-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid #f0f3ef;
    background: white;
    font-size: 12px;
    border-radius: 10px;
    text-align: right;
}
.step-city-option:hover,
.step-city-option.selected {
    background: #fff3e9;
    color: #d65f16;
}
.step-city-option > i {
    color: #a9b8ad;
    font-size: 11px;
}
.step-city-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 18px;
    border: 1px solid #ffead8;
    background: #fff8f1;
    border-radius: 20px;
    text-align: center;
}
.step-city-map img {
    width: 100%;
    max-width: 270px;
}
.step-city-map strong {
    font-size: 12px;
    margin-top: 10px;
    line-height: 2;
}
.step-city-map p {
    font-size: 11px;
    color: #ac8c72;
}
/* Accessible switch with a real native checkbox underneath. */
label.open-filter {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    min-height: 40px;
    font-size: 12px;
}
.open-filter > input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    opacity: 0;
    margin: 0;
}
.switch-track {
    position: relative;
    display: block;
    width: 42px;
    height: 25px;
    border-radius: 20px;
    background: #dce4de;
    border: 1px solid #d3ddd5;
    flex: 0 0 42px;
    transition:
        background 0.2s,
        border-color 0.2s;
}
.switch-track:before {
    content: '';
    position: absolute;
    width: 19px;
    height: 19px;
    top: 2px;
    right: 2px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 5px #2b443a22;
    transition: transform 0.2s;
}
.open-filter input:checked + .switch-track {
    background: #ff741c;
    border-color: #ff741c;
}
.open-filter input:checked + .switch-track:before {
    transform: translateX(-17px);
}
.open-filter input:focus-visible + .switch-track {
    outline: 3px solid #ffc49b;
    outline-offset: 3px;
}
/* New campaign artwork and responsive editorial carousels. */
.jalbo-carousel {
    min-width: 0;
}
.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 40px) / 3);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 3px 1px 12px;
    direction: rtl;
}
.carousel-track::-webkit-scrollbar {
    display: none;
}
.carousel-track > * {
    min-width: 0;
    scroll-snap-align: start;
}
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    min-height: 32px;
}
.carousel-controls[hidden] {
    display: none;
}
.carousel-arrow,
.carousel-play {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #e7ede8;
    border-radius: 50%;
    color: #6c7a70;
    background: white;
    font-size: 11px;
}
.carousel-arrow:hover,
.carousel-play:hover {
    color: #e66a1c;
    border-color: #ffc69d;
    background: #fff8f1;
}
.carousel-dots {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}
.carousel-dots button {
    width: 6px;
    height: 6px;
    min-width: 6px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #dce4df;
    transition:
        width 0.25s,
        background 0.25s;
}
.carousel-dots button.active {
    width: 22px;
    background: #ff812e;
}
.carousel-dots button:focus-visible {
    outline: 2px solid #f88133;
    outline-offset: 4px;
}
.carousel-counter {
    font-size: 10px;
    color: #97a399;
    direction: ltr;
    min-width: 30px;
}
.campaigns {
    margin: 26px 0;
}
.campaign-carousel .carousel-track {
    grid-auto-columns: 100%;
    gap: 18px;
}
.campaign-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 28px 45px;
    min-height: 245px;
    border-radius: 25px;
    overflow: hidden;
}
.campaign-card.green {
    background: #dff1e7;
    color: #215341;
}
.campaign-card.orange {
    background: #fff0df;
    color: #92491d;
}
.campaign-card.cream {
    background: #f3eadd;
    color: #70523a;
}
.campaign-card > div {
    max-width: 58%;
}
.campaign-card span {
    font-size: 11px;
    opacity: 0.75;
}
.campaign-card strong {
    display: block;
    font-size: 32px;
    line-height: 1.7;
    margin: 8px 0;
}
.campaign-card p {
    font-size: 12px;
    line-height: 2;
}
.campaign-card b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    padding: 9px 14px;
    background: #ffffffb0;
    border-radius: 12px;
}
.campaign-card img {
    width: 34%;
    max-width: 260px;
    aspect-ratio: 1;
    height: auto;
    object-fit: contain;
}
.cuisine-strip {
    display: flex;
    gap: 10px;
    overflow: auto;
    scrollbar-width: none;
    margin: 22px 0 28px;
    padding: 2px;
}
.cuisine-strip a {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    border-radius: 17px;
    background: #f1f4f1;
    padding: 5px 12px;
    font-size: 12px;
}
.cuisine-strip .category-cutout {
    width: 42px;
    height: 42px;
    min-width: 42px;
    margin: 0;
}
.highlight-carousel .carousel-track {
    grid-auto-columns: 110px;
    gap: 16px;
}
.store-highlight {
    display: block;
    text-align: center;
}
.store-highlight > div {
    position: relative;
    padding-bottom: 20px;
}
.highlight-cover {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 18px;
}
.highlight-logo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: white;
    padding: 3px;
    border: 2px solid #ffad72;
    border-radius: 50%;
    object-fit: contain;
}
.store-highlight strong {
    display: block;
    font-size: 11px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 9px;
}
.deal-section {
    background: #fff0e5;
    border: 1px solid #ffe5d2;
    border-radius: 26px;
    padding: 24px;
}
.deal-carousel .carousel-track {
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 20px) / 2);
}
.compact-deal {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: white;
    align-items: center;
}
.compact-deal > img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 13px;
}
.compact-deal > div {
    min-width: 0;
    flex: 1;
}
.compact-deal strong {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}
.compact-deal p {
    font-size: 10px;
    color: #91a096;
    margin: 0 0 5px;
}
.compact-deal small {
    font-size: 10px;
    color: #98a199;
}
.compact-deal > div > span {
    display: block;
    width: max-content;
    margin-top: 7px;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 8px;
    color: #e57124;
    background: #fff2e7;
}
/* Illustrated, helpful empty state. */
.catalog-empty {
    grid-column: 1/-1;
    padding: 32px 20px 38px;
    text-align: center;
    border: 1px solid #edf1ed;
    border-radius: 24px;
    background: white;
}
.catalog-empty-art {
    width: 164px;
    height: 164px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff3e7, transparent 70%);
}
.catalog-empty-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.catalog-empty h2 {
    font-size: 20px;
    margin: 4px 0 10px;
}
.catalog-empty > p {
    font-size: 13px;
    color: #6e8074;
    margin: 0 0 8px;
}
.catalog-empty > span {
    display: block;
    font-size: 11px;
    color: #9ca69f;
    line-height: 2;
    max-width: 430px;
    margin: auto;
}
.empty-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.empty-actions .btn {
    font-size: 12px;
}
.demo-city-link {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: #d17234;
    font-size: 11px;
    margin-top: 7px;
    text-decoration: underline;
    text-underline-offset: 5px;
}
/* Rich footer with Jalbo identity, real routes and PWA help. */
.jalbo-footer {
    background: #f1f5f1;
    border-top: 1px solid #e3ebe3;
    padding: 42px 0 0;
    margin-top: 30px;
    color: #6f7c73;
}
.jalbo-footer > .container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
}
.footer-intro .store-brand {
    color: #24352c;
}
.footer-intro > p {
    font-size: 12px;
    line-height: 2.1;
    max-width: 310px;
    margin: 18px 0;
}
.footer-pwa {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding-top: 8px;
}
.footer-pwa > span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}
.footer-pwa .btn {
    background: #e3ece4;
    border-color: #d4e1d5;
    color: #356346;
    font-size: 11px;
    border-radius: 11px;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.footer-columns section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}
.footer-columns h2 {
    font-size: 13px;
    color: #3a5141;
    margin: 0 0 4px;
}
.footer-columns a {
    font-size: 11px;
    line-height: 1.8;
    transition: color 0.2s;
}
.footer-columns a:hover {
    color: #e8762c;
}
.footer-categories {
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #e1e9e1;
}
.footer-categories a {
    padding: 7px 13px;
    border: 1px solid #dfe8df;
    border-radius: 20px;
    font-size: 11px;
    background: #f7faf6;
}
.footer-bottom {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #e1e9e1;
    padding: 20px 0;
    font-size: 10px;
}
.install-help {
    font-size: 13px;
    line-height: 2.3;
}
/* Animated placeholders and image loading without delaying successful requests. */
@keyframes skeleton-sweep {
    from {
        background-position: 200% 0;
    }
    to {
        background-position: -200% 0;
    }
}
.skeleton-block,
img.img-loading:not(.meal-tray-art) {
    background: linear-gradient(100deg, #edf1ee 25%, #f8faf8 40%, #edf1ee 60%);
    background-size: 200% 100%;
    animation: skeleton-sweep 1.5s linear infinite;
}
img.img-loading {
    color: transparent;
}
img.img-failed {
    background: #fff7ef;
}
.img-ready:not(.meal-tray-art):not(.highlight-logo) {
    animation: jalbo-image-in 0.3s ease both;
}
@keyframes jalbo-image-in {
    from {
        opacity: 0.25;
    }
    to {
        opacity: 1;
    }
}
.page-skeleton {
    padding: 25px 0 35px;
}
.skeleton-banner {
    height: 190px;
    border-radius: 24px;
}
.skeleton-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 25px 0;
}
.skeleton-lines i {
    display: block;
    height: 18px;
    width: 30%;
    border-radius: 7px;
}
.skeleton-lines i:last-child {
    width: 20%;
    height: 12px;
}
.skeleton-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.skeleton-cards > div {
    background: white;
    border: 1px solid #edf1ee;
    border-radius: 20px;
    padding: 12px;
}
.skeleton-photo {
    height: 140px;
    border-radius: 13px;
    margin-bottom: 18px;
}
.skeleton-cards i {
    display: block;
    height: 13px;
    margin: 10px 0;
    width: 70%;
    border-radius: 6px;
}
.skeleton-cards i.short {
    width: 45%;
}
.city-loading {
    height: 300px;
    border-radius: 18px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
    white-space: nowrap;
    border: 0;
}
@media (max-width: 800px) {
    .step-city-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .step-city-map {
        display: none;
    }
    .step-city-search input {
        font-size: 16px;
    }
    .step-city-search input::placeholder {
        font-size: 12px;
    }
    .step-city-list {
        height: min(360px, 48dvh);
    }
    .store-main.container {
        padding-inline: 16px;
    }
    .service-grid {
        gap: 15px 10px;
    }
    .service-tile .category-cutout {
        max-width: 78px;
    }
    .service-tile {
        background: #f7f8f6;
        border-radius: 17px;
        padding: 4px 0 10px;
    }
    .campaigns {
        margin: 24px -16px 20px;
    }
    .campaign-carousel .carousel-track {
        grid-auto-columns: 88%;
        gap: 12px;
        padding-inline: 16px;
    }
    .campaign-card {
        min-height: 170px;
        padding: 18px 20px;
        gap: 12px;
        border-radius: 21px;
    }
    .campaign-card > div {
        max-width: 60%;
    }
    .campaign-card span {
        font-size: 8px;
    }
    .campaign-card strong {
        font-size: 21px;
        margin: 7px 0;
        line-height: 1.75;
    }
    .campaign-card p {
        font-size: 10px;
        line-height: 1.9;
        margin: 5px 0 10px;
    }
    .campaign-card b {
        font-size: 9px;
        padding: 7px 10px;
        border-radius: 10px;
    }
    .campaign-card img {
        width: 38%;
    }
    .cuisine-strip {
        margin: 20px -16px;
        padding-inline: 16px;
        gap: 8px;
    }
    .cuisine-strip a {
        padding: 4px 9px;
        font-size: 11px;
    }
    .cuisine-strip .category-cutout {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    .featured-stores {
        margin: 26px 0;
    }
    .highlight-carousel {
        margin-inline: -16px;
    }
    .highlight-carousel .carousel-track {
        grid-auto-columns: 88px;
        gap: 12px;
        padding-inline: 16px;
    }
    .highlight-cover {
        height: 112px;
        border-radius: 15px;
    }
    .store-highlight strong {
        font-size: 10px;
    }
    .highlight-logo {
        width: 39px;
        height: 39px;
    }
    .shop-carousel {
        margin-inline: -16px;
    }
    .shop-carousel .carousel-track {
        grid-auto-columns: 78%;
        gap: 14px;
        padding-inline: 16px;
    }
    .deal-section {
        margin-inline: -16px;
        padding: 22px 16px 15px;
        border-radius: 0;
        border: 0;
    }
    .deal-carousel .carousel-track {
        grid-auto-columns: 88%;
        gap: 10px;
    }
    .compact-deal {
        padding: 12px;
        gap: 11px;
        border-radius: 16px;
    }
    .compact-deal > img {
        width: 76px;
        height: 76px;
    }
    .compact-deal strong {
        font-size: 12px;
    }
    .carousel-controls {
        gap: 8px;
        margin-top: 4px;
    }
    .carousel-arrow,
    .carousel-play {
        width: 27px;
        height: 27px;
        font-size: 10px;
    }
    .catalog-empty {
        padding: 25px 16px 30px;
        border-radius: 21px;
    }
    .catalog-empty-art {
        width: 140px;
        height: 140px;
    }
    .catalog-empty h2 {
        font-size: 17px;
        line-height: 1.9;
    }
    .catalog-empty > p {
        font-size: 11px;
        line-height: 2;
    }
    .catalog-empty > span {
        font-size: 10px;
    }
    .empty-actions .btn {
        font-size: 11px;
        padding: 10px 13px;
    }
    label.open-filter {
        font-size: 11px;
    }
    .jalbo-footer {
        padding-top: 30px;
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }
    .jalbo-footer > .container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-intro {
        display: grid;
        grid-template-columns: 1fr;
    }
    .footer-intro > p {
        max-width: 100%;
        font-size: 11px;
        margin: 14px 0;
    }
    .footer-pwa {
        padding: 15px;
        border: 1px solid #dbe6dc;
        border-radius: 16px;
        background: #e9f0e9;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .footer-pwa > span,
    .footer-pwa .btn {
        font-size: 10px;
    }
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 25px 18px;
    }
    .footer-columns h2 {
        font-size: 12px;
    }
    .footer-columns a {
        font-size: 11px;
    }
    .footer-columns section:last-child {
        grid-column: 1/-1;
    }
    .footer-categories {
        gap: 8px;
        padding-top: 18px;
    }
    .footer-categories a {
        font-size: 10px;
        padding: 7px 11px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        font-size: 9px;
        padding: 18px 0;
    }
    .skeleton-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .skeleton-photo {
        height: 110px;
    }
    .skeleton-banner {
        height: 145px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .skeleton-block,
    img.img-loading:not(.meal-tray-art),
    .img-ready:not(.meal-tray-art):not(.highlight-logo) {
        animation: none;
    }
    .switch-track,
    .switch-track:before {
        transition: none;
    }
}

.compact-deal strong {
    display: flex;
    align-items: center;
    gap: 6px;
}
.compact-brand {
    width: 24px;
    height: 24px;
    object-fit: contain;
    padding: 2px;
    border-radius: 7px;
    background: white;
    border: 1px solid #eef1ec;
    flex-shrink: 0;
}
/* Branded first-entry scene: lightweight food texture, no generic spinner. */
body.startup-active,
body.welcome-active {
    overflow: hidden;
}
.startup-loader {
    position: fixed;
    inset: 0;
    z-index: 22000;
    display: grid;
    place-items: center;
    background: #fffaf3;
    min-height: 100dvh;
    overflow: hidden;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}
.startup-loader.startup-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.startup-food-texture,
.welcome-texture {
    position: absolute;
    inset: -80px;
    background-image: url('../images/food-texture.svg');
    background-size: 280px 240px;
    opacity: 0.55;
    animation: food-texture-drift 22s linear infinite;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, transparent 12%, black 90%);
}
.startup-scene {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px;
    isolation: isolate;
}
.startup-plate {
    display: grid;
    place-items: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #ffffffcf;
    border: 1px solid #ffe3cb;
    box-shadow:
        0 24px 60px #b9702c12,
        inset 0 0 0 12px #fff9f1;
}
.startup-plate > img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    animation: startup-food-bob 2.4s ease-in-out infinite;
}
.startup-orbit {
    position: absolute;
    top: 13px;
    width: 228px;
    height: 228px;
    border: 1px dashed #ffc99d;
    border-radius: 50%;
    animation: meal-tray-turn 18s linear infinite;
}
.startup-orbit:after {
    content: '';
    position: absolute;
    top: 20px;
    right: 27px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ff812d;
    box-shadow: 0 0 0 7px #ffebd9;
}
.startup-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: #284838;
}
.startup-brand strong {
    font-size: 28px;
    font-weight: 700;
}
.startup-brand .store-brand-mark {
    width: 39px;
    flex-basis: 39px;
}
.startup-brand .store-brand-mark img {
    position: absolute;
    width: 200%;
    height: 193.846154%;
    max-width: none;
    left: -49.21875%;
    top: -50.769231%;
}
.startup-scene > p {
    font-size: 12px;
    line-height: 2;
    color: #9d8b78;
    margin: 14px 0;
}
.startup-dots {
    display: flex;
    gap: 7px;
    margin-top: 5px;
}
.startup-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f3843d;
    animation: startup-dot 1.2s ease-in-out infinite;
}
.startup-dots i:nth-child(2) {
    animation-delay: 0.15s;
}
.startup-dots i:nth-child(3) {
    animation-delay: 0.3s;
}
@keyframes startup-food-bob {
    0%,
    100% {
        transform: translateY(2px) rotate(-3deg);
    }
    50% {
        transform: translateY(-7px) rotate(3deg);
    }
}
@keyframes startup-dot {
    0%,
    70%,
    100% {
        opacity: 0.25;
        transform: translateY(0);
    }
    35% {
        opacity: 1;
        transform: translateY(-5px);
    }
}
@keyframes food-texture-drift {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(40px, 40px);
    }
}
/* Graphic introduction, once per browser, with explicit skip and continue. */
dialog.welcome-screen {
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 24px;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 0;
    background: #fff9f1;
    overflow: auto;
    color: #263d30;
    box-shadow: none;
}
.welcome-screen::backdrop {
    background: #fff9f1;
}
.welcome-card {
    position: relative;
    min-height: min(650px, calc(100dvh - 48px));
    width: 100%;
    max-width: 1040px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    gap: 30px 55px;
    padding: 32px 42px;
    background: #ffffffdc;
    border: 1px solid #ffead9;
    border-radius: 34px;
    box-shadow: 0 28px 100px #ae7a3710;
}
.welcome-header {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}
.welcome-skip,
.welcome-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #a88e78;
    padding: 10px;
    font-size: 12px;
}
.welcome-visual {
    min-width: 0;
    min-height: 340px;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}
.welcome-halo {
    position: absolute;
    width: 88%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #ffe8ce, #fff7e9 65%);
    border: 1px solid #ffdfbf;
    z-index: -1;
}
.welcome-halo:after {
    content: '';
    position: absolute;
    inset: -18px;
    border: 1px dashed #ffdab7;
    border-radius: 50%;
    transform: rotate(18deg);
}
.welcome-food {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    animation:
        welcome-food-in 0.4s ease both,
        startup-food-bob 5s 0.4s ease-in-out infinite;
}
.welcome-badge {
    position: absolute;
    bottom: 8px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #b36225;
    padding: 12px 15px;
    border: 1px solid #ffdfc1;
    border-radius: 15px;
    background: #fffffff0;
    box-shadow: 0 10px 25px #ab71331a;
}
.welcome-badge i {
    font-size: 18px;
    color: #f28132;
}
.welcome-spark {
    position: absolute;
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid #ffe6cf;
    border-radius: 13px;
    background: #fffdf9;
    color: #eea361;
    font-size: 16px;
    box-shadow: 0 8px 25px #b0813e12;
}
.welcome-spark.one {
    top: 15px;
    right: 3px;
    transform: rotate(-12deg);
}
.welcome-spark.two {
    bottom: 50px;
    left: 2px;
    color: #d18f65;
    transform: rotate(12deg);
}
.welcome-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}
.welcome-eyebrow {
    color: #e7792c;
    font-size: 12px;
    font-weight: 500;
}
.welcome-copy h1 {
    font-size: 34px;
    line-height: 1.8;
    letter-spacing: -1px;
    margin: 14px 0;
}
.welcome-copy > p {
    font-size: 13px;
    line-height: 2.3;
    color: #87948b;
    margin: 0;
    max-width: 390px;
}
.welcome-progress {
    display: flex;
    gap: 7px;
    align-items: center;
    margin: 27px 0 20px;
}
.welcome-progress button {
    padding: 0;
    border: 0;
    width: 7px;
    height: 7px;
    border-radius: 10px;
    background: #e2e8e1;
    transition:
        width 0.2s,
        background 0.2s;
}
.welcome-progress button.active {
    width: 28px;
    background: #f38136;
}
.welcome-progress button:focus-visible {
    outline: 3px solid #ffd0ae;
    outline-offset: 4px;
}
.welcome-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.welcome-actions .btn {
    min-height: 48px;
    padding-inline: 25px;
    border-radius: 14px;
    font-size: 13px;
    box-shadow: 0 7px 18px #ef7a2a22;
}
@keyframes welcome-food-in {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* More room for the menu; restrained identity header and dense food cards. */
.restaurant-profile {
    border-radius: 20px;
}
.restaurant-cover {
    position: relative;
    height: 168px;
}
.restaurant-cover:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #112a1b12, transparent 65%);
    pointer-events: none;
}
.restaurant-cover-back {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #ffffff70;
    border-radius: 11px;
    background: #ffffffdf;
    color: #405a47;
    font-size: 16px;
    backdrop-filter: blur(8px);
}
.restaurant-summary {
    gap: 16px;
    padding: 0 22px 12px;
    margin-top: -27px;
}
.restaurant-logo {
    width: 80px;
    height: 80px;
    border-radius: 17px;
    padding: 6px;
}
.restaurant-heading {
    padding-top: 27px;
}
.restaurant-heading h1 {
    font-size: 22px;
    margin: 3px 0;
    line-height: 1.8;
}
.restaurant-heading p {
    font-size: 11px;
}
.restaurant-summary > .icon-btn {
    margin-top: 28px;
    width: 34px;
    height: 34px;
    border-radius: 11px;
}
.restaurant-facts {
    gap: 10px 22px;
    padding: 10px 22px 15px;
    font-size: 11px;
}
.restaurant-details {
    padding: 12px 0;
    margin-inline: 22px;
    font-size: 11px;
}
.restaurant-menu-layout {
    grid-template-columns: 124px minmax(0, 1fr) 260px;
    gap: 18px;
    margin-top: 22px;
}
.menu-sidebar {
    padding: 14px 8px;
    border-radius: 15px;
}
.menu-sidebar h2 {
    font-size: 12px;
    padding-inline: 7px;
}
.menu-sidebar button {
    font-size: 11px;
    padding: 10px 8px;
    border-radius: 9px;
}
.menu-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
}
.menu-title-row h2 {
    font-size: 17px;
    margin: 0;
}
.menu-title-row > span {
    color: #9aa59d;
    font-size: 10px;
}
.menu-search {
    height: 44px;
    padding-inline: 13px;
    border-radius: 12px;
}
.menu-search input {
    padding-block: 0;
    min-height: 0;
    height: 42px;
    font-size: 12px;
}
.menu-group {
    margin: 20px 0;
}
.menu-group > h2 {
    font-size: 16px;
    margin-bottom: 12px;
}
.menu-product {
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
}
.menu-product h3 {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 5px;
}
.menu-product > img {
    width: 84px;
    height: 84px;
    border-radius: 11px;
}
.menu-product p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.9;
    margin-bottom: 12px;
}
.menu-product .price {
    font-size: 11px;
}
.menu-product .icon-btn {
    width: 31px;
    height: 31px;
    border-radius: 9px;
}
.menu-unavailable {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    background: #f2f4f1;
    color: #9aa49b;
    font-size: 9px;
    margin-bottom: 5px;
}
.restaurant-menu-layout .cart-panel {
    padding: 15px;
    border-radius: 15px;
}
.restaurant-menu-layout .cart-panel .card-head h3 {
    font-size: 14px;
}
.restaurant-menu-layout .cart-panel .empty {
    padding: 18px 8px;
}
.restaurant-menu-layout .cart-panel .empty i {
    font-size: 27px;
}
.restaurant-menu-layout .cart-panel .empty p {
    font-size: 11px;
}
.restaurant-menu-layout .cart-panel .btn {
    font-size: 11px;
}
@media (min-width: 1200px) {
    .restaurant-menu .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 801px) and (max-width: 1100px) {
    .restaurant-menu-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
    }
}
@media (max-width: 800px) {
    dialog.welcome-screen {
        padding: 0;
    }
    .welcome-card {
        min-height: 100dvh;
        max-width: none;
        border: 0;
        border-radius: 0;
        background: #fffaf3e8;
        padding: calc(16px + env(safe-area-inset-top)) 24px calc(25px + env(safe-area-inset-bottom));
        grid-template-columns: 1fr;
        gap: 12px;
        align-content: start;
        box-shadow: none;
    }
    .welcome-header {
        margin-bottom: 0;
    }
    .welcome-header .store-brand strong {
        font-size: 19px;
    }
    .welcome-skip {
        font-size: 11px;
        padding-inline: 0;
    }
    .welcome-visual {
        min-height: 0;
        height: clamp(230px, 36dvh, 350px);
        width: min(100%, 350px);
        justify-self: center;
    }
    .welcome-food {
        max-height: 100%;
        width: auto;
        max-width: 100%;
    }
    .welcome-halo {
        width: 78%;
        max-height: 90%;
    }
    .welcome-badge {
        bottom: 0;
        right: 3px;
        font-size: 10px;
        padding: 10px 12px;
        border-radius: 12px;
    }
    .welcome-spark.one {
        right: 8px;
        top: 18px;
    }
    .welcome-spark.two {
        left: 7px;
        bottom: 34px;
    }
    .welcome-copy {
        align-items: center;
        text-align: center;
        padding-top: 14px;
    }
    .welcome-eyebrow {
        font-size: 11px;
    }
    .welcome-copy h1 {
        font-size: 28px;
        margin: 8px 0 12px;
        line-height: 1.8;
    }
    .welcome-copy > p {
        max-width: 345px;
        font-size: 12px;
        line-height: 2.2;
    }
    .welcome-progress {
        margin: 22px 0;
    }
    .welcome-actions {
        justify-content: center;
    }
    .welcome-actions .btn {
        flex: 1;
        min-height: 49px;
    }
    .welcome-back {
        font-size: 11px;
    }
    .startup-plate {
        width: 175px;
        height: 175px;
    }
    .startup-plate > img {
        width: 150px;
        height: 150px;
    }
    .startup-orbit {
        width: 203px;
        height: 203px;
    }
    .startup-brand strong {
        font-size: 26px;
    }
    .restaurant-cover {
        height: 116px;
    }
    .restaurant-cover-back {
        top: 10px;
        right: 12px;
        width: 30px;
        height: 30px;
        border-radius: 10px;
        font-size: 14px;
    }
    .restaurant-summary {
        gap: 11px;
        padding: 0 14px 10px;
        margin-top: -22px;
    }
    .restaurant-logo {
        width: 65px;
        height: 65px;
        border-radius: 14px;
        padding: 5px;
    }
    .restaurant-heading {
        padding-top: 23px;
    }
    .restaurant-heading h1 {
        font-size: 18px;
        margin: 2px 0;
    }
    .restaurant-heading p {
        font-size: 10px;
    }
    .restaurant-heading .shop-state {
        font-size: 9px;
        margin-top: 4px;
    }
    .restaurant-summary > .icon-btn {
        width: 30px;
        height: 30px;
        margin-top: 23px;
    }
    .restaurant-facts {
        gap: 8px 14px;
        padding: 8px 14px 12px;
        font-size: 10px;
    }
    .restaurant-details {
        margin-inline: 14px;
        padding: 10px 0;
        font-size: 10px;
    }
    .restaurant-menu-layout {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 18px;
        gap: 14px;
    }
    .menu-title-row h2 {
        font-size: 16px;
    }
    .menu-mobile-tabs {
        padding-block: 10px;
    }
    .menu-mobile-tabs button {
        font-size: 11px;
        padding: 8px 12px;
    }
    .menu-product {
        padding: 12px;
        gap: 12px;
    }
    .menu-product > img {
        width: 88px;
        height: 88px;
    }
    .menu-product h3 {
        font-size: 13px;
    }
    .shop-mobile-cart {
        padding: 13px 16px;
        border-radius: 13px;
    }
    .catalog-breadcrumb {
        margin-block: 15px;
        font-size: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .startup-food-texture,
    .startup-orbit,
    .startup-plate > img,
    .startup-dots i,
    .welcome-food {
        animation: none;
    }
    .startup-loader,
    .welcome-progress button {
        transition: none;
    }
}

/* Keep introduction actions anchored; only the middle can scroll on short screens. */
dialog.welcome-screen {
    overflow: hidden;
    box-sizing: border-box;
}
.welcome-card {
    height: 100%;
    min-height: 0;
    max-height: none;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 0;
    align-content: stretch;
}
.welcome-header {
    grid-column: auto;
    margin: 0;
    padding-bottom: 12px;
}
.welcome-content {
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    align-content: safe center;
    gap: 36px;
    padding: 20px 8px;
    scrollbar-width: thin;
}
.welcome-copy {
    align-items: center;
    text-align: center;
}
.welcome-footer {
    padding-top: 12px;
    position: relative;
}
.welcome-footer .welcome-progress {
    justify-content: center;
    margin: 0 0 18px;
}
.welcome-footer .welcome-actions {
    justify-content: center;
}
.welcome-footer .welcome-next {
    min-width: 240px;
}
@media (max-width: 800px) {
    .welcome-card {
        height: 100%;
        min-height: 0;
        padding: calc(12px + env(safe-area-inset-top)) 20px calc(14px + env(safe-area-inset-bottom));
        gap: 0;
    }
    .welcome-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 12px 4px;
    }
    .welcome-visual {
        height: clamp(150px, 30dvh, 290px);
    }
    .welcome-copy {
        padding: 0;
    }
    .welcome-copy h1 {
        font-size: clamp(22px, 3.5dvh, 28px);
        line-height: 1.6;
        margin: 8px 0;
    }
    .welcome-copy > p {
        line-height: 2;
    }
    .welcome-footer .welcome-next {
        min-width: 0;
    }
    .welcome-footer .welcome-progress {
        margin: 0 0 14px;
    }
}
@media (max-height: 520px) and (min-width: 801px) {
    .welcome-visual {
        min-height: 0;
        height: 200px;
    }
    .welcome-food {
        max-height: 100%;
        width: auto;
    }
    .welcome-copy h1 {
        font-size: 25px;
        margin: 6px 0;
    }
    .welcome-content {
        padding-block: 8px;
    }
}
