:root {
  --bg: #10200f;
  --text: #f5f7fb;
  --muted: #a9b4c2;
  --brand: #d4b46a;
  --brand-ink: #1e4e5a;
  --card: #1d2714;
  --border: #1d2433;
  /* Consistent variables for the order page layout */
  --cart-w: 420px;
  --menu-min: 440px;
  --price-col: 124px;
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

section {
  scroll-margin-top: 76px;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  /* Ensure no horizontal overflow */
  overflow-x: hidden;
}

.cta,
.ghost,
.pill {
  min-height: 44px;
  align-items: center;
}

.muted {
  color: var(--muted);
}

/* ---------- Header & Logo ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .5px;
  flex-wrap: wrap;
}

.logo .avatar {
  display: none;
}

.logo .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--brand);
  overflow: hidden;
  background: #fff;
}

.logo .mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo .brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 180px;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brand, #d4b46a);
  text-transform: uppercase;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
}

.logo img {
  width: clamp(44px, 8vw + 12px, 66px);
  height: clamp(44px, 8vw + 12px, 66px);
  border-radius: 50%;
  border: 2px solid var(--brand, #d4b46a);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.logo .brand-elite,
.logo .brand-caters {
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .45);
  line-height: 1.05;
  font-size: clamp(1.25rem, 5.2vw, 2.6rem);
}

.logo .brand-elite {
  color: var(--brand, #d4b46a);
  font-weight: 600;
}

.logo .brand-caters {
  color: var(--text, #f5f5fb);
  font-weight: 400;
}

.badge {
  font-size: .75rem;
  color: var(--bg);
  background: var(--brand);
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
  margin-left: 8px;
  font-size: clamp(.68rem, 2.4vw, .85rem);
  padding: 3px 8px;
  background: var(--brand, #d4b46a);
  color: #1e4e5a;
}

.halal-badge {
  background-color: #4CAF50;
  color: #FFF;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* ---------- Buttons ---------- */
.cta {
  display: inline-flex;
  gap: 10px;
  background: var(--brand);
  color: #111;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
}

.cta:hover {
  filter: brightness(1.05);
}

.ghost {
  display: inline-flex;
  gap: 10px;
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ghost:hover {
  background: rgba(212, 180, 106, .12);
}

.pill {
  display: inline-block;
  font-size: .8rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  margin: 4px 8px 0 0;
}

/* ---------- Hero ---------- */
.hero {
  padding: 36px 0 12px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}

.hero-left {
  display: grid;
  gap: 10px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 8px;
}

.sub {
  color: var(--muted);
  max-width: 60ch;
}

.chef {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 50% 10%;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.about-mini {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding: 14px;
}

.chef-mini {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 10%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.about-mini-body {
  display: grid;
  gap: 10px;
}

.about-mini-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.about-mini-text {
  margin: 0;
  color: var(--muted);
}

.contact-mini h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.contact-mini p {
  margin: 0 0 6px;
  font-size: .9rem;
  line-height: 1.4;
}

.contact-mini a {
  color: var(--brand);
  text-decoration: none;
}

.contact-mini a:hover {
  text-decoration: underline;
}

/* ---------- Cards & Layout helpers ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 16px 0;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Sections ---------- */
.section {
  padding: 24px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

#order.section {
  padding-top: 8px;
}

#order.section h2 {
  text-align: justify;
  margin-bottom: 18px;
}

/* ---------- Forms ---------- */
label {
  display: block;
  font-size: .9rem;
  margin: 0 0 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #5b7956;
  color: var(--text);
  font-size: 16px;
}

textarea {
  min-height: 120px;
}

.addr-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
}

.addr-row input {
  width: 100%;
}

.state input {
  text-transform: uppercase;
}

/* Delivery/Pickup Toggle Row */
.fulfill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.fulfill-row .toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  user-select: none;
  flex: 1 1 45%;
}

.fulfill-row .toggle input {
  margin: 0 !important;
  vertical-align: middle;
  accent-color: var(--brand);
}

.fulfill-row .toggle span {
  line-height: 1;
  font-size: 1rem;
  white-space: normal;
}

.fulfill-row .toggle input:checked+span {
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-mini.card {
  padding: 12px;
}

/* ---------- Fast Inquiry ---------- */
#inquiry .card {
  padding: 12px;
}

#inquiry h3 {
  margin: 0 0 6px;
  line-height: 1.0;
}

#inquiry form label {
  margin: 0 0 4px;
  font-size: .9rem;
  opacity: .95;
}

#inquiry form input,
#inquiry form select,
#inquiry form textarea {
  padding: 10px 12px;
  border-radius: 10px;
}

#inquiry form textarea {
  min-height: 100px;
}

#inquiry form .grid {
  gap: 10px;
}

#inquiry form .grid > div {
  margin: 0 !important;
}

#inquiry form > div[style*="margin-top:10px"] {
  margin-top: 8px !important;
}

#inquiry form > div[style*="margin-top:14px"] {
  margin-top: 10px !important;
}

#inquiry form .cta {
  padding: 12px 16px;
}

#inquiry form .pill {
  padding: 8px 10px;
}

#inquiry .muted {
  font-size: .9rem;
}

/* ---------- Toast/Success ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #0e1a2b;
  color: #d9f1ff;
  border: 1px solid #1c2b3f;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 1001;
}

.toast.show {
  opacity: 1;
}

.success {
  background: #9f9ca4;
  color: #d1f7e0;
  border: 1px solid #1f5f2b;
  padding: 12px 14px;
  border-radius: 12px;
  margin-top: 10px;
}

/* ---------- Modal ---------- */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-card {
  background: #f5f7fb;
  color: #111;
  border: 2px solid var(--brand);
  border-radius: 14px;
  padding: 20px;
  max-width: 480px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

#modTitle {
  margin-top: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.mod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.mod-option {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mod-option:hover {
  border-color: var(--brand);
  background: #faf6ed;
}

.mod-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

#modCancel {
  background: #e4e4e4;
  color: #333;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

#modCancel:hover {
  background: #d4d4d4;
}

#modConfirm {
  background: var(--brand);
  color: #111;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

#modConfirm:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
}

#modConfirm:hover:not(:disabled) {
  filter: brightness(1.05);
}

/* ---------- Order (Filters, Tabs, Menu, Cart) ---------- */
.order {
  padding: 24px 0;
}

/* Order grid layout */
.order .order-grid {
  display: grid;
  grid-template-columns: minmax(var(--menu-min), 1fr) var(--cart-w);
  gap: 14px;
  align-items: start;
}

/* Menu controls bar */
.controls-bar {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 6px 10px;
  align-items: center;
}

.controls-bar label {
  white-space: nowrap;
  opacity: .9;
}

.controls-bar select,
.order select {
  width: 100%;
  height: 34px;
  padding: 4px 8px;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Category Tabs */
.order .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 12px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.order .tab {
  white-space: nowrap;
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  flex: 0 0 auto;
}

.order .tab.active {
  background: var(--brand);
  color: #111;
  border-color: var(--brand);
  font-weight: 700;
}

/* Menu list */
.order .menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.order .category {
  margin-top: 18px;
  font-weight: 700;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.order .row {
  display: grid;
  grid-template-columns: 1fr 56px 84px;
  gap: 6px 10px;
  padding: 7px 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.order .row > :first-child {
  line-height: 1.35;
}

.order .row small {
  color: var(--muted);
  font-size: .82rem;
  opacity: .9;
}

.order .row input[type="number"],
.order .row .qty,
.order .row .qty-wrap {
  width: 56px;
  text-align: center;
}

.order .row button {
  background: var(--brand);
  color: #111;
  border: none;
  padding: 6px 9px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.order .row button:hover {
  filter: brightness(1.05);
}

.order .row > :last-child {
  justify-self: end;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Cart column */
.cart-col {
  position: sticky;
  top: 14px;
  align-self: start;
  height: max-content;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-col .cart {
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding-right: 0;
}

/* Cart contents */
.cart {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart h3 {
  margin: 0;
  line-height: 1.2;
}

#cartLines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr 44px var(--price-col);
  gap: 8px 12px;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border);
}

.cart-line:last-child {
  border-bottom: none;
}

.cart-line .qty {
  justify-self: end;
  text-align: center;
  opacity: .9;
}

.cart-line .amount {
  justify-self: end;
  text-align: right;
  font-variant-numeric: tabular-nums;
  min-width: var(--price-col);
}

.cart .total {
  display: grid;
  grid-template-columns: 1fr var(--price-col);
  gap: 0 12px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-weight: 700;
}

.cart .total span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  min-width: var(--price-col);
}

.cart .btn {
  width: 100%;
  margin-top: 10px;
  background: var(--brand);
  color: #111;
  border: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cart .btn:hover {
  filter: brightness(1.05);
}

/* Tip row */
.cart-tip {
  display: grid !important;
  grid-template-columns: 1fr var(--price-col);
  gap: 10px;
  align-items: center;
}

#gratuityInput {
  width: 100%;
  text-align: right;
  font-variant-numeric: tabular-nums;
  min-width: var(--price-col);
}

#tipButtons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

#tipButtons .ghost {
  padding: 8px 10px;
  border-radius: 999px;
  line-height: 1;
}

/* Sticky bits */
.order .sidebar,
.order .cart-col .cart {
  position: sticky;
  top: 16px;
}

.cart-float {
  position: sticky;
  top: 18px;
}

.order .sidebar .controls,
.order .sidebar .tabs {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.order .sidebar .tabs {
  display: grid;
  grid-auto-rows: minmax(36px, auto);
  gap: 8px;
}

.order .sidebar .tab {
  justify-content: flex-start;
  width: 100%;
}

/* Cart flash animation */
#cartLines.flash {
  animation: cartFlash 600ms ease-out;
}

@keyframes cartFlash {
  0% {
    box-shadow: 0 0 0 2px rgba(212, 180, 106, .55) inset;
  }
  100% {
    box-shadow: none;
  }
}

/* ---------- FAB (Mobile bottom bar) ---------- */
.fab {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--brand);
  color: #111;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  z-index: 1000;
}

.fab .count {
  display: inline-flex;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  font-size: .9rem;
}

/* ---------- Footer ---------- */
footer {
  padding: 24px 0;
  color: var(--muted);
  font-size: .9rem;
}

/* ---------- Responsive Adjustments (Consolidated) ---------- */
@media (max-width: 1200px) {
  :root {
    --cart-w: 400px;
    --menu-min: 420px;
  }
}

@media (max-width: 900px) {
  .order .order-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .left-col,
  .cart-col {
    min-width: 0 !important;
    width: 100% !important;
  }

  .addr-row {
    grid-template-columns: 1fr !important;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  header {
    gap: 8px;
  }

  .logo {
    font-size: 1.15rem;
  }

  .logo .mark {
    width: 96px;
    height: 96px;
  }

  .controls-bar {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 720px) {
  .order .layout.three-col {
    grid-template-columns: 1fr;
  }

  .order .menu {
    order: 1;
  }

  .order .cart-col {
    order: 2;
  }

  .order .sidebar {
    order: 3;
  }
}

@media (max-width: 600px) {
  .fab {
    display: flex;
  }

  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .wrap {
    padding: 16px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .logo {
    font-size: 1rem;
    gap: 10px;
  }

  .logo .mark {
    width: 80px;
    height: 80px;
  }

  .badge {
    font-size: .8rem;
    padding: 6px 10px;
  }

  .stack {
    flex: 1;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .stack,
  .stack .cta,
  .stack .ghost {
    flex: 1;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .grid {
    grid-template-columns: 1fr !important;
  }

  .pill {
    padding: 8px 12px;
    font-size: .9rem;
  }

  .controls-bar,
  .controls-bar select {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: block !important;
  }

  .controls-bar label {
    display: none;
  }

  .fulfill-row {
    grid-template-columns: 1fr;
  }

  .left-col,
  #menuList,
  .cart,
  #customerCard {
    min-width: 0 !important;
    width: 100% !important;
  }

  .about-mini.card,
  .contact-mini.card {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .fulfill-row .toggle {
    flex-basis: 100%;
  }

  .order .row {
    grid-template-columns: 1fr auto auto;
    gap: 8px;
  }

  .cart-line {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-line .qty {
    justify-self: start;
    text-align: left;
    order: 2;
  }

  .cart-line .amount {
    order: 1;
  }

  .cart-line > div {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .cart-line > div:first-child {
    font-weight: 600;
  }
}

@media (max-width: 420px) {
  header .logo {
    gap: 10px;
  }

  header .logo .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  header .logo .badge {
    margin-left: 0;
    order: 3;
  }

  header .logo .brand-elite,
  header .logo .brand-caters {
    letter-spacing: .04em;
  }
}

@media (max-width: 380px) {
  .fulfill-row {
    grid-template-columns: 1fr;
  }
}

/* ===== PATCH: Mobile Cart Drawer + UX polish ===== */

/* Mobile Cart Drawer (matches JS: #mobileCartDrawer.open) */
#mobileCartDrawer {
  position: fixed;
  inset: 0;
  z-index: 1002;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
#mobileCartDrawer .sheet {
  margin-top: auto;
  background: var(--card);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border: 1px solid var(--border);
  max-height: 80vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateY(8%);
  transition: transform .2s ease;
}
#mobileCartDrawer.open { opacity: 1; pointer-events: auto; }
#mobileCartDrawer.open .sheet { transform: translateY(0); }

#mobileCartDrawer .sheet header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--border);
}
#mobileCartDrawer .sheet header h3 { margin: 0; font-size: 1rem; }
#mobileCartDrawer .sheet header button {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  padding: 6px 10px; border-radius: 10px; cursor: pointer;
}
#mobileCartDrawer .body { padding: 12px 14px; overflow: auto; }
#mobileCartDrawer .footer { padding: 12px 14px; border-top: 1px solid var(--border); }
#mobileCartDrawer .footer .btn { width: 100%; }

/* Safer disabled + error states */
button:disabled,
.cart .btn:disabled { opacity: .6; cursor: not-allowed; filter: none; }
input:disabled, select:disabled, textarea:disabled { opacity: .7; cursor: not-allowed; }
.input-error { border-color: #b83b3b !important; box-shadow: 0 0 0 2px rgba(184,59,59,.2); }
.help { color: var(--muted); font-size: .85rem; margin-top: 4px; }

/* Radio label hit-area (fulfillment) */
.fulfill-row .toggle { user-select: none; }
.fulfill-row .toggle input { pointer-events: none; } /* whole label clickable */

/* Long item names in cart should wrap nicely */
.cart-line span { word-break: break-word; }

/* Sticky cart: nicer scroll behavior */
.cart-col .cart { overscroll-behavior: contain; }

/* Clean mobile override for the controls bar */
@media (max-width: 600px) {
  .controls-bar { display: grid !important; grid-template-columns: 1fr !important; }
  .controls-bar select { width: 100% !important; }
}
.cart-col {
  max-width: var(--cart-w);
  width: 100%;
}

.cart {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}