@font-face {
  font-family: "Archivo";
  src: url("/fonts/Archivo.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/PublicSans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --vb: #14532d;
  --vb-hover: #0e3b20;
  --lima: #c6f05a;
  --lima-sombra: #9acb2c;
  --papel: #f4f3ee;
  --tinta: #14171a;
  --coral: #ff7759;
  --blanco: #ffffff;
  --linea: #14532d3d;
  --muted: #3d444b;
  --radio: 16px;
  --radio-btn: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  color-scheme: light;
}

body {
  background: var(--papel);
  color: var(--tinta);
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--vb);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--lima-sombra);
  text-underline-offset: 0.2em;
  border-radius: 2px;
}

a:hover {
  color: var(--vb-hover);
  background: color-mix(in srgb, var(--lima) 45%, transparent);
  text-decoration-color: var(--vb);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--vb);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 10;
  background: var(--vb);
  color: var(--blanco);
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
  color: var(--blanco);
  background: var(--vb);
  outline-color: var(--lima);
}

h1,
h2,
h3,
.titulo {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
  margin: 0.15em 0 0.35em;
}

h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  margin: 0 0 0.6em;
}

h3 {
  font-size: 1.05rem;
  margin: 0;
}

p {
  text-wrap: pretty;
}

.wrap {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 2px solid var(--linea);
  background: var(--papel);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  min-block-size: 64px;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo:hover,
.logo:focus-visible {
  background: transparent;
  text-decoration: none;
}

.nav-site {
  display: flex;
  gap: 18px;
}

.nav-site a {
  font-size: 0.9375rem;
}

/* Page intro */
.crumb {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin: 1.5rem 0 0;
}

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  list-style: none;
  padding: 0;
}

.crumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.45em;
  color: var(--vb);
  font-weight: 700;
}

.dek {
  font-size: 1.0625rem;
  max-width: 48ch;
  margin-bottom: 0.35rem;
}

.bloque p {
  max-width: 60ch;
}

.meta {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 550;
  margin: 0 0 1.5rem;
}

/* Layout */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 26rem);
  gap: 3rem 1.25rem;
  align-items: start;
  padding-bottom: 3.5rem;
}

.guia {
  min-width: 0;
}

/* Verdict */
.veredicto {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--vb);
  color: var(--blanco);
  border-radius: var(--radio);
  padding: 1.05rem 1.1rem 1.05rem 1.25rem;
  margin: 0 0 1.5rem;
}

.veredicto p {
  margin: 0;
  flex: 1;
  font-size: 1.02rem;
  line-height: 1.45;
}

.veredicto .etiqueta,
.veredicto .veredicto-titulo {
  display: block;
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lima);
  margin-bottom: 0.3em;
}

.veredicto img {
  height: 96px;
  width: auto;
  flex: none;
}

/* Products */
.productos {
  display: grid;
  gap: 1rem;
  margin: 0 0 2.25rem;
  padding: 0;
  list-style: none;
}

.producto {
  background: var(--blanco);
  border: 2px solid var(--linea);
  border-radius: var(--radio);
  padding: 1.05rem 1.1rem 1.15rem;
  position: relative;
}

.producto.destacado {
  border-color: var(--lima);
}

.sello {
  position: absolute;
  top: -0.7rem;
  left: 0.9rem;
  background: var(--lima);
  color: var(--tinta);
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  transform: rotate(-2deg);
}

.producto-cuerpo {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.foto {
  flex: none;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 12px;
  background: #e8e6de;
  border: 1.5px dashed #14532d4d;
  color: var(--muted);
  display: grid;
  place-items: center;
}

.foto-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  padding: 0.2rem 0.3rem;
}

.foto-slot svg {
  width: 1.35rem;
  height: 1.35rem;
}

.producto h3 {
  margin-bottom: 0.25rem;
}

.para {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
  max-width: 42ch;
}

.para strong {
  color: var(--tinta);
  font-weight: 650;
}

.precio-hint {
  font-size: 0.9375rem;
  margin: 0.1rem 0 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-block-size: 3rem;
  padding: 0.7rem 1.05rem;
  background: var(--vb);
  color: var(--blanco);
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--vb);
  border-radius: var(--radio-btn);
  cursor: pointer;
}

.btn:hover {
  background: var(--lima);
  border-color: var(--lima);
  color: var(--tinta);
  text-decoration: none;
}

.btn:focus-visible {
  outline-color: var(--lima);
  outline-offset: 3px;
}

.btn svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
}

.acciones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
}

/* Sections */
.bloque {
  margin: 0 0 2.1rem;
}

.bloque p + p {
  margin-top: 0.7em;
}

.bloque ul {
  margin: 0.7em 0 0;
  padding: 0;
  list-style: none;
}

.bloque li {
  position: relative;
  padding: 0.28em 0 0.28em 1.4em;
}

.bloque li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.95em;
  height: 0.95em;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7.5" fill="none" stroke="%2314532D" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}

/* Table */
.tabla-wrap {
  overflow-x: auto;
  margin: 0.4rem 0 0;
  border: 2px solid var(--linea);
  border-radius: var(--radio);
  background: var(--blanco);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

th,
td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  vertical-align: top;
  border-bottom: 1px solid var(--linea);
}

th {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vb);
  background: color-mix(in srgb, var(--lima) 28%, var(--blanco));
  text-wrap: balance;
}

tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  font-weight: 650;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.6rem;
}

details {
  background: var(--blanco);
  border: 2px solid var(--linea);
  border-radius: 12px;
  padding: 0.15rem 0.2rem;
}

summary {
  cursor: pointer;
  font-weight: 650;
  padding: 0.7rem 0.85rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--vb);
  border-bottom: 2px solid var(--vb);
  transform: rotate(45deg);
  flex: none;
  margin-top: -0.25rem;
}

details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.15rem;
}

details p {
  padding: 0 0.85rem 0.9rem;
  font-size: 0.975rem;
  max-width: 48ch;
}

/* Sidebar */
aside.relacionadas {
  position: sticky;
  top: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
}

aside.relacionadas .relacionadas-caja {
  background: var(--blanco);
  border: 2px solid var(--linea);
  border-radius: var(--radio);
  padding: 1.05rem 0.2rem 0.5rem;
  min-width: 0;
  flex: 1;
}

.chiche-elige {
  flex: none;
  width: 7rem;
  height: auto;
  margin-top: 1.7rem;
  pointer-events: none;
}

aside.relacionadas h2 {
  font-size: 0.95rem;
  padding: 0 0.95rem;
  margin-bottom: 0.55rem;
}

aside.relacionadas ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

aside.relacionadas a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  text-decoration: none;
  border-top: 1px solid var(--linea);
  font-weight: 650;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--vb);
  box-shadow: inset 0 0 0 0 var(--lima);
}

aside.relacionadas a::after {
  content: "→";
  flex: none;
  font-weight: 750;
  color: var(--vb);
}

aside.relacionadas a:hover {
  background: color-mix(in srgb, var(--lima) 40%, var(--blanco));
  box-shadow: inset 3px 0 0 var(--vb);
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: var(--vb);
  color: var(--papel);
  padding: 1.6rem 0 1.8rem;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.site-footer img {
  height: 36px;
  width: auto;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
}

.site-footer a {
  color: var(--papel);
  text-decoration-color: var(--lima);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--tinta);
  background: var(--lima);
  text-decoration-color: var(--tinta);
}

.site-footer a:focus-visible {
  outline-color: var(--lima);
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.producto h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}


.producto h3 .tipo {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.95rem;
  font-weight: 650;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--vb);
  line-height: 1.3;
}

.foto {
  width: 6rem;
  height: 6rem;
}


@media (min-width: 720px) {
  table {
    table-layout: fixed;
  }

  th:nth-child(1),
  td:nth-child(1) { width: 22%; }
  th:nth-child(2),
  td:nth-child(2) { width: 24%; }
  th:nth-child(3),
  td:nth-child(3) { width: 18%; }

  .producto-cuerpo {
    align-items: center;
  }

  .producto-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title actions"
      "para actions"
      "precio actions";
    column-gap: 1.25rem;
    row-gap: 0.15rem;
    flex: 1;
    align-items: center;
  }

  .producto h3 { grid-area: title; margin-bottom: 0; }
  .para { grid-area: para; margin-bottom: 0; }
  .precio-hint { grid-area: precio; margin: 0.15rem 0 0; }
  .acciones { grid-area: actions; }
}

@media (max-width: 840px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-bottom: 2.5rem;
  }

  .guia {
    max-width: none;
  }

  aside.relacionadas {
    position: static;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 1rem;
  }

  .wrap {
    width: min(1180px, calc(100% - 28px));
  }

  .logo img {
    height: 40px;
  }

  .veredicto {
    gap: 0.5rem;
    padding: 1rem 0.9rem 1rem 1rem;
  }

  .veredicto img {
    height: 84px;
  }

  .producto-cuerpo {
    gap: 0.8rem;
  }

  .foto {
    width: 4.6rem;
    height: 4.6rem;
  }

  .btn {
    width: 100%;
  }

  thead {
    display: none;
  }

  table {
    table-layout: auto;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  tr {
    padding: 0.7rem 0.85rem 0.85rem;
    border-bottom: 1px solid var(--linea);
  }

  tr:last-child {
    border-bottom: 0;
  }

  th,
  td {
    padding: 0.15rem 0;
    border: 0;
  }

  td::before {
    content: attr(data-label);
    display: block;
    font-family: "Archivo", system-ui, sans-serif;
    font-weight: 800;
    font-stretch: 112%;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--vb);
    margin-bottom: 0.05rem;
  }

  td:first-child {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
  }

  td:first-child::before {
    content: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  a,
  .btn,
  aside.relacionadas a {
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
  }
}

.chiche-costado {
  display: none;
}

@media (min-width: 1400px) {
  .productos-wrap {
    position: relative;
  }
  .chiche-costado {
    display: block;
    position: absolute;
    left: -6.5rem;
    top: 1.8rem;
    width: 6.5rem;
    height: auto;
    pointer-events: none;
    z-index: 1;
  }
}

@media (max-width: 840px) {
  .solo-escritorio {
    display: none;
  }

  .chiche-costado {
    display: none;
  }

  .layout {
    padding-bottom: 1.7rem;
    gap: 1.5rem;
  }

  .crumb {
    margin-top: 1.05rem;
  }

  .meta {
    margin-bottom: 1.05rem;
  }

  .veredicto {
    margin-bottom: 1.15rem;
    padding: 0.9rem 0.8rem 0.9rem 0.95rem;
  }

  .productos {
    margin-bottom: 1.35rem;
    gap: 0.85rem;
  }

  .producto {
    padding: 0.9rem 0.85rem 1rem;
  }

  .bloque {
    margin-bottom: 1.3rem;
  }

  aside.relacionadas {
    display: block;
    background: var(--blanco);
    border: 2px solid var(--linea);
    border-radius: var(--radio);
    padding: 0.35rem 0.2rem 0.45rem;
    position: static;
  }

  .chiche-elige {
    float: left;
    width: 6.8rem;
    margin: 0 0.15rem -0.35rem 0;
  }

  aside.relacionadas .relacionadas-caja {
    background: transparent;
    border: 0;
    padding: 0;
  }

  aside.relacionadas h2 {
    padding-top: 1.15rem;
    margin-bottom: 0.4rem;
  }

  aside.relacionadas ul {
    clear: both;
  }
}



/* --- site: real product photos and in-content extras --- */
.foto {
  background: #fff;
  border: 1.5px solid var(--linea);
  overflow: hidden;
  padding: 0.2rem;
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.precio {
  margin: 0.35rem 0 0.2rem;
  max-width: none;
  color: var(--tinta);
  font-size: inherit;
}

.precio strong {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--tinta);
}

.precio .antes,
s.antes {
  margin-left: 0.45rem;
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
}

.por-gramo {
  margin: 0.1rem 0 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.mas-guias {
  margin: 0 0 0.25rem;
  max-width: 60ch;
}

article nav.relacionadas {
  position: static;
  display: block;
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 1.3rem;
}

article nav.relacionadas h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  padding: 0;
  margin: 0 0 0.55rem;
}

article nav.relacionadas ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

article nav.relacionadas li {
  padding: 0.2rem 0;
}

article nav.relacionadas a {
  display: inline;
  padding: 0;
  border: 0;
  box-shadow: none;
  font-size: inherit;
}

article nav.relacionadas a::after {
  content: none;
}

article nav.relacionadas a:hover {
  box-shadow: none;
}

.logo-foot {
  text-decoration: none;
  background: transparent;
}

.logo-foot:hover,
.logo-foot:focus-visible {
  background: transparent;
  text-decoration: none;
}

/* Home */
.home-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 2rem;
  max-width: 40rem;
}

.home-list li {
  border-top: 1px solid var(--linea);
}

.home-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0.1rem;
  text-decoration: none;
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.015em;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--tinta);
}

.home-list a::after {
  content: "→";
  flex: none;
  color: var(--vb);
  font-weight: 750;
}

.home-list a:hover {
  color: var(--vb);
  background: color-mix(in srgb, var(--lima) 35%, transparent);
  text-decoration: none;
}

.simple {
  max-width: 42rem;
}

.simple h1 {
  margin-bottom: 0.6em;
}

.simple p {
  margin: 0 0 0.85em;
}

@media (min-width: 720px) {
  .producto-info {
    grid-template-areas:
      "title actions"
      "para actions"
      "precio actions"
      "gramo actions";
  }

  .precio {
    grid-area: precio;
    margin: 0.15rem 0 0;
  }

  .por-gramo {
    grid-area: gramo;
    margin: 0.1rem 0 0;
  }
}

@media (max-width: 620px) {
  .foto {
    width: 5.25rem;
    height: 5.25rem;
  }

  .tabla-compacta thead {
    display: table-header-group;
  }

  .tabla-compacta table {
    display: table;
    width: 100%;
    table-layout: auto;
  }

  .tabla-compacta tbody {
    display: table-row-group;
  }

  .tabla-compacta tr {
    display: table-row;
    padding: 0;
    border: 0;
  }

  .tabla-compacta th,
  .tabla-compacta td {
    display: table-cell;
    width: auto;
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid var(--linea);
    vertical-align: top;
  }

  .tabla-compacta td::before,
  .tabla-compacta td:first-child::before {
    content: none;
  }

  .tabla-compacta td:first-child {
    font-size: inherit;
    margin: 0;
  }
}
