/* ═══ sitio.gt V7.14 — El espacio del comprador ═══
   Carrito, cuenta, entrar / crear cuenta, guardados y tiendas que seguís, como una app.
   Mismos tokens que la vitrina (7.10–7.13): Manrope, tarjetas blancas sobre el gris del sitio, jade para lo principal,
   verde de WhatsApp solo para WhatsApp y rojo solo para «Bajó de precio». Títulos grandes como en iOS; listas agrupadas. */

#sitio-app .by-page {
  --by-ink: #101828; --by-txt: #344054; --by-mut: #667085; --by-mut-2: #98A2B3;
  --by-bg: #F2F4F7; --by-card: #FFFFFF; --by-line: rgba(16,24,40,.08); --by-fill: rgba(16,24,40,.05);
  --by-jade: var(--jade, #0B7A5C); --by-jade-rgb: var(--jade-rgb, 11,122,92); --by-jade-d: var(--jade-700, #075E46); --by-jade-l: var(--jade-l, #E3F4EE);
  --by-wa: #25D366; --by-wa-d: #1EBE5A; --by-wa-ink: #0B5D3B; --by-sale: #D92D20; --by-sale-l: #FEECEB;
  --by-r: 18px; --by-r-s: 12px; --by-gut: 16px;
  --by-sh: 0 1px 2px rgba(16,24,40,.05), 0 0 0 .5px rgba(16,24,40,.07);
  --by-sh-up: 0 18px 40px -22px rgba(16,24,40,.35), 0 2px 8px -2px rgba(16,24,40,.08);
  box-sizing: border-box; max-width: 1160px; margin: 0 auto; padding: 8px var(--by-gut) calc(110px + env(safe-area-inset-bottom));
  background: transparent; color: var(--by-txt); font-family: var(--fb, var(--fd, system-ui)); font-size: 15px; line-height: 1.45;
}
#sitio-app .by-page *, #sitio-app .by-page *::before, #sitio-app .by-page *::after { box-sizing: border-box; }
body.sitio-by { background: var(--bg, #F2F4F7); }
#sitio-app .by-page a { color: inherit; text-decoration: none; }
#sitio-app .by-page :focus-visible { outline: 3px solid rgba(var(--by-jade-rgb), .38); outline-offset: 2px; border-radius: 10px; }
#sitio-app .by-page .by-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Mi cuenta: el CSS de V5 escondía el primer h1 de la página (el título de Rehub); aquí el título es nuestro */
body.woocommerce-account #sitio-app .by-page h1, body.sitio-myaccount #sitio-app .by-page h1 { display: block !important; }

/* Tipografía: títulos grandes y cortos; secciones de 17 px */
#sitio-app .by-page h1, #sitio-app .by-page h2, #sitio-app .by-page h3 { font-family: var(--fd, inherit); color: var(--by-ink); margin: 0; letter-spacing: -.02em; }
#sitio-app .by-page .by-h1 { font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
#sitio-app .by-page .by-h2 { font-size: 20px; line-height: 1.2; font-weight: 800; }
#sitio-app .by-page .by-h3 { font-size: 17px; line-height: 1.25; font-weight: 750; }
#sitio-app .by-page .by-h3 i, #sitio-app .by-page .by-h2 i { font-style: normal; font-weight: 700; color: var(--by-mut); font-size: .82em; margin-left: 4px; }
#sitio-app .by-page .by-sub { margin: 6px 0 0; color: var(--by-mut); font-size: 14.5px; }
#sitio-app .by-page .by-fine { margin: 10px 2px 0; color: var(--by-mut); font-size: 13px; line-height: 1.45; }
#sitio-app .by-page .by-head { padding: 14px 2px 18px; }

/* Secciones y tarjetas */
#sitio-app .by-page .by-sec { margin: 0 0 26px; }
#sitio-app .by-page .by-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 2px 12px; }
#sitio-app .by-page .by-link { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--by-jade); font: inherit; font-weight: 700; font-size: 14px; white-space: nowrap; }
#sitio-app .by-page .by-link:hover { color: var(--by-jade-d); text-decoration: underline; text-underline-offset: 3px; }
#sitio-app .by-page .by-card { display: block; background: var(--by-card); border-radius: var(--by-r); box-shadow: var(--by-sh); }

/* Nota (vacíos y consejos): ícono, texto y, a veces, un botón */
#sitio-app .by-page .by-note { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: start; padding: 16px; }
#sitio-app .by-page .by-note-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--by-jade-l); color: var(--by-jade); }
#sitio-app .by-page .by-note b { display: block; color: var(--by-ink); font-family: var(--fd, inherit); font-size: 15.5px; font-weight: 750; }
#sitio-app .by-page .by-note p { margin: 3px 0 0; color: var(--by-mut); font-size: 14px; }
#sitio-app .by-page .by-note > .by-btn { grid-column: 2; justify-self: start; margin-top: 10px; }

/* Botones */
#sitio-app .by-page .by-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 14px;
  font-family: var(--fd, inherit); font-weight: 800; font-size: 15px; letter-spacing: -.01em; cursor: pointer; text-align: center; line-height: 1.2;
  transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
}
#sitio-app .by-page .by-btn:active { transform: scale(.985); }
#sitio-app .by-page .by-btn-pri { background: var(--by-jade); color: #fff; box-shadow: 0 8px 18px -10px rgba(var(--by-jade-rgb), .8); }
#sitio-app .by-page .by-btn-pri:hover { background: var(--by-jade-d); color: #fff; }
#sitio-app .by-page .by-btn-ghost { background: var(--by-card); color: var(--by-ink); box-shadow: inset 0 0 0 1px rgba(16,24,40,.14); }
#sitio-app .by-page .by-btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(16,24,40,.28); }
#sitio-app .by-page .by-btn-wa { background: var(--by-wa); color: #fff; box-shadow: 0 8px 18px -10px rgba(37,211,102,.9); }
#sitio-app .by-page .by-btn-wa:hover { background: var(--by-wa-d); color: #fff; }
#sitio-app .by-page .by-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
#sitio-app .by-page .by-btn-block { display: flex; width: 100%; }
#sitio-app .by-page .by-icon-btn { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; display: grid; place-items: center; background: var(--by-fill); color: var(--by-ink); }
#sitio-app .by-page .by-icon-btn:hover { background: rgba(16,24,40,.09); }
#sitio-app .by-page .by-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 750; white-space: nowrap;
  color: var(--pc, var(--by-mut)); background: color-mix(in srgb, var(--pc, #667085) 12%, #fff); }

/* ── Tiendas que seguís: círculos con aro jade cuando subieron productos nuevos ── */
#sitio-app .by-page .by-stories { display: flex; gap: 14px; overflow-x: auto; margin: 0 calc(-1 * var(--by-gut)); padding: 2px var(--by-gut) 6px; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
#sitio-app .by-page .by-stories::-webkit-scrollbar { display: none; }
#sitio-app .by-page .by-story { flex: 0 0 76px; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; scroll-snap-align: start; }
#sitio-app .by-page .by-dot { position: relative; width: 70px; height: 70px; border-radius: 50%; padding: 3px; background: rgba(16,24,40,.10); display: block; }
#sitio-app .by-page .by-dot.is-new { background: conic-gradient(from 210deg, var(--by-jade), #12A27C, #7FDDBE, var(--by-jade)); }
#sitio-app .by-page .by-dot > img, #sitio-app .by-page .by-dot > span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; object-fit: cover; background: #fff; border: 3px solid var(--by-bg); }
#sitio-app .by-page .by-dot > span { color: #fff; font-family: var(--fd, inherit); font-weight: 800; font-size: 22px; }
#sitio-app .by-page .by-story-add .by-dot { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(16,24,40,.18); }
#sitio-app .by-page .by-story-add .by-dot > span { background: var(--by-card); color: var(--by-jade); border-color: transparent; }
#sitio-app .by-page .by-story-n { display: block; width: 100%; font-size: 12.5px; font-weight: 650; color: var(--by-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sitio-app .by-page .by-story-new { margin-top: -4px; font-size: 11.5px; font-weight: 750; color: var(--by-jade); }

/* ── Guardados ── */
#sitio-app .by-page .by-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--by-gut)) 14px; padding: 0 var(--by-gut) 2px; scrollbar-width: none; }
#sitio-app .by-page .by-chips::-webkit-scrollbar { display: none; }
#sitio-app .by-page .by-chips[hidden], #sitio-app .by-page .by-chip[hidden] { display: none; }
#sitio-app .by-page .by-chip { flex: 0 0 auto; height: 38px; padding: 0 15px; border: 0; border-radius: 999px; background: var(--by-card); color: var(--by-ink); box-shadow: inset 0 0 0 1px rgba(16,24,40,.12);
  font-family: var(--fd, inherit); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
#sitio-app .by-page .by-chip i { font-style: normal; font-weight: 700; color: var(--by-mut); margin-left: 3px; }
#sitio-app .by-page .by-chip.is-on { background: var(--by-ink); color: #fff; box-shadow: none; }
#sitio-app .by-page .by-chip.is-on i { color: rgba(255,255,255,.7); }
#sitio-app .by-page .by-chip[data-by-f="drop"] i { color: var(--by-sale); }
#sitio-app .by-page .by-chip[data-by-f="drop"].is-on i { color: #FFB4AD; }
#sitio-app .by-page .by-sv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#sitio-app .by-page .by-sv-grid.is-loading { min-height: 280px; border-radius: var(--by-r); background: linear-gradient(90deg, rgba(16,24,40,.04), rgba(16,24,40,.08), rgba(16,24,40,.04)); background-size: 200% 100%; animation: by-shine 1.2s linear infinite; }
@keyframes by-shine { to { background-position: -200% 0; } }
#sitio-app .by-page .by-sv-it { position: relative; min-width: 0; }
#sitio-app .by-page .by-sv-it[hidden] { display: none; }
#sitio-app .by-page .by-sv-it > .gt-card { height: 100%; }
#sitio-app .by-page .by-sv-drop { position: absolute; z-index: 3; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 9px 0 7px; border-radius: 999px;
  background: var(--by-sale); color: #fff; font-family: var(--fd, inherit); font-size: 12px; font-weight: 800; box-shadow: 0 4px 10px -4px rgba(217,45,32,.7); pointer-events: none; }
#sitio-app .by-page .by-sv-drop .sitio-ic { transform: rotate(90deg); }
#sitio-app .by-page .by-sv-group { grid-column: 1 / -1; margin: 10px 2px 0; font-size: 15px; font-weight: 800; }
#sitio-app .by-page .by-sv-group:first-child { margin-top: 0; }
#sitio-app .by-page .by-sv-group i { font-style: normal; color: var(--by-mut); font-weight: 700; }
#sitio-app .by-page .by-guest { margin-top: 16px; }
#sitio-app .by-page .by-sv-empty[hidden], #sitio-app .by-page .by-guest[hidden] { display: none; }

/* Vacío (carrito, guardados) */
#sitio-app .by-page .by-empty { text-align: center; padding: 34px 20px 28px; }
#sitio-app .by-page .by-empty-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center; background: var(--by-jade-l); color: var(--by-jade); }
#sitio-app .by-page .by-empty p { margin: 8px auto 18px; max-width: 34ch; color: var(--by-mut); }
#sitio-app .by-page .by-empty-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Fila de tarjetas que se desliza (lo guardado debajo del carrito vacío) */
#sitio-app .by-page .by-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px, 44%); gap: 12px; overflow-x: auto; margin: 0 calc(-1 * var(--by-gut)); padding: 2px var(--by-gut) 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
#sitio-app .by-page .by-row::-webkit-scrollbar { display: none; }
#sitio-app .by-page .by-row > * { scroll-snap-align: start; }

/* ── Carrito ── */
#sitio-app .by-page .by-cart { transition: opacity .15s ease; }
#sitio-app .by-page .by-cart.is-busy { opacity: .72; pointer-events: none; }
#sitio-app .by-page .by-cg { margin: 0 0 14px; overflow: hidden; }
#sitio-app .by-page .by-cg-head { padding: 12px 14px 10px; border-bottom: 1px solid var(--by-line); }
#sitio-app .by-page .by-cg-store { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--by-ink); }
#sitio-app .by-page .by-cg-store .by-dot { width: 38px; height: 38px; flex: 0 0 38px; padding: 0; background: none; }
#sitio-app .by-page .by-cg-store .by-dot > img, #sitio-app .by-page .by-cg-store .by-dot > span { border: 0; box-shadow: 0 0 0 1px var(--by-line); font-size: 15px; }
#sitio-app .by-page .by-cg-name { flex: 1; min-width: 0; font-family: var(--fd, inherit); font-weight: 800; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sitio-app .by-page .by-cg-store > .sitio-ic { color: var(--by-mut-2); flex: 0 0 auto; }
#sitio-app .by-page .by-free { padding: 10px 14px; background: var(--by-jade-l); color: var(--by-jade-d); font-size: 13.5px; }
#sitio-app .by-page .by-free b { font-weight: 800; }
#sitio-app .by-page .by-free i { display: block; height: 5px; margin-top: 7px; border-radius: 99px; background: rgba(var(--by-jade-rgb), .16); position: relative; overflow: hidden; }
#sitio-app .by-page .by-free i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); border-radius: inherit; background: var(--by-jade); transition: width .3s ease; }
#sitio-app .by-page .by-free.is-done { font-weight: 750; }
#sitio-app .by-page .by-lines { list-style: none; margin: 0; padding: 0; }
#sitio-app .by-page .by-line { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 14px 44px 14px 14px; }
#sitio-app .by-page .by-line + .by-line { border-top: 1px solid var(--by-line); }
#sitio-app .by-page .by-line.is-going { opacity: .35; }
#sitio-app .by-page .by-line-img { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--by-fill); display: grid; place-items: center; color: var(--by-mut-2); }
#sitio-app .by-page .by-line-img img { width: 100%; height: 100%; object-fit: cover; }
#sitio-app .by-page .by-line-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#sitio-app .by-page .by-line-name { color: var(--by-ink); font-weight: 700; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#sitio-app .by-page .by-line-meta, #sitio-app .by-page .by-line-unit { color: var(--by-mut); font-size: 13px; }
#sitio-app .by-page .by-line-low { color: #B54708; font-size: 12.5px; font-weight: 700; }
#sitio-app .by-page .by-line-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
#sitio-app .by-page .by-qty { display: inline-flex; align-items: center; height: 40px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(16,24,40,.14); background: var(--by-card); }
#sitio-app .by-page .by-qty-b { width: 40px; height: 40px; border: 0; background: none; color: var(--by-ink); display: grid; place-items: center; cursor: pointer; border-radius: 12px; }
#sitio-app .by-page .by-qty-b:hover { background: var(--by-fill); }
#sitio-app .by-page .by-qty-b:disabled { color: var(--by-mut-2); cursor: default; background: none; }
#sitio-app .by-page .by-qty-b[data-rm] { color: var(--by-sale); }
#sitio-app .by-page .by-qty-n { min-width: 28px; text-align: center; font-family: var(--fd, inherit); font-weight: 800; font-size: 15px; color: var(--by-ink); font-variant-numeric: tabular-nums; }
#sitio-app .by-page .by-line.is-pending .by-qty-n { color: var(--by-jade); }
#sitio-app .by-page .by-qty-solo { color: var(--by-mut); font-size: 13px; }
#sitio-app .by-page .by-line-total { font-family: var(--fd, inherit); font-weight: 800; font-size: 16px; color: var(--by-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
#sitio-app .by-page .by-line-x { position: absolute; top: 10px; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--by-mut); display: grid; place-items: center; cursor: pointer; }
#sitio-app .by-page .by-line-x:hover { background: var(--by-fill); color: var(--by-ink); }
#sitio-app .by-page .by-cg-foot { padding: 12px 14px 14px; border-top: 1px solid var(--by-line); background: rgba(16,24,40,.015); }
#sitio-app .by-page .by-cg-sum { display: flex; justify-content: space-between; align-items: baseline; color: var(--by-mut); font-size: 14px; }
#sitio-app .by-page .by-cg-sum b { color: var(--by-ink); font-family: var(--fd, inherit); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
#sitio-app .by-page .by-cg-ship { margin: 2px 0 12px; color: var(--by-mut); font-size: 13px; }
#sitio-app .by-page .by-cg-foot .by-btn-wa { width: 100%; }
#sitio-app .by-page .by-sum { padding: 18px; }
#sitio-app .by-page .by-sum-rows { margin: 12px 0 0; }
#sitio-app .by-page .by-sum-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; font-size: 14.5px; }
#sitio-app .by-page .by-sum-rows dt { color: var(--by-mut); margin: 0; }
#sitio-app .by-page .by-sum-rows dd { margin: 0; color: var(--by-ink); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
#sitio-app .by-page .by-sum-rows .is-off dd, #sitio-app .by-page .by-sum-rows .is-off b { color: var(--by-jade); }
#sitio-app .by-page .by-sum-rows .is-off .by-link { font-size: 13px; margin-left: 6px; color: var(--by-mut); }
#sitio-app .by-page .by-sum-ship dd { color: var(--by-mut); font-weight: 600; }
#sitio-app .by-page .by-sum-total { margin-top: 6px; padding-top: 12px !important; border-top: 1px solid var(--by-line); }
#sitio-app .by-page .by-sum-total dt { color: var(--by-ink) !important; font-weight: 800; font-size: 16px; }
#sitio-app .by-page .by-sum-total dd { font-family: var(--fd, inherit); font-weight: 800; font-size: 20px; }
#sitio-app .by-page .by-coupon { margin: 10px 0 14px; }
#sitio-app .by-page .by-coupon summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; cursor: pointer; color: var(--by-jade); font-weight: 700; font-size: 14px; }
#sitio-app .by-page .by-coupon summary::-webkit-details-marker { display: none; }
#sitio-app .by-page .by-coupon-f { display: flex; gap: 8px; margin-top: 6px; }
#sitio-app .by-page .by-coupon-f input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(16,24,40,.16); font: inherit; font-size: 16px; text-transform: uppercase; background: #fff; color: var(--by-ink); }
#sitio-app .by-page .by-coupon-f input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--by-jade); }
#sitio-app .by-page .by-coupon-f .by-btn { min-height: 46px; padding: 0 16px; }
#sitio-app .by-page .by-pay { width: 100%; }
/* Barra de pago fija (teléfono): aparece cuando el resumen no se ve */
#sitio-app .by-page .by-paybar {
  position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 16px; border-radius: 20px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: var(--by-sh-up), inset 0 0 0 .5px rgba(16,24,40,.10); transform: translateY(140%); opacity: 0; transition: transform .25s ease, opacity .2s ease; pointer-events: none;
}
#sitio-app .by-page .by-paybar.is-on { transform: none; opacity: 1; pointer-events: auto; }
#sitio-app .by-page .by-paybar-t span { display: block; color: var(--by-mut); font-size: 12.5px; }
#sitio-app .by-page .by-paybar-t b { font-family: var(--fd, inherit); font-weight: 800; font-size: 18px; color: var(--by-ink); font-variant-numeric: tabular-nums; }
#sitio-app .by-page .by-paybar .by-btn { min-height: 46px; }

/* ── Cuenta ── */
#sitio-app .by-page .by-acc-me { display: flex; align-items: center; gap: 14px; padding: 16px; margin: 14px 0 12px; }
#sitio-app .by-page .by-av { width: 60px; height: 60px; flex: 0 0 60px; border-radius: 50%; display: grid; place-items: center; background: var(--av, #0B7A5C); color: #fff; font-family: var(--fd, inherit); font-weight: 800; font-size: 24px;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.25); }
#sitio-app .by-page .by-acc-who { flex: 1; min-width: 0; }
#sitio-app .by-page .by-acc-who .by-h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sitio-app .by-page .by-acc-who p { margin: 2px 0 0; color: var(--by-mut); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sitio-app .by-page .by-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 12px; }
#sitio-app .by-page .by-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 14px 12px; border-radius: var(--by-r); background: var(--by-card); box-shadow: var(--by-sh); }
#sitio-app .by-page .by-tile b { font-family: var(--fd, inherit); font-weight: 800; font-size: 24px; color: var(--by-ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
#sitio-app .by-page .by-tile span { color: var(--by-mut); font-size: 13px; font-weight: 600; }
#sitio-app .by-page .by-tile:hover { box-shadow: var(--by-sh), 0 8px 18px -12px rgba(16,24,40,.35); }
#sitio-app .by-page .by-tile-dot { position: absolute; top: 12px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--by-jade); box-shadow: 0 0 0 3px var(--by-jade-l); }
#sitio-app .by-page .by-acc-biz { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin: 0 0 26px; color: var(--by-ink); }
#sitio-app .by-page .by-acc-biz-ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; display: grid; place-items: center; background: var(--by-ink); color: #fff; }
#sitio-app .by-page .by-acc-biz > span:nth-child(2) { flex: 1; min-width: 0; }
#sitio-app .by-page .by-acc-biz b { display: block; font-family: var(--fd, inherit); font-weight: 800; }
#sitio-app .by-page .by-acc-biz small { display: block; color: var(--by-mut); font-size: 13px; }
#sitio-app .by-page .by-acc-biz > .sitio-ic:last-child { color: var(--by-mut-2); }

/* Listas agrupadas (pedidos, menú) */
#sitio-app .by-page .by-list { list-style: none; margin: 0; padding: 0; overflow: hidden; }
#sitio-app .by-page .by-list > li + li { border-top: 1px solid var(--by-line); }
#sitio-app .by-page .by-ord { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; }
#sitio-app .by-page .by-ord:hover, #sitio-app .by-page .by-menu a:hover { background: rgba(16,24,40,.025); }
#sitio-app .by-page .by-ord-img { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--by-fill); display: grid; place-items: center; color: var(--by-mut-2); }
#sitio-app .by-page .by-ord-img img { width: 100%; height: 100%; object-fit: cover; }
#sitio-app .by-page .by-ord-body { min-width: 0; }
#sitio-app .by-page .by-ord-body b { display: block; color: var(--by-ink); font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sitio-app .by-page .by-ord-body small { display: block; color: var(--by-mut); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sitio-app .by-page .by-ord-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
#sitio-app .by-page .by-ord-side b { font-family: var(--fd, inherit); font-weight: 800; color: var(--by-ink); font-size: 14.5px; font-variant-numeric: tabular-nums; }
#sitio-app .by-page .by-menu a { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; min-height: 60px; padding: 10px 14px; color: var(--by-ink); }
#sitio-app .by-page .by-menu-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--by-fill); color: var(--by-ink); }
#sitio-app .by-page .by-menu-ic.is-wa { background: #E8FBEF; color: var(--by-wa-ink); }
#sitio-app .by-page .by-menu b { display: block; font-weight: 700; font-size: 15px; }
#sitio-app .by-page .by-menu small { display: block; color: var(--by-mut); font-size: 12.5px; }
#sitio-app .by-page .by-menu a > .sitio-ic:last-child { color: var(--by-mut-2); }
#sitio-app .by-page .by-menu a.is-out, #sitio-app .by-page .by-menu a.is-out b { color: var(--by-sale); }
#sitio-app .by-page .by-menu a.is-out .by-menu-ic { background: var(--by-sale-l); color: var(--by-sale); }
#sitio-app .by-page .by-thumbs { display: flex; gap: 8px; padding: 12px; overflow: hidden; }
#sitio-app .by-page .by-thumb { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 12px; overflow: hidden; background: var(--by-fill); display: grid; place-items: center; color: var(--by-mut-2); }
#sitio-app .by-page .by-thumb img { width: 100%; height: 100%; object-fit: cover; }
#sitio-app .by-page .by-thumb-more { font-family: var(--fd, inherit); font-weight: 800; color: var(--by-ink); font-size: 15px; }

/* Tiendas que seguís (lista) */
#sitio-app .by-page .by-fol > li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
#sitio-app .by-page .by-fol-store { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--by-ink); }
#sitio-app .by-page .by-fol-store .by-dot { width: 58px; height: 58px; flex: 0 0 58px; }
#sitio-app .by-page .by-fol-store .by-dot > span { font-size: 19px; }
#sitio-app .by-page .by-fol-body { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#sitio-app .by-page .by-fol-body b { font-family: var(--fd, inherit); font-weight: 800; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sitio-app .by-page .by-fol-body small { color: var(--by-mut); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sitio-app .by-page .by-fol-new { color: var(--by-jade); font-size: 12.5px; font-weight: 750; }
#sitio-app .by-page .by-fol .sd-card-btn-follow { flex: 0 0 auto; }

/* Secciones de Mi cuenta (direcciones, datos, pedidos en línea…) */
#sitio-app .by-page .by-subhead { padding: 6px 2px 16px; }
#sitio-app .by-page .by-back { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; margin-left: -8px; padding: 0 8px; color: var(--by-jade); font-weight: 700; font-size: 15px; border-radius: 10px; }
#sitio-app .by-page .by-back:hover { background: var(--by-jade-l); }
#sitio-app .by-page .by-acc-content { padding: 18px !important; width: auto !important; float: none !important; margin: 0 !important; }
#sitio-app .by-page .by-acc-content > :first-child { margin-top: 0; }

/* Formularios de WooCommerce (entrar, crear cuenta, direcciones, datos, contraseña) */
#sitio-app .by-page .woocommerce form .form-row, #sitio-app .by-page .by-field { display: block; margin: 0 0 14px; padding: 0; width: 100%; float: none; }
#sitio-app .by-page .woocommerce form .form-row label, #sitio-app .by-page .by-field label { display: block; margin: 0 0 6px; color: var(--by-ink); font-weight: 700; font-size: 14px; line-height: 1.3; }
#sitio-app .by-page .woocommerce form .form-row .required { color: var(--by-sale); text-decoration: none; }
#sitio-app .by-page .woocommerce form .input-text, #sitio-app .by-page .woocommerce form select, #sitio-app .by-page .woocommerce form textarea,
#sitio-app .by-page .by-auth input[type="text"], #sitio-app .by-page .by-auth input[type="email"], #sitio-app .by-page .by-auth input[type="password"] {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 12px; background: #fff; color: var(--by-ink); font: inherit; font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(16,24,40,.16); -webkit-appearance: none; appearance: none; transition: box-shadow .15s ease;
}
#sitio-app .by-page .woocommerce form .input-text:focus, #sitio-app .by-page .woocommerce form select:focus, #sitio-app .by-page .woocommerce form textarea:focus,
#sitio-app .by-page .by-auth input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--by-jade), 0 0 0 4px rgba(var(--by-jade-rgb), .12); }
#sitio-app .by-page .woocommerce form .form-row.woocommerce-invalid .input-text { box-shadow: inset 0 0 0 2px var(--by-sale); }
#sitio-app .by-page .woocommerce form .button, #sitio-app .by-page .woocommerce .button, #sitio-app .by-page .woocommerce button.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--by-jade); color: #fff;
  font-family: var(--fd, inherit); font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: none; box-shadow: 0 8px 18px -10px rgba(var(--by-jade-rgb), .8);
}
#sitio-app .by-page .woocommerce .button:hover { background: var(--by-jade-d); color: #fff; }
#sitio-app .by-page .woocommerce fieldset { margin: 18px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--by-line); }
#sitio-app .by-page .woocommerce fieldset legend { font-family: var(--fd, inherit); font-weight: 800; font-size: 16px; color: var(--by-ink); padding: 0; }
#sitio-app .by-page .woocommerce em, #sitio-app .by-page .woocommerce .description { color: var(--by-mut); font-size: 13px; font-style: normal; }
#sitio-app .by-page .woocommerce .woocommerce-Addresses { display: grid; gap: 14px; }
#sitio-app .by-page .woocommerce .woocommerce-Address { padding: 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--by-line); width: auto; float: none; }
#sitio-app .by-page .woocommerce .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; text-align: left; }
#sitio-app .by-page .woocommerce .woocommerce-Address-title::before, #sitio-app .by-page .woocommerce .woocommerce-Address-title::after { display: none; }
#sitio-app .by-page .woocommerce .woocommerce-Address-title .edit { float: none; font-size: 14px; white-space: nowrap; }
#sitio-app .by-page .woocommerce .woocommerce-Address-title h2, #sitio-app .by-page .woocommerce .woocommerce-Address-title h3 { font-size: 16px; }
#sitio-app .by-page .woocommerce .woocommerce-Address-title a { color: var(--by-jade); font-weight: 700; }
#sitio-app .by-page .woocommerce address { font-style: normal; color: var(--by-txt); margin-top: 8px; }
#sitio-app .by-page .woocommerce table.shop_table { width: 100%; border-collapse: collapse; border: 0; font-size: 14px; }
#sitio-app .by-page .woocommerce table.shop_table th, #sitio-app .by-page .woocommerce table.shop_table td { padding: 10px 8px; border: 0; border-bottom: 1px solid var(--by-line); text-align: left; }
#sitio-app .by-page .woocommerce table.shop_table th { color: var(--by-mut); font-weight: 700; font-size: 13px; }

/* Avisos de WooCommerce */
#sitio-app .by-page .woocommerce-message, #sitio-app .by-page .woocommerce-error, #sitio-app .by-page .woocommerce-info, #sitio-app .by-page .woocommerce-notice {
  list-style: none; margin: 0 0 16px; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--by-card); box-shadow: var(--by-sh), inset 4px 0 0 var(--by-jade); color: var(--by-ink); font-size: 14.5px;
}
#sitio-app .by-page .woocommerce-error { box-shadow: var(--by-sh), inset 4px 0 0 var(--by-sale); }
#sitio-app .by-page .woocommerce-error li { margin: 0; }
#sitio-app .by-page .woocommerce-message::before, #sitio-app .by-page .woocommerce-error::before, #sitio-app .by-page .woocommerce-info::before { display: none; }
#sitio-app .by-page .woocommerce-message .button, #sitio-app .by-page .woocommerce-info .button { float: right; min-height: 34px; padding: 0 12px; margin-left: 10px; font-size: 13px; box-shadow: none; }

/* ── Entrar / crear cuenta ── */
#sitio-app .by-page .by-auth { max-width: 460px; margin: 0 auto; }
#sitio-app .by-page .by-auth-head { padding: 18px 2px 18px; }
#sitio-app .by-page .by-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 14px; background: rgba(16,24,40,.06); }
#sitio-app .by-page .by-seg button { height: 42px; border: 0; border-radius: 11px; background: none; color: var(--by-mut); font-family: var(--fd, inherit); font-weight: 800; font-size: 14.5px; cursor: pointer; }
#sitio-app .by-page .by-seg button[aria-selected="true"] { background: #fff; color: var(--by-ink); box-shadow: 0 1px 3px rgba(16,24,40,.12), 0 0 0 .5px rgba(16,24,40,.06); }
#sitio-app .by-page .by-auth-card { padding: 20px 18px 18px; }
/* El formulario de WooCommerce trae su propio recuadro: aquí ya está dentro de la tarjeta */
#sitio-app .by-page .woocommerce form.login, #sitio-app .by-page .woocommerce form.register, #sitio-app .by-page form.by-form { border: 0 !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important; }
#sitio-app .by-page .by-lost { display: block; margin: 14px 0 0; text-align: center; }
#sitio-app .by-page .by-auth-card [hidden] { display: none; }
#sitio-app .by-page .by-pw { position: relative; display: block; }
#sitio-app .by-page .by-pw input { padding-right: 52px !important; }
#sitio-app .by-page .by-pw-eye { position: absolute; top: 5px; right: 5px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--by-mut); display: grid; place-items: center; cursor: pointer; }
#sitio-app .by-page .by-pw-eye[aria-pressed="true"] { color: var(--by-jade); }
#sitio-app .by-page .by-auth-row { display: flex !important; align-items: center; gap: 10px; margin: 2px 0 16px !important; }
#sitio-app .by-page .by-check { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font-weight: 600 !important; color: var(--by-txt) !important; cursor: pointer; }
#sitio-app .by-page .by-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--by-jade); }
#sitio-app .by-page .by-form .by-btn-block { margin-top: 4px; }
#sitio-app .by-page .woocommerce-privacy-policy-text { margin: 4px 0 14px; color: var(--by-mut); font-size: 12.5px; }
#sitio-app .by-page .woocommerce-privacy-policy-text a { color: var(--by-jade); font-weight: 700; }
#sitio-app .by-page .by-perks { list-style: none; margin: 22px 0 18px; padding: 0; display: grid; gap: 14px; }
#sitio-app .by-page .by-perks li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
#sitio-app .by-page .by-perk-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--by-jade-l); color: var(--by-jade); }
#sitio-app .by-page .by-perks b { display: block; color: var(--by-ink); font-weight: 750; font-size: 14.5px; }
#sitio-app .by-page .by-perks small { display: block; color: var(--by-mut); font-size: 13px; }
/* «¿Olvidaste tu contraseña?» y «Poné tu contraseña nueva» (formularios de WooCommerce sin plantilla propia) */
#sitio-app .by-acc-page.is-guest .woocommerce > form.lost_reset_password, #sitio-app .by-acc-page .woocommerce > form.woocommerce-ResetPassword {
  max-width: 460px; margin: 18px auto 0; padding: 20px 18px; border-radius: var(--by-r); background: var(--by-card); box-shadow: var(--by-sh);
}
#sitio-app .by-acc-page .woocommerce > form.lost_reset_password > p:first-child { margin-top: 0; color: var(--by-txt); }

/* Aviso con «Deshacer» */
.by-toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 9999; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 24px);
  padding: 12px 12px 12px 16px; border-radius: 14px; background: #101828; color: #fff; font: 600 14px/1.35 var(--fb, var(--fd, system-ui));
  box-shadow: 0 16px 36px -14px rgba(16,24,40,.6); transform: translate(-50%, 140%); opacity: 0; transition: transform .22s ease, opacity .2s ease; pointer-events: none;
}
.by-toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.by-toast button { flex: 0 0 auto; min-height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(255,255,255,.14); color: #7FDDBE; font: 800 14px var(--fd, inherit); cursor: pointer; }

/* ── Escritorio ── */
@media (min-width: 900px) {
  #sitio-app .by-page { --by-gut: 24px; padding-top: 22px; padding-bottom: 120px; } /* el dock de abajo no tapa lo último */
  #sitio-app .by-page .by-h1 { font-size: 36px; }
  #sitio-app .by-page .by-head { padding: 10px 2px 22px; }
  #sitio-app .by-page .by-stories { margin: 0; padding: 2px 0 6px; flex-wrap: wrap; overflow: visible; gap: 18px; }
  #sitio-app .by-page .by-chips { margin: 0 0 16px; padding: 0; }
  #sitio-app .by-page .by-sv-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
  #sitio-app .by-page .by-row { margin: 0; padding: 2px 0 6px; grid-auto-columns: minmax(200px, 23%); }
  #sitio-app .by-page .by-cart-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
  #sitio-app .by-page .by-cart-side { position: sticky; top: 96px; }
  #sitio-app .by-page .by-paybar { display: none; }
  #sitio-app .by-page .by-cg-foot { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; }
  #sitio-app .by-page .by-cg-foot .by-cg-ship { margin: 0; grid-column: 1; }
  #sitio-app .by-page .by-cg-foot .by-btn-wa { width: auto; grid-column: 2; grid-row: 1 / span 2; }
  #sitio-app .by-page .by-acc { display: block; }
  #sitio-app .by-page .by-acc-me { margin-top: 0; }
  #sitio-app .by-page .by-acc-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
  #sitio-app .by-page .by-acc-side { position: sticky; top: 96px; }
  #sitio-app .by-page .by-acc-sub { max-width: 760px; margin: 0 auto; }
  #sitio-app .by-page .by-acc-content { padding: 24px; }
  #sitio-app .by-page .woocommerce .woocommerce-Addresses { grid-template-columns: 1fr 1fr; }
  .by-toast { bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  #sitio-app .by-page .by-btn, #sitio-app .by-page .by-paybar, .by-toast, #sitio-app .by-page .by-free i::after { transition: none; }
  #sitio-app .by-page .by-sv-grid.is-loading { animation: none; }
}
/* V7.15.1: ayuda para entrar (WhatsApp) y recuperar la contraseña */
#sitio-app .by-page .by-auth-help { margin: 12px 0 0; text-align: center; }
#sitio-app .by-page .by-auth-card .by-fine + .by-btn-wa { margin-top: 14px; }

/* V7.16 — WooCommerce (woocommerce-layout.css) flota «Entrar» a la izquierda con margen: el enlace
   «¿Olvidaste tu contraseña?» quedaba a la derecha del botón, fuera de la pantalla. */
#sitio-app .by-page .woocommerce-form-login__submit,
#sitio-app .by-page .woocommerce-ResetPassword .button,
#sitio-app .by-page .woocommerce-ResetPassword button { float: none; margin-right: 0; }
#sitio-app .by-page .by-lost { clear: both; }

/* ═══ V7.26 «Rápida y clara» — más compacto, con vidrio, y a prueba de un wpautop tardío ═══
   Producción: algo corría wpautop después de los shortcodes y metía <br> entre las tarjetas de Mi cuenta; un <br> es una
   celda más en una rejilla (contadores 2 + 1, textos de una palabra por renglón). Ningún <br> ni <p> vacío de afuera ocupa
   lugar dentro de los componentes. */
#sitio-app .by-page .by-acc > br, #sitio-app .by-page .by-tiles > br, #sitio-app .by-page .by-note > br, #sitio-app .by-page .by-acc-biz > br,
#sitio-app .by-page .by-acc-me > br, #sitio-app .by-page .by-stories > br, #sitio-app .by-page .by-thumbs > br, #sitio-app .by-page .by-menu br,
#sitio-app .by-page .by-orders br, #sitio-app .by-page .by-acc-cols > br, #sitio-app .by-page .by-sec > br, #sitio-app .by-page .by-acc p:empty { display: none !important; }

/* Títulos: grandes pero sin gastar media pantalla */
#sitio-app .by-page { padding-top: 4px; }
#sitio-app .by-page .by-head { padding: 8px 2px 12px; }
#sitio-app .by-page .by-h1 { font-size: 27px; }
#sitio-app .by-page .by-sub { margin-top: 3px; font-size: 13.5px; }
#sitio-app .by-page .by-sec { margin-bottom: 20px; }
#sitio-app .by-page .by-sec-head { margin-bottom: 9px; }
#sitio-app .by-page .by-h3 { font-size: 16px; }

/* Notas (vacíos): una tarjeta baja, ícono a la izquierda */
#sitio-app .by-page .by-note { grid-template-columns: 38px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 12px 14px; }
#sitio-app .by-page .by-note-ic { width: 38px; height: 38px; border-radius: 12px; }
#sitio-app .by-page .by-note-t { min-width: 0; grid-column: 2; }
#sitio-app .by-page .by-note b { font-size: 14.5px; }
#sitio-app .by-page .by-note p { margin: 1px 0 0; font-size: 13px; line-height: 1.4; }

/* Mi cuenta */
#sitio-app .by-page .by-acc-me { padding: 12px 14px; margin: 8px 0 10px; gap: 12px; }
#sitio-app .by-page .by-av { width: 50px; height: 50px; flex-basis: 50px; font-size: 20px; }
#sitio-app .by-page .by-acc-who .by-h2 { font-size: 18px; }
#sitio-app .by-page .by-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
#sitio-app .by-page .by-tile { padding: 10px 12px 9px; border-radius: 16px; }
#sitio-app .by-page .by-tile b { font-size: 21px; }
#sitio-app .by-page .by-tile span { font-size: 12.5px; }
#sitio-app .by-page .by-acc-biz { position: relative; overflow: hidden; margin: 0 0 20px; padding: 12px 14px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(var(--by-jade-rgb), .55), transparent 55%), linear-gradient(180deg, #1D2939, #101828);
  box-shadow: 0 14px 30px -18px rgba(16,24,40,.7), inset 0 1px 0 rgba(255,255,255,.12); }
#sitio-app .by-page .by-acc-biz-ic { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.22); }
#sitio-app .by-page .by-acc-biz-t { flex: 1; min-width: 0; }
#sitio-app .by-page .by-acc-biz b { color: #fff; }
#sitio-app .by-page .by-acc-biz small { color: rgba(255,255,255,.72); }
#sitio-app .by-page .by-acc-biz > .sitio-ic:last-child { color: rgba(255,255,255,.6); }
#sitio-app .by-page .by-menu a { min-height: 54px; padding: 8px 14px; gap: 12px; grid-template-columns: 36px minmax(0, 1fr) auto; }
#sitio-app .by-page .by-menu-ic { width: 36px; height: 36px; border-radius: 11px; }
#sitio-app .by-page .by-menu b { font-size: 14.5px; }
#sitio-app .by-page .by-acc-del { margin: 4px 0 0; text-align: center; }
#sitio-app .by-page .by-acc-del a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--by-sale); font-size: 13.5px; font-weight: 700; }
#sitio-app .by-page .by-acc-del a:hover { background: var(--by-sale-l); }
#sitio-app .by-page .by-stories { gap: 12px; }
#sitio-app .by-page .by-story { flex-basis: 68px; width: 68px; }
#sitio-app .by-page .by-dot { width: 62px; height: 62px; }

/* Carrito: líneas compactas, el pedido por WhatsApp en una píldora y la barra de pago de vidrio */
#sitio-app .by-page .by-cg { margin-bottom: 12px; }
#sitio-app .by-page .by-cg-head { padding: 9px 12px 8px; }
#sitio-app .by-page .by-cg-store { gap: 9px; }
#sitio-app .by-page .by-cg-store .by-dot { width: 32px; height: 32px; flex-basis: 32px; }
#sitio-app .by-page .by-cg-name { font-size: 14.5px; }
#sitio-app .by-page .by-cg-name .by-cg-seller, #sitio-app .by-page .by-cg-seller { display: none; } /* «Tienda independiente»: no aporta en el carrito */
#sitio-app .by-page .by-free { padding: 7px 12px 8px; font-size: 12.5px; }
#sitio-app .by-page .by-free i { height: 4px; margin-top: 5px; }
#sitio-app .by-page .by-line { grid-template-columns: 64px minmax(0, 1fr); gap: 11px; padding: 10px 40px 10px 12px; }
#sitio-app .by-page .by-line-img { width: 64px; height: 64px; border-radius: 12px; }
#sitio-app .by-page .by-line-body { gap: 1px; }
#sitio-app .by-page .by-line-name { font-size: 14px; line-height: 1.28; }
#sitio-app .by-page .by-line-meta, #sitio-app .by-page .by-line-unit { font-size: 12.5px; }
#sitio-app .by-page .by-line-low { font-size: 12.5px; }
#sitio-app .by-page .by-line-row { margin-top: 5px; }
#sitio-app .by-page .by-qty { height: 34px; border-radius: 10px; }
#sitio-app .by-page .by-qty-b { width: 34px; height: 34px; border-radius: 10px; }
#sitio-app .by-page .by-qty-n { min-width: 24px; font-size: 14px; }
#sitio-app .by-page .by-line-total { font-size: 15px; }
#sitio-app .by-page .by-line-x { top: 6px; right: 4px; width: 32px; height: 32px; }
#sitio-app .by-page .by-cg-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px 10px; }
#sitio-app .by-page .by-cg-info { min-width: 0; flex: 1; }
#sitio-app .by-page .by-cg-sum { display: flex; align-items: baseline; justify-content: flex-start; gap: 6px; }
#sitio-app .by-page .by-cg-sum b { font-size: 15px; }
#sitio-app .by-page .by-cg-sum span { font-size: 12.5px; }
#sitio-app .by-page .by-cg-ship { margin: 1px 0 0; font-size: 12px; line-height: 1.35; }
#sitio-app .by-page .by-cg-foot .by-wa-pill, #sitio-app .by-page .by-wa-pill { width: auto; flex: 0 0 auto; min-height: 38px; padding: 0 14px; gap: 6px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; }
#sitio-app .by-page .by-sum { padding: 14px 16px; }
#sitio-app .by-page .by-sum-rows { margin-top: 8px; }
#sitio-app .by-page .by-sum-rows > div { padding: 5px 0; font-size: 14px; }
#sitio-app .by-page .by-sum-ship.is-set dd, #sitio-app .by-page .by-sum-fee dd { color: var(--by-ink); font-weight: 700; }
#sitio-app .by-page .by-sum-total dd { font-size: 19px; }
#sitio-app .by-page .by-pay { min-height: 46px; }
#sitio-app .by-page.by-cart-page { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
#sitio-app .by-page .by-paybar {
  left: 10px; right: 10px; padding: 8px 8px 8px 16px; border-radius: 22px;
  background: var(--tv-glass, linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.66)));
  -webkit-backdrop-filter: var(--tv-blur, blur(22px) saturate(1.8)); backdrop-filter: var(--tv-blur, blur(22px) saturate(1.8));
  box-shadow: 0 16px 36px -18px rgba(16,24,40,.45), 0 0 0 .5px rgba(16,24,40,.08), var(--tv-rim, inset 0 1px 0 rgba(255,255,255,.95));
}
#sitio-app .by-page .by-paybar-t { min-width: 0; line-height: 1.15; }
#sitio-app .by-page .by-paybar-t span { font-size: 11.5px; }
#sitio-app .by-page .by-paybar-t b { font-size: 18px; display: block; }
#sitio-app .by-page .by-paybar-t small { display: block; margin-top: 1px; color: var(--by-mut); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sitio-app .by-page .by-paybar .by-btn { min-height: 44px; padding: 0 18px; border-radius: 16px; gap: 6px; }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  #sitio-app .by-page .by-paybar { background: #fff; }
}
@media (prefers-reduced-transparency: reduce) {
  #sitio-app .by-page .by-paybar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Guardados: chips y tarjetas más juntas */
#sitio-app .by-page .by-chips { margin-bottom: 10px; }
#sitio-app .by-page .by-chip { height: 34px; padding: 0 13px; font-size: 13.5px; }
#sitio-app .by-page .by-sv-grid { gap: 10px; }

@media (min-width: 900px) {
  #sitio-app .by-page .by-h1 { font-size: 32px; }
  #sitio-app .by-page.by-cart-page { padding-bottom: 120px; }
  #sitio-app .by-page .by-cg-foot { display: flex; }
}

/* V7.27 — cada dato de una línea del carrito en su renglón (los complementos de un platillo, «Color: Azul»…) */
#sitio-app .by-line-meta > span { display: block; }
