/* =========================================================
   WALMART LISTA - STYLES
   Mobile-first, PWA-ready
   ========================================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --blue:      #0071CE;
  --blue-dark: #004F93;
  --yellow:    #FFC220;
  --green:     #00A651;
  --red:       #E31837;
  --orange:    #FF6B00;
  --bg:        #F4F6F9;
  --white:     #FFFFFF;
  --text:      #212121;
  --muted:     #757575;
  --border:    #E0E0E0;
  --shadow:    0 2px 10px rgba(0,0,0,0.10);
  --radius:    12px;
  --nav-h:     62px;
  --hdr-h:     58px;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-size: 15px;
}

/* ---- HEADER ---- */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hdr-h);
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.header-left { display: flex; align-items: center; gap: 8px; }
.header-logo { font-size: 1.5rem; }
.header-title { color: #fff; font-weight: 700; font-size: 1rem; }
.header-total {
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 5px 14px;
  border-radius: 20px;
  min-width: 80px;
  text-align: center;
}

/* ---- MAIN ---- */
#main {
  margin-top: var(--hdr-h);
  margin-bottom: var(--nav-h);
  min-height: calc(100dvh - var(--hdr-h) - var(--nav-h));
}

/* ---- TABS ---- */
.tab { display: none; }
.tab.active { display: block; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  min-height: 42px;
  transition: opacity .15s, transform .1s;
  font-family: inherit;
}
.btn:active { opacity: .8; transform: scale(0.97); }

.btn-primary   { background: var(--blue);   color: #fff; }
.btn-success   { background: var(--green);  color: #fff; }
.btn-danger    { background: var(--red);    color: #fff; }
.btn-outline   { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn-add       { background: var(--yellow); color: var(--text); font-weight: 700; }
.btn-icon      { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); padding: 8px 10px; min-height: 38px; }
.btn-lg        { padding: 13px 20px; font-size: 0.95rem; min-height: 48px; }

/* ---- LIST HEADER (sticky) ---- */
.list-header {
  background: #fff;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--hdr-h);
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.list-name-row {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  align-items: center;
}
.list-name-row input {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 7px 8px;
  font-family: inherit;
}
#list-name { font-weight: 600; }
#inp-store  { flex: 0 0 72px; font-size: 0.75rem; padding: 7px 5px; }
#inp-budget { flex: 0 0 72px; font-size: 0.75rem; padding: 7px 5px; }
.add-form input, .add-form select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.875rem;
  font-family: inherit;
  background: #fff;
}
.add-form input:focus, .add-form select:focus,
.list-name-row input:focus {
  outline: none;
  border-color: var(--blue);
}

.store-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.store-chip {
  border: 1.5px solid var(--blue);
  background: #fff;
  color: var(--blue);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.store-chip.active { background: var(--blue); color: #fff; }
.pc-store { color: var(--blue); font-weight: 600; }

.inp-name-wrap {
  position: relative;
  margin-bottom: 7px;
}
#inp-name {
  width: 100%;
  font-size: 0.95rem;
}
.add-form-row2 {
  display: flex;
  gap: 6px;
  align-items: center;
}
#inp-qty  { flex: 0 0 18%; min-width: 0; width: 0; }
#inp-unit { flex: 0 0 17%; min-width: 0; width: 0; }
#inp-est  { flex: 1 1 0; min-width: 0; width: 0; }
.btn-add  { flex: 0 0 auto; padding: 9px 10px; white-space: nowrap; }

/* ---- ITEMS LIST ---- */
#items-list { padding: 8px 8px 4px; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-ico { font-size: 3rem; display: block; margin-bottom: 10px; }
.empty-hint { font-size: 0.82rem; margin-top: 6px; }

/* Item card */
.item-card {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: opacity .2s;
}
.item-card.checked { opacity: .55; }
.item-card.checked .item-name { text-decoration: line-through; }

.item-row {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  gap: 10px;
}
.item-chk {
  width: 22px; height: 22px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}
.item-info { flex: 1; min-width: 0; }
.item-name {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item-qty-row { display: flex; align-items: center; gap: 4px; margin-top: 3px; }
.item-qty-input {
  width: 58px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 3px 5px;
  font-size: 0.82rem;
  font-family: inherit;
  text-align: center;
}
.item-qty-input:focus { outline: none; border-color: var(--blue); }
.item-unit-select {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 3px 4px;
  font-size: 0.78rem;
  font-family: inherit;
  background: #fff;
  color: var(--muted);
}
.item-unit-select:focus { outline: none; border-color: var(--blue); }

.item-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  min-width: 82px;
}
.item-est-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-decoration: line-through;
}
.item-price-input {
  border: 2px solid var(--blue);
  border-radius: 6px;
  padding: 5px 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  width: 80px;
  text-align: right;
  font-family: inherit;
}
.item-price-input:focus { outline: none; border-color: var(--yellow); }
.item-subtotal { font-size: 0.72rem; color: var(--muted); }

.btn-del-item {
  background: none;
  border: none;
  color: var(--red);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.btn-del-item:active { background: #ffeeee; }

/* ---- LIST FOOTER (sticky bottom) ---- */
.list-footer {
  position: sticky;
  bottom: var(--nav-h);
  background: #fff;
  padding: 10px 14px;
  border-top: 2px solid var(--border);
  box-shadow: 0 -4px 14px rgba(0,0,0,.10);
  z-index: 100;
}
.totals-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
}
.total-box { text-align: center; }
.total-box label {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.total-box span { font-size: 1rem; font-weight: 700; }
.total-box.accent span { color: var(--blue); font-size: 1.25rem; }
.footer-btns {
  display: flex;
  gap: 8px;
}
.footer-btns .btn-success { flex: 1; }
.btn-share { color: #25D366; border-color: #25D366; padding: 9px 12px; }

/* ---- BOTTOM NAV ---- */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 200;
  box-shadow: 0 -2px 10px rgba(0,0,0,.10);
}
.nav-btn {
  flex: 1;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--muted);
  transition: color .2s;
  padding-bottom: 4px;
  font-family: inherit;
}
.nav-btn.active { color: var(--blue); }
.nav-btn.active .nav-ico { transform: scale(1.12); }
.nav-ico { font-size: 1.35rem; transition: transform .2s; }
.nav-lbl { font-size: 0.68rem; font-weight: 600; }

/* ---- SCANNER ---- */
.scanner-wrap { padding: 14px; }
.section-title { color: var(--blue); margin-bottom: 14px; font-size: 1.05rem; }
.scan-btns { display: flex; gap: 10px; margin-bottom: 16px; }
.scan-btns .btn { flex: 1; }

#camera-box {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  background: #000;
}
#camera-video {
  width: 100%;
  display: block;
  max-height: 55vmax;
  object-fit: cover;
}
.camera-ctrl {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0,0,0,.75);
  justify-content: center;
}

#img-preview-box { text-align: center; margin: 12px 0; }
#img-preview {
  max-width: 100%;
  max-height: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.progress-bar-wrap {
  background: var(--border);
  border-radius: 8px;
  height: 7px;
  overflow: hidden;
  margin-bottom: 6px;
}
.progress-fill {
  background: var(--blue);
  height: 100%;
  width: 0%;
  transition: width .3s ease;
  border-radius: 8px;
}
#progress-text { color: var(--muted); font-size: 0.85rem; text-align: center; padding: 6px 0; }

/* Receipt results */
.results-title { font-size: 0.95rem; font-weight: 700; margin: 12px 0 8px; color: var(--text); }
.receipt-totals-row {
  display: flex;
  gap: 6px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 12px;
}
.receipt-total-box { flex: 1; text-align: center; }
.receipt-total-box label { display: block; font-size: 0.68rem; color: var(--muted); text-transform: uppercase; }
.receipt-total-box span { font-size: 0.95rem; font-weight: 700; }

/* Comparison items */
.cmp-item {
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid;
}
.cmp-match   { border-color: var(--green); }
.cmp-diff    { border-color: var(--red);   }
.cmp-missing { border-color: var(--orange);}
.cmp-extra   { border-color: var(--muted); }
.cmp-name { font-weight: 600; font-size: 0.85rem; }
.cmp-prices { font-size: 0.78rem; color: var(--muted); }
.badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
  white-space: nowrap;
}
.badge-match   { background: #e8f5e9; color: var(--green); }
.badge-diff    { background: #ffebee; color: var(--red);   }
.badge-missing { background: #fff3e0; color: var(--orange);}
.badge-extra   { background: #f5f5f5; color: var(--muted); }

.receipt-action-btns { display: flex; gap: 8px; margin-top: 14px; }
.receipt-action-btns .btn { flex: 1; }

/* Manual entry */
.manual-details {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 16px;
  overflow: hidden;
}
.manual-details summary {
  padding: 13px 14px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.manual-details summary::-webkit-details-marker { display: none; }
.manual-body { padding: 10px 14px 14px; border-top: 1px solid var(--border); }
.manual-body textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  font-size: 0.83rem;
  font-family: monospace;
  margin-bottom: 8px;
  resize: vertical;
}
.manual-body textarea:focus { outline: none; border-color: var(--blue); }

/* ---- HISTORIAL ---- */
.historial-wrap { padding: 14px; }
.purchase-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 13px 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: transform .15s;
}
.purchase-card:active { transform: scale(0.99); }
.pc-date  { font-size: 0.78rem; color: var(--muted); }
.pc-name  { font-weight: 700; font-size: 0.95rem; }
.pc-items { font-size: 0.78rem; color: var(--muted); }
.pc-right { display: flex; align-items: center; gap: 8px; }
.pc-total { font-size: 1.2rem; font-weight: 800; color: var(--blue); }
.btn-del-purchase {
  background: none; border: none;
  color: var(--red); font-size: 1rem;
  cursor: pointer; padding: 6px;
  border-radius: 4px;
}

/* ---- MÉTRICAS ---- */
.metricas-wrap { padding: 14px; }
.chart-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.chart-card h3 { font-size: 0.92rem; margin-bottom: 12px; color: var(--text); }
.chart-empty {
  text-align: center;
  padding: 28px 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.product-search-wrap { position: relative; margin-bottom: 10px; }
.product-search-wrap input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.9rem;
  font-family: inherit;
}
.product-search-wrap input:focus { outline: none; border-color: var(--blue); }
.suggestions {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  z-index: 300;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.sug-item {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sug-item:last-child { border-bottom: none; }
.sug-item:hover, .sug-item:active { background: var(--bg); }
.sug-remove {
  color: var(--muted);
  font-size: 0.75rem;
  padding: 2px 5px;
  border-radius: 4px;
  flex-shrink: 0;
  line-height: 1;
}
.sug-remove:hover { background: #ffeeee; color: var(--red); }

/* ---- MODALS ---- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 400;
  display: flex;
  align-items: flex-end;
}
.modal-sheet {
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-height: 85dvh;
  overflow-y: auto;
  animation: slideUp .25s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0);    }
}
.modal-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.modal-hdr h3 { font-size: 1rem; }
.btn-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); padding: 4px 8px; }
.modal-body { padding: 14px; }

/* Saved list item */
.sl-item {
  background: var(--bg);
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sl-info { cursor: pointer; flex: 1; }
.sl-name { font-weight: 700; font-size: 0.9rem; }
.sl-meta { font-size: 0.75rem; color: var(--muted); }

/* Purchase detail table */
.detail-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.detail-table th { text-align: left; padding: 7px 4px; border-bottom: 2px solid var(--border); font-size: 0.78rem; color: var(--muted); }
.detail-table td { padding: 8px 4px; border-bottom: 1px solid #f5f5f5; }
.detail-table td:last-child, .detail-table th:last-child { text-align: right; }
.detail-table tfoot td { font-weight: 800; padding-top: 10px; border-top: 2px solid var(--border); border-bottom: none; }
.detail-table tfoot td:last-child { color: var(--blue); font-size: 1.05rem; }
.receipt-match-box {
  background: #e8f5e9;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 10px;
  font-size: 0.85rem;
}
.btn-load-list { width: 100%; margin-top: 12px; }

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: calc(var(--nav-h) + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 11px 22px;
  border-radius: 22px;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
  max-width: 90vw;
  text-overflow: ellipsis;
  overflow: hidden;
}
.toast.show { opacity: 1; }

/* ---- AUTH SCREEN ---- */
.auth-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, #0071CE 0%, #004F93 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 32px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  text-align: center;
}
.auth-logo { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 12px; }
.auth-app-title { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.auth-subtitle { font-size: 0.82rem; color: var(--muted); margin: 4px 0 18px; }

.auth-tabs {
  display: flex;
  background: var(--bg);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 18px;
}
.auth-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 8px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--muted);
  transition: all .2s;
  font-family: inherit;
}
.auth-tab.active { background: #fff; color: var(--blue); box-shadow: 0 1px 4px rgba(0,0,0,.12); }

.auth-form { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.auth-form input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
}
.auth-form input:focus { outline: none; border-color: var(--blue); }
.auth-error {
  color: var(--red);
  font-size: 0.82rem;
  text-align: center;
  background: #fff0f0;
  border-radius: 8px;
  padding: 8px 12px;
}
.auth-submit { width: 100%; margin-top: 4px; border-radius: 10px; }

.auth-divider {
  text-align: center;
  position: relative;
  color: var(--muted);
  font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

.btn-google {
  width: 100%;
  background: #fff;
  color: #444;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  transition: background .15s;
}
.btn-google:active { background: var(--bg); }

/* ---- USER / LOGOUT IN HEADER ---- */
.btn-logout {
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 120px;
  overflow: hidden;
}
.user-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70px;
  font-size: 0.72rem;
}

/* ---- INSTALL BANNER ---- */
.install-banner {
  position: fixed;
  bottom: calc(var(--nav-h) + 10px);
  left: 12px; right: 12px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  z-index: 500;
  border-left: 4px solid var(--blue);
  animation: slideUp .3s ease;
}
.install-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.install-text { flex: 1; min-width: 0; }
.install-text strong { display: block; font-size: 0.9rem; }
.install-text span { font-size: 0.78rem; color: var(--muted); }
.install-btn-action { padding: 8px 14px; font-size: 0.82rem; min-height: 36px; flex-shrink: 0; }
.install-dismiss {
  background: none; border: none;
  color: var(--muted); font-size: 1rem;
  cursor: pointer; padding: 4px;
  flex-shrink: 0;
}

/* ---- PROFILE MODAL ---- */
.profile-email {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 14px;
  word-break: break-all;
}
.profile-form { display: flex; flex-direction: column; gap: 8px; }
.profile-label { font-size: 0.78rem; color: var(--muted); font-weight: 600; margin-bottom: -4px; }
.profile-form input {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
}
.profile-form input:focus { outline: none; border-color: var(--blue); }
.profile-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }

/* ---- UTILITIES ---- */
.hidden { display: none !important; }

/* ---- SMALL SCREENS (<= 360px) ---- */
@media (max-width: 360px) {
  html, body { font-size: 14px; }
  .list-header { padding: 8px 10px; }
  .add-form-row2 { gap: 4px; }
  .item-row { padding: 8px 10px; gap: 7px; }
  .item-price-input { width: 74px; font-size: 0.85rem; }
  .item-price-col { min-width: 74px; }
  .header-total { min-width: 68px; font-size: 0.88rem; padding: 5px 10px; }
  .user-label { max-width: 52px; }
  .totals-row { gap: 2px; }
  .total-box span { font-size: 0.9rem; }
  .total-box.accent span { font-size: 1.1rem; }
}
