/* ============================================================
   NEW RIBERA — style.css
   Paleta: parchment #F2EADB · café-negro #1C1714
           sepia #8B6F47 · oro #C9A45C
   Tipos: DM Serif Display · Oswald · Spectral
   ============================================================ */

/* CUSTOM PROPERTIES */
:root {
  --parchment:    #F2EADB;
  --parchment-dk: #E3D5C0;
  --parchment-md: #EDE4D3;
  --cafe-negro:   #1C1714;
  --cafe-medio:   #2D2420;
  --sepia:        #8B6F47;
  --sepia-lt:     #C4A882;
  --sepia-xlt:    #DDD0BC;
  --oro:          #C9A45C;
  --oro-lt:       #DFC07A;
  --crema:        #FAF6EF;

  --topbar-h:   48px;
  --catnav-h:   42px;
  --cartbar-h:  64px;

  --f-display: 'DM Serif Display', Georgia, serif;
  --f-ui:      'Oswald', sans-serif;
  --f-body:    'Spectral', Georgia, serif;

  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;

  --t-fast: 150ms ease;
  --t-base: 220ms ease;
  --t-sheet: 360ms cubic-bezier(0.32, 0.72, 0, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--parchment);
  color: var(--cafe-negro);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; padding: 0; }
input, textarea { font-family: var(--f-body); }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* GRAIN TEXTURE */
.has-grain { position: relative; overflow: hidden; }
.has-grain::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 2;
  animation: grain-drift 7s steps(8) infinite;
}
@keyframes grain-drift {
  0%   { transform: translate(0,0); }
  13%  { transform: translate(-4%,-8%); }
  26%  { transform: translate(-12%,4%); }
  39%  { transform: translate(6%,-20%); }
  52%  { transform: translate(-4%,20%); }
  65%  { transform: translate(12%,2%); }
  78%  { transform: translate(2%,12%); }
  91%  { transform: translate(-8%,8%); }
  100% { transform: translate(0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .has-grain::after { animation: none; }
  * { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* ── TOPBAR ─────────────────────────────────────────────────── */
#topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--cafe-negro);
  color: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  z-index: 200;
}
.topbar-left {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
}
.topbar-brand {
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--crema);
  white-space: nowrap;
}
.topbar-status {
  font-family: var(--f-ui);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--oro);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 8px;
}
.lang-btn {
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--sepia-lt);
  padding: 3px 7px 2px;
  border: 1px solid rgba(201,164,92,0.3);
  border-radius: var(--r-xs);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.lang-btn:hover, .lang-btn:focus-visible { color: var(--oro); border-color: var(--oro); }
.phone-link {
  color: var(--sepia-lt);
  display: flex;
  align-items: center;
  padding: 5px 3px;
  transition: color var(--t-fast);
}
.phone-link:hover { color: var(--oro); }

/* ── MINI-HEADER ────────────────────────────────────────────── */
#mini-header {
  margin-top: var(--topbar-h);
  background: var(--cafe-negro);
  padding: 18px 16px 16px;
  position: relative;
}
#mini-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/fachada.png') center/cover no-repeat;
  opacity: 0.1;
  filter: grayscale(50%);
  z-index: 0;
}
#mini-header > * { position: relative; z-index: 3; }
.mini-tag {
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 3px;
}
.mini-address {
  font-size: 11.5px;
  color: rgba(242,234,219,0.45);
  margin-bottom: 6px;
}
.mini-sub {
  font-family: var(--f-display);
  font-size: 20px;
  font-style: italic;
  color: var(--crema);
  line-height: 1.15;
}

/* ── SEARCH ─────────────────────────────────────────────────── */
#search-wrap {
  padding: 10px 14px 8px;
  background: var(--parchment-md);
  border-bottom: 1px solid var(--parchment-dk);
}
.search-inner {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 10px;
  color: var(--sepia);
  pointer-events: none;
  flex-shrink: 0;
}
#search-input {
  width: 100%;
  padding: 8px 10px 8px 32px;
  background: var(--crema);
  border: 1px solid var(--parchment-dk);
  border-radius: var(--r-sm);
  color: var(--cafe-negro);
  font-size: 13.5px;
  outline: none;
  -webkit-appearance: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
#search-input:focus {
  border-color: var(--sepia);
  box-shadow: 0 0 0 2px rgba(139,111,71,0.12);
}
#search-input::placeholder { color: var(--sepia-lt); }
#search-input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ── CATEGORY NAV ───────────────────────────────────────────── */
#cat-nav {
  position: sticky;
  top: var(--topbar-h);
  background: var(--cafe-negro);
  border-bottom: 1px solid rgba(201,164,92,0.18);
  z-index: 100;
}
#cat-chips {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 10px;
}
#cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  font-family: var(--f-ui);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,234,219,0.45);
  padding: 0 12px;
  height: var(--catnav-h);
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
  background: none;
  display: flex;
  align-items: center;
}
.cat-chip:hover { color: rgba(242,234,219,0.8); }
.cat-chip.active {
  color: var(--oro);
  border-bottom-color: var(--oro);
}

/* ── MENU MAIN ──────────────────────────────────────────────── */
#menu {
  padding-bottom: calc(var(--cartbar-h) + 28px);
}
#no-results {
  padding: 52px 24px;
  text-align: center;
  color: var(--sepia);
  font-family: var(--f-body);
  font-style: italic;
  font-size: 15px;
}

/* SECTION */
.menu-section { }
.section-header { padding: 26px 16px 0; }

.section-rules {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
}
.section-rule {
  height: 1px;
  border: none;
  background: linear-gradient(to right, var(--oro) 0%, rgba(201,164,92,0.08) 100%);
}

.section-title {
  font-family: var(--f-display);
  font-size: 27px;
  color: var(--cafe-negro);
  line-height: 1.1;
  margin-bottom: 5px;
}
.section-note {
  font-family: var(--f-ui);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: 10px;
}

/* ITEM LIST */
.item-list { list-style: none; }

.item-row { border-bottom: 1px solid var(--parchment-dk); }

.item-main {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 14px;
  min-height: 54px;
}
.item-info { flex: 1; min-width: 0; }
.item-name {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--cafe-negro);
  line-height: 1.3;
}
.item-desc {
  font-family: var(--f-body);
  font-size: 12px;
  font-style: italic;
  color: var(--sepia);
  margin-top: 1px;
  line-height: 1.4;
}
.item-right {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  align-self: center;
}
.item-price {
  font-family: var(--f-ui);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--oro);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* CTA WRAPPER */
.item-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ADD BUTTON */
.item-add-btn {
  width: 30px; height: 30px;
  flex-shrink: 0;
  background: var(--cafe-negro);
  color: var(--crema);
  border-radius: var(--r-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), transform 80ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.item-add-btn:hover { background: var(--cafe-medio); }
.item-add-btn:active { transform: scale(0.9); }
.item-add-btn.picker-open {
  background: var(--oro);
  color: var(--cafe-negro);
}

/* STEPPER */
.item-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--cafe-negro);
  border-radius: var(--r-xs);
  overflow: hidden;
}
.stepper-btn {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cafe-negro);
  color: var(--crema);
  flex-shrink: 0;
  transition: background var(--t-fast);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.stepper-btn:hover { background: var(--cafe-medio); }
.stepper-qty {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 500;
  min-width: 26px;
  text-align: center;
  color: var(--cafe-negro);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* VARIANT PICKER (inline) */
.variant-picker {
  padding: 0 14px 11px;
  background: var(--crema);
  border-top: 1px solid rgba(201,164,92,0.25);
}
.variant-picker-label {
  font-family: var(--f-ui);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sepia);
  display: block;
  padding: 7px 0 5px;
}
.variant-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.variant-chip {
  font-family: var(--f-ui);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 10px 4px;
  border: 1px solid var(--sepia-xlt);
  border-radius: 0;
  color: var(--cafe-negro);
  background: transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  gap: 5px;
}
.variant-chip:hover, .variant-chip:focus-visible {
  background: var(--cafe-negro);
  color: var(--crema);
  border-color: var(--cafe-negro);
}
.chip-price {
  color: var(--oro);
  font-size: 9.5px;
  font-weight: 400;
}
.variant-chip:hover .chip-price { color: var(--oro-lt); }

/* IN-CART VARIANT ROWS (below item, for variant items) */
.item-variants-incart {
  padding: 0 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.incart-variant-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.incart-variant-name {
  flex: 1;
  font-family: var(--f-body);
  font-size: 12px;
  font-style: italic;
  color: var(--sepia);
}

/* HIDDEN ITEMS (search) */
.item-hidden { display: none !important; }
.section-hidden { display: none !important; }

/* ── CART BAR ───────────────────────────────────────────────── */
#cart-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 8px 14px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  background: var(--parchment-md);
  border-top: 1px solid var(--parchment-dk);
  z-index: 150;
  transform: translateY(110%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
#cart-bar.visible { transform: translateY(0); }

#cart-bar-btn {
  width: 100%;
  background: var(--cafe-negro);
  color: var(--crema);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--t-fast);
}
#cart-bar-btn:hover { background: var(--cafe-medio); }

.cart-bar-label {
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  flex: 1;
  text-align: left;
}
.cart-bar-pill {
  background: var(--oro);
  color: var(--cafe-negro);
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 600;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  transition: transform 280ms cubic-bezier(0.34,1.56,0.64,1);
}
.cart-bar-pill.bump {
  animation: pill-bump 320ms cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes pill-bump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.45); }
  100% { transform: scale(1); }
}
.cart-bar-total {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--oro);
  font-variant-numeric: tabular-nums;
}

/* ── CART OVERLAY + SHEET ───────────────────────────────────── */
#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,23,20,0);
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
  transition: background 350ms ease;
}
#cart-overlay.open {
  background: rgba(28,23,20,0.62);
  pointer-events: auto;
}
#cart-sheet {
  background: var(--parchment);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  max-height: 91dvh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform var(--t-sheet);
  box-shadow: 0 -10px 40px rgba(28,23,20,0.22);
  overflow: hidden;
}
#cart-overlay.open #cart-sheet { transform: translateY(0); }

#cart-sheet-handle {
  width: 34px; height: 4px;
  background: var(--sepia-xlt);
  border-radius: 2px;
  margin: 9px auto 0;
  flex-shrink: 0;
}
#cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 9px;
  border-bottom: 1px solid var(--parchment-dk);
  flex-shrink: 0;
}
#cart-title {
  font-family: var(--f-display);
  font-size: 19px;
  color: var(--cafe-negro);
}
#cart-close {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sepia);
  border-radius: var(--r-xs);
  transition: color var(--t-fast), background var(--t-fast);
}
#cart-close:hover { color: var(--cafe-negro); background: var(--parchment-dk); }

/* CART LINES */
#cart-lines {
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.cart-empty {
  padding: 44px 16px;
  text-align: center;
  color: var(--sepia-lt);
  font-family: var(--f-body);
  font-style: italic;
  font-size: 14.5px;
}
.cart-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--parchment-dk);
}
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-name {
  font-family: var(--f-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--cafe-negro);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-line-variant {
  font-family: var(--f-body);
  font-size: 11.5px;
  font-style: italic;
  color: var(--sepia);
}
.cart-line-price {
  font-family: var(--f-ui);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--oro);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}
.cart-line-del {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sepia-lt);
  border-radius: var(--r-xs);
  flex-shrink: 0;
  transition: color var(--t-fast), background var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.cart-line-del:hover { color: #b03020; background: rgba(176,48,32,0.07); }

/* CART OPTIONS */
#cart-options {
  padding: 10px 14px;
  border-top: 1px solid var(--parchment-dk);
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}
#order-type {
  display: flex;
  border: 1px solid var(--cafe-negro);
  border-radius: var(--r-xs);
  overflow: hidden;
}
.type-btn {
  flex: 1;
  padding: 8px 8px;
  font-family: var(--f-ui);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sepia);
  background: transparent;
  transition: background var(--t-fast), color var(--t-fast);
  touch-action: manipulation;
}
.type-btn:not(:last-child) { border-right: 1px solid var(--cafe-negro); }
.type-btn.active { background: var(--cafe-negro); color: var(--crema); }

#cart-options input[type="text"],
#cart-options textarea {
  width: 100%;
  padding: 7px 9px;
  border: 1px solid var(--parchment-dk);
  border-radius: var(--r-xs);
  background: var(--crema);
  color: var(--cafe-negro);
  font-size: 13.5px;
  outline: none;
  resize: none;
  -webkit-appearance: none;
  transition: border-color var(--t-base);
}
#cart-options input[type="text"]:focus,
#cart-options textarea:focus { border-color: var(--sepia); }
#cart-options input::placeholder,
#cart-options textarea::placeholder { color: var(--sepia-lt); }

/* CART FOOTER */
#cart-footer {
  padding: 10px 14px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--parchment-dk);
  background: var(--parchment);
  flex-shrink: 0;
}
#cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
#cart-total-label {
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sepia);
}
#cart-total {
  font-family: var(--f-display);
  font-size: 23px;
  color: var(--cafe-negro);
  font-variant-numeric: tabular-nums;
}
#cart-actions { display: flex; gap: 8px; }
#btn-clear {
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sepia);
  padding: 0 13px;
  border: 1px solid var(--parchment-dk);
  border-radius: var(--r-xs);
  flex-shrink: 0;
  transition: border-color var(--t-fast), color var(--t-fast);
}
#btn-clear:hover { border-color: var(--sepia); color: var(--cafe-negro); }

#btn-whatsapp {
  flex: 1;
  background: var(--cafe-negro);
  color: var(--crema);
  padding: 13px 14px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--t-fast);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#btn-whatsapp:hover { background: var(--cafe-medio); }

/* ── FOOTER ─────────────────────────────────────────────────── */
#site-footer {
  background: var(--cafe-negro);
  color: var(--parchment);
  padding: 30px 18px 28px;
}
.footer-brand {
  font-family: var(--f-display);
  font-size: 30px;
  color: var(--crema);
  margin-bottom: 5px;
}
.footer-address {
  font-size: 12.5px;
  color: rgba(242,234,219,0.5);
  margin-bottom: 4px;
}
.footer-hours {
  font-size: 12px;
  color: rgba(242,234,219,0.38);
  line-height: 1.55;
  margin-bottom: 22px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.footer-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-ui);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oro);
  width: fit-content;
  transition: color var(--t-fast);
  background: none;
  border: none;
  cursor: pointer;
}
.footer-link-btn:hover { color: var(--oro-lt); }
.footer-copy {
  font-size: 10.5px;
  color: rgba(242,234,219,0.2);
  border-top: 1px solid rgba(201,164,92,0.12);
  padding-top: 16px;
}

/* ── LIGHTBOX ───────────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(28,23,20,0.96);
  z-index: 500;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}
#lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
#lightbox-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(242,234,219,0.8);
  background: rgba(242,234,219,0.08);
  border-radius: 50%;
  z-index: 1;
  transition: background var(--t-fast);
}
#lightbox-close:hover { background: rgba(242,234,219,0.15); }
#lightbox-imgs {
  overflow-y: auto;
  padding: 64px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
}
#lightbox-imgs img {
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  display: block;
}

/* ── DESKTOP (coluna centrada max 560px) ────────────────────── */
@media (min-width: 600px) {
  body { background: #D9CEBC; }

  #topbar {
    left: 50%;
    margin-left: -280px;
    right: auto;
    width: 560px;
  }
  #cat-nav {
    /* sticky centering via wrapper trick */
    position: sticky;
    top: var(--topbar-h);
  }
  #mini-header, #search-wrap, #menu, #site-footer, #cat-nav {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  #cart-bar {
    left: 50%;
    margin-left: -280px;
    right: auto;
    width: 560px;
  }
  #cart-sheet {
    max-width: 560px;
    width: 100%;
    align-self: center;
  }
}
