/* Plomada y Tanza · base común a todas las páginas */
:root {
  --negro: #111111;
  --gris-tarjeta: #EFEFED;
  --gris-texto: #5D5D5A;
  --ria: #2F5D58;
  --arena: #E9E4D8;
  --radio: 13px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--negro);
  font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: -0.2px;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ria); outline-offset: 2px; }
.mayus { text-transform: uppercase; font-weight: 600; letter-spacing: 0; }
.solo-lector { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* headzone */
.headzone {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 16px; background: #FFFFFF;
  border-bottom: 1px solid #E2E2DF;
}
.headzone-logo img { height: 30px; width: auto; }
.headzone nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.headzone nav a { text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: 15px; }
.headzone nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.headzone-der { display: flex; align-items: center; gap: 10px; }
.boton-canasta {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: var(--negro); color: #FFFFFF;
  padding: 9px 14px; border-radius: 999px;
  font: 600 14px "Barlow Semi Condensed", sans-serif; text-transform: uppercase; cursor: pointer;
}
.boton-menu { display: none; border: 1px solid var(--negro); background: none; border-radius: 999px; padding: 8px 14px; font: 600 14px "Barlow Semi Condensed", sans-serif; text-transform: uppercase; cursor: pointer; }

/* footzone */
.footzone { padding: 70px 16px 24px; }
.footzone-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.footzone h2 { font-size: 16px; text-transform: uppercase; margin-bottom: 14px; }
.footzone ul { list-style: none; margin: 0; padding: 0; }
.footzone li { margin-bottom: 8px; }
.footzone a, .footzone button.link {
  text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: 15px;
  background: none; border: 0; padding: 2px 0; cursor: pointer; font-family: inherit; color: inherit;
}
.footzone a:hover, .footzone button.link:hover { text-decoration: underline; }
.footzone-marca { margin: 70px 0 0; font-weight: 700; text-transform: uppercase; font-size: clamp(44px, 11.4vw, 168px); line-height: .9; letter-spacing: -2px; white-space: nowrap; overflow: hidden; }
.footzone-pie { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; margin-top: 22px; font-size: 13px; color: var(--gris-texto); }

/* canasta: hoja que sube desde abajo */
.canasta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  max-height: 88dvh; overflow: auto;
  background: #FFFFFF; border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .22);
  transform: translateY(105%); visibility: hidden;
  transition: transform .3s ease, visibility .3s;
}
.canasta.abierta { transform: none; visibility: visible; }
.canasta-in { max-width: 760px; margin: 0 auto; padding: 22px 18px 30px; }
.canasta-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.canasta-cab h2 { font-size: 26px; text-transform: uppercase; }
.canasta-cab button { border: 0; background: var(--gris-tarjeta); border-radius: 50%; width: 36px; height: 36px; font-size: 20px; cursor: pointer; }
.renglon { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #E6E6E3; }
.renglon .cant { display: inline-flex; align-items: center; gap: 4px; }
.renglon .cant button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #CFCFCB; background: #FFFFFF; cursor: pointer; }
.canasta-vacia { color: var(--gris-texto); padding: 8px 0 14px; }
.sumas { padding: 12px 0; }
.sumas div { display: flex; justify-content: space-between; }
.sumas .final { font-size: 22px; font-weight: 700; padding-top: 6px; }
.pasos-pedido { display: flex; gap: 8px; margin: 8px 0 14px; font-size: 13px; text-transform: uppercase; }
.pasos-pedido span { padding: 4px 10px; border-radius: 999px; background: var(--gris-tarjeta); color: var(--gris-texto); }
.pasos-pedido span.ahora { background: var(--negro); color: #FFFFFF; }
.etapa[hidden] { display: none; }
.campo { position: relative; margin-bottom: 12px; }
.campo label { display: block; font-size: 13px; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.campo input, .campo select, .campo textarea {
  width: 100%; border: 1px solid #C9C9C5; border-radius: 8px; padding: 11px 36px 11px 12px;
  font: 500 16px "Barlow Semi Condensed", sans-serif; background: #FFFFFF;
}
.campo .tilde { position: absolute; right: 12px; top: 33px; color: var(--ria); font-weight: 700; opacity: 0; }
.campo.bien .tilde { opacity: 1; }
.campo.mal input, .campo.mal select, .campo.mal textarea { border-color: #A8322B; }
.campo .error { display: block; min-height: 18px; font-size: 13px; color: #A8322B; }
.boton-negro {
  display: inline-block; border: 0; border-radius: 999px; background: var(--negro); color: #FFFFFF;
  padding: 13px 24px; font: 600 15px "Barlow Semi Condensed", sans-serif; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.boton-borde { display: inline-block; border: 1px solid var(--negro); border-radius: 999px; background: none; padding: 12px 22px; font: 600 15px "Barlow Semi Condensed", sans-serif; text-transform: uppercase; text-decoration: none; cursor: pointer; color: var(--negro); }
.letra-chica { font-size: 13px; color: var(--gris-texto); }
.velo { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 50; opacity: 0; visibility: hidden; transition: opacity .3s; }
.velo.on { opacity: 1; visibility: visible; }

/* modal de cookies con categorías */
.cookies-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(0, 0, 0, .45); padding: 16px; }
.cookies-modal[hidden] { display: none; }
.cookies-caja { background: #FFFFFF; border-radius: var(--radio); max-width: 460px; width: 100%; padding: 24px; }
.cookies-caja h2 { font-size: 22px; text-transform: uppercase; margin-bottom: 10px; }
.cookies-caja label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid #E6E6E3; }
.cookies-botones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.cookies-botones button { flex: 1; }

@media (max-width: 860px) {
  .headzone nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #FFFFFF; padding: 16px; border-bottom: 1px solid #E2E2DF; }
  .headzone nav.abierto { display: block; }
  .headzone nav ul { flex-direction: column; gap: 14px; }
  .boton-menu { display: inline-block; }
  .footzone-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
