:root {
  --bg: #f6ead9;
  --paper: #fff9ef;
  --paper-2: #fff3e1;
  --dark: #1e140e;
  --brown: #4b2f20;
  --brown-2: #6f452b;
  --gold: #bd7b2c;
  --gold-2: #e6b168;
  --green: #159447;
  --red: #b42318;
  --muted: #7f6a5a;
  --line: rgba(75, 47, 32, .15);
  --shadow: 0 18px 48px rgba(52, 30, 14, .17);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--dark);
  background:
    radial-gradient(circle at 85% 0%, rgba(111, 69, 43, .22), transparent 34%),
    linear-gradient(135deg, #e8c99d, #fff4e3 44%, #d9b17c);
  min-height: 100vh;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.client-app {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 18px;
}

.client-header {
  position: sticky;
  top: 0;
  z-index: 25;
  padding: 12px 0;
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255, 249, 239, .86);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(52, 30, 14, .12);
  padding: 10px 12px 10px 16px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brown), var(--gold));
  color: white;
  font-weight: 950;
  border: 3px solid white;
  box-shadow: 0 10px 20px rgba(52, 30, 14, .22);
  flex: 0 0 auto;
}

.brand-mini strong {
  display: block;
  color: var(--brown);
  font-size: 18px;
  line-height: 1;
}

.brand-mini small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-pill,
.cart-pill {
  border: 0;
  border-radius: 999px;
  padding: 12px 14px;
  background: white;
  color: var(--brown);
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid var(--line);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}
.status-dot.closed { background: var(--red); }
.cart-pill { background: var(--dark); color: white; border-color: var(--dark); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 5vw, 56px);
  color: white;
  background:
    linear-gradient(90deg, rgba(30, 20, 14, .97), rgba(75, 47, 32, .82)),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(135deg, #21150e, #87552f 70%, #d19245);
  box-shadow: var(--shadow);
  margin: 10px 0 18px;
}

.hero::before {
  content: '';
  position: absolute;
  right: -90px;
  top: -90px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.hero::after {
  content: '';
  position: absolute;
  right: 42px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(230,177,104,.22);
}

.hero-content { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffe0b1;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(42px, 8vw, 82px);
  letter-spacing: -0.055em;
  line-height: .88;
}
.hero p {
  margin: 0;
  max-width: 640px;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  font-size: 17px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-badges span {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 10px 13px;
  font-weight: 950;
  font-size: 13px;
}

.client-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
}

.catalog-panel,
.cart-panel,
.category-card,
.product-card,
.drawer-content,
.modal-card {
  background: rgba(255,249,239,.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.catalog-panel {
  border-radius: var(--radius-xl);
  padding: 18px;
  min-width: 0;
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 16px;
}

.input, .select, .textarea {
  width: 100%;
  border: 1px solid #ead9c1;
  background: white;
  color: var(--dark);
  border-radius: 16px;
  padding: 14px 15px;
  outline: none;
  font-weight: 750;
}
.textarea { min-height: 82px; resize: vertical; }

.btn {
  border: 0;
  border-radius: 16px;
  padding: 14px 17px;
  font-weight: 950;
  color: white;
  background: var(--brown);
  box-shadow: 0 10px 20px rgba(52, 30, 14, .13);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn.dark { background: var(--dark); }
.btn.green { background: var(--green); }
.btn.red { background: var(--red); }
.btn.light { background: white; color: var(--brown); border: 1px solid var(--line); box-shadow: none; }
.btn.full { width: 100%; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0 12px;
}
.section-head h2 {
  margin: 0;
  color: var(--brown);
  font-size: 22px;
  letter-spacing: -0.03em;
}
.section-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.category-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(178px, 220px);
  gap: 12px;
  overflow-x: auto;
  padding: 3px 2px 12px;
  scrollbar-width: thin;
}

.category-card {
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  border: 1px solid var(--line);
  background: white;
  min-height: 220px;
}
.category-card.active { outline: 3px solid var(--gold); }
.category-card img {
  height: 132px;
  width: 100%;
  object-fit: cover;
}
.category-card div { padding: 12px; }
.category-card strong { display: block; color: var(--brown); font-size: 17px; }
.category-card small { display: block; color: var(--muted); margin-top: 4px; line-height: 1.3; font-weight: 750; }

.product-section-title {
  margin: 28px 0 14px;
  color: var(--brown);
  display: flex;
  gap: 12px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 18px;
}
.product-section-title::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  border-radius: 24px;
  overflow: hidden;
  background: white;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: #ead9c1;
}
.product-card img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}
.product-card:hover img { transform: scale(1.04); }
.featured-label {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 999px;
  background: rgba(30,20,14,.86);
  color: white;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 950;
}
.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-body h3 {
  margin: 0;
  color: var(--dark);
  font-size: 17px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.product-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
  font-size: 14px;
  font-weight: 650;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.price {
  color: var(--brown);
  font-size: 20px;
  font-weight: 950;
  white-space: nowrap;
}
.empty-state {
  border: 1px dashed rgba(75,47,32,.28);
  background: white;
  border-radius: 20px;
  padding: 26px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.cart-panel {
  position: sticky;
  top: 94px;
  border-radius: var(--radius-xl);
  padding: 18px;
  max-height: calc(100vh - 114px);
  overflow: auto;
}
.cart-panel h2 {
  margin: 0 0 14px;
  color: var(--brown);
}
.cart-list { display: grid; gap: 10px; }
.cart-empty {
  border: 1px dashed rgba(75,47,32,.25);
  background: white;
  border-radius: 18px;
  padding: 18px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
  line-height: 1.35;
}
.cart-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
}
.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.cart-item strong { color: var(--dark); }
.cart-item small { display: block; color: var(--muted); line-height: 1.4; margin-top: 4px; font-weight: 700; }
.cart-item button { border: 0; color: var(--red); background: transparent; font-weight: 950; padding: 0; }
.cart-total {
  margin: 14px 0;
  background: var(--dark);
  color: white;
  border-radius: 20px;
  padding: 16px;
  display: grid;
  gap: 8px;
}
.total-line { display: flex; justify-content: space-between; gap: 12px; font-weight: 850; }
.total-line.final { font-size: 22px; font-weight: 950; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.16); }
.order-form { display: grid; gap: 9px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.warning {
  background: #fff2dd;
  border: 1px solid #ffd39d;
  color: #744000;
  border-radius: 16px;
  padding: 12px;
  font-weight: 850;
  line-height: 1.35;
  margin-bottom: 12px;
}

.cart-fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 38;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  color: white;
  padding: 14px 18px;
  font-weight: 950;
  box-shadow: 0 16px 35px rgba(0,0,0,.25);
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31,20,14,.66);
  z-index: 40;
  display: none;
  padding: 16px;
}
.drawer-backdrop.open,
.modal-backdrop.open { display: block; }
.drawer-content {
  position: absolute;
  right: 16px;
  top: 16px;
  bottom: 16px;
  width: min(420px, calc(100vw - 32px));
  border-radius: var(--radius-xl);
  padding: 18px;
  overflow: auto;
  background: var(--paper);
}

.modal-backdrop {
  z-index: 50;
  align-items: center;
  justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: 18px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.modal-head h2 { margin: 0; color: var(--brown); }
.modal-product {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
}
.modal-product img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 22px;
}
.option-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  margin-top: 12px;
}
.option-box h3 {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.option-list { display: grid; gap: 8px; }
.option-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border: 1px solid #ead9c1;
  border-radius: 14px;
  padding: 11px 12px;
  font-weight: 850;
}
.option-item input { width: 18px; height: 18px; accent-color: var(--brown); }
.qty-control {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.qty-control button { width: 44px; height: 44px; padding: 0; }
.qty-control input { text-align: center; font-weight: 950; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 100;
  transform: translateX(-50%) translateY(120px);
  background: var(--dark);
  color: white;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 950;
  box-shadow: 0 16px 35px rgba(0,0,0,.25);
  transition: .22s ease;
  max-width: calc(100vw - 26px);
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 1240px) {
  .client-layout { grid-template-columns: 1fr; }
  .cart-panel { display: none; }
  .cart-fab { display: inline-flex; }
}

@media (max-width: 920px) {
  .client-app { padding: 12px; }
  .header-inner { border-radius: 24px; align-items: flex-start; }
  .header-actions { flex-direction: column; align-items: stretch; }
  .status-pill, .cart-pill { justify-content: center; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-bar { grid-template-columns: 1fr; }
  .modal-product { grid-template-columns: 1fr; }
  .modal-product img { height: 220px; }
}

@media (max-width: 600px) {
  .client-header { padding: 8px 0; }
  .header-inner { padding: 10px; }
  .brand-mini small { max-width: 170px; }
  .status-pill { display: none; }
  .hero { min-height: auto; padding: 25px 20px; }
  .hero p { font-size: 15px; }
  .catalog-panel { padding: 13px; border-radius: 22px; }
  .product-grid { grid-template-columns: 1fr; }
  .category-strip { grid-auto-columns: minmax(165px, 185px); }
  .form-row, .modal-actions { grid-template-columns: 1fr; }
  .drawer-content { left: 10px; right: 10px; top: 10px; bottom: 10px; width: auto; }
  .product-card img { height: 190px; }
}

/* v6 — melhorias funcionais */
.modal-live-total {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 6px;
}
.modal-live-total span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  border-radius: 999px;
  padding: 8px 10px;
  background: #fff3e1;
  border: 1px solid #ead9c1;
  color: var(--brown);
  font-weight: 850;
  font-size: 13px;
}
.modal-live-total strong { color: var(--dark); }
.hidden { display: none !important; }

/* v7 — catálogo exclusivamente mobile para o cliente */
body {
  background:
    radial-gradient(circle at 50% -10%, rgba(189,123,44,.30), transparent 34%),
    linear-gradient(135deg, #d7b17c, #fff3df 48%, #c89758);
}
.mobile-stage {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}
.mobile-only-catalog {
  width: min(100%, 520px);
  padding: 10px;
  padding-bottom: 92px;
}
.mobile-only-catalog .client-header {
  padding: 6px 0;
}
.mobile-only-catalog .header-inner {
  border-radius: 24px;
  padding: 10px;
  align-items: center;
}
.mobile-only-catalog .logo-mark {
  width: 46px;
  height: 46px;
  font-size: 14px;
}
.mobile-only-catalog .brand-mini strong {
  font-size: 16px;
}
.mobile-only-catalog .brand-mini small {
  max-width: 210px;
  font-size: 11px;
}
.mobile-only-catalog .status-pill {
  display: none;
}
.mobile-only-catalog .cart-pill {
  padding: 10px 12px;
  font-size: 13px;
}
.mobile-only-catalog .hero {
  min-height: 235px;
  border-radius: 28px;
  padding: 24px 20px;
  margin: 8px 0 12px;
}
.mobile-only-catalog .hero h1 {
  font-size: clamp(40px, 14vw, 64px);
}
.mobile-only-catalog .hero p {
  font-size: 14px;
}
.mobile-only-catalog .hero-badges {
  gap: 7px;
  margin-top: 16px;
}
.mobile-only-catalog .hero-badges span {
  padding: 7px 9px;
  font-size: 11px;
}
.mobile-only-catalog .client-layout {
  display: block;
}
.mobile-only-catalog .catalog-panel {
  padding: 12px;
  border-radius: 24px;
}
.mobile-only-catalog .search-bar {
  grid-template-columns: 1fr;
  gap: 8px;
}
.mobile-only-catalog .section-head {
  margin-top: 14px;
}
.mobile-only-catalog .section-head h2 {
  font-size: 21px;
}
.mobile-only-catalog .section-head p {
  font-size: 13px;
}
.mobile-only-catalog .category-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76%;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.mobile-only-catalog .category-card {
  scroll-snap-align: start;
  min-height: 92px;
}
.mobile-only-catalog .category-card img {
  width: 74px;
  height: 74px;
}
.mobile-only-catalog .product-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}
.mobile-only-catalog #featuredGrid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.mobile-only-catalog #featuredGrid .product-card {
  scroll-snap-align: start;
}
.mobile-only-catalog .product-card {
  border-radius: 22px;
}
.mobile-only-catalog .product-card img {
  height: 188px;
}
.mobile-only-catalog .cart-panel {
  display: none !important;
}
.cart-fab {
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: 14px;
  width: min(100% - 24px, 496px);
  border-radius: 20px;
  padding: 16px 18px;
  z-index: 45;
}
.drawer-content {
  width: min(100% - 20px, 500px);
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(105%);
  top: auto;
  bottom: 10px;
  height: min(88vh, 780px);
  border-radius: 26px;
}
.drawer-backdrop.open .drawer-content {
  transform: translateX(-50%) translateY(0);
}
.modal-card {
  width: min(100% - 20px, 500px);
  border-radius: 26px;
  padding: 14px;
}
.modal-product {
  grid-template-columns: 1fr;
}
.modal-product img {
  height: 210px;
}
.form-row,
.modal-actions {
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .mobile-stage::before {
    content: 'Prévia mobile do cliente';
    position: fixed;
    top: 18px;
    left: 18px;
    color: rgba(30,20,14,.65);
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
  }
  .mobile-only-catalog {
    margin: 22px 0;
    border-radius: 34px;
    background: rgba(255, 249, 239, .45);
    box-shadow: 0 30px 80px rgba(52,30,14,.22);
  }
}

/* v8 — tema comercial editável pelo ADM */
body {
  background:
    radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--brown) 22%, transparent), transparent 34%),
    linear-gradient(135deg, var(--bg), var(--paper-2) 44%, color-mix(in srgb, var(--gold) 34%, var(--bg)));
}
.btn,
.input,
.select,
.textarea,
.cart-pill,
.cart-fab { border-radius: var(--btn-radius, 15px); }
.product-card,
.category-card,
.cart-panel,
.modal-card,
.drawer-content,
.cart-item,
.option-box { border-radius: var(--card-radius, 22px); }
.logo-mark.has-logo {
  background-color: white;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
body[data-hero-style="clean"] .hero {
  background: linear-gradient(135deg, var(--paper), var(--paper-2));
  color: var(--dark);
}
body[data-hero-style="clean"] .hero p { color: var(--muted); }
body[data-hero-style="clean"] .hero .eyebrow { color: var(--brown); }
body[data-hero-style="clean"] .hero-badges span { background: white; color: var(--brown); border-color: var(--line); }
body[data-hero-style="contrast"] .hero {
  background: linear-gradient(135deg, var(--dark), var(--brown));
}

/* v11 — login leve do cliente, endereço salvo, histórico e repetir pedido */
.account-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
  background: white;
  color: var(--brown);
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.account-quick {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  margin-bottom: 10px;
}
.account-quick strong,
.account-summary-card strong { display: block; color: var(--brown); }
.account-quick small,
.account-summary-card small,
.order-history-card small,
.address-card small {
  display: block;
  color: var(--muted);
  line-height: 1.38;
  margin-top: 4px;
  font-weight: 750;
}
.account-modal-card { width: min(100% - 20px, 500px); }
.account-intro {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  margin-bottom: 12px;
}
.account-intro strong { color: var(--brown); font-size: 18px; }
.account-intro p { margin: 6px 0 0; color: var(--muted); line-height: 1.45; font-weight: 750; }
.account-summary-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: var(--dark);
  color: white;
  border-radius: 20px;
  padding: 14px;
  margin-bottom: 12px;
}
.account-summary-card strong { color: white; }
.account-summary-card small { color: rgba(255,255,255,.78); }
.account-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.account-metrics div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  text-align: center;
}
.account-metrics strong { display: block; color: var(--brown); font-size: 18px; }
.account-metrics span { display: block; color: var(--muted); font-size: 12px; font-weight: 850; margin-top: 4px; }
.saved-addresses,
.account-orders { display: grid; gap: 9px; }
.address-card,
.order-history-card {
  background: #fffaf3;
  border: 1px solid #ead9c1;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 9px;
}
.order-history-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.muted-text { color: var(--muted); font-weight: 750; line-height: 1.45; }
.mobile-only-catalog .account-pill { padding: 10px 12px; font-size: 13px; }
@media (max-width: 600px) {
  .header-actions { gap: 6px; }
  .account-pill { padding: 10px 11px; font-size: 12px; }
  .account-metrics { grid-template-columns: 1fr; }
  .order-history-card { grid-template-columns: 1fr; }
  .account-quick { align-items: flex-start; flex-direction: column; }
  .account-quick .btn { width: 100%; }
}
