/* =====================================================================
   Bombones: piezas compartidas (constructor y banner de la portada)
   ===================================================================== */
.nourette-caja .bon { --s: 64px; display: inline-block; width: var(--s); height: var(--s); position: relative; flex: none; border-radius: 50%; box-shadow: inset -4px -6px 10px rgba(0,0,0,.35), inset 3px 4px 6px rgba(255,255,255,.18), 0 5px 8px -3px rgba(20,10,2,.55); }
.nourette-caja .bon--sq { border-radius: 22%; }
.nourette-caja .bon--heart { border-radius: 50% 50% 18% 50%; transform: rotate(45deg); }
.nourette-caja .bon--dome { border-radius: 50% 50% 42% 42% / 60% 60% 40% 40%; }
.nourette-caja .bon.bon--photo { border-radius: 0; box-shadow: none; transform: none; background-color: transparent; background-size: contain; background-repeat: no-repeat; background-position: center; filter: drop-shadow(0 2px 2px rgba(20, 10, 3, .45)) drop-shadow(0 6px 8px rgba(20, 10, 3, .22)); }
.nourette-caja .slots { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.nourette-caja .slot { aspect-ratio: 1; display: grid; place-items: center; position: relative; border: 0; padding: 0; border-radius: 0; background: var(--cup) center / 92% no-repeat, radial-gradient(circle at 50% 45%, #3a2a17, #16110b 75%); box-shadow: inset 0 0 0 1px rgba(212, 173, 110, .6), inset 0 3px 8px rgba(0, 0, 0, .7); }
.nourette-caja .slot:hover, .nourette-caja .slot:focus { background: var(--cup) center / 92% no-repeat, radial-gradient(circle at 50% 45%, #3a2a17, #16110b 75%); }
.nourette-caja .slot .bon { width: 80%; height: auto; aspect-ratio: 1; }

/* Banner de la portada: tapa con lazo detrás de la caja abierta */
.nourette .bombones-promo { background: radial-gradient(60% 70% at 72% 50%, rgba(255, 190, 110, .14), transparent 70%), linear-gradient(90deg, rgba(27, 14, 6, .96) 0%, rgba(27, 14, 6, .7) 45%, rgba(27, 14, 6, .25) 100%), var(--table) center / cover, #1b0e06; color: var(--cream); padding: 88px 0; overflow: hidden; }
.nourette .bombones-promo__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.nourette .bombones-promo h2 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.nourette .bombones-promo h2 em { color: var(--gold-2); }
.nourette .bombones-promo p { opacity: .85; margin-bottom: 1.4rem; }
.nourette .bombones-promo .btn { background: #8a5d24; }
.nourette .bombones-promo .btn:hover { background: var(--matcha); }
.nourette .bombones-promo__box { position: relative; isolation: isolate; max-width: 380px; justify-self: center; width: 100%; transform: rotate(-4deg); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .55)); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.nourette .bombones-promo:hover .bombones-promo__box { transform: rotate(-1deg) translateY(-6px); }
.nourette .bombones-promo__box .box { position: relative; z-index: 1; border-radius: 10px; padding: 40px 20px 20px; background: var(--matte) center / cover, #151413; box-shadow: inset 0 0 0 1px rgba(212, 173, 110, .6), 0 34px 50px -28px rgba(0, 0, 0, .85); }
.nourette .bombones-promo__box .box::before { content: attr(data-brand); position: absolute; top: 11px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, #f1d9a4, #b8894a 55%, #e6c688); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; font-style: italic; letter-spacing: .12em; }
.nourette .bombones-promo__box .slots { background: #0e0c0a; box-shadow: 0 0 0 1px rgba(212, 173, 110, .7); }
.nourette .bombones-promo__lid { position: absolute; z-index: 0; width: 84%; height: auto; left: -46%; top: -6%; transform: rotate(-9deg); border-radius: 8px; box-shadow: 0 30px 40px -18px rgba(0, 0, 0, .8); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.nourette .bombones-promo:hover .bombones-promo__lid { transform: rotate(-12deg) translate(-8px, -4px); }
@media (max-width: 900px) {
  .nourette .bombones-promo__inner { grid-template-columns: minmax(0, 1fr); }
  .nourette .bombones-promo__box { max-width: 300px; margin-top: 30px; }
  .nourette .bombones-promo__lid { width: 78%; left: -20%; top: -22%; }
}

/* =====================================================================
   Página de la caja: pantalla propia, solo bombones
   ===================================================================== */
body.n-focus #masthead, body.n-focus .site-footer, body.n-focus .nourette .announce, body.n-focus .n-lang-bar,
body.n-focus .nourette .footer, body.n-focus .n-legal-links, body.n-focus .nourette .n-wa { display: none !important; }
body.n-focus { background: #f6efe6; }
body.n-focus #primary { margin: 0 !important; padding: 0 !important; }
body.n-focus .site-content > .ast-container { max-width: none; padding: 0; }
body.n-focus .entry-content > *:not(.nourette-caja) { display: none; }

.nourette-caja .bx { --S: min(330px, 66vw); --caramel: #9c4d18; --ink2: #2a1a0e; min-height: 100vh; background: radial-gradient(90% 50% at 50% 0%, #fffaf3 0%, #f6efe6 60%); color: var(--ink2); padding-bottom: 170px; }
.nourette-caja .bx__top { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 16px; background: rgba(246, 239, 230, .92); backdrop-filter: blur(10px); border-bottom: 1px solid #eadfce; }
body.admin-bar .nourette-caja .bx__top { top: 32px; }
.nourette-caja .bx__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 42px; height: 42px; padding: 0 10px 0 6px; border-radius: 14px; background: #fff; color: var(--ink2); box-shadow: 0 4px 12px -6px rgba(60, 34, 13, .35); font-size: .88rem; font-weight: 500; }
.nourette-caja .bx__icon--cart { padding: 0; }
.nourette-caja .bx__icon:hover { color: var(--caramel); }
.nourette-caja .bx__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nourette-caja .bx__icon .n-tabbar__count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--caramel); color: #fff; font-size: .62rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #f6efe6; }
.nourette-caja .bx__icon .n-tabbar__count[data-n="0"] { display: none; }
.nourette-caja .bx__title { text-align: center; min-width: 0; }
.nourette-caja .bx .caja__title { margin: 0; font-family: var(--sans); font-weight: 600; font-size: 1.1rem; line-height: 1.2; color: var(--ink2); }
.nourette-caja .bx__title p { margin: 1px 0 0; font-size: .78rem; color: var(--muted); }
.nourette-caja .bx__logo { display: block; width: max-content; margin: 0 auto 2px; line-height: 0; }
.nourette-caja .bx__logo img { display: block; height: 78px; width: auto; }

.nourette-caja .bx__layout { max-width: 1120px; margin: 0 auto; }
.nourette-caja .bx__stage { position: sticky; top: 63px; z-index: 30; display: grid; justify-items: center; gap: 8px; padding: 14px 16px 10px; background: #f6efe6; box-shadow: 0 12px 16px -14px rgba(60, 34, 13, .35); }
body.admin-bar .nourette-caja .bx__stage { top: 95px; }

/* La caja: negra mate, apaisada, bandeja con separadores dorados */
.nourette-caja .bx__box { position: relative; width: var(--S); aspect-ratio: 1.28 / 1; border-radius: 8px; background: var(--matte) center / cover, #151413; box-shadow: inset 0 0 0 1px rgba(212, 173, 110, .5), 0 2px 0 #0d0c0b, 0 4px 0 #080706, 0 24px 32px -14px rgba(60, 34, 13, .55), 0 40px 60px -30px rgba(60, 34, 13, .5); }
.nourette-caja .bx__tray { position: absolute; inset: 6% 5%; display: flex; gap: 4%; }
.nourette-caja .bx__tray .slots { grid-template-rows: repeat(var(--cols, 3), minmax(0, 1fr)); height: 100%; aspect-ratio: 1; flex: none; border-radius: 3px; background: #0e0c0a; box-shadow: inset 0 4px 12px rgba(0, 0, 0, .85), 0 0 0 1px rgba(212, 173, 110, .7); overflow: hidden; }
.nourette-caja .bx__tray .slot { aspect-ratio: auto; min-height: 0; min-width: 0; cursor: default; }
.nourette-caja .bx__tray .slot .bon { width: 78%; max-height: 78%; }
.nourette-caja .bx__tray .slot.filled { cursor: pointer; }
.nourette-caja .bx__tray .slot.next { box-shadow: inset 0 0 0 1px rgba(241, 217, 164, .95), inset 0 0 14px rgba(212, 173, 110, .4); }
.nourette-caja .bx__tray .slot.filled:hover::after { content: "×"; position: absolute; top: 5%; right: 5%; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #2a160a; font-size: 13px; line-height: 18px; text-align: center; font-weight: 700; }
.nourette-caja .bx__tray .slot .bon.drop { animation: drop .42s cubic-bezier(.3, .7, .4, 1) both; }
@keyframes drop { 0% { transform: translateY(-35%) scale(1.2); opacity: 0; } 65% { transform: translateY(3%) scale(.97); opacity: 1; } 100% { transform: none; opacity: 1; } }
.nourette-caja .bx__band { flex: 1; display: grid; justify-items: center; align-content: center; gap: 10%; border-left: 1px solid rgba(212, 173, 110, .7); border-right: 1px solid rgba(212, 173, 110, .7); margin: 0 18%; color: #d4ad6e; }
.nourette-caja .bx__band svg { width: 70%; max-width: 24px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.nourette-caja .bx__band span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: calc(var(--S) * .03); letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; }

/* Tapa: se pone encima cuando la caja está completa */
.nourette-caja .bx__lid { all: unset; position: absolute; inset: -1px; border-radius: 8px; overflow: hidden; background: var(--lid) center / cover, #151413; box-shadow: 0 2px 0 #0d0c0b, 0 18px 30px -12px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(-16px) scale(1.04); pointer-events: none; transition: opacity .45s ease, transform .5s cubic-bezier(.3, 1.3, .5, 1); }
.nourette-caja .bx__lid::before { content: ""; position: absolute; inset: 2.2%; border: 1px solid rgba(212, 173, 110, .85); border-radius: 3px; }
.nourette-caja.is-closed .bx__lid { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.nourette-caja .bx__lid:focus-visible { outline: 2px solid var(--caramel); outline-offset: 4px; }
.nourette-caja .bx__ribbon { position: absolute; left: 80%; top: 25%; width: 78%; height: 11%; transform: translate(-50%, -50%) rotate(40deg) scaleX(0); background: linear-gradient(180deg, #8f652f 0%, #d4ad6e 18%, #f6e3b8 42%, #e2c07f 58%, #b8894a 82%, #8a5f2b 100%); box-shadow: 0 3px 6px rgba(0, 0, 0, .45); transition: transform .45s ease .4s; }
.nourette-caja .bx__bow { position: absolute; left: 80%; top: 25%; width: 30%; height: auto; transform: translate(-50%, -50%) scale(0) rotate(-50deg); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .7s; }
.nourette-caja.is-closed .bx__ribbon { transform: translate(-50%, -50%) rotate(40deg) scaleX(1); }
.nourette-caja.is-closed .bx__bow { transform: translate(-50%, -50%) scale(1) rotate(-50deg); }

.nourette-caja .bx__status { display: grid; justify-items: center; gap: 6px; }
.nourette-caja .bx__ready { margin: 0; min-height: 0; font-family: "Great Vibes", var(--serif); font-size: 1.45rem; line-height: 1.1; color: var(--caramel); }
.nourette-caja .bx__ready:empty { display: none; }
.nourette-caja .bx__tools { display: flex; gap: 6px; }
.nourette-caja .bx__tools button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; border: 1px solid #e4d6c3; background: #fff; color: var(--ink2); font-size: .78rem; font-weight: 500; cursor: pointer; }
.nourette-caja .bx__tools button:hover { border-color: var(--caramel); color: var(--caramel); }
.nourette-caja .bx__tools svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nourette-caja #boxRandom svg circle { fill: currentColor; stroke: none; }

/* Panel: tamaños y bombones */
.nourette-caja .bx__panel { padding: 6px 16px 0; display: grid; gap: 14px; }
.nourette-caja .bx__sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px -12px rgba(60, 34, 13, .4); }
.nourette-caja .bx__sizes button { display: grid; justify-items: center; gap: 0; padding: 8px 4px; border: 0; border-radius: 12px; background: transparent; color: var(--ink2); cursor: pointer; transition: background .2s, color .2s; }
.nourette-caja .bx__sizes b { font-size: 1.25rem; font-weight: 700; line-height: 1.1; }
.nourette-caja .bx__sizes small { font-size: .68rem; opacity: .7; }
.nourette-caja .bx__sizes span { font-size: .78rem; font-weight: 600; color: var(--caramel); }
.nourette-caja .bx__sizes button[aria-pressed="true"] { background: var(--caramel); color: #fff; }
.nourette-caja .bx__sizes button[aria-pressed="true"] span { color: #fff; }
.nourette-caja .bx__h2 { margin: 4px 0 0; font-family: var(--sans); font-weight: 600; font-size: 1.05rem; color: var(--ink2); }
.nourette-caja .bx__menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nourette-caja .pick { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 12px 6px 10px; border: 1.5px solid transparent; border-radius: 18px; background: #fff; color: var(--ink2); cursor: pointer; box-shadow: 0 6px 16px -12px rgba(60, 34, 13, .45); transition: transform .15s, border-color .2s; }
.nourette-caja .pick:hover { border-color: #e4d6c3; }
.nourette-caja .pick:active { transform: scale(.96); }
.nourette-caja .pick.is-in { border-color: var(--caramel); }
.nourette-caja .pick.tap { animation: tap .3s ease; }
@keyframes tap { 40% { transform: scale(.93); } }
.nourette-caja .pick__img { display: grid; place-items: center; height: 66px; }
.nourette-caja .pick__img .bon { --s: 62px; }
.nourette-caja .pick__name { font-size: .82rem; font-weight: 600; line-height: 1.2; text-align: center; }
.nourette-caja .pick__desc { display: none; font-size: .74rem; line-height: 1.35; color: var(--muted); text-align: center; }
.nourette-caja .pick__qty { position: absolute; top: 7px; left: 7px; min-width: 24px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--caramel); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.nourette-caja .pick__qty.on { transform: scale(1); }
.nourette-caja .pick__plus { position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border-radius: 50%; background: #f3ebe0; color: var(--caramel); display: grid; place-items: center; font-size: .95rem; font-weight: 600; line-height: 1; }
.nourette-caja.is-full .pick { opacity: .5; }
.nourette-caja .bx__note summary { cursor: pointer; list-style: none; color: var(--caramel); font-size: .88rem; font-weight: 500; }
.nourette-caja .bx__note summary::-webkit-details-marker { display: none; }
.nourette-caja .bx__note summary::before { content: "✎ "; }
.nourette-caja .bx__note textarea { margin-top: 8px; width: 100%; border-radius: 14px; border: 1.5px solid #e4d6c3; background: #fff; padding: 10px 12px; font: inherit; resize: vertical; }
.nourette-caja .bx__demo { margin: 0; font-size: .8rem; color: var(--muted); }

/* Compra: fija abajo, encima de la barra de pestañas */
.nourette-caja .bx__buy { position: fixed; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 94; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px; background: #fff; box-shadow: 0 14px 34px -12px rgba(60, 34, 13, .45); }
.nourette-caja .bx__meter { display: grid; gap: 6px; font-size: .82rem; color: var(--muted); }
.nourette-caja .bx__meter b { color: var(--ink2); font-size: .95rem; }
.nourette-caja .bx__meter i { display: block; height: 5px; border-radius: 3px; background: #f0e6d8; overflow: hidden; }
.nourette-caja .bx__meter i b { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--caramel); transition: width .35s ease; }
.nourette-caja .bx__add { position: relative; overflow: hidden; min-height: 48px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--caramel); color: #fff; font-size: .95rem; font-weight: 600; cursor: pointer; box-shadow: 0 10px 20px -10px rgba(156, 77, 24, .9); transition: opacity .2s, transform .2s; }
.nourette-caja .bx__add:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.nourette-caja .bx__add.is-ready { animation: ready .6s ease; }
@keyframes ready { 40% { transform: scale(1.06); } }
.nourette-caja .bx__add.loading { opacity: .6; pointer-events: none; }

/* Ordenador: caja a la izquierda, bombones a la derecha */
@media (min-width: 922px) {
  .nourette-caja .bx { --S: min(440px, 36vw); padding-bottom: 60px; }
  .nourette-caja .pick__img { height: 76px; }
  .nourette-caja .bx__stage { box-shadow: none; }
  .nourette-caja .bx__top { padding: 12px max(24px, calc((100vw - 1120px) / 2)); }
  .nourette-caja .bx .caja__title { font-size: 1.3rem; }
  .nourette-caja .bx__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding: 30px 24px 0; align-items: start; }
  .nourette-caja .bx__top { position: relative; }
  .nourette-caja .bx__stage { top: 24px; padding: 30px 0; background: none; }
  .nourette-caja .bx__panel { padding: 0 0 130px; }
  .nourette-caja .bx__menu { gap: 12px; }
  .nourette-caja .pick { padding: 14px 8px 12px; }
  .nourette-caja .pick__img .bon { --s: 72px; }
  .nourette-caja .pick__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .nourette-caja .bx__buy { left: auto; right: max(24px, calc((100vw - 1120px) / 2 + 24px)); bottom: 24px; width: min(460px, 42vw); }
}
@media (prefers-reduced-motion: reduce) {
  .nourette-caja .bx__lid, .nourette-caja .bx__ribbon, .nourette-caja .bx__bow { transition: none; }
}

/* Tipos de bombón y fila deslizable */
.nourette-caja .bx__filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -4px -16px 0; padding: 2px 16px 4px; }
.nourette-caja .bx__filters::-webkit-scrollbar { display: none; }
.nourette-caja .bx__filters button { flex: none; height: 36px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #e4d6c3; background: #fff; color: var(--ink2); font-size: .84rem; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.nourette-caja .bx__filters button:hover { border-color: var(--caramel); }
.nourette-caja .bx__filters button[aria-pressed="true"] { background: var(--caramel); border-color: var(--caramel); color: #fff; }
.nourette-caja .pick[hidden] { display: none; }
@media (max-width: 921px) {
  .nourette-caja .bx__menu { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 4px 16px 12px; scrollbar-width: none; }
  .nourette-caja .bx__menu::-webkit-scrollbar { display: none; }
  .nourette-caja .pick { flex: 0 0 112px; scroll-snap-align: start; }
  .nourette-caja .bx { padding-bottom: 190px; }
}
@media (min-width: 922px) {
  .nourette-caja .bx__filters { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
}
/* En el móvil, Inicio y el carrito ya están en la barra de abajo */
@media (max-width: 921px) {
  .nourette-caja .bx__top { grid-template-columns: 1fr; padding: 12px 16px 10px; }
  .nourette-caja .bx__top .bx__icon { display: none; }
}

/* =====================================================================
   Móvil: pantalla fija tipo app — todo a la vista sin desplazar
   (la caja se adapta al alto disponible)
   ===================================================================== */
@media (max-width: 921px) {
  html:has(body.n-focus), body.n-focus { height: 100%; overflow: hidden; overscroll-behavior: none; }
  .nourette-caja .bx { position: fixed; left: 0; right: 0; top: 0; bottom: calc(58px + env(safe-area-inset-bottom, 0px)); z-index: 20; min-height: 0; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
  body.admin-bar .nourette-caja .bx { top: 46px; }
  .nourette-caja .bx__top { position: static; flex: none; padding: 10px 16px 8px; }
  .nourette-caja .bx .caja__title { font-size: .98rem; }
  .nourette-caja .bx__logo img { height: 62px; }
  .nourette-caja .bx__layout { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .nourette-caja .bx__stage { position: static; flex: 1 1 auto; min-height: 0; container-type: size; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px 4px; box-shadow: none; background: none; }
  .nourette-caja .bx__box { --S: min(calc((100cqw - 8px) / 1.28), calc(100cqh - 46px)); width: calc(var(--S) * 1.28); flex: none; }
  .nourette-caja .bx__status { flex: none; }
  .nourette-caja .bx__ready { display: none; }
  .nourette-caja .bx__tools button { padding: 5px 10px; font-size: .74rem; }
  .nourette-caja .bx__panel { flex: none; padding: 4px 16px 0; gap: 8px; }
  .nourette-caja .bx__h2 { display: none; }
  .nourette-caja .bx__sizes { padding: 4px; gap: 4px; border-radius: 14px; }
  .nourette-caja .bx__sizes button { grid-auto-flow: column; align-items: baseline; justify-content: center; gap: 5px; padding: 8px 4px; }
  .nourette-caja .bx__sizes b { font-size: 1.05rem; }
  .nourette-caja .bx__sizes small { display: none; }
  .nourette-caja .bx__sizes span { font-size: .74rem; }
  .nourette-caja .bx__filters { margin-top: 0; }
  .nourette-caja .bx__filters button { height: 32px; padding: 0 12px; font-size: .8rem; border-radius: 10px; }
  .nourette-caja .bx__menu { padding: 2px 16px 4px; }
  .nourette-caja .pick { flex: 0 0 96px; padding: 8px 4px 8px; border-radius: 16px; }
  .nourette-caja .pick__img { height: 52px; }
  .nourette-caja .pick__img .bon { --s: 50px; }
  .nourette-caja .pick__name { font-size: .76rem; }
  .nourette-caja .pick__plus { width: 20px; height: 20px; top: 5px; right: 5px; font-size: .85rem; }
  .nourette-caja .pick__qty { top: 5px; left: 5px; }
  .nourette-caja .bx__note summary { font-size: .8rem; }
  .nourette-caja .bx__note textarea { margin-top: 4px; }
  .nourette-caja .bx__buy { position: static; flex: none; margin: 8px 12px 10px; padding: 8px 8px 8px 14px; box-shadow: 0 10px 26px -14px rgba(60, 34, 13, .5); }
  .nourette-caja .bx__add { min-height: 44px; }
}

/* Móviles bajitos: más compacto para que la caja siga luciendo */
@media (max-width: 921px) and (max-height: 720px) {
  .nourette-caja .bx__top { padding: 6px 16px 4px; }
  .nourette-caja .bx__title p { display: none; }
  .nourette-caja .bx__logo img { height: 46px; }
  .nourette-caja .bx__stage { padding-top: 4px; gap: 5px; }
  .nourette-caja .bx__box { --S: min(calc((100cqw - 8px) / 1.28), calc(100cqh - 36px)); }
  .nourette-caja .bx__tools button { padding: 4px 9px; }
  .nourette-caja .bx__tools button span { display: none; }
  .nourette-caja .bx__panel { gap: 6px; }
  .nourette-caja .bx__sizes button { padding: 6px 4px; }
  .nourette-caja .bx__filters button { height: 30px; }
  .nourette-caja .pick { flex-basis: 84px; padding: 6px 4px; }
  .nourette-caja .pick__img { height: 42px; }
  .nourette-caja .pick__img .bon { --s: 40px; }
  .nourette-caja .bx__buy { margin: 6px 12px 8px; padding: 6px 6px 6px 12px; }
  .nourette-caja .bx__add { min-height: 40px; }
}

/* 1.6.8 · Con productos en el carrito, la barra «Ver pedido» queda encima de las pestañas */
@media (max-width: 921px) {
  body.n-focus:has(.n-orderbar:not([hidden])) .nourette-caja .bx { bottom: calc(126px + env(safe-area-inset-bottom, 0px)); }
}

/* 1.8 · Tarjeta y alérgenos en la misma fila */
.nourette-caja .bx__extras { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 18px; }
.nourette-caja .bx__extras details[open] { flex-basis: 100%; order: 2; }
.nourette-caja .bx__allergens summary { cursor: pointer; list-style: none; color: var(--muted, #7a6552); font-size: .88rem; font-weight: 500; }
.nourette-caja .bx__allergens summary::-webkit-details-marker { display: none; }
.nourette-caja .bx__allergens summary::before { content: "ⓘ "; }
.nourette-caja .bx__allergens .n-allergens { margin-top: 6px; }
@media (max-width: 921px) { .nourette-caja .bx__allergens summary { font-size: .8rem; } }
