/*
  Tienda online de la web (W-5, docs/web/DESIGN_CEREBRITO.md): catálogo, ficha, cesta, pago y pedido.
  Usa los tokens de site.css; el color vivo de la página de la tienda llega en --tile (Juguetería: rosa).
  Tarjetas blancas de radio 32, fotos de radio 24, pastillas y botones redondos del todo.
*/
.shop { --tile: var(--c-brand); --tint: linear-gradient(150deg, color-mix(in srgb, var(--tile) 13%, var(--c-white)) 0%, color-mix(in srgb, var(--tile) 32%, var(--c-white)) 100%); }
.shop-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Barra: buscador a todo el ancho y, debajo, los filtros en una fila (o las categorías) --------- */
.shop-bar { display: grid; gap: 14px; margin-bottom: 24px; }
#tienda.site-page-block { padding-top: 24px; }   /* el buscador, pegado a la cabecera de la página */
.shop-search { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-pill); box-shadow: 0 10px 30px rgba(29, 29, 27, 0.06); }
.shop-search-icon { flex: none; margin-left: 14px; color: var(--c-graphite); }
.shop-search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 8px; border: 0; background: transparent; font: 500 17px/1 var(--f-body); color: var(--c-ink); }
.shop-search .site-button { min-height: 48px; padding: 0 24px; }

/* Filtros de la tienda: cuatro botones grandes en pastel (un color por filtro), con icono, nombre y lo
   elegido; los de opciones abren un panel, los de sí/no (Outlet) se activan con un interruptor. */
.shop-dds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .shop-dds { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.shop-dd { --dd: var(--c-sun); position: relative; min-width: 0; }
.shop-dd-edad { --dd: var(--c-sun); }
.shop-dd-tematica { --dd: var(--c-mint); }
.shop-dd-marca { --dd: var(--c-lavender); }
.shop-dd-outlet { --dd: var(--c-brand); }
.shop-dd > summary, .shop-dd-toggle {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 16px 10px 10px; border-radius: 20px;
  background: color-mix(in srgb, var(--dd) 24%, var(--c-white)); border: 2px solid transparent; color: var(--c-ink);
  text-decoration: none; cursor: pointer; list-style: none; transition: transform 300ms var(--ease-bounce), border-color 200ms ease, background 200ms ease;
}
.shop-dd > summary::-webkit-details-marker { display: none; }
.shop-dd > summary:hover, .shop-dd-toggle:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--dd) 36%, var(--c-white)); }
.shop-dd[open] > summary, .shop-dd.is-active > summary, .shop-dd-toggle.is-active { border-color: var(--c-ink); background: color-mix(in srgb, var(--dd) 40%, var(--c-white)); }
.shop-dd-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--c-white); }
.shop-dd-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.shop-dd-label { font-family: var(--f-display); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.shop-dd-value { font-size: 14px; color: var(--c-graphite); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-dd.is-active .shop-dd-value, .shop-dd-toggle.is-active .shop-dd-value { color: var(--c-ink); font-weight: 700; }
.shop-dd-caret { flex: none; transition: transform 300ms var(--ease); }
.shop-dd[open] .shop-dd-caret { transform: rotate(180deg); }
.shop-dd-switch { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--c-white); border: 2px solid var(--c-ink); }
.shop-dd-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--c-ink); transition: transform 300ms var(--ease-bounce); }
.shop-dd-toggle.is-active .shop-dd-switch { background: var(--dd); }
.shop-dd-toggle.is-active .shop-dd-switch::after { transform: translateX(16px); }
.shop-dd-icon-art { width: 52px; height: 52px; margin: -4px 0; }
.shop-dd-icon-art img { width: 48px; height: 48px; object-fit: contain; }
.shop-dd-panel {
  position: absolute; z-index: 20; left: 0; top: calc(100% + 8px); display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 4px;
  width: min(420px, calc(100vw - 32px)); max-height: 380px; overflow: auto; overscroll-behavior: contain; padding: 8px; background: var(--c-white);
  border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(29, 29, 27, 0.16); animation: site-drop 250ms var(--ease);
}
.shop-dd-long .shop-dd-panel { width: min(600px, calc(100vw - 32px)); }
.shop-dds > :nth-child(even) .shop-dd-panel { left: auto; right: 0; }
@media (min-width: 900px) {
  .shop-dds > :nth-child(even) .shop-dd-panel { left: 0; right: auto; }
  .shop-dds > :nth-child(n+3) .shop-dd-panel { left: auto; right: 0; }
}
.shop-dd-option {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; min-height: 44px; padding: 8px 10px 8px 12px;
  border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.25; text-decoration: none;
}
.shop-dd-option:first-child { grid-column: 1 / -1; }
.shop-dd-name { display: flex; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.shop-dd-option:hover { background: color-mix(in srgb, var(--dd) 22%, var(--c-white)); }
.shop-dd-option.is-selected { background: color-mix(in srgb, var(--dd) 40%, var(--c-white)); }
.shop-dd-count { flex: none; min-width: 30px; padding: 3px 8px; border-radius: var(--r-pill); background: var(--c-canvas); font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center; color: var(--c-graphite); font-variant-numeric: tabular-nums; }
.shop-dd-option.is-selected .shop-dd-count { background: var(--c-white); color: var(--c-ink); }
.shop-search input:focus { outline: none; }
.shop-search:focus-within { outline: 3px solid var(--c-ink); outline-offset: 2px; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-filter {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: var(--r-pill);
  background: var(--c-white); border: 1px solid var(--c-line); font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform 300ms var(--ease-bounce), background 200ms ease;
}
.shop-filter:hover { transform: translateY(-2px); }
.shop-filter[aria-current] { background: color-mix(in srgb, var(--tile) 32%, var(--c-white)); border-color: transparent; }
.shop-count { margin: -12px 0 20px; color: var(--c-graphite); }   /* solo al buscar o filtrar */
.shop-count a { color: var(--c-brand-ink); font-weight: 600; }

/* Buscador y «Ordenar por» en la misma fila (en móvil, uno debajo del otro) */
.shop-bar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.shop-bar-row .shop-search { flex: 1 1 420px; min-width: 0; }
.shop-sort { position: relative; flex: none; --dd: var(--tile); }
.shop-sort > summary {
  display: inline-flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 20px; border-radius: var(--r-pill);
  background: var(--c-white); border: 1px solid var(--c-line); box-shadow: 0 10px 30px rgba(29, 29, 27, 0.06); font-size: 15px; cursor: pointer; list-style: none;
  transition: border-color 200ms ease, transform 300ms var(--ease-bounce);
}
.shop-sort > summary::-webkit-details-marker { display: none; }
.shop-sort > summary:hover { transform: translateY(-2px); }
.shop-sort[open] > summary { border-color: var(--c-ink); }
.shop-sort[open] .shop-dd-caret { transform: rotate(180deg); }
.shop-sort-panel {
  position: absolute; z-index: 20; right: 0; top: calc(100% + 8px); display: grid; gap: 2px; width: max-content; min-width: 100%;
  padding: 8px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(29, 29, 27, 0.16); animation: site-drop 250ms var(--ease);
}
.shop-sort-panel .shop-dd-option:first-child { grid-column: auto; }
@media (max-width: 559px) { .shop-sort, .shop-sort > summary { width: 100%; } .shop-sort > summary { justify-content: space-between; } .shop-sort-panel { left: 0; width: auto; } }

/* Tarjetas ------------------------------------------------------------------ */
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-card {
  position: relative; display: flex; flex-direction: column; padding: 10px; background: var(--c-white);
  border-radius: var(--r-lg); border: 1px solid var(--c-line); transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.shop-card:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 18px 40px -24px rgba(29, 29, 27, 0.35); }
.shop-card-media { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: color-mix(in srgb, var(--tile) 22%, var(--c-white)); }
.shop-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-card.is-sold-out .shop-card-media img { filter: grayscale(0.6); opacity: 0.7; }
.shop-card-placeholder {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 64px;
  font: 800 clamp(48px, 9vw, 96px)/1 var(--f-display); color: var(--c-ink); opacity: 0.18; text-transform: uppercase;
}
.shop-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--c-ink); color: var(--c-white); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.shop-card-body { display: grid; gap: 4px; padding: 14px 8px 8px; }
.shop-card-category { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-graphite); }
.shop-card-title { margin: 0; font: 700 17px/1.25 var(--f-body); }
.shop-card-title a { text-decoration: none; }
.shop-card-price { margin: 4px 0 0; font: 800 20px/1 var(--f-display); letter-spacing: -0.02em; }
.shop-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; color: var(--c-graphite); }
.shop-empty { display: grid; justify-items: center; gap: 16px; padding: 48px 16px; background: var(--c-white); border-radius: var(--r-lg); border: 1px solid var(--c-line); text-align: center; }
.shop-empty-title { margin: 0; font: 800 clamp(24px, 4vw, 36px)/1.05 var(--f-display); letter-spacing: -0.04em; }

/* Ficha del producto -------------------------------------------------------- */
.shop-back { margin-bottom: 20px; text-decoration: none; }
.shop-product-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .shop-product-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.shop-gallery-main {
  position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden;
  background: var(--tile); background: var(--tint);
}
.shop-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.shop-thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--c-white); cursor: pointer; }
.shop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-thumb[aria-current] { border-color: var(--c-ink); }
.shop-product-info { display: grid; gap: 16px; align-content: start; }
.shop-product-title { margin: 0; font: 800 clamp(36px, 5.5vw, 64px)/0.95 var(--f-display); letter-spacing: -0.05em; }
.shop-product-price { margin: 0; font: 800 clamp(28px, 3.5vw, 40px)/1 var(--f-display); letter-spacing: -0.03em; }
.shop-product-price span { font: 500 15px/1 var(--f-body); letter-spacing: 0; color: var(--c-graphite); }
.shop-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.shop-qty { display: inline-flex; align-items: center; min-height: 52px; padding: 4px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-pill); }
.shop-qty button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--c-canvas); color: var(--c-ink); font: 700 20px/1 var(--f-body); cursor: pointer; }
.shop-qty button:hover { background: color-mix(in srgb, var(--tile) 32%, var(--c-white)); }
.shop-qty input { width: 48px; border: 0; background: transparent; text-align: center; font: 700 17px/1 var(--f-body); color: var(--c-ink); -moz-appearance: textfield; }
.shop-qty input::-webkit-outer-spin-button, .shop-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-qty-sm { min-height: 44px; }
.shop-qty-sm button { width: 36px; height: 36px; font-size: 18px; }
.shop-description { padding-top: 8px; }
.shop-delivery { display: grid; gap: 8px; margin: 0; padding: 18px 20px; list-style: none; background: color-mix(in srgb, var(--tile) 16%, var(--c-white)); border-radius: var(--r-md); font-size: 15px; }
.site-button[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Avisos -------------------------------------------------------------------- */
.shop-note { margin: 0 0 12px; padding: 12px 18px; border-radius: var(--r-sm); background: var(--c-white); border: 1px solid var(--c-line); }
.shop-note a { color: var(--c-brand-ink); font-weight: 700; }
.shop-note-good { background: color-mix(in srgb, var(--c-mint) 35%, var(--c-white)); border-color: transparent; }
.shop-note-bad { background: color-mix(in srgb, var(--c-brand) 18%, var(--c-white)); border-color: transparent; }
.shop-hint { margin: 0; font-size: 14px; color: var(--c-graphite); }

/* Cesta, pago y pedido ------------------------------------------------------ */
.shop-head { margin-bottom: 24px; }
.shop-title { margin: 0; font: 800 clamp(40px, 7vw, 80px)/0.9 var(--f-display); letter-spacing: -0.055em; }
.shop-lead { margin: 12px 0 0; font-size: 1.1rem; max-width: 60ch; }
.shop-layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .shop-layout { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 28px; } .shop-aside { position: sticky; top: 112px; } }
.shop-panel { display: grid; gap: 16px; padding: 24px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
@media (min-width: 768px) { .shop-panel { padding: 32px; } }
.shop-panel-title { margin: 0; font: 800 26px/1 var(--f-display); letter-spacing: -0.04em; padding: 0; }
.shop-line-list { display: grid; margin: 0; padding: 0; list-style: none; }
.shop-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.shop-line:first-child { padding-top: 0; }
/* Cesta: casilla de «comprar ahora» en cada producto; lo que se deja para otro momento, más apagado */
.shop-select-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.shop-select-all { font-weight: 700; }
.shop-line-pick { grid-template-columns: 28px 72px minmax(0, 1fr) auto; }
.shop-line-pick:first-child { padding-top: 16px; }
.shop-pick { display: grid; place-items: center; height: 72px; cursor: pointer; }
.shop-pick input, .shop-select-all input { width: 22px; height: 22px; accent-color: var(--c-ink); cursor: pointer; }
.shop-line.is-later .shop-line-media, .shop-line.is-later .shop-line-amount { opacity: 0.45; }
.shop-line.is-later .shop-line-amount { text-decoration: line-through; }
@media (max-width: 479px) { .shop-line-pick { grid-template-columns: 24px 56px minmax(0, 1fr); } .shop-line-pick .shop-line-media { width: 56px; height: 56px; } .shop-pick { height: 56px; } .shop-line-pick .shop-line-amount { grid-column: 3; } }
.shop-line-media { display: block; width: 72px; height: 72px; border-radius: var(--r-sm); overflow: hidden; background: color-mix(in srgb, var(--tile) 22%, var(--c-white)); }
.shop-line-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-line-media .shop-card-placeholder { font-size: 36px; }
.shop-line-body { display: grid; gap: 4px; }
.shop-line-name { font-weight: 700; text-decoration: none; }
.shop-line-name:hover { text-decoration: underline; }
.shop-line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.shop-line-amount { font-weight: 700; white-space: nowrap; }
.shop-link-button { padding: 8px 4px; border: 0; background: none; color: var(--c-brand-ink); font: 600 15px/1 var(--f-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.shop-update { justify-self: start; }
.js .shop-update { display: none; }
.shop-totals { display: grid; gap: 8px; margin: 0; }
.shop-totals > div { display: flex; justify-content: space-between; gap: 12px; }
.shop-totals dt, .shop-totals dd { margin: 0; }
.shop-totals dd { font-weight: 600; white-space: nowrap; }
.shop-totals-discount dd { color: var(--c-brand-ink); }
.shop-totals-total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--c-line); font: 800 24px/1.1 var(--f-display); letter-spacing: -0.03em; }
.shop-totals-total dd { font-weight: 800; }
.shop-totals-total span { display: block; font: 500 13px/1.4 var(--f-body); letter-spacing: 0; color: var(--c-graphite); }
.shop-coupon { display: flex; gap: 8px; }
.shop-coupon input { flex: 1; min-width: 0; min-height: 42px; padding: 0 16px; border: 1px solid var(--c-line); border-radius: var(--r-pill); font: 500 15px/1 var(--f-body); text-transform: uppercase; }
.shop-coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 16px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--c-mint) 35%, var(--c-white)); }
.shop-delivery-choice fieldset, .shop-form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 12px; min-width: 0; }
.shop-delivery-choice legend { margin-bottom: 8px; font-weight: 700; }
.shop-radio { display: flex; align-items: center; gap: 10px; min-height: 42px; cursor: pointer; }
.shop-radio input, .shop-option input, .shop-check input { width: 20px; height: 20px; accent-color: var(--c-ink); flex: none; }
.shop-cta { width: 100%; }
.shop-mini-lines { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.shop-mini-lines li { display: flex; justify-content: space-between; gap: 12px; }
.shop-mini-lines li span:last-child { white-space: nowrap; font-weight: 600; }

/* Formulario de pago */
.shop-form { gap: 24px; }
.shop-form legend { margin-bottom: 16px; }
.shop-fields { display: grid; gap: 14px; }
@media (min-width: 640px) { .shop-fields { grid-template-columns: 1fr 1fr; } .shop-field-wide { grid-column: 1 / -1; } }
.shop-field { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.shop-field em { font-style: normal; font-weight: 400; color: var(--c-graphite); }
.shop-field input, .shop-field textarea {
  width: 100%; min-height: 48px; padding: 12px 18px; border: 1px solid var(--c-line); border-radius: var(--r-pill);
  background: var(--c-canvas); font: 500 16px/1.3 var(--f-body); color: var(--c-ink);
}
.shop-field textarea { border-radius: var(--r-md); resize: vertical; }
.shop-field.has-error input, .shop-field.has-error textarea, fieldset.has-error .shop-option { border-color: var(--c-brand-ink); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-brand) 40%, transparent); }
.shop-options { display: grid; gap: 10px; }
@media (min-width: 640px) { .shop-options { grid-template-columns: 1fr 1fr; } }
.shop-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--c-line); border-radius: var(--r-md); cursor: pointer; transition: background 200ms ease; }
.shop-option:has(input:checked) { background: color-mix(in srgb, var(--tile) 22%, var(--c-white)); border-color: var(--c-ink); }
.shop-option span { display: grid; gap: 4px; }
.shop-option small { color: var(--c-graphite); font-size: 14px; }
.shop-address[hidden] { display: none; }
.shop-terms { padding: 14px 18px; border-radius: var(--r-md); background: var(--c-canvas); }
.shop-terms summary { font-weight: 600; cursor: pointer; }
.shop-terms .site-rich { margin-top: 12px; font-size: 15px; }
.shop-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.shop-check.has-error span { color: var(--c-brand-ink); font-weight: 700; }

/* Pedido */
.shop-order-hero {
  position: relative; margin-bottom: 20px; padding: 32px 24px; border-radius: var(--r-xl); background: var(--tile); background: var(--tint); overflow: hidden;
}
@media (min-width: 768px) { .shop-order-hero { padding: 48px; } }
.shop-order-hero .site-button { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  .shop-card, .shop-filter { transition: none; }
  .shop-card:hover, .shop-filter:hover { transform: none; }
}

/* Filtros en móvil (dos por fila): más compactos para que el nombre, la flecha y el interruptor quepan */
@media (max-width: 899px) {
  .shop-dd > summary, .shop-dd-toggle { gap: 8px; min-height: 58px; padding: 8px 10px 8px 8px; border-radius: 18px; }
  .shop-dd-icon { width: 34px; height: 34px; border-radius: 11px; }
  .shop-dd-icon svg { width: 19px; height: 19px; }
  .shop-dd-label { font-size: 1rem; }
  .shop-dd-value { font-size: 13px; }
  .shop-dd-switch { width: 34px; height: 20px; }
  .shop-dd-switch::after { width: 10px; height: 10px; }
  .shop-dd-toggle.is-active .shop-dd-switch::after { transform: translateX(14px); }
  .shop-search-icon { margin-left: 10px; }
  .shop-search .site-button { padding: 0 18px; }
}
.shop-dd-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Ticket TicketBAI del pedido (como el de la reserva) */
.shop-ticket { display: grid; gap: 8px; justify-items: start; }
.shop-ticket-qr { display: block; width: 140px; height: 140px; image-rendering: pixelated; border-radius: var(--r-sm); border: 1px solid var(--c-line); }
.shop-ticket-code { margin: 0; font: 600 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }

/* Pantallas grandes (site.css): más productos por fila, a un tamaño parecido al de un portátil */
@media (min-width: 1600px) { .shop-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } }
