:root {
  --red: #e10d18;
  --red-2: #ff1d2c;
  --red-soft: #fff0f1;
  --black: #0b0b0d;
  --black-2: #151518;
  --white: #ffffff;
  --bg: #f6f7f9;
  --line: #e7e8ec;
  --muted: #6e7179;
  --muted-2: #979aa3;
  --green: #19a35b;
  --orange: #e88716;
  --blue: #2b6de0;
  --shadow: 0 18px 50px rgba(8, 8, 10, .08);
  --shadow-sm: 0 8px 24px rgba(8, 8, 10, .08);
  --radius: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--black); background: var(--bg); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.grow { flex: 1; }

.ui-btn { min-height: 44px; border: 1px solid transparent; border-radius: 12px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; transition: .2s ease; background: #fff; color: var(--black); }
.ui-btn:hover { transform: translateY(-1px); }
.ui-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.ui-btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(225, 13, 24, .22); }
.ui-btn-primary:hover { background: #c90b15; }
.ui-btn-dark { background: var(--black); color: #fff; }
.ui-btn-dark:hover { background: #222226; }
.ui-btn-ghost { border-color: var(--line); background: #fff; }
.ui-btn-ghost:hover { border-color: #cfd1d6; background: #fafafa; }
.ui-btn-full { width: 100%; }
.ui-btn-lg { min-height: 52px; padding: 0 24px; border-radius: 14px; }
.ui-icon { line-height: 1; }

.round-btn { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; display: inline-grid; place-items: center; font-size: 22px; color: var(--black); }
.round-btn:hover { background: #f3f4f6; }
.section-kicker { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.form-error { color: #c60b14; font-size: 13px; font-weight: 700; min-height: 18px; margin: 0; }
.dev-hint { padding: 12px 14px; border-radius: 12px; background: #fff6d8; border: 1px solid #f0d36a; color: #6a5200; font-weight: 800; font-size: 13px; margin: 0; }

label { display: grid; gap: 8px; font-size: 13px; color: #34363b; font-weight: 800; }
input, textarea, select { width: 100%; border: 1px solid #dfe1e6; background: #fff; color: var(--black); border-radius: 12px; padding: 12px 13px; outline: none; transition: .18s ease; }
input { min-height: 45px; }
textarea { resize: vertical; }
select { min-height: 45px; }
input:focus, textarea:focus, select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 13, 24, .08); }
.form-stack { display: grid; gap: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Storefront */
.store-body { background: #fff; min-height: 100vh; }
.announcement-bar { min-height: 34px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; padding: 6px 16px; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .01em; }
.store-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(226,227,232,.92); }
.store-header-inner { max-width: 1220px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.store-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.store-brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 14px; background: #050505; }
.store-brand-copy { min-width: 0; display: grid; gap: 3px; }
.store-brand-copy strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-status { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; }
.store-status i { width: 8px; height: 8px; border-radius: 50%; background: #bbb; }
.store-status.open { color: #168249; }
.store-status.open i { background: var(--green); box-shadow: 0 0 0 4px rgba(25,163,91,.12); }
.store-status.closed { color: #b20f17; }
.store-status.closed i { background: var(--red); }
.store-actions { display: flex; gap: 8px; align-items: center; }
.cart-trigger { position: relative; }
.cart-count { min-width: 23px; height: 23px; border-radius: 999px; background: #fff; color: var(--red); display: inline-grid; place-items: center; font-size: 11px; padding: 0 6px; }

.store-hero { background: var(--black); color: #fff; overflow: hidden; position: relative; }
.store-hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(225,13,24,.30), rgba(225,13,24,0) 68%); right: -90px; top: -160px; }
.store-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 34px 34px; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; max-width: 1220px; margin: 0 auto; min-height: 530px; padding: 74px 20px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); border-radius: 999px; padding: 8px 12px; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 6px rgba(255,29,44,.12); }
.hero-copy h1 { margin: 19px 0 16px; font-size: clamp(42px, 6vw, 72px); line-height: .98; letter-spacing: -.045em; max-width: 700px; }
.hero-copy h1 span { color: var(--red-2); }
.hero-copy > p { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.65; color: #c3c4c8; }
.hero-cta-row { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cta-row .ui-btn-dark { border-color: rgba(255,255,255,.17); background: rgba(255,255,255,.07); }
.hero-facts { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 22px; }
.hero-facts > div { display: flex; align-items: center; gap: 10px; min-width: 140px; }
.hero-facts > div > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.07); }
.hero-facts p { margin: 0; display: grid; gap: 2px; }
.hero-facts small { font-size: 11px; color: #8f929a; }
.hero-facts strong { font-size: 13px; color: #fff; }
.hero-visual { position: relative; min-height: 385px; display: grid; place-items: center; }
.hero-logo-card { width: min(100%, 410px); background: linear-gradient(145deg, #151519, #09090b); border: 1px solid rgba(255,255,255,.12); border-radius: 30px; padding: 14px; box-shadow: 0 36px 80px rgba(0,0,0,.46); transform: rotate(2deg); }
.hero-logo-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 22px; }
.hero-card-label { display: block; padding: 5px 7px 11px; font-size: 11px; color: #8d8f96; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.hero-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 7px 4px; font-size: 11px; color: #9ea0a8; }
.hero-open-badge { color: #fff; font-weight: 800; }
.hero-open-badge::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 7px; }
.hero-open-badge.closed::before { background: var(--red); }
.hero-floating-card { position: absolute; display: flex; align-items: center; gap: 10px; border-radius: 16px; background: #fff; color: var(--black); padding: 12px 14px; box-shadow: 0 18px 35px rgba(0,0,0,.24); font-size: 12px; font-weight: 800; }
.hero-floating-card b { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--red); }
.hero-floating-card small { color: var(--muted); font-weight: 600; }
.hero-floating-one { left: -20px; top: 72px; }
.hero-floating-two { right: -22px; bottom: 58px; }

.catalog-section { padding: 68px 0 84px; background: #fff; }
.catalog-shell { max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.catalog-heading h2 { font-size: clamp(30px, 4vw, 43px); letter-spacing: -.035em; margin: 8px 0 8px; }
.catalog-heading p { color: var(--muted); margin: 0; }
.catalog-search-wrap { width: min(100%, 340px); position: relative; }
.catalog-search-wrap span, .toolbar-search span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); opacity: .55; pointer-events: none; }
.catalog-search-wrap input, .toolbar-search input { padding-left: 42px; background: #f8f8fa; }
.category-sticky { position: sticky; top: 77px; z-index: 22; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); padding: 10px 0 14px; }
.category-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-chip { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; color: #4d5057; min-height: 40px; padding: 0 15px; border-radius: 999px; font-weight: 800; font-size: 13px; }
.category-chip.active { background: var(--black); color: #fff; border-color: var(--black); }
.featured-area { margin: 22px 0 36px; padding: 22px; border-radius: 24px; background: linear-gradient(135deg, #fff2f3, #fff 70%); border: 1px solid #ffdfe2; }
.mini-heading span { color: var(--red); font-size: 10px; letter-spacing: .16em; font-weight: 900; }
.mini-heading h3 { margin: 4px 0 16px; font-size: 22px; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.menu-group { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.menu-group-title { grid-column: 1 / -1; margin: 16px 0 0; display: flex; align-items: center; justify-content: space-between; }
.menu-group-title h3 { margin: 0; font-size: 24px; }
.menu-group-title span { font-size: 12px; color: var(--muted); font-weight: 700; }
.product-card { min-height: 176px; border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 14px; display: grid; grid-template-columns: 1fr 142px; gap: 14px; align-items: stretch; transition: .2s ease; cursor: pointer; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: #d7d8de; }
.product-card-copy { min-width: 0; display: flex; flex-direction: column; }
.product-card h4 { margin: 1px 0 7px; font-size: 17px; }
.product-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-price { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card-price strong { font-size: 17px; }
.product-add-mini { width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--red); color: #fff; font-size: 21px; display: grid; place-items: center; }
.product-card-image { border-radius: 14px; overflow: hidden; background: #101012; min-height: 146px; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card-image.no-image { display: grid; place-items: center; }
.product-card-image.no-image img { width: 78%; height: auto; opacity: .8; object-fit: contain; }
.product-badge { align-self: flex-start; margin-bottom: 7px; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .11em; }
.featured-grid .product-card { grid-template-columns: 1fr 115px; min-height: 145px; }
.empty-state { grid-column: 1 / -1; border: 1px dashed #d8dae0; border-radius: 20px; padding: 54px 20px; display: grid; place-items: center; text-align: center; background: #fafafa; color: var(--muted); }
.empty-state img { width: 90px; height: 90px; object-fit: cover; border-radius: 22px; margin-bottom: 15px; filter: grayscale(.1); }
.empty-state h3 { color: var(--black); margin: 0 0 8px; }
.empty-state p { margin: 0; max-width: 470px; line-height: 1.6; }

.cart-drawer { position: fixed; z-index: 70; top: 0; right: 0; width: min(92vw, 430px); height: 100dvh; background: #fff; transform: translateX(105%); transition: .28s ease; box-shadow: -25px 0 55px rgba(0,0,0,.17); display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); }
.drawer-head { padding: 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer-head h2 { margin: 4px 0 0; }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 20px; }
.cart-item { border-bottom: 1px solid var(--line); padding: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.cart-item h4 { margin: 0 0 4px; font-size: 14px; }
.cart-item p { margin: 2px 0; color: var(--muted); font-size: 12px; }
.cart-item strong { font-size: 14px; }
.cart-item-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.cart-item-actions button { border: 0; background: none; color: var(--red); padding: 0; font-weight: 800; font-size: 12px; }
.cart-bottom { border-top: 1px solid var(--line); padding: 18px 20px max(18px, env(safe-area-inset-bottom)); background: #fff; }
.cart-total-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cart-total-row strong { font-size: 20px; }
.page-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.52); backdrop-filter: blur(2px); }

.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 22px; background: rgba(0,0,0,.58); backdrop-filter: blur(4px); overflow-y: auto; }
.modal-card { position: relative; width: min(100%, 570px); max-height: calc(100dvh - 36px); overflow-y: auto; border-radius: 24px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.28); padding: 28px; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 3; }
.modal-card h2 { margin: 7px 0 8px; font-size: 28px; letter-spacing: -.025em; }
.auth-card { width: min(100%, 440px); text-align: left; }
.modal-logo { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; margin-bottom: 22px; background: #000; }
.modal-logo img { width: 100%; height: 100%; object-fit: cover; }
.product-modal-card { width: min(100%, 610px); }
.product-modal-image { width: 100%; height: 220px; overflow: hidden; background: #0c0c0e; border-radius: 18px; margin-bottom: 20px; }
.product-modal-image img { width: 100%; height: 100%; object-fit: cover; }
.addon-list { display: grid; gap: 8px; margin: 18px 0; }
.addon-list:empty { margin: 0; }
.addon-row { border: 1px solid var(--line); border-radius: 13px; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.addon-row label { display: flex; flex-direction: row; align-items: center; gap: 10px; font-weight: 700; }
.addon-row input { width: 18px; min-height: 18px; }
.addon-row strong { font-size: 13px; }
.field-label { margin-top: 16px; }
.product-add-row { margin-top: 18px; display: flex; gap: 12px; align-items: center; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty-control button { width: 40px; height: 46px; border: 0; background: #fff; font-size: 20px; }
.qty-control strong { width: 38px; text-align: center; }
.checkout-card { width: min(100%, 720px); }
.checkout-form { display: grid; gap: 14px; margin-top: 20px; }
.checkout-block { border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 14px; }
.checkout-block-title { display: flex; align-items: center; gap: 12px; }
.checkout-block-title > b { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--black); color: #fff; }
.checkout-block-title h3 { margin: 0; font-size: 16px; }
.checkout-block-title p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.choice-option { position: relative; }
.choice-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-option span { min-height: 54px; border: 1px solid var(--line); border-radius: 13px; padding: 11px 13px; display: flex; flex-direction: column; justify-content: center; gap: 2px; cursor: pointer; }
.choice-option span strong { font-size: 13px; }
.choice-option span small { color: var(--muted); font-weight: 600; }
.choice-option input:checked + span { border-color: var(--red); background: var(--red-soft); box-shadow: inset 0 0 0 1px var(--red); }
.payment-grid { grid-template-columns: repeat(3,1fr); }
.payment-hint, .pickup-hint { border-radius: 12px; background: #f5f5f7; padding: 11px 12px; font-size: 12px; color: var(--muted); }
.coupon-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.coupon-feedback { margin: -4px 0 0; min-height: 16px; font-size: 12px; font-weight: 700; color: var(--green); }
.coupon-feedback.error { color: var(--red); }
.checkout-summary { background: #f7f7f9; border-radius: 16px; padding: 16px; display: grid; gap: 9px; }
.checkout-summary > div { display: flex; justify-content: space-between; gap: 15px; }
.checkout-summary .grand { border-top: 1px solid #dfe0e4; padding-top: 11px; font-size: 18px; }
.discount-row { color: var(--green); }
.orders-modal-card { width: min(100%, 760px); }
.orders-list { display: grid; gap: 13px; margin-top: 18px; }
.customer-order-card { border: 1px solid var(--line); border-radius: 18px; padding: 17px; }
.customer-order-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.customer-order-top h3 { margin: 0 0 4px; font-size: 16px; }
.customer-order-top small { color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 10px; font-size: 11px; font-weight: 900; background: #eef0f3; color: #4f535b; white-space: nowrap; }
.status-pill.received { background: #fff2d9; color: #9b6300; }
.status-pill.preparing { background: #fff0f1; color: #b10d17; }
.status-pill.ready { background: #e8f5ff; color: #1c69a6; }
.status-pill.out_for_delivery { background: #f0ebff; color: #653cb4; }
.status-pill.completed { background: #e8f8ef; color: #148149; }
.status-pill.cancelled { background: #f0f1f3; color: #777b84; }
.order-progress { margin: 17px 0 13px; display: grid; grid-template-columns: repeat(5,1fr); gap: 4px; }
.order-progress span { height: 5px; background: #e6e7ea; border-radius: 999px; }
.order-progress span.done { background: var(--red); }
.customer-order-items { display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.customer-order-footer { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cancel-order-btn { border: 0; color: var(--red); background: none; font-size: 12px; font-weight: 800; padding: 0; }
.success-card { width: min(100%, 430px); text-align: center; }
.success-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; font-size: 32px; box-shadow: 0 12px 32px rgba(225,13,24,.25); }
.success-card .ui-btn { margin-top: 9px; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 26px; transform: translateX(-50%); min-width: min(90vw, 320px); max-width: 520px; background: #101014; color: #fff; border-radius: 13px; padding: 13px 16px; text-align: center; font-size: 13px; font-weight: 800; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.mobile-cart-bar { display: none; }
.store-footer { border-top: 1px solid var(--line); background: #0b0b0d; color: #fff; }
.store-footer-inner { max-width: 1220px; margin: 0 auto; padding: 28px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.footer-brand div { display: grid; gap: 3px; }
.footer-brand small { color: #8e9098; }
.footer-actions { display: flex; gap: 20px; align-items: center; }
.footer-actions a, .footer-actions button { background: none; border: 0; padding: 0; color: #c7c8cd; font-weight: 700; font-size: 13px; }
.footer-copy { grid-column: 1 / -1; color: #70727a; border-top: 1px solid #222228; padding-top: 15px; }

/* Admin login */
.admin-body { background: #f4f5f7; min-height: 100vh; }
.admin-login-screen { min-height: 100dvh; display: grid; grid-template-columns: 1.05fr .95fr; background: #fff; }
.admin-login-brand { background: #09090b; color: #fff; padding: 8vw; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.admin-login-brand::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 36px 36px; }
.admin-login-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -190px; top: -130px; background: radial-gradient(circle, rgba(225,13,24,.35), transparent 68%); }
.admin-login-brand > *:not(.admin-login-glow) { position: relative; z-index: 1; }
.admin-login-brand img { width: 112px; height: 112px; object-fit: cover; border-radius: 28px; margin-bottom: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.admin-login-brand > span { color: var(--red-2); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.admin-login-brand h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -.045em; max-width: 630px; margin: 14px 0 18px; }
.admin-login-brand > p { color: #a6a8af; font-size: 17px; line-height: 1.6; max-width: 570px; margin: 0; }
.admin-login-features { margin-top: 32px; display: grid; gap: 10px; color: #d5d6da; font-size: 13px; font-weight: 700; }
.admin-login-features span::first-letter { color: var(--red-2); }
.admin-login-form-wrap { display: grid; place-items: center; padding: 36px; }
.admin-login-card { width: min(100%, 440px); }
.admin-login-card h2 { font-size: 32px; margin: 8px 0 8px; letter-spacing: -.03em; }
.admin-login-card > p { line-height: 1.55; }
.admin-login-card form { margin-top: 22px; }
.back-store-link { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 12px; font-weight: 800; }
.admin-mobile-logo { display: none; }

/* Admin shell */
.admin-app { min-height: 100vh; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; background: #0b0b0d; color: #fff; z-index: 55; display: flex; flex-direction: column; }
.admin-logo { min-height: 82px; padding: 15px 17px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #232329; }
.admin-logo img { width: 49px; height: 49px; object-fit: cover; border-radius: 13px; }
.admin-logo span { min-width: 0; display: grid; gap: 3px; }
.admin-logo strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-logo small { color: #797b84; font-size: 10px; }
.admin-menu { padding: 18px 12px; display: grid; gap: 6px; }
.admin-menu-item { min-height: 46px; width: 100%; border: 0; border-radius: 11px; background: transparent; color: #a3a5ad; display: flex; align-items: center; gap: 12px; padding: 0 13px; font-size: 13px; font-weight: 800; text-align: left; }
.admin-menu-item span { width: 22px; text-align: center; font-size: 15px; }
.admin-menu-item:hover { background: #17171b; color: #fff; }
.admin-menu-item.active { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(225,13,24,.18); }
.menu-badge { margin-left: auto; background: #fff; color: var(--red); border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: 10px; padding: 0 5px; }
.admin-sidebar-footer { margin-top: auto; border-top: 1px solid #232329; padding: 15px; display: grid; gap: 10px; }
.admin-sidebar-footer a, .admin-sidebar-footer button { border: 0; background: transparent; color: #92949c; font-size: 12px; font-weight: 800; text-align: left; padding: 5px 2px; }
.admin-sidebar-footer a:hover, .admin-sidebar-footer button:hover { color: #fff; }
.sidebar-status { border: 1px solid #26262c; border-radius: 10px; padding: 10px; display: flex; align-items: center; gap: 8px; color: #a9abb2; font-size: 11px; font-weight: 800; }
.sidebar-status i { width: 8px; height: 8px; border-radius: 50%; background: #777; }
.sidebar-status.open i { background: var(--green); box-shadow: 0 0 0 5px rgba(25,163,91,.11); }
.sidebar-status.closed i { background: var(--red); }
.admin-main { margin-left: 250px; min-height: 100vh; }
.admin-topbar { height: 82px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(15px); display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 32; }
.admin-topbar > div:first-of-type { min-width: 0; }
.admin-topbar span { display: block; font-size: 9px; letter-spacing: .16em; font-weight: 900; color: var(--red); }
.admin-topbar h1 { margin: 3px 0 0; font-size: 22px; letter-spacing: -.02em; }
.admin-top-actions { display: flex; align-items: center; gap: 10px; }
.admin-avatar { width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; background: #111114; color: #fff; font-size: 10px; font-weight: 900; }
.admin-hamburger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-size: 20px; }
.store-toggle { display: flex; flex-direction: row; align-items: center; gap: 9px; cursor: pointer; }
.store-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.store-toggle span { width: 42px; height: 24px; border-radius: 999px; background: #d5d7dc; position: relative; transition: .2s ease; }
.store-toggle span::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 3px; left: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: .2s ease; }
.store-toggle input:checked + span { background: var(--green); }
.store-toggle input:checked + span::after { transform: translateX(18px); }
.store-toggle b { font-size: 11px; }
.admin-content { padding: 28px; max-width: 1600px; margin: 0 auto; }
.admin-panel { min-height: calc(100vh - 140px); }
.admin-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 20px; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.admin-card-head h3 { margin: 5px 0 0; font-size: 19px; }
.admin-welcome-card { padding: 25px 28px; border-radius: 20px; background: linear-gradient(120deg, #111114, #18181d 60%, #25090c); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; overflow: hidden; position: relative; }
.admin-welcome-card::after { content: ""; width: 250px; height: 250px; border-radius: 50%; position: absolute; right: -80px; top: -100px; background: radial-gradient(circle, rgba(225,13,24,.34), transparent 70%); }
.admin-welcome-card > * { position: relative; z-index: 1; }
.admin-welcome-card h2 { font-size: 28px; margin: 7px 0 7px; }
.admin-welcome-card p { margin: 0; color: #a8aab0; }
.live-chip { flex: 0 0 auto; border: 1px solid #33343a; background: rgba(255,255,255,.05); padding: 9px 12px; border-radius: 999px; color: #c7c8cd; font-size: 11px; font-weight: 800; }
.live-chip i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 6px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.admin-kpis { margin-top: 16px; }
.kpi-card { border: 1px solid var(--line); border-radius: 17px; background: #fff; padding: 18px; display: grid; gap: 6px; }
.kpi-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #f5f5f7; margin-bottom: 4px; }
.kpi-card > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.kpi-card > strong { font-size: 27px; letter-spacing: -.035em; }
.kpi-card > small { color: var(--muted-2); font-size: 10px; }
.dashboard-grid { margin-top: 16px; display: grid; grid-template-columns: 1.55fr .75fr; gap: 16px; }
.text-btn { border: 0; background: transparent; color: var(--red); font-size: 11px; font-weight: 900; }
.dashboard-order-list { margin-top: 14px; display: grid; }
.dashboard-order-row { border-top: 1px solid var(--line); padding: 12px 0; display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; cursor: pointer; }
.dashboard-order-row:first-child { border-top: 0; }
.dashboard-order-row strong { font-size: 13px; }
.dashboard-order-row small { color: var(--muted); font-size: 10px; }
.dashboard-order-row > div:first-child { display: grid; gap: 2px; }
.operation-status-box { margin: 20px 0 15px; border: 1px solid var(--line); border-radius: 15px; padding: 15px; display: flex; align-items: center; gap: 12px; }
.operation-status-box > span { width: 13px; height: 13px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(25,163,91,.12); }
.operation-status-box.closed > span { background: var(--red); box-shadow: 0 0 0 6px rgba(225,13,24,.10); }
.operation-status-box div { display: grid; gap: 3px; }
.operation-status-box small { color: var(--muted); font-size: 10px; }
.operation-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 15px; }
.operation-stats div { background: #f7f7f9; border-radius: 12px; padding: 12px 8px; text-align: center; display: grid; gap: 4px; }
.operation-stats span { font-size: 9px; color: var(--muted); font-weight: 800; }
.operation-stats strong { font-size: 20px; }

.panel-toolbar { margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.toolbar-search { min-width: 280px; flex: 1; position: relative; }
.panel-toolbar select { width: auto; min-width: 175px; background: #fff; }
.view-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 3px; }
.view-switch button { border: 0; background: transparent; border-radius: 8px; min-height: 36px; padding: 0 13px; color: var(--muted); font-size: 11px; font-weight: 800; }
.view-switch button.active { background: var(--black); color: #fff; }
.orders-kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 290px); gap: 13px; align-items: start; overflow-x: auto; padding-bottom: 8px; }
.kanban-column { min-width: 250px; background: #edeff2; border-radius: 15px; padding: 10px; }
.kanban-head { padding: 4px 4px 11px; display: flex; align-items: center; justify-content: space-between; }
.kanban-head strong { font-size: 12px; }
.kanban-head b { min-width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; background: #fff; font-size: 10px; }
.kanban-stack { display: grid; gap: 9px; }
.kanban-order-card { border: 1px solid #e0e1e5; background: #fff; border-radius: 13px; padding: 13px; box-shadow: 0 4px 10px rgba(0,0,0,.025); cursor: pointer; }
.kanban-order-card:hover { border-color: #cfd0d6; }
.kanban-order-card .order-number { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.kanban-order-card .order-number strong { font-size: 12px; }
.kanban-order-card .order-number small { color: var(--muted); font-size: 9px; }
.kanban-order-card h4 { margin: 10px 0 4px; font-size: 13px; }
.kanban-order-card p { margin: 0; color: var(--muted); font-size: 10px; }
.kanban-order-card .order-money { border-top: 1px solid var(--line); margin-top: 11px; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; }
.kanban-order-card .order-money strong { font-size: 13px; }
.kanban-order-card .order-money span { font-size: 9px; color: var(--muted); }
.kanban-empty { padding: 20px 8px; text-align: center; color: #9b9da5; font-size: 10px; }
.admin-orders-list { background: #fff; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.admin-order-list-row { display: grid; grid-template-columns: 120px 1.4fr 1fr 1fr 120px 140px; gap: 12px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 12px; cursor: pointer; }
.admin-order-list-row:first-child { border-top: 0; }
.admin-order-list-row:hover { background: #fafafa; }
.admin-order-list-row strong { font-size: 12px; }
.admin-order-list-row small { color: var(--muted); }

.section-intro-row { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-intro-row h2 { font-size: 27px; margin: 5px 0 5px; }
.section-intro-row p { margin: 0; color: var(--muted); font-size: 13px; }
.menu-summary-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.menu-summary-row > div { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 14px 16px; display: grid; gap: 3px; }
.menu-summary-row span { color: var(--muted); font-size: 10px; font-weight: 800; }
.menu-summary-row strong { font-size: 20px; }
.compact-toolbar { max-width: 720px; }
.admin-menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.admin-product-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.admin-product-image { height: 145px; background: #111; position: relative; }
.admin-product-image img { width: 100%; height: 100%; object-fit: cover; }
.admin-product-image .status-dot-label { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); padding: 6px 8px; border-radius: 999px; font-size: 9px; font-weight: 900; }
.admin-product-image .status-dot-label.off { color: #777; }
.admin-product-image .featured-label { position: absolute; right: 10px; top: 10px; background: var(--red); color: #fff; padding: 6px 8px; border-radius: 999px; font-size: 9px; font-weight: 900; }
.admin-product-body { padding: 14px; }
.admin-product-body h3 { margin: 0 0 5px; font-size: 14px; }
.admin-product-body p { margin: 0; color: var(--muted); font-size: 10px; min-height: 28px; }
.admin-product-meta { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.admin-product-meta strong { font-size: 15px; }
.admin-product-meta span { color: var(--muted); font-size: 9px; }
.admin-product-actions { border-top: 1px solid var(--line); padding: 10px 14px; display: flex; justify-content: space-between; gap: 8px; }
.admin-product-actions button { border: 0; background: transparent; color: var(--muted); padding: 3px 0; font-size: 10px; font-weight: 800; }
.admin-product-actions button:hover { color: var(--black); }
.admin-product-actions button.danger:hover { color: var(--red); }

.coupon-admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.coupon-card { border: 1px solid var(--line); border-radius: 17px; background: #fff; padding: 18px; position: relative; overflow: hidden; }
.coupon-card::before, .coupon-card::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); transform: translateY(-50%); }
.coupon-card::before { left: -10px; }
.coupon-card::after { right: -10px; }
.coupon-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.coupon-code { border: 1px dashed #d4d6db; background: #f8f8fa; border-radius: 10px; padding: 8px 11px; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.coupon-card h3 { margin: 18px 0 5px; font-size: 24px; color: var(--red); }
.coupon-card p { margin: 0; color: var(--muted); font-size: 11px; }
.coupon-card-stats { margin-top: 16px; border-top: 1px dashed #dfe0e4; padding-top: 12px; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.coupon-card-actions { margin-top: 12px; display: flex; gap: 7px; }
.coupon-card-actions button { flex: 1; border: 1px solid var(--line); border-radius: 9px; background: #fff; min-height: 34px; font-size: 10px; font-weight: 800; }

.table-card { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; }
.customers-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.customers-table th, .customers-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 11px; }
.customers-table th { color: var(--muted); background: #fafafa; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.customers-table td strong { font-size: 12px; }
.customer-name-cell { display: flex; align-items: center; gap: 9px; }
.customer-avatar { width: 32px; height: 32px; border-radius: 10px; background: #111; color: #fff; display: grid; place-items: center; font-size: 9px; font-weight: 900; }
.full-search { max-width: 520px; }

.settings-layout { display: grid; grid-template-columns: 210px 1fr; gap: 15px; align-items: start; }
.settings-nav-card { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 15px; background: #fff; padding: 8px; display: grid; gap: 4px; }
.settings-section-btn { border: 0; background: transparent; min-height: 42px; border-radius: 10px; padding: 0 12px; text-align: left; color: var(--muted); font-size: 11px; font-weight: 800; }
.settings-section-btn.active { background: #111114; color: #fff; }
.settings-form-wrap { display: grid; gap: 13px; }
.settings-section { min-height: 310px; }
.settings-grid { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span-2 { grid-column: 1 / -1; }
.switch-list { margin-top: 16px; display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.setting-switch { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 14px; border-top: 1px solid var(--line); cursor: pointer; }
.setting-switch:first-child { border-top: 0; }
.setting-switch > span { display: grid; gap: 3px; }
.setting-switch small { color: var(--muted); font-weight: 600; }
.setting-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.setting-switch i { width: 42px; height: 24px; border-radius: 999px; background: #d8dadf; position: relative; flex: 0 0 auto; }
.setting-switch i::after { content: ""; position: absolute; width: 18px; height: 18px; top: 3px; left: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: .2s ease; }
.setting-switch input:checked + i { background: var(--red); }
.setting-switch input:checked + i::after { transform: translateX(18px); }
.top-gap { margin-top: 16px; }
.brand-preview { margin-top: 18px; border-radius: 15px; background: #0b0b0d; color: #fff; padding: 16px; display: flex; align-items: center; gap: 14px; }
.brand-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 16px; }
.brand-preview div { display: grid; gap: 4px; }
.brand-preview span { color: var(--red-2); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.brand-preview small { color: #8d8f96; }
.security-box { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 15px; display: flex; align-items: flex-start; gap: 12px; }
.security-box > span { width: 38px; height: 38px; border-radius: 10px; background: #f5f5f7; display: grid; place-items: center; flex: 0 0 auto; }
.security-box p { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 5px 0 0; }
.settings-savebar { position: sticky; bottom: 12px; z-index: 8; margin-top: 2px; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; box-shadow: var(--shadow-sm); }
.settings-savebar .form-error { margin-right: auto; }

.admin-modal-card { width: min(100%, 680px); }
.small-admin-modal { width: min(100%, 500px); }
.product-image-editor { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.product-image-preview { width: 120px; height: 100px; border-radius: 14px; overflow: hidden; background: #111; }
.product-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.file-button { display: inline-flex; width: fit-content; min-height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; cursor: pointer; }
.file-button input { display: none; }
.product-image-editor small { display: block; margin-top: 7px; color: var(--muted); }
.check-row-group { display: flex; flex-wrap: wrap; gap: 18px; }
.check-row-group label, .inline-check { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.check-row-group input, .inline-check input { width: 17px; min-height: 17px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.order-detail-modal { width: min(100%, 720px); }
.order-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-right: 36px; }
.order-detail-head h2 { margin: 6px 0 4px; }
.order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.order-info-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.order-info-box h4 { margin: 0 0 9px; font-size: 12px; }
.order-info-box p { margin: 4px 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.order-detail-items { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.order-detail-item { padding: 12px 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.order-detail-item:first-child { border-top: 0; }
.order-detail-total { padding: 12px 14px; background: #f8f8fa; display: grid; gap: 7px; }
.order-detail-total > div { display: flex; justify-content: space-between; font-size: 11px; }
.order-detail-total .grand { font-size: 14px; font-weight: 900; padding-top: 7px; border-top: 1px solid var(--line); }
.order-status-control { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.internal-note-wrap { margin-top: 14px; display: grid; gap: 8px; }

@media (max-width: 1100px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-menu-grid, .coupon-admin-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .orders-kanban { grid-auto-columns: 280px; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 52px; }
  .hero-visual { min-height: 330px; }
  .hero-logo-card { max-width: 340px; }
  .menu-grid, .menu-group { grid-template-columns: 1fr; }
  .store-actions .ui-btn-ghost span:not(.ui-icon) { display: none; }
  .admin-sidebar { transform: translateX(-105%); transition: .24s ease; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-hamburger { display: inline-grid; place-items: center; }
  .admin-topbar { padding: 0 18px; }
  .admin-content { padding: 18px; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav-card { position: static; display: flex; overflow-x: auto; }
  .settings-section-btn { flex: 0 0 auto; }
  .admin-login-screen { grid-template-columns: 1fr; }
  .admin-login-brand { display: none; }
  .admin-login-form-wrap { min-height: 100dvh; padding: 24px; background: linear-gradient(180deg, #0b0b0d 0 170px, #fff 170px); }
  .admin-login-card { background: #fff; padding: 24px; border-radius: 22px; box-shadow: var(--shadow); }
  .admin-mobile-logo { display: block; width: 78px; height: 78px; overflow: hidden; border-radius: 18px; margin-bottom: 20px; }
  .admin-mobile-logo img { width: 100%; height: 100%; object-fit: cover; }
}

@media (max-width: 680px) {
  .announcement-bar { font-size: 10px; }
  .store-header-inner { padding: 9px 12px; }
  .store-brand img { width: 43px; height: 43px; border-radius: 11px; }
  .store-brand-copy strong { font-size: 13px; max-width: 140px; }
  .store-status { font-size: 10px; }
  .store-actions { gap: 5px; }
  .store-actions .ui-btn { min-height: 40px; padding: 0 11px; }
  .store-actions .ui-icon { font-size: 14px; }
  .store-actions #ordersBtn { display: none; }
  .hero-grid { padding: 42px 16px 48px; gap: 28px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy > p { font-size: 15px; }
  .hero-cta-row .ui-btn { flex: 1; }
  .hero-facts { gap: 12px; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-facts > div:nth-child(3) { grid-column: 1 / -1; }
  .hero-visual { min-height: 280px; }
  .hero-logo-card { max-width: 285px; }
  .hero-floating-card { transform: scale(.86); }
  .hero-floating-one { left: -12px; top: 52px; }
  .hero-floating-two { right: -10px; bottom: 27px; }
  .catalog-section { padding: 46px 0 95px; }
  .catalog-shell { padding: 0 14px; }
  .catalog-heading { align-items: stretch; flex-direction: column; }
  .catalog-search-wrap { width: 100%; }
  .category-sticky { top: 61px; margin: 0 -14px; padding: 9px 14px 12px; }
  .featured-area { margin-left: -3px; margin-right: -3px; padding: 15px; }
  .featured-grid { grid-template-columns: 1fr; }
  .product-card, .featured-grid .product-card { grid-template-columns: 1fr 112px; min-height: 148px; padding: 11px; }
  .product-card-image { min-height: 124px; }
  .product-card h4 { font-size: 15px; }
  .product-card p { font-size: 12px; -webkit-line-clamp: 2; }
  .product-card-price strong { font-size: 15px; }
  .store-footer-inner { grid-template-columns: 1fr; }
  .footer-actions { justify-content: flex-start; flex-wrap: wrap; }
  .modal { align-items: end; padding: 0; }
  .modal-card { width: 100%; max-height: 92dvh; border-radius: 22px 22px 0 0; padding: 23px 17px max(22px, env(safe-area-inset-bottom)); }
  .modal-card h2 { font-size: 25px; }
  .product-modal-image { height: 180px; }
  .choice-grid, .payment-grid { grid-template-columns: 1fr; }
  .coupon-row { grid-template-columns: 1fr; }
  .mobile-cart-bar { position: fixed; left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 45; display: block; }
  .mobile-cart-bar button { width: 100%; min-height: 56px; border: 0; border-radius: 16px; background: var(--red); color: #fff; box-shadow: 0 14px 35px rgba(225,13,24,.28); padding: 0 17px; display: flex; align-items: center; justify-content: space-between; }
  .mobile-cart-bar span { display: grid; gap: 1px; text-align: left; }
  .mobile-cart-bar small { font-size: 10px; opacity: .8; }
  .mobile-cart-bar strong { font-size: 16px; }
  .admin-topbar { height: 70px; }
  .admin-topbar > div:first-of-type { display: none; }
  .admin-top-actions { margin-left: auto; }
  .store-toggle b { display: none; }
  .admin-content { padding: 13px; }
  .admin-welcome-card { padding: 20px; align-items: flex-start; flex-direction: column; }
  .admin-welcome-card h2 { font-size: 23px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .kpi-card { padding: 14px; }
  .kpi-card > strong { font-size: 21px; }
  .section-intro-row { align-items: stretch; flex-direction: column; }
  .menu-summary-row { grid-template-columns: 1fr 1fr; }
  .panel-toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-search { min-width: 0; width: 100%; }
  .panel-toolbar select { width: 100%; }
  .view-switch { width: 100%; }
  .view-switch button { flex: 1; }
  .admin-menu-grid, .coupon-admin-grid { grid-template-columns: 1fr; }
  .settings-grid, .form-row-2 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .settings-savebar { bottom: 7px; }
  .settings-savebar .form-error { display: none; }
  .product-image-editor { grid-template-columns: 92px 1fr; }
  .product-image-preview { width: 92px; height: 82px; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .order-status-control { grid-template-columns: 1fr; }
}
