/* ═══════════════════════════════════════════════════════════════
   Savior Ordering Engine — Premium Ordering App v1.1
   Mobile-first, app-like, DoorDash-quality experience
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Colors */
  --red: #e11d48;
  --red-d: #be123c;
  --red-bg: #fff1f2;
  --green: #16a34a;
  --ink: #0f172a;
  --ink2: #475569;
  --ink3: #94a3b8;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --line2: #f1f5f9;
  /* Typography */
  --f: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow: 0 4px 16px rgba(15,23,42,.08);
  --shadow-lg: 0 8px 32px rgba(15,23,42,.12);
}

*, *::before, *::after { box-sizing: border-box; }

body.soa-body {
  font-family: var(--f);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Sticky category nav ───────────────────────────────────── */
.soa-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line);
}
.soa-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 52px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.soa-nav-inner::-webkit-scrollbar { display: none; }
.soa-nav-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
  text-decoration: none;
  background: transparent;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: all .15s;
}
.soa-nav-link:hover { color: var(--ink); background: var(--line2); }
.soa-nav-link.active {
  color: var(--red);
  background: var(--red-bg);
  border-color: rgba(225,29,72,.2);
  font-weight: 700;
}

/* ── Layout ────────────────────────────────────────────────── */
.soa-wrap {
  display: grid;
  grid-template-columns: 224px 1fr;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
}
.soa-sidebar {
  position: sticky;
  top: 52px;
  height: calc(100vh - 52px);
  overflow-y: auto;
  background: var(--card);
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
}
.soa-sidebar-head { padding: 18px 16px 14px; border-bottom: 1px solid var(--line2); }
.soa-sidebar-store { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.soa-sidebar-hours { font-size: 11px; color: var(--ink3); line-height: 1.5; }
.soa-sidebar-links { padding: 8px 0; }
.soa-sidebar-link {
  display: flex;
  align-items: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
  text-decoration: none;
  border-left: 2.5px solid transparent;
  transition: all .12s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.soa-sidebar-link:hover { color: var(--ink); background: var(--line2); }
.soa-sidebar-link.active { color: var(--red); background: var(--red-bg); border-left-color: var(--red); font-weight: 700; }
.soa-main { min-width: 0; padding-bottom: 120px; }

/* ── Restaurant header ─────────────────────────────────────── */
.soa-restaurant-header { background: var(--card); border-bottom: 1px solid var(--line2); }
.soa-rh-inner { max-width: 100%; display: flex; gap: 0; min-height: 148px; overflow: hidden; }
.soa-rh-hero-img { width: 200px; object-fit: cover; flex-shrink: 0; display: block; }
.soa-rh-info {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, #0f172a 0%, #7f1d1d 100%);
  color: #fff;
}
.soa-rh-name { font-size: 20px; font-weight: 900; letter-spacing: -.04em; color: #fff; margin: 0; }
.soa-rh-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,.75); flex-wrap: wrap; }
.soa-rh-rating { color: #fbbf24; font-weight: 700; }
.soa-rh-dot { opacity: .4; }
.soa-rh-hours { font-size: 11.5px; color: rgba(255,255,255,.6); }
.soa-rh-story { font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.5; margin: 0; }

/* ── Featured categories strip ─────────────────────────────── */
.soa-featured-strip { background: var(--card); padding: 14px 0 10px; border-bottom: 1px solid var(--line2); }
.soa-featured-title { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); padding: 0 16px; margin-bottom: 10px; }
.soa-featured-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; }
.soa-featured-scroll::-webkit-scrollbar { display: none; }
.soa-featured-card { flex-shrink: 0; text-align: center; text-decoration: none; width: 84px; transition: transform .15s; }
.soa-featured-card:hover { transform: translateY(-2px); }
.soa-featured-img-wrap { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; margin: 0 auto 6px; border: 2px solid var(--line); box-shadow: var(--shadow-sm); }
.soa-featured-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.soa-featured-label { font-size: 11px; font-weight: 700; color: var(--ink2); line-height: 1.3; }

/* ── Popular section ───────────────────────────────────────── */
.soa-popular-section .soa-section-hd { display: flex; align-items: center; gap: 10px; }
.soa-popular-note { font-size: 11px; color: var(--ink3); font-weight: 600; margin-left: auto; }
.soa-popular-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--red-bg); color: var(--red); font-size: 10px; font-weight: 800; margin-left: 6px; }

/* ── Section headers ───────────────────────────────────────── */
.soa-section { border-bottom: 8px solid var(--line2); scroll-margin-top: 52px; }
.soa-section-hd {
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--line2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.soa-section-hd h2 { font-size: 16px; font-weight: 800; letter-spacing: -.025em; color: var(--ink); margin: 0; }
.soa-section-count { font-size: 11px; color: var(--ink3); background: var(--line2); padding: 2px 8px; border-radius: 999px; font-weight: 600; }

/* ── Item cards ────────────────────────────────────────────── */
.soa-cards { }
.soa-card { border-bottom: 1px solid var(--line2); transition: background .1s; }
.soa-card:last-child { border-bottom: none; }
.soa-card:hover { background: var(--line2); }
.soa-card-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
}
.soa-card-info { flex: 1; min-width: 0; }
.soa-card-name {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 3px;
  line-height: 1.3;
}
.soa-card-desc {
  font-size: 12px;
  color: var(--ink3);
  line-height: 1.5;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.soa-card-price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink2);
  letter-spacing: -.01em;
}
.soa-card-cta { flex-shrink: 0; padding-top: 2px; }

/* Card photo thumbnails */
.soa-card-has-img .soa-card-row { padding: 0; }
.soa-card-thumb { width: 88px; height: 88px; object-fit: cover; flex-shrink: 0; display: block; }
.soa-card-has-img .soa-card-info { padding: 13px 14px 13px 16px; }
.soa-card-has-img .soa-card-cta { padding: 13px 16px 13px 0; }

/* ── Action buttons ────────────────────────────────────────── */
.soa-btn-add, .soa-btn-open {
  border: none;
  cursor: pointer;
  font-family: var(--f);
  font-weight: 700;
  font-size: 13px;
  border-radius: 10px;
  padding: 9px 16px;
  transition: all .15s;
  white-space: nowrap;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  min-height: 38px;
}
.soa-btn-add {
  background: var(--red-bg);
  color: var(--red);
  border: 1.5px solid rgba(225,29,72,.15);
}
.soa-btn-add:hover, .soa-btn-add.adding { background: var(--red); color: #fff; border-color: var(--red); }
.soa-btn-add.done { background: var(--green); color: #fff; border-color: var(--green); }
.soa-btn-open {
  background: var(--ink);
  color: #fff;
  border: 1.5px solid transparent;
}
.soa-btn-open:hover { background: #1e293b; }

/* ── Customizer modal (bottom sheet) ──────────────────────── */
.soa-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15,23,42,.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.soa-modal-bg.open { opacity: 1; pointer-events: all; }
.soa-modal {
  background: var(--card);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.32,1.05,.45,1);
  box-shadow: 0 -12px 48px rgba(15,23,42,.20);
}
.soa-modal-bg.open .soa-modal { transform: translateY(0); }
.soa-modal-drag {
  width: 36px;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0;
}
.soa-modal-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--line2);
  flex-shrink: 0;
}
.soa-modal-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink);
  line-height: 1.2;
}
.soa-modal-close {
  background: var(--line2);
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink2);
  transition: all .12s;
  flex-shrink: 0;
  margin-left: 12px;
  margin-top: 2px;
}
.soa-modal-close:hover { background: var(--line); color: var(--ink); }
.soa-modal-body { overflow-y: auto; flex: 1; padding: 0; }

/* ── Configurator sections inside modal ────────────────────── */
.soa-cfg-sec { padding: 16px 20px; border-bottom: 1px solid var(--line2); }
.soa-cfg-sec:last-child { border-bottom: none; }
.soa-cfg-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink2);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.soa-req {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-bg);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: none;
  letter-spacing: 0;
}
.soa-opt {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink3);
  text-transform: none;
  letter-spacing: 0;
}

/* ── Size pills ────────────────────────────────────────────── */
.soa-size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.soa-sz {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px;
  min-width: 64px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  font-family: var(--f);
  transition: all .15s;
}
.soa-sz:hover { border-color: var(--ink2); background: var(--line2); }
.soa-sz.active {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 2px 8px rgba(15,23,42,.2);
}
.soa-sz-name { font-size: 14px; font-weight: 800; color: var(--ink); }
.soa-sz-price { font-size: 11px; color: var(--ink3); margin-top: 2px; }
.soa-sz.active .soa-sz-name, .soa-sz.active .soa-sz-price { color: #fff; }

/* ── Pizza half/whole toggle ───────────────────────────────── */
.soa-pizza-halves {
  display: flex;
  gap: 4px;
  background: var(--line2);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 14px;
}
.soa-half-btn {
  flex: 1;
  padding: 9px 10px;
  border: none;
  border-radius: 8px;
  font-family: var(--f);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--ink2);
  transition: all .15s;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.soa-half-btn.active {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(15,23,42,.10);
}

/* ── Topping chips ─────────────────────────────────────────── */
.soa-tops, .soa-tops-pool { display: flex; flex-wrap: wrap; gap: 7px; }
.soa-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--f);
  cursor: pointer;
  transition: all .12s;
  -webkit-tap-highlight-color: transparent;
  min-height: 36px;
}
.soa-top:hover { border-color: var(--ink2); background: var(--line2); }
.soa-top.sel {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 1px 4px rgba(225,29,72,.25);
}
.soa-radio.sel { border-color: var(--ink); background: var(--ink); }
.soa-top-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.soa-top-cost { font-size: 10.5px; color: var(--ink3); }
.soa-top.sel .soa-top-name, .soa-top.sel .soa-top-cost { color: #fff; }
.soa-top.sel .soa-top-cost { opacity: .75; }

/* ── Modal footer (total + confirm) ───────────────────────── */
.soa-modal-ft {
  padding: 14px 20px max(20px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--card);
}
.soa-ft-total { display: flex; flex-direction: column; }
.soa-ft-total-label { font-size: 10.5px; font-weight: 600; color: var(--ink3); text-transform: uppercase; letter-spacing: .05em; }
.soa-ft-total-val { font-size: 22px; font-weight: 900; color: var(--ink); letter-spacing: -.05em; line-height: 1.1; }
.soa-btn-confirm {
  flex: 1;
  padding: 14px 18px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--f);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--red-d), 0 4px 16px rgba(225,29,72,.2);
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.soa-btn-confirm:hover { background: var(--red-d); transform: translateY(-1px); box-shadow: 0 6px 0 var(--red-d), 0 6px 20px rgba(225,29,72,.25); }
.soa-btn-confirm:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }

/* ── Cart bar (floating) ───────────────────────────────────── */
.soa-cartbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(500px, calc(100% - 24px));
  z-index: 400;
  padding: 10px 0 max(14px, env(safe-area-inset-bottom));
  pointer-events: none;
}
.soa-cartbar[hidden], #soa-cartbar[hidden] { display: none !important; pointer-events: none !important; }
#soa-cartbar:not([hidden]) { display: block; pointer-events: all; }
.soa-cartbar-inner {
  width: 100%;
  background: var(--ink);
  border-radius: 16px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 0 rgba(0,0,0,.3), 0 8px 32px rgba(15,23,42,.35);
  pointer-events: all;
}
.soa-cb-continue { color: rgba(255,255,255,.65); text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.soa-cb-continue:hover { color: rgba(255,255,255,.9); }
.soa-cb-info { display: flex; flex-direction: column; align-items: center; flex: 1; }
.soa-cb-items { font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.7); }
.soa-cb-total { font-size: 18px; font-weight: 900; color: #fff; letter-spacing: -.04em; line-height: 1.1; }
.soa-cb-cta {
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  background: var(--red);
  padding: 9px 16px;
  border-radius: 10px;
  transition: background .15s;
  cursor: pointer;
  border: none;
  font-family: var(--f);
}
.soa-cb-cta:hover { background: var(--red-d); }

/* ── Cart drawer ───────────────────────────────────────────── */
.soa-cart-drawer-bg {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(15,23,42,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.soa-cart-drawer-bg.open { opacity: 1; pointer-events: all; }
.soa-cart-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8001;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 24px 24px 0 0;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.34,1.1,.64,1);
  box-shadow: 0 -8px 40px rgba(15,23,42,.18);
}
.soa-cart-drawer-bg.open .soa-cart-drawer { transform: translateY(0); }
.soa-drawer-handle { width: 36px; height: 4px; background: var(--line); border-radius: 2px; margin: 12px auto 0; flex-shrink: 0; }
.soa-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--line2);
  flex-shrink: 0;
}
.soa-drawer-title { font-size: 17px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.soa-drawer-close {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: var(--line2);
  color: var(--ink2);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .12s;
}
.soa-drawer-close:hover { background: var(--line); color: var(--ink); }
.soa-drawer-body { overflow-y: auto; flex: 1; }
.soa-drawer-empty { padding: 32px 18px; text-align: center; color: var(--ink3); font-size: 14px; }

/* Drawer items */
.soa-drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line2);
}
.soa-drawer-item:last-child { border-bottom: none; }
.soa-drawer-item-img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--line2); }
.soa-drawer-item-info { flex: 1; min-width: 0; }
.soa-drawer-item-name { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.soa-drawer-item-opts { font-size: 11.5px; color: var(--ink3); line-height: 1.4; margin-bottom: 7px; }
.soa-drawer-item-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.soa-drawer-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--line2);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.soa-drawer-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s;
  -webkit-tap-highlight-color: transparent;
}
.soa-drawer-qty-btn:hover { background: var(--line); }
.soa-drawer-qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.soa-drawer-qty-val { font-size: 14px; font-weight: 800; color: var(--ink); min-width: 28px; text-align: center; }
.soa-drawer-item-total { font-size: 14px; font-weight: 800; color: var(--ink); }
.soa-drawer-remove {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: var(--line2);
  color: var(--ink3);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .12s;
  margin-left: 4px;
}
.soa-drawer-remove:hover { background: #fee2e2; color: var(--red); }

/* Drawer footer */
.soa-drawer-footer {
  padding: 14px 18px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line2);
  flex-shrink: 0;
  background: var(--card);
}
.soa-drawer-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.soa-drawer-subtotal-label { font-size: 13px; font-weight: 600; color: var(--ink2); }
.soa-drawer-subtotal-val { font-size: 20px; font-weight: 900; color: var(--ink); letter-spacing: -.04em; }
.soa-drawer-checkout-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--f);
  font-size: 15.5px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--red-d), 0 4px 16px rgba(225,29,72,.2);
  transition: all .15s;
  letter-spacing: -.02em;
}
.soa-drawer-checkout-btn:hover { background: var(--red-d); transform: translateY(-1px); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .soa-wrap { grid-template-columns: 1fr; }
  .soa-sidebar { display: none; }
}
@media (max-width: 640px) {
  .soa-storefront { padding-bottom: 100px; }
  .soa-card-row { padding: 12px 14px; }
  .soa-section-hd { padding: 14px 14px 10px; }
  .soa-modal { border-radius: 20px 20px 0 0; }
  .soa-cfg-sec { padding: 14px 16px; }
  .soa-modal-ft { padding: 12px 16px max(16px, env(safe-area-inset-bottom)); }
  .soa-tops, .soa-tops-pool { gap: 6px; }
  .soa-top { padding: 8px 11px; min-height: 38px; }
  .soa-sz { min-width: 58px; padding: 9px 12px; }
  .soa-rh-hero-img { width: 120px; }
  .soa-rh-info { padding: 14px 16px; }
  .soa-rh-name { font-size: 17px; }
  .soa-rh-story { display: none; }
  .soa-cartbar { width: calc(100% - 20px); }
}

/* ── v1.3: New drawer item classes ────────────────────────────── */
.soa-qty-btn {
  width: 32px; height: 32px; border: none; background: transparent;
  font-size: 18px; font-weight: 700; color: var(--ink);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .12s; -webkit-tap-highlight-color: transparent;
  border-radius: 999px;
}
.soa-qty-btn:hover { background: var(--line); }
.soa-qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.soa-qty-val {
  font-size: 14px; font-weight: 800; color: var(--ink);
  min-width: 28px; text-align: center;
}
.soa-item-total {
  font-size: 14px; font-weight: 800; color: var(--ink);
}
.soa-remove-btn {
  width: 28px; height: 28px; border-radius: 999px; border: none;
  background: var(--line2); color: var(--ink3); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: all .12s;
  margin-left: 4px; -webkit-tap-highlight-color: transparent;
}
.soa-remove-btn:hover { background: #fee2e2; color: var(--red); }
