:root {
  color-scheme: light;
  --bg: #f6f2ea;
  --surface: #fffaf3;
  --surface-strong: #ffffff;
  --ink: #231f1a;
  --muted: #70675c;
  --line: #e7dccf;
  --brand: #9c3d1e;
  --brand-dark: #742b14;
  --brand-soft: #ffe3d7;
  --green: #24734b;
  --green-soft: #dff3e7;
  --amber: #9a6500;
  --amber-soft: #fff1c7;
  --red: #a83232;
  --red-soft: #ffe0e0;
  --shadow: 0 18px 45px rgba(68, 42, 20, 0.12);
  --radius: 22px;
  font-family: Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(156, 61, 30, 0.12), transparent 32rem),
    linear-gradient(180deg, #fffaf3 0%, var(--bg) 46%, #efe7dc 100%);
  color: var(--ink);
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.danger { color: var(--red); }
.text-link { color: var(--brand); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.site-header {
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 250, 243, 0.88);
  border: 1px solid rgba(231, 220, 207, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 12px;
  z-index: 20;
}
.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--brand);
  color: white;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(156, 61, 30, 0.25);
}
.site-header h1, .site-header p { margin: 0; }
.site-header h1 { font-size: clamp(24px, 4vw, 36px); }
.site-header p { color: var(--muted); margin-top: 4px; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.status-pill, .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--muted);
  white-space: nowrap;
}
.status-pill.open, .pill.ready { color: var(--green); background: var(--green-soft); border-color: #bfe2cc; }
.status-pill.closed, .pill.rejected { color: var(--red); background: var(--red-soft); border-color: #f0bcbc; }
.pill.new { color: var(--brand); background: var(--brand-soft); border-color: #f0c1b0; }
.pill.preparing, .pill.out_for_delivery { color: var(--amber); background: var(--amber-soft); border-color: #edcf74; }
.pill.completed { color: var(--green); background: var(--green-soft); }
.pill.accepted { color: #305e9e; background: #dceaff; border-color: #bdd6f6; }

.customer-layout {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
}
.menu-panel, .cart-panel, .panel, .order-card, .login-card {
  background: rgba(255, 250, 243, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.menu-panel { padding: 24px; }
.menu-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: stretch;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.eyebrow { margin: 0 0 7px; color: var(--brand); font-weight: 900; font-size: 13px; }
.menu-hero h2 { margin: 0; font-size: clamp(25px, 4vw, 42px); line-height: 1.15; }
.menu-hero p:not(.eyebrow) { color: var(--muted); margin: 10px 0 0; line-height: 1.7; }
.hero-badge {
  min-width: 138px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 4px;
  border-radius: 20px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 18px;
}
.hero-badge span { font-size: 12px; font-weight: 700; }
.hero-badge strong { font-size: 30px; }
.notice {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--amber-soft);
  border: 1px solid #e8c760;
  color: #6f4c00;
  line-height: 1.7;
}
.category-filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 9px 15px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 800;
}
.filter-chip.active { color: white; background: var(--brand); border-color: var(--brand); }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.menu-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 13px;
  padding: 16px;
  border-radius: 19px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}
.item-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  font-size: 30px;
  overflow: hidden;
}
.item-icon img { width: 100%; height: 100%; object-fit: cover; }
.menu-card h3 { margin: 0; font-size: 18px; }
.menu-card p { margin: 6px 0 12px; color: var(--muted); line-height: 1.6; min-height: 44px; }
.item-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 900; color: var(--brand-dark); }
.add-button, .primary-button, .secondary-button, .ghost-button, .tab-button, .status-button {
  border: 0;
  border-radius: 14px;
  padding: 11px 15px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.add-button, .primary-button {
  color: white;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(156, 61, 30, 0.2);
}
.add-button:hover, .primary-button:hover { background: var(--brand-dark); transform: translateY(-1px); }
.primary-button:disabled, .status-button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.secondary-button { color: var(--brand); background: var(--brand-soft); }
.ghost-button { color: var(--muted); background: transparent; border: 1px solid var(--line); }
.full { width: 100%; }

.cart-panel { padding: 20px; position: sticky; top: 118px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.panel-title h2, .panel-title h3 { margin: 0; }
.cart-lines { display: grid; gap: 10px; margin: 14px 0; }
.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}
.cart-line strong { display: block; }
.cart-line small { color: var(--muted); }
.qty-controls { display: flex; align-items: center; gap: 7px; }
.qty-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 900;
}
.totals { border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 14px; display: grid; gap: 8px; }
.total-row { display: flex; justify-content: space-between; color: var(--muted); }
.total-row.grand { color: var(--ink); font-size: 20px; font-weight: 900; }
.checkout-form { display: grid; gap: 12px; margin-top: 16px; }
.field { display: grid; gap: 7px; }
.field span { font-weight: 800; font-size: 13px; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 12px 13px;
  color: var(--ink);
  outline: none;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(156, 61, 30, 0.12); }
.fulfillment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.fulfillment-option input { position: absolute; opacity: 0; pointer-events: none; }
.fulfillment-option span {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 64px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}
.fulfillment-option input:checked + span { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.form-message { min-height: 22px; font-size: 13px; font-weight: 700; color: var(--red); }
.success-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: var(--green-soft);
  border: 1px solid #b9dfc7;
  color: #175336;
  line-height: 1.8;
}
.success-box strong { font-size: 20px; }
.mobile-cart-bar { display: none; }

.track-wrap, .admin-shell {
  width: min(1050px, calc(100% - 28px));
  margin: 0 auto 60px;
}
.panel { padding: 22px; }
.track-card { max-width: 760px; margin: 20px auto; }
.track-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.timeline { display: grid; gap: 0; margin: 22px 0; }
.timeline-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  position: relative;
  padding-bottom: 22px;
  color: var(--muted);
}
.timeline-step::before {
  content: '';
  position: absolute;
  right: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline-step:last-child::before { display: none; }
.timeline-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: white;
  display: grid;
  place-items: center;
  font-size: 14px;
  z-index: 1;
}
.timeline-step.done { color: var(--ink); font-weight: 800; }
.timeline-step.done .timeline-dot { background: var(--green); border-color: var(--green); color: white; }
.timeline-step.current { color: var(--brand); font-weight: 900; }
.timeline-step.current .timeline-dot { background: var(--brand); border-color: var(--brand); color: white; }
.timeline-step small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; }
.order-details { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.detail-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.detail-row span:first-child { color: var(--muted); }

.admin-header {
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #28231f;
  color: white;
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.admin-header .brand-mark { background: #f2b16d; color: #2b1c12; }
.admin-header p { color: #d8cbc0; }
.admin-header .header-actions { color: white; }
.admin-header .ghost-button { color: white; border-color: rgba(255,255,255,0.24); }
.login-wrap { min-height: 70vh; display: grid; place-items: center; padding: 22px; }
.login-card { width: min(430px, 100%); padding: 26px; }
.login-card h1 { margin: 0 0 8px; }
.login-card form { display: grid; gap: 13px; margin-top: 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card { padding: 18px; border-radius: 19px; background: white; border: 1px solid var(--line); }
.stat-card span { color: var(--muted); font-size: 13px; font-weight: 800; }
.stat-card strong { display: block; margin-top: 6px; font-size: 27px; }
.tabs { display: flex; gap: 9px; margin: 16px 0; flex-wrap: wrap; }
.tab-button { background: white; color: var(--muted); border: 1px solid var(--line); }
.tab-button.active { color: white; background: #28231f; border-color: #28231f; }
.orders-list { display: grid; gap: 14px; }
.order-card { padding: 17px; }
.order-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; }
.order-top h3 { margin: 0; }
.order-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 9px; }
.order-items { margin: 13px 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.order-items li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.status-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 14px; }
.status-button { color: var(--brand); background: var(--brand-soft); }
.status-button.reject { color: var(--red); background: var(--red-soft); }
.menu-admin-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 16px; align-items: start; }
.menu-list { display: grid; gap: 10px; }
.menu-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.menu-row .item-icon { width: 44px; height: 44px; border-radius: 14px; font-size: 23px; }
.menu-row h3 { margin: 0; font-size: 15px; }
.menu-row p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.menu-actions { display: flex; gap: 6px; }
.menu-actions button { border: 0; border-radius: 10px; padding: 8px 10px; cursor: pointer; background: var(--surface); color: var(--brand); font-weight: 900; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.settings-grid .wide { grid-column: 1 / -1; }
.checkbox-row { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.checkbox-row input { width: 19px; height: 19px; accent-color: var(--brand); }

@media (max-width: 920px) {
  .customer-layout, .menu-admin-grid { grid-template-columns: 1fr; }
  .cart-panel { position: static; }
  .menu-grid { grid-template-columns: 1fr; }
  .stats-grid, .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header, .admin-header { align-items: flex-start; border-radius: 22px; }
  .brand-mark { width: 48px; height: 48px; flex-basis: 48px; border-radius: 16px; }
  .header-actions { width: 100%; margin: 0; justify-content: space-between; }
  .site-header { flex-wrap: wrap; }
  .menu-panel, .panel, .cart-panel { padding: 17px; }
  .menu-hero { flex-direction: column; }
  .hero-badge { min-width: 0; }
  .customer-layout { margin-bottom: 95px; }
  .cart-panel {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    max-height: 82vh;
    overflow: auto;
    border-radius: 24px 24px 0 0;
    transform: translateY(calc(100% - 68px));
    transition: transform 0.2s ease;
  }
  .cart-panel.open { transform: translateY(0); }
  .cart-panel::before {
    content: 'السلة والطلب';
    display: block;
    text-align: center;
    font-weight: 900;
    padding-bottom: 10px;
    color: var(--brand);
  }
  .track-form { grid-template-columns: 1fr; }
  .fulfillment-options { grid-template-columns: 1fr; }
  .detail-row { align-items: flex-start; }
}

.cart-head, .panel-head, .track-title-row, .admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.cart-head h2, .panel-head h2, .track-title-row h2, .admin-topbar h1 { margin: 0; }
.panel-head p, .admin-topbar p { margin: 5px 0 0; color: var(--muted); line-height: 1.6; }
.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
}
.field-group { display: grid; gap: 7px; }
.field-group label { font-weight: 900; font-size: 13px; }
.field-group input, .field-group textarea, .field-group select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 12px 13px;
  color: var(--ink);
  outline: none;
}
.field-group textarea { resize: vertical; }
.field-group input:focus, .field-group textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(156,61,30,.12); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field-row:has(> :only-child) { grid-template-columns: 1fr; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.optional { color: var(--muted); font-weight: 400; font-size: 12px; }
.form-error { min-height: 20px; color: var(--red); font-size: 13px; font-weight: 800; }
.empty-state { padding: 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 16px; background: rgba(255,255,255,.6); }
.totals-box { display: grid; gap: 9px; padding: 14px; border-radius: 16px; background: white; border: 1px solid var(--line); }
.totals-box > div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.totals-box .grand-total { color: var(--ink); font-size: 20px; font-weight: 900; border-top: 1px dashed var(--line); padding-top: 10px; }
.totals-box.flat { box-shadow: none; }
.payment-note { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.success-box { text-align: center; }
.success-box .primary-button, .success-box .secondary-button { display: inline-flex; margin: 5px; text-decoration: none; }
.success-icon { width: 54px; height: 54px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 30px; font-weight: 900; }
.cart-toggle {
  display: none;
  position: fixed;
  inset-inline: 14px;
  bottom: 12px;
  z-index: 45;
  border: 0;
  border-radius: 18px;
  padding: 14px 16px;
  background: var(--brand);
  color: white;
  box-shadow: 0 14px 32px rgba(116,43,20,.32);
  font-weight: 900;
  justify-content: space-between;
  align-items: center;
}
.compact-header { justify-content: space-between; }
.track-layout { width: min(820px, calc(100% - 28px)); margin: 0 auto 60px; }
.track-card { padding: 24px; border-radius: var(--radius); background: rgba(255,250,243,.95); border: 1px solid var(--line); box-shadow: var(--shadow); }
.loader { width: 42px; height: 42px; margin: 12px auto; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--brand); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: 26px; font-weight: 900; }
.order-status-badge { min-width: 110px; }
.order-details-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; }
.order-details-grid > div { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.order-details-grid span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.address-line { padding: 12px; border-radius: 14px; background: white; border: 1px solid var(--line); line-height: 1.7; }
.track-items h3 { margin: 18px 0 10px; }
.track-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.login-card { text-align: right; }
.brand-mark.large { width: 64px; height: 64px; font-size: 30px; margin-bottom: 14px; }
.admin-form { display: grid; gap: 13px; }
.admin-topbar { padding: 18px; border-radius: 24px; background: #28231f; color: white; }
.admin-topbar p { color: #d9cabe; }
.admin-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.owner-name { font-weight: 900; color: #f3d1ae; }
.admin-tabs { display: flex; gap: 9px; margin: 16px 0; }
.admin-tabs button { border: 1px solid var(--line); border-radius: 14px; padding: 11px 16px; background: white; color: var(--muted); font-weight: 900; cursor: pointer; }
.admin-tabs button.active { background: #28231f; color: white; border-color: #28231f; }
.admin-tab-panel { padding: 20px; border-radius: var(--radius); background: rgba(255,250,243,.94); border: 1px solid var(--line); box-shadow: var(--shadow); }
.segmented-control { display: flex; padding: 4px; border-radius: 14px; background: white; border: 1px solid var(--line); }
.segmented-control button { border: 0; background: transparent; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 900; cursor: pointer; }
.segmented-control button.active { background: var(--brand); color: white; }
.menu-admin-layout { display: grid; grid-template-columns: 380px minmax(0,1fr); gap: 16px; align-items: start; }
.editor-card { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.editor-card h3 { margin: 0; }
.menu-admin-list { display: grid; gap: 10px; }
.check-row, .check-card { display: flex; align-items: center; gap: 9px; font-weight: 900; }
.check-row input, .check-card input { width: 19px; height: 19px; accent-color: var(--brand); }
.check-card { padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.settings-form .field-row { grid-template-columns: repeat(3, minmax(0,1fr)); }
.settings-form > .field-row:first-child { grid-template-columns: repeat(2, minmax(0,1fr)); }
.toast { position: fixed; left: 16px; bottom: 16px; z-index: 100; transform: translateY(140%); transition: transform .2s ease; padding: 13px 16px; border-radius: 14px; background: #28231f; color: white; font-weight: 900; box-shadow: var(--shadow); }
.toast.show { transform: translateY(0); }
.toast.error { background: var(--red); }
.inactive { opacity: .62; }

@media (max-width: 720px) {
  .cart-toggle { display: flex; }
  .cart-panel { z-index: 60; }
  .cart-close { display: block; }
  .choice-grid, .field-row, .settings-form .field-row, .settings-form > .field-row:first-child, .order-details-grid, .menu-admin-layout { grid-template-columns: 1fr; }
  .track-title-row, .panel-head, .admin-topbar { align-items: flex-start; flex-direction: column; }
  .admin-actions { width: 100%; }
  .order-details-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 721px) {
  .cart-close { display: none; }
}
body.admin-page { overflow-x: hidden; }
.item-icon { color: var(--brand-dark); font-weight: 900; }

.trial-notice {max-width:1050px;margin:12px auto;padding:12px 18px;border:1px solid #d5ac72;background:#fff3d9;color:#624216;border-radius:14px;text-align:center;font-weight:700;}
.field-group input, .field-group textarea, .admin-form input:not([type=checkbox]), .admin-form textarea, .admin-form select {
  width:100%; min-width:0; border:1px solid var(--line); border-radius:12px; padding:12px; font:inherit; background:#fff; color:var(--ink);
}
.field-group input:focus, .field-group textarea:focus, .admin-form input:focus {outline:2px solid #d6a18b; outline-offset:1px;}
@media(max-width:720px){
  .cart-panel {top:auto; bottom:0; max-height:90dvh; transform:translateY(105%); visibility:hidden;}
  .cart-panel.open {transform:translateY(0); visibility:visible;}
  .cart-panel::before {display:none;}
  .cart-toggle {min-height:50px;}
}
@media(max-width:720px){
 .cart-panel {background:#fffaf3; overflow-x:hidden; overscroll-behavior:contain;}
 .cart-panel > * {max-width:100%;}
 .cart-head,.checkout-form,.cart-items {width:100%;min-width:0;}
 .cart-panel input[type=radio] {width:1px;height:1px;}
}
