/* DÒK MÁI CHA / Menú mínimo. El rojo es el acento, el producto es el protagonista. */
body.minimal {
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --serif: var(--sans); --texto: #222; --negro: #171717; --gris: #72716e;
  --linea: #e8e7e3; --durazno: #e8e7e3; --durazno-claro: #f8f7f5;
  --rojo-texto: #c91313; color: var(--texto); background: #fff;
  font-size: 16px; -webkit-font-smoothing: antialiased;
}
.minimal button, .minimal input, .minimal textarea, .minimal select { -webkit-tap-highlight-color: transparent; }
.minimal button { touch-action: manipulation; }
.minimal .encabezado { background: #fff; color: #171717; padding: 28px 4.5vw; border-bottom: 1px solid var(--linea); }
.minimal .encabezado-in { max-width: 1440px; margin: auto; display: flex; align-items: center; gap: 32px; }
.minimal .encabezado h1.marca-dok { color: #DF0D0B; font-size: clamp(30px, 2.8vw, 40px); flex-shrink: 0; }
.minimal .nombre-marca { font-weight: 900; letter-spacing: -.055em; }
.header-lugar { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.header-estado { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #595753; }
.estado-punto { width: 5px; height: 5px; background: #aaa; border-radius: 50%; }
.estado-punto.abierto { background: #568363; }
.minimal .contenido { width: 100%; max-width: 1500px; padding: 0 4.5vw 120px; }
.minimal .pedido-activo { max-width: 1360px; border-radius: 0; background: #faf9f7; color: #171717; font-size: 12px; }
.menu-intro { margin: 65px 0 46px; text-align: center; }
.eyebrow { margin: 0 0 14px; font-size: 11px; letter-spacing: .2em; font-weight: 700; color: var(--rojo-texto); }
.menu-intro h2 { font-size: clamp(32px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.045em; }
.menu-intro > p:last-child { color: #66625d; font-size: 15px; font-weight: 500; margin-top: 14px; }
.categorias-inicio { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 1160px; margin: auto; }
.categoria-tile { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 9px; padding: 26px 12px 30px; border: 0; background: white; color: #171717; cursor: pointer; min-width: 0; border-radius: 4px; transition: color .18s, background .18s; }
.categoria-tile:hover { color: var(--rojo); background: #fcfaf8; }
.categoria-dibujo { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 8px; }
.categoria-dibujo svg { width: 82px; height: 82px; }
.categoria-tile strong { font-size: 16px; font-weight: 750; line-height: 1.35; text-align: center; color: var(--rojo-texto); }
.categoria-tile > span:last-child { font-size: 12px; color: #6c6762; font-weight: 500; }
.categoria-tile > span:last-child > span { padding-left: 6px; color: #aaa; }
.ver-todo { display: block; margin: 26px auto 25px; border: 0; border-bottom: 1px solid #aaa; background: none; padding: 12px 0; font: 650 14px var(--sans); cursor: pointer; color: #444; }
.ver-todo span { margin-left: 15px; }
.categorias-rail { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: thin; overscroll-behavior-x: contain; padding-top: 8px; border-bottom: 1px solid var(--linea); }
.categoria-tab { flex: 1 0 120px; min-width: 112px; max-width: 180px; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; border-bottom: 2px solid transparent; padding: 12px 8px 14px; background: #fff; color: var(--rojo-texto); font: 700 12px/1.4 var(--sans); cursor: pointer; }
.categoria-tab[aria-pressed="true"] { border-bottom-color: var(--rojo); color: var(--rojo); background: #fdf9f8; }
.categoria-tab:hover { background: #faf9f7; }
.tab-icono { display: grid; place-items: center; width: 48px; height: 48px; }
.tab-icono svg { width: 46px; height: 46px; }
.catalogo-cabeza { display: flex; align-items: center; gap: 20px; padding-top: 32px; color: #6b6762; font-size: 12px; font-weight: 600; }
#catalogo-conteo { margin-left: auto; }
.volver-inicio, .barra-volver, .hoja-volver { background: none; border: 0; color: #171717; cursor: pointer; }
.volver-inicio { font: 650 14px var(--sans); padding: 5px 0; }
.volver-inicio span { margin-right: 12px; font-size: 20px; vertical-align: -1px; }
.minimal .categoria { margin: 25px 0 24px; padding: 0; border: 0; font-size: 30px; text-transform: none; letter-spacing: -.04em; font-weight: 800; color: var(--rojo-texto); }
.minimal .lista-productos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-bottom: 48px; }
.minimal .producto, .minimal .producto.con-foto { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0 22px 16px; border: 0; border-right: 1px solid var(--linea); margin: 15px 0 24px; min-width: 0; }
.minimal .producto:nth-child(5n), .minimal .producto:last-child { border-right: 0; }
.producto-visual { width: 100%; height: 195px; padding: 12px; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; }
.minimal .producto img { width: 100%; height: 100%; max-height: 175px; object-fit: contain; border-radius: 0; background: white; transition: transform .2s; }
.producto-visual:hover img { transform: translateY(-5px); }
.foto-pendiente { color: #9a9790; display: grid; place-items: center; width: 100%; height: 100%; }
.foto-pendiente svg { width: 108px; height: 108px; stroke-width: 1.6; }
.minimal .producto-info { display: flex; flex-direction: column; align-items: flex-start; padding-top: 13px; flex: 1; }
.minimal .producto h3 { font: 800 20px/1.25 var(--sans); letter-spacing: -.035em; color: var(--rojo-texto); }
.minimal .producto p { font-size: 14px; line-height: 1.6; font-weight: 500; color: #625e59; margin: 10px 0; max-width: 210px; }
.minimal .producto-info .precio { color: #171717; font-size: 17px; font-weight: 700; order: -1; margin: 0 0 7px; }
.minimal .etiqueta-version { color: #6c655e; background: transparent; padding: 0; font-size: 12px; font-weight: 550; margin: 0 0 4px; border-radius: 0; }
.minimal .producto.elegido h3::after { color: var(--rojo); }
.minimal .agregar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.minimal .agregar .mas { width: 42px; height: 42px; background: #fff7f5; color: var(--rojo-texto); border: 1px solid #ebc4bf; font-size: 22px; font-weight: 400; }
.minimal .agregar .mas:hover { background: #171717; color: #fff; border-color: #171717; }
.minimal .en-carrito { font-size: 11px; font-weight: 700; color: var(--rojo); }
.minimal .btn { font-size: 15px; font-weight: 750; border-width: 1px; }
.minimal .btn-primario { background: #171717; border-color: #171717; color: #fff; }
.minimal .btn-primario:hover { background: #333; border-color: #333; }
.minimal .barra-carrito { padding: 17px max(4.5vw, calc((100vw - 1365px) / 2)) calc(17px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linea); box-shadow: none; gap: 20px; background: #fff; }
.minimal .barra-carrito .barra-volver { width: 48px; height: 48px; font-size: 34px; margin-right: auto; padding: 0; }
.bolsa-icono { width: 32px; height: 36px; position: relative; color: var(--rojo-texto); flex-shrink: 0; }
.bolsa-icono svg { width: 32px; height: 34px; }
.minimal #bolsa-cuenta { position: absolute; top: -3px; right: -7px; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 3px; font-size: 9px; border-radius: 20px; color: white; background: var(--rojo); }
.carrito-texto { display: grid; gap: 2px; min-width: 110px; }
.minimal #barra-cantidad { font-size: 12px; font-weight: 600; color: #625e59; }
.minimal #barra-total { font-size: 22px; font-weight: 750; }
.minimal #btn-continuar { min-width: 210px; min-height: 52px; gap: 22px; }
/* Personalización: una pantalla despejada, opciones en columnas y acción al pie. */
.minimal .hoja { inset: 0; width: min(1180px, calc(100% - 64px)); max-width: 1180px; height: min(820px, calc(100dvh - 64px)); max-height: calc(100dvh - 64px); margin: auto; border-radius: 2px; box-shadow: 0 24px 100px #0002; overflow: hidden; }
.minimal .hoja::backdrop { background: #1d1c1980; backdrop-filter: blur(3px); }
.minimal .hoja-cabeza { padding: 30px 44px 24px; border-bottom: 1px solid var(--linea); align-items: center; gap: 28px; flex-shrink: 0; }
.hoja-foto { width: 120px; height: 120px; flex-shrink: 0; display: grid; place-items: center; color: #aaa69e; }
.hoja-foto img { width: 100%; height: 100%; object-fit: contain; }
.hoja-foto svg { width: 88px; height: 88px; }
.hoja-presentacion { max-width: 650px; }
.minimal .hoja-cabeza .eyebrow { margin: 0 0 8px; }
.minimal .hoja-cabeza h2 { font: 800 clamp(26px, 2.6vw, 34px)/1.15 var(--sans); letter-spacing: -.04em; color: var(--rojo-texto); }
.minimal .hoja-desc { font-size: 14px; font-weight: 500; color: #625e59; line-height: 1.6; margin-top: 10px; }
.hoja-precio { margin: 8px 0 0; font-size: 17px; font-weight: 700; }
.minimal .cerrar { align-self: flex-start; border: 0; font-size: 30px; font-weight: 300; width: 40px; height: 40px; }
.minimal .hoja-cuerpo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 42px; padding: 30px 48px 45px; align-content: start; }
.minimal .grupo, .minimal .grupo + .grupo { border: 0; padding: 0; min-width: 0; }
.minimal .grupo legend { text-transform: none; font-size: 18px; font-weight: 750; letter-spacing: -.025em; color: var(--rojo-texto); margin-bottom: 7px; }
.minimal .grupo legend::before { content: ''; display: block; width: 36px; height: 36px; background: url('icons/options.svg') center/contain no-repeat; margin: 0 0 15px; opacity: 1; }
.minimal .grupo[data-code="leche"] legend::before { background-image: url('icons/milk.svg'); }
.minimal .grupo[data-code="hielo"] legend::before { background-image: url('icons/ice.svg'); }
.minimal .grupo[data-code="dulzura"] legend::before { background-image: url('icons/sweet.svg'); }
.minimal .grupo-ayuda { font-size: 12px; font-weight: 500; line-height: 1.5; color: #8a8780; min-height: 14px; }
.minimal .hoja .lista-opciones { gap: 1px; }
.minimal .lista-opciones .opcion { border-radius: 0; border: 0; min-height: 44px; padding: 9px 0; gap: 10px; }
.minimal .lista-opciones .opcion::before { width: 17px; height: 17px; border: 1px solid #9c9a94; }
.minimal .lista-opciones .opcion:has(input:checked) { background: transparent; }
.minimal .lista-opciones .opcion:has(input:checked)::before { background: var(--rojo); border-color: var(--rojo); box-shadow: inset 0 0 0 3px white; }
.minimal .opcion-nombre { font-size: 14px; font-weight: 550; }
.minimal .opcion-precio { font-size: 12px; color: #625e59; font-weight: 600; }
.minimal .segmentos { border: 1px solid var(--linea); border-radius: 4px; margin-top: 14px; }
.minimal .segmentos .opcion, .minimal .grupo[data-code] .segmentos .opcion { background: #fff; color: #777; min-height: 44px; font-size: 12px; }
.minimal .segmentos .opcion:has(input:checked) { box-shadow: inset 0 -2px var(--rojo); color: var(--rojo); background: #fdf9f7; }
.minimal .segmentos .opcion:has(input:checked) .opcion-nombre::after { content: ''; }
.minimal .hoja-pie { border-top: 1px solid var(--linea); padding: 20px 44px calc(20px + env(safe-area-inset-bottom, 0px)); gap: 24px; flex-shrink: 0; }
.hoja-volver { font-size: 32px; margin-right: auto; min-width: 42px; min-height: 44px; padding: 0; }
.minimal .contador { gap: 10px; }
.minimal .contador button, .minimal .contador button.mas { width: 36px; height: 36px; color: #fff; background: #171717; border: 0; font-weight: 400; font-size: 24px; }
.minimal .contador output { font-weight: 500; font-size: 13px; }
.hoja-total { min-width: 90px; display: grid; gap: 3px; }
.hoja-total span { font-size: 12px; color: #625e59; font-weight: 600; }
.hoja-total strong { font-size: 20px; font-weight: 750; }
.minimal .hoja-pie .btn { flex: 0 0 230px; font-size: 15px; }
/* Resumen y datos: lectura a la izquierda, entrega y pago a la derecha. */
.minimal #paso-datos { padding-top: 32px; }
.minimal #paso-datos > .eyebrow { margin-top: 22px; }
.minimal #titulo-datos { font-size: clamp(32px, 3vw, 42px); text-transform: none; letter-spacing: -.04em; font-weight: 800; margin: 0 0 40px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8vw; }
.checkout-resumen { align-self: start; position: sticky; top: 30px; }
.checkout-resumen h3 { font-size: 18px; font-weight: 750; margin-bottom: 22px; }
.minimal .resumen { border-top: 1px solid var(--linea); }
.minimal .resumen li { padding: 22px 0; }
.minimal .linea-info strong { font-size: 16px; font-weight: 750; color: var(--rojo-texto); }
.minimal .linea-opciones { font-size: 13px; margin-top: 4px; }
.minimal .linea-precio { font-size: 15px; font-weight: 700; }
.minimal .contador-chico { gap: 3px; }
.minimal .contador-chico button { width: 32px; height: 32px; font-size: 20px; }
.minimal .resumen-total { font-size: 13px; margin-top: 22px; }
.minimal .resumen-total strong { color: #171717; font-size: 21px; font-weight: 600; }
.checkout-nota { font-size: 10px; color: #888; border-top: 1px solid var(--linea); padding-top: 22px; }
.minimal .form { gap: 18px; }
.minimal .form h2 { font-size: 18px; font-weight: 750; text-transform: none; letter-spacing: -.02em; margin-top: 14px; }
.minimal .form label { font-size: 14px; font-weight: 650; }
.minimal .form input, .minimal .form textarea, .minimal .form select { border-radius: 3px; border-width: 1px; font-size: 16px; padding: 12px; }
.minimal .form .lista-opciones .opcion { padding: 14px 0; border-bottom: 1px solid var(--linea); }
.minimal .form .ayuda { font-size: 12px; }
.minimal .msg, .minimal .aviso-horario { border-radius: 2px; border: 1px solid var(--linea); background: #faf9f7; font-size: 11px; }
.minimal .aviso-horario { margin-top: 26px; }
.minimal .aviso-horario h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: #171717; }
.minimal .volver { font-weight: 500; font-size: 11px; color: #171717; }
.minimal .cerrado { margin: 55px auto; max-width: 620px; text-align: center; }
.minimal .cerrado h2 { color: #171717; font-size: 27px; font-weight: 600; letter-spacing: -.04em; }
.minimal .cerrado p { font-size: 12px; color: #777; }
.minimal.seguimiento .contenido { max-width: 660px; padding-top: 30px; }
.minimal .encabezado.compacto { background: #fff; padding: 25px 4.5vw; }
.minimal .encabezado.compacto .marca-dok { max-width: 1360px; color: var(--rojo); font-size: 28px; }
@media (min-width: 1700px) { .minimal .contenido { padding-left: 50px; padding-right: 50px; } }
@media (max-width: 1100px) {
  .minimal .lista-productos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .minimal .producto:nth-child(5n) { border-right: 1px solid var(--linea); }
  .minimal .producto:nth-child(4n), .minimal .producto:last-child { border-right: 0; }
  .minimal .producto { padding-inline: 16px; }
  .producto-visual { height: 175px; }
  .minimal .hoja-cuerpo { gap: 24px; padding-inline: 32px; }
}
@media (max-width: 780px) {
  .header-lugar { display: none; }
  .header-estado { margin-left: auto; }
  .minimal .encabezado { padding: 24px 5vw; }
  .categorias-inicio { grid-template-columns: repeat(3, 1fr); }
  .menu-intro { margin: 42px 0 26px; }
  .menu-intro > p:last-child { font-size: 14px; }
  .categoria-tile { padding: 16px 8px 25px; }
  .categoria-tile strong { font-size: 15px; }
  .categoria-dibujo { width: 72px; height: 72px; }
  .categoria-dibujo svg { width: 70px; height: 70px; }
  .minimal .lista-productos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .minimal .producto:nth-child(4n) { border-right: 1px solid var(--linea); }
  .minimal .producto:nth-child(3n), .minimal .producto:last-child { border-right: 0; }
  .minimal .producto h3 { font-size: 19px; }
  .minimal .hoja { width: calc(100% - 30px); height: calc(100dvh - 30px); max-height: calc(100dvh - 30px); }
  .minimal .hoja-cuerpo { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .minimal .hoja-cabeza { padding: 24px; gap: 16px; }
  .hoja-foto { width: 90px; height: 100px; }
  .minimal .hoja-pie { padding-inline: 24px; gap: 16px; }
  .minimal .hoja-pie .btn { flex-basis: 160px; }
  .checkout-layout { grid-template-columns: 1fr; gap: 36px; }
  .checkout-resumen { position: static; }
}
@media (max-width: 520px) {
  .minimal .encabezado h1.marca-dok { font-size: 31px; }
  .minimal .encabezado-in { flex-wrap: wrap; gap: 10px 16px; }
  .header-estado { font-size: 11px; gap: 5px; }
  .minimal .contenido { padding-inline: 20px; }
  .menu-intro { margin-top: 38px; }
  .menu-intro h2 { font-size: 32px; }
  .menu-intro > p:last-child { max-width: 250px; margin-inline: auto; line-height: 1.8; }
  .categorias-inicio { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 5px 8px; }
  .categoria-tile { padding: 16px 4px 22px; }
  .categoria-tile strong { font-size: 15px; }
  .categorias-rail { margin-inline: -20px; padding-inline: 12px; }
  .categoria-tab { flex-basis: 118px; min-width: 118px; font-size: 12px; }
  .catalogo-cabeza { padding-top: 20px; }
  .minimal .categoria { font-size: 28px; margin-top: 22px; }
  .minimal .lista-productos { grid-template-columns: repeat(2,minmax(0,1fr)); margin-inline: -8px; }
  .minimal .producto, .minimal .producto.con-foto { padding: 0 14px 12px; margin-bottom: 20px; }
  .minimal .producto:nth-child(3n) { border-right: 1px solid var(--linea); }
  .minimal .producto:nth-child(2n), .minimal .producto:last-child { border-right: 0; }
  .producto-visual { height: 155px; padding: 8px 0; }
  .minimal .producto img { max-height: 140px; }
  .minimal .producto h3 { font-size: 19px; }
  .minimal .producto p { font-size: 13px; }
  .minimal .barra-carrito { padding-inline: 20px; gap: 12px; }
  .minimal .barra-carrito .barra-volver { display: none; }
  .bolsa-icono { width: 26px; }
  .bolsa-icono svg { width: 26px; }
  .carrito-texto { min-width: 80px; margin-right: auto; }
  .minimal #barra-total { font-size: 20px; }
  .minimal #btn-continuar { min-width: 148px; padding-inline: 16px; font-size: 13px; gap: 10px; }
  .minimal .hoja { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .minimal .hoja-cabeza { padding: max(20px, env(safe-area-inset-top)) 20px 20px; gap: 12px; }
  .hoja-foto { width: 74px; height: 90px; }
  .hoja-foto svg { width: 65px; height: 65px; }
  .minimal .hoja-cabeza h2 { font-size: 27px; }
  .minimal .hoja-desc { font-size: 13px; margin-top: 8px; }
  .hoja-cabeza .eyebrow { font-size: 10px; }
  .minimal .cerrar { width: 28px; height: 28px; font-size: 27px; margin-right: -4px; }
  .minimal .hoja-cuerpo { padding: 25px 24px 36px; gap: 28px 22px; }
  .minimal .grupo legend { font-size: 17px; }
  .minimal .opcion-nombre { font-size: 13px; }
  .minimal .hoja-pie { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); gap: 12px; flex-wrap: wrap; }
  .hoja-volver { display: none; }
  .minimal .hoja-pie .contador { margin-right: auto; gap: 4px; }
  .minimal .hoja-pie .contador button { width: 32px; height: 32px; }
  .minimal .hoja-pie .contador output { min-width: 17px; }
  .hoja-total { min-width: 60px; }
  .hoja-total strong { font-size: 17px; }
  .minimal .hoja-pie .btn { flex: 0 0 auto; min-width: 110px; min-height: 48px; font-size: 13px; padding-inline: 12px; }
  .minimal .form .lista-opciones .opcion-nombre { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .minimal *, .minimal *::before, .minimal *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

.solo-lectores { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
body:has(.hoja[open]) { overflow: hidden; }

.minimal .producto-info h3 { order: 0; }
.minimal .producto-info .precio { order: 1; margin: 7px 0 0; }
.minimal .producto-info p { order: 2; }
.minimal .producto-info .etiqueta-version { order: 3; }


/* El contenido gana legibilidad; rojo Dòk en los nombres y acentos puntuales. */
.categoria-tile:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.minimal .hoja-pie { align-items: center; }
.minimal .hoja-pie .contador { flex-shrink: 0; }
.minimal .hoja-total { flex-shrink: 0; }
.minimal .hoja-cabeza .hoja-presentacion { min-width: 0; }
.minimal .hoja-cabeza .cerrar { flex-shrink: 0; }
@media (max-width: 520px) {
  .minimal .hoja-cuerpo { gap: 28px 20px; }
  .minimal .hoja .opcion { flex-wrap: wrap; column-gap: 8px; }
  .minimal .hoja .opcion-nombre { flex: 1; min-width: 0; }
  .minimal .hoja .opcion-precio { margin-left: 25px; }
  .minimal .hoja-pie { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; }
  .minimal .hoja-pie .contador { margin: 0; }
  .minimal .hoja-total { justify-self: center; }
  .minimal .hoja-pie .btn { white-space: normal; max-width: 158px; }
}
@media (max-width: 380px) {
  .minimal .header-estado { margin-left: 0; }
  .minimal .hoja-pie { grid-template-columns: 1fr auto; }
  .minimal .hoja-pie .btn { grid-column: 1 / -1; width: 100%; max-width: none; }
  .minimal .hoja-total { justify-self: end; }
  .minimal .barra-carrito { gap: 8px; padding-inline: 16px; }
  .minimal #btn-continuar { min-width: 130px; padding-inline: 12px; }
}
