/**
 * Home e-commerce de LINAJE (lo maneja assets/js/home-shop.js).
 * Dirección visual: papel, tinta y sello. Títulos en serif, esquinas casi
 * rectas, líneas finas en lugar de sombras y pocos íconos.
 */
:root {
  --hs-bar-h: 38px;
  --hs-ink: #2f3d2e;
  --hs-green: var(--heading-color, #374836);
  --hs-copper: var(--copper-color, #b0703c);
  --hs-paper: #faf7f0;
  --hs-kraft: #efe6d6;
  --hs-kraft-dark: #e2d4bc;
  --hs-line: #d9cfbd;
  --hs-muted: #6d7468;
  /* Subtítulos, precios y detalles usan la misma fuente de títulos de la plantilla */
  --hs-serif: var(--heading-font, "Plus Jakarta Sans", sans-serif);
  --hs-r: 4px;
}

/* ---------- Tipografía y piezas compartidas ---------- */
.hs_section { padding: 96px 0; }
.hs_section.is_kraft { background: var(--hs-kraft); }
.hs_head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 48px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hs-line);
}
/* Etiqueta y título con el mismo estilo de la plantilla (cs_linaje_eyebrow + cs_section_title) */
.hs_kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hs-copper);
}
.hs_promo .hs_kicker { font-size: 11px; letter-spacing: 2px; }
.hs_title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 70px;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--heading-color);
}
.hs_title em {
  font-style: normal;
  background: linear-gradient(223deg, rgba(55, 72, 54, 0.8) 0.37%, #a0a6a1 49.66%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 1199px) { .hs_title { font-size: 60px; } }
.hs_lead {
  max-width: 420px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--hs-muted);
}
.hs_link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
@media (max-width: 991px) {
  .hs_section { padding: 70px 0; }
  .hs_title { font-size: 48px; }
}
@media (max-width: 575px) {
  .hs_title { font-size: 36px; }
  .hs_head { margin-bottom: 28px; padding-bottom: 20px; }
}

.hs_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--hs-r);
  border: 1px solid var(--hs-ink);
  background: var(--hs-ink);
  color: var(--hs-paper);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hs_btn:hover { background: var(--hs-copper); border-color: var(--hs-copper); color: #fff; }
.hs_btn.is_ghost { background: transparent; color: var(--hs-ink); }
.hs_btn.is_ghost:hover { background: var(--hs-ink); color: var(--hs-paper); }
.hs_btn[disabled] { opacity: 0.4; pointer-events: none; }

/* ---------- Barra de anuncios ---------- */
.hs_bar {
  position: relative;
  z-index: 1000;
  height: var(--hs-bar-h);
  background: var(--hs-ink);
  color: var(--hs-kraft);
  font-size: 13px;
}
.hs_bar_in {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
}
.hs_bar_msgs {
  position: relative;
  flex: 1;
  height: 100%;
  max-width: 720px;
  overflow: hidden;
}
.hs_bar_msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hs_bar_msg.is_on { opacity: 1; transform: none; }
.hs_bar_msg.is_off { opacity: 0; transform: translateY(-100%); }
.hs_bar_msg:hover { color: #fff; }
.hs_bar_msg b { color: #e2b285; font-weight: 600; }
.hs_bar_nav,
.hs_bar_close {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: inherit;
  opacity: 0.7;
  font-size: 12px;
  cursor: pointer;
}
.hs_bar_nav:hover,
.hs_bar_close:hover { opacity: 1; }
.hs_bar_prev { left: 10px; }
.hs_bar_next { right: 42px; }
.hs_bar_close { right: 10px; }
body.has_hs_bar .cs_site_header.cs_style_1:not(.cs_sticky_active) { top: var(--hs-bar-h); }
@media (max-width: 575px) {
  .hs_bar { font-size: 12px; }
  .hs_bar_in { padding: 0 38px 0 16px; }
  .hs_bar_nav { display: none; }
}

/* ---------- Campana de ofertas ---------- */
.hs_bell_wrap { position: relative; margin-right: 15px; }
.hs_bell {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.hs_bell_count {
  position: absolute;
  top: 5px;
  right: 3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--hs-copper);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.hs_bell_count[hidden] { display: none; }
.hs_bell_panel {
  position: absolute;
  top: calc(100% + 12px);
  right: -60px;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: var(--hs-paper);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  box-shadow: 0 18px 40px rgba(30, 38, 29, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 1001;
  text-transform: none;
}
.hs_bell_panel.is_open { opacity: 1; visibility: visible; transform: none; }
.hs_bell_head {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--hs-line);
  font-family: var(--hs-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--hs-ink);
}
.hs_bell_head span { display: none; }
.hs_bell_list { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow-y: auto; }
.hs_bell_item a {
  display: block;
  padding: 14px 18px 14px 30px;
  position: relative;
  color: var(--hs-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 207, 189, 0.6);
}
.hs_bell_item:last-child a { border-bottom: none; }
.hs_bell_item a:hover { background: var(--hs-kraft); }
.hs_bell_item i { display: none; }
.hs_bell_item strong { display: block; font-size: 14px; line-height: 1.3; margin-bottom: 3px; }
.hs_bell_item small { display: block; font-size: 13px; line-height: 1.45; color: var(--hs-muted); }
.hs_bell_item.is_new a::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hs-copper);
}
@media (max-width: 575px) {
  .hs_bell_wrap { margin-right: 6px; }
  .hs_bell_panel { position: fixed; top: 76px; right: 16px; left: 16px; width: auto; max-width: none; }
}

/* ---------- Cinta ---------- */
.hs_ticker {
  background: var(--hs-kraft);
  border-bottom: 1px solid var(--hs-line);
  overflow: hidden;
  padding: 15px 0;
}
.hs_ticker_track {
  display: flex;
  width: max-content;
  animation: hsTicker 45s linear infinite;
}
.hs_ticker_track span {
  padding: 0 26px;
  font-family: var(--hs-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--hs-ink);
  white-space: nowrap;
}
.hs_ticker_track span::after {
  content: "✻";
  margin-left: 52px;
  font-style: normal;
  font-size: 13px;
  color: var(--hs-copper);
}

/* ---------- Promociones ---------- */
.hs_promos {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 24px;
}
.hs_promo {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--hs-r);
  color: var(--hs-ink);
  text-decoration: none;
  overflow: hidden;
}
.hs_promo:hover { color: var(--hs-ink); }
.hs_promo h3 {
  font-family: var(--hs-serif);
  font-weight: 500;
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: inherit;
}
.hs_promo p { margin: 0 0 20px; font-size: 15px; line-height: 1.55; }
.hs_promo .hs_kicker { margin-bottom: 10px; }
.hs_promo .hs_link { align-self: flex-start; }

/* Botón flotante de la tienda, con el mismo lenguaje que el resto */
body .cs_shop_float {
  border-radius: var(--hs-r);
  background: var(--hs-ink);
  box-shadow: 0 10px 24px rgba(30, 38, 29, 0.22);
}
body .cs_shop_float:hover { background: var(--hs-copper); }
body .cs_shop_float .cs_btn_bag_count { border-radius: 3px; }

/* Secciones de tienda que ya existían en la home, con el mismo lenguaje */
body .cs_shop_chips a { border-radius: var(--hs-r); border-color: var(--hs-line); background: var(--hs-paper); font-weight: 500; }
body .cs_shop_chips a:hover,
body .cs_shop_chips a.active { background: var(--hs-ink); border-color: var(--hs-ink); }
body .cs_shop_spotlight_media { border-radius: var(--hs-r); }
body .cs_shop_spotlight_badge { border-radius: 2px; letter-spacing: 1.5px; }
body .cs_shop_spotlight_notes li { border-radius: 2px; }
body .cs_shop_spotlight_price { font-family: var(--hs-serif); font-weight: 500; }
.hs_promo_ruleta {
  justify-content: flex-end;
  min-height: 420px;
  padding: 36px;
  background: var(--hs-ink);
  color: var(--hs-kraft);
}
.hs_promo_ruleta:hover { color: var(--hs-kraft); }
.hs_promo_ruleta h3 { font-size: 36px; color: #fff; }
.hs_promo_ruleta p { color: rgba(239, 230, 214, 0.75); max-width: 360px; }
.hs_promo_ruleta .hs_kicker { color: #e2b285; }
.hs_stamp {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 2px solid #e2b285;
  outline: 1px dashed rgba(226, 178, 133, 0.6);
  outline-offset: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #e2b285;
  font-family: var(--hs-serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  transform: rotate(-12deg);
  transition: transform 0.4s ease;
}
.hs_stamp small {
  font-family: var(--body-font, sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 4px 0;
}
.hs_promo_ruleta:hover .hs_stamp { transform: rotate(-4deg) scale(1.04); }
.hs_promo_photo { background: var(--hs-paper); border: 1px solid var(--hs-line); }
.hs_promo_img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--hs-kraft);
}
.hs_promo_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.hs_promo_photo:hover .hs_promo_img img { transform: scale(1.04); }
.hs_promo_cap { display: block; padding: 24px 26px 28px; }
.hs_promo_cap h3 { font-size: 24px; }
@media (max-width: 991px) {
  .hs_promos { grid-template-columns: 1fr 1fr; }
  .hs_promo_ruleta { grid-column: 1 / -1; min-height: 340px; }
}
@media (max-width: 575px) {
  .hs_promos { grid-template-columns: 1fr; }
  .hs_promo_ruleta { padding: 26px; min-height: 380px; }
  .hs_promo_ruleta h3 { font-size: 30px; }
  .hs_stamp { width: 104px; height: 104px; font-size: 32px; top: 22px; right: 22px; }
}

/* ---------- Tienda ---------- */
.hs_toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 36px;
}
.hs_tabs {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 100%;
}
.hs_tabs::-webkit-scrollbar { display: none; }
.hs_tab {
  flex: none;
  padding: 8px 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--hs-muted);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.hs_tab i { display: none; }
.hs_tab:hover { color: var(--hs-ink); }
.hs_tab[aria-selected="true"] { color: var(--hs-ink); border-bottom-color: var(--hs-copper); font-weight: 600; }
.hs_tab_n { margin-left: 3px; font-size: 11px; vertical-align: super; color: var(--hs-copper); }
.hs_tools_right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hs_search { position: relative; }
.hs_search input,
.hs_sort {
  height: 42px;
  border-radius: var(--hs-r);
  border: 1px solid var(--hs-line);
  background: var(--hs-paper);
  color: var(--hs-ink);
  font-size: 14px;
  padding: 0 14px;
  outline: none;
}
.hs_search input { width: 230px; padding-left: 36px; }
.hs_search i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hs-muted);
  font-size: 13px;
}
.hs_search input:focus,
.hs_sort:focus { border-color: var(--hs-ink); }
.hs_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
}
@media (max-width: 1199px) { .hs_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .hs_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .hs_search { flex: 1; }
  .hs_search input { width: 100%; }
  .hs_tools_right { width: 100%; }
}
.hs_card { position: relative; container-type: inline-size; animation: hsIn 0.4s ease both; }
.hs_card .cs_coffee_card_media { border-radius: var(--hs-r); }
.hs_card_tools {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hs_tool {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(47, 61, 46, 0.12);
  border-radius: var(--hs-r);
  background: var(--hs-paper);
  color: var(--hs-ink);
  display: grid;
  place-items: center;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, color 0.2s;
}
.hs_tool[data-hs-quick] { opacity: 0; transform: translateY(-4px); }
.hs_card:hover .hs_tool[data-hs-quick],
.hs_tool[data-hs-quick]:focus-visible { opacity: 1; transform: none; }
.hs_tool[aria-pressed="true"] { color: #b23a2e; }
.hs_tool[aria-pressed="true"] i { animation: hsPop 0.3s ease; }
@media (hover: none) { .hs_tool[data-hs-quick] { opacity: 1; transform: none; } }
.hs_card .cs_coffee_card_tag { right: auto; border-radius: 2px; letter-spacing: 1.5px; }
.hs_card .cs_coffee_card_score { top: auto; bottom: 12px; right: 12px; }
.hs_stock,
.hs_quiz_match { top: calc(125cqw - 38px); }
.hs_stock,
.hs_quiz_match {
  position: absolute;
  left: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
}
.hs_stock { background: var(--hs-paper); color: #b23a2e; }
.hs_quiz_match { background: var(--hs-ink); color: var(--hs-paper); }
.hs_card .cs_coffee_card_add { border-radius: var(--hs-r); }
.hs_card .cs_coffee_card_add.is_added { background: var(--hs-copper); border-color: var(--hs-copper); color: #fff; }
.hs_empty {
  grid-column: 1 / -1;
  padding: 50px 20px;
  text-align: center;
  font-family: var(--hs-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--hs-muted);
}
.hs_empty i { display: none; }
.hs_more_wrap {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}
.hs_more_note { width: 100%; text-align: center; font-size: 14px; color: var(--hs-muted); }
.hs_more_bar { display: none; }

/* Vistos hace poco */
.hs_recent { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--hs-line); }
.hs_recent_head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.hs_recent_head h3 { margin: 0; font-family: var(--hs-serif); font-weight: 500; font-size: 24px; color: var(--hs-ink); }
.hs_recent_clear {
  border: none;
  background: none;
  font-size: 13px;
  color: var(--hs-muted);
  text-decoration: underline;
  cursor: pointer;
}
.hs_recent_list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 6px;
}
.hs_recent_item {
  flex: none;
  width: 250px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  background: var(--hs-paper);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s;
}
.hs_recent_item:hover { border-color: var(--hs-ink); }
.hs_recent_item img { width: 54px; height: 54px; object-fit: cover; border-radius: 2px; flex: none; }
.hs_recent_item strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.3;
  color: var(--hs-ink);
}
.hs_recent_item span { display: block; margin-top: 3px; font-size: 13px; color: var(--hs-copper); font-weight: 600; }

/* ---------- Recomendador ---------- */
.hs_quiz {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
@media (min-width: 992px) { .hs_quiz .hs_title { font-size: 54px; } }
.hs_quiz_intro { margin: 14px 0 30px; font-size: 16px; color: var(--hs-muted); }
.hs_quiz_step { border: 0; margin: 0 0 26px; padding: 0; }
.hs_quiz_step legend {
  margin-bottom: 12px;
  font-family: var(--hs-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--hs-ink);
}
.hs_quiz_opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hs_quiz_opt {
  position: relative;
  display: block;
  padding: 13px 14px 13px 40px;
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  background: var(--hs-paper);
  color: var(--hs-ink);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.hs_quiz_opt small { display: block; font-weight: 400; font-size: 12px; color: var(--hs-muted); margin-top: 2px; }
.hs_quiz_opt::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--hs-muted);
  background: #fff;
}
.hs_quiz_opt:hover { border-color: var(--hs-ink); }
.hs_quiz_opt[aria-pressed="true"] { border-color: var(--hs-ink); background: #fff; }
.hs_quiz_opt[aria-pressed="true"]::before { border: 5px solid var(--hs-copper); }
.hs_quiz_opt.is_wide { grid-column: 1 / -1; }
.hs_quiz_results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hs_quiz_hint {
  grid-column: 1 / -1;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 1px dashed var(--hs-line);
  border-radius: var(--hs-r);
  text-align: center;
  font-family: var(--hs-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--hs-muted);
}
.hs_quiz_hint i { display: none; }
@media (max-width: 991px) { .hs_quiz { grid-template-columns: 1fr; gap: 36px; } .hs_quiz_hint { min-height: 180px; } }
@media (max-width: 575px) {
  .hs_quiz_opts { grid-template-columns: 1fr; }
  .hs_quiz_results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hs_quiz_results .hs_card:nth-child(3) { display: none; }
}

/* ---------- Test de café (paso a paso) ---------- */
.hs_quiz_track {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hs-line);
}
.hs_quiz_track_item button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--hs-line);
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--hs-muted);
}
.hs_quiz_track_item button:disabled { cursor: default; opacity: 0.55; }
.hs_quiz_track_n {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--hs-line);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--hs-paper);
}
.hs_quiz_track_txt { min-width: 0; font-size: 14px; font-weight: 600; color: var(--hs-ink); }
.hs_quiz_track_txt small { display: block; font-size: 12px; font-weight: 400; color: var(--hs-muted); }
.hs_quiz_track_item.is_done .hs_quiz_track_n { background: var(--hs-ink); border-color: var(--hs-ink); color: var(--hs-paper); }
.hs_quiz_track_item.is_current .hs_quiz_track_n { border-color: var(--hs-copper); color: var(--hs-copper); box-shadow: 0 0 0 3px rgba(176, 112, 60, 0.15); }
.hs_quiz_track_item:not(.is_done) .hs_quiz_track_txt { color: var(--hs-muted); font-weight: 400; }
.hs_quiz_track_item button:not(:disabled):hover .hs_quiz_track_txt { text-decoration: underline; }

.hs_quiz_stage { min-height: 520px; }
.hs_test,
.hs_result {
  height: 100%;
  padding: 40px;
  background: var(--hs-paper);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  animation: hsIn 0.35s ease both;
}
.hs_test_top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hs-copper);
  white-space: nowrap;
}
.hs_test_bar { flex: 1; height: 3px; background: var(--hs-line); border-radius: 3px; overflow: hidden; }
.hs_test_bar span { display: block; height: 100%; background: var(--hs-copper); transition: width 0.4s ease; }
.hs_test_q {
  margin: 0 0 10px;
  font-family: var(--heading-font);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--hs-ink);
}
.hs_test_help { margin: 0 0 8px; font-size: 15px; color: var(--hs-muted); max-width: 520px; }
.hs_test_opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 30px;
}
.hs_test_opts.is_many { grid-template-columns: repeat(3, 1fr); }
.hs_test_opts .hs_quiz_opt { padding: 18px 16px 18px 44px; font-size: 15px; }
.hs_test_opts .hs_quiz_opt::before { top: 21px; left: 16px; }
.hs_test_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--hs-line);
}
.hs_test_back,
.hs_test_next {
  border: none;
  background: none;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--hs-ink);
  cursor: pointer;
}
.hs_test_back:disabled { opacity: 0.35; cursor: default; }
.hs_test_back:not(:disabled):hover,
.hs_test_next:hover { color: var(--hs-copper); }
.hs_test_next { margin-left: auto; color: var(--hs-copper); }

/* Resultado */
.hs_result_main {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
}
.hs_result_img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--hs-r); background: var(--hs-kraft); }
.hs_result_img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hs_result_img:hover img { transform: scale(1.04); }
.hs_result_body .hs_kicker { margin-bottom: 10px; }
.hs_result_title {
  margin: 0 0 6px;
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--hs-ink);
}
.hs_result_meta { margin: 0 0 14px; font-size: 14px; color: var(--hs-muted); }
.hs_result_score {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px;
  background: var(--hs-kraft);
  border-radius: 2px;
  font-size: 13px;
  color: var(--hs-ink);
}
.hs_result_why { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--hs-line); }
.hs_result_why li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid var(--hs-line);
  font-size: 15px;
  color: var(--hs-ink);
}
.hs_result_why li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 10px;
  font-weight: 700;
  color: var(--hs-copper);
}
.hs_result_buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hs_result_price { font-family: var(--heading-font); font-size: 28px; font-weight: 700; color: var(--hs-ink); }
.hs_result_price small { font-size: 12px; font-weight: 500; color: var(--hs-muted); }
.hs_result_alts { margin: 32px 0 8px; }
.hs_result_alts h4 { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--hs-ink); }
.hs_result_alts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.hs_result_alts li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hs-line); }
.hs_result_alts img { width: 52px; height: 52px; object-fit: cover; border-radius: 2px; flex: none; }
.hs_result_alts li > div { flex: 1; min-width: 0; }
.hs_result_alts a { display: block; font-size: 14px; font-weight: 600; color: var(--hs-ink); line-height: 1.3; }
.hs_result_alts span { display: block; margin-top: 2px; font-size: 12px; color: var(--hs-muted); }
.hs_result_alts button {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hs-ink);
  border-radius: var(--hs-r);
  background: transparent;
  color: var(--hs-ink);
  cursor: pointer;
}
.hs_result_alts button:hover { background: var(--hs-ink); color: var(--hs-paper); }
@media (max-width: 1199px) { .hs_test_opts.is_many { grid-template-columns: 1fr 1fr; } }
@media (max-width: 991px) {
  .hs_quiz_stage { min-height: 0; }
  .hs_quiz_track { display: none; }
}
@media (max-width: 767px) {
  .hs_test, .hs_result { padding: 24px 20px; }
  .hs_test_q { font-size: 26px; }
  .hs_test_opts, .hs_test_opts.is_many { grid-template-columns: 1fr; }
  .hs_result_main { grid-template-columns: 1fr; gap: 20px; }
  .hs_result_img { aspect-ratio: 16 / 11; }
  .hs_result_alts ul { grid-template-columns: 1fr; }
}

/* ---------- Caja de 3 cafés ---------- */
.hs_box { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.hs_box_list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.hs_pick {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 0 12px;
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  background: var(--hs-paper);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hs_pick:hover { border-color: var(--hs-ink); }
.hs_pick[aria-pressed="true"] { border-color: var(--hs-copper); box-shadow: inset 0 0 0 1px var(--hs-copper); }
.hs_pick img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 10px; background: var(--hs-kraft); }
.hs_pick strong {
  padding: 0 12px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--hs-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}
.hs_pick > span:last-child { padding: 4px 12px 0; font-size: 13px; font-weight: 600; color: var(--hs-copper); }
.hs_pick_check {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--hs-copper);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s;
}
.hs_pick[aria-pressed="true"] .hs_pick_check { opacity: 1; transform: none; }
.hs_pick[disabled] { opacity: 0.4; cursor: not-allowed; }
/* Recibo */
.hs_box_sum {
  position: sticky;
  top: 110px;
  padding: 28px 26px 24px;
  background: #fffdf8;
  color: var(--hs-ink);
  font-size: 14px;
  box-shadow: 0 1px 0 var(--hs-line), 0 12px 30px rgba(47, 61, 46, 0.08);
  /* borde dentado inferior, como un tiquete */
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100%;
  mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100%;
  padding-bottom: 34px;
}
.hs_receipt_head { text-align: center; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px dashed var(--hs-line); }
.hs_receipt_head strong { display: block; font-family: var(--hs-serif); font-size: 24px; letter-spacing: 0.2em; font-weight: 600; }
.hs_receipt_head span { font-size: 12px; color: var(--hs-muted); }
.hs_receipt_rows { list-style: none; margin: 0 0 12px; padding: 0; counter-reset: rc; }
.hs_receipt_rows li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 7px 0;
  font-variant-numeric: tabular-nums;
}
.hs_receipt_rows li::before {
  counter-increment: rc;
  content: "0" counter(rc);
  font-size: 12px;
  color: var(--hs-muted);
}
.hs_receipt_rows .is_empty { color: var(--hs-muted); font-style: italic; }
.hs_receipt_name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs_receipt_rows li > span:last-child { white-space: nowrap; }
.hs_receipt_line,
.hs_receipt_total {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-variant-numeric: tabular-nums;
}
.hs_receipt_line { border-top: 1px dashed var(--hs-line); color: var(--hs-muted); }
.hs_receipt_total { margin: 6px 0 18px; padding-top: 12px; border-top: 1px solid var(--hs-ink); font-weight: 700; }
.hs_receipt_total strong { font-family: var(--hs-serif); font-size: 26px; font-weight: 600; }
.hs_box_sum .hs_btn { width: 100%; }
.hs_box_reset {
  display: block;
  margin: 12px auto 0;
  border: none;
  background: none;
  font-size: 13px;
  color: var(--hs-muted);
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 991px) { .hs_box { grid-template-columns: 1fr; } .hs_box_sum { position: static; } }
@media (max-width: 575px) { .hs_box_list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Guía de preparación ---------- */
.hs_brew_methods {
  display: flex;
  gap: 0;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--hs-ink);
  border-radius: var(--hs-r);
  overflow-x: auto;
  scrollbar-width: none;
}
.hs_brew_methods::-webkit-scrollbar { display: none; }
.hs_brew_methods li { flex: 1 0 auto; }
.hs_brew_method {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-right: 1px solid var(--hs-ink);
  background: transparent;
  color: var(--hs-ink);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.hs_brew_methods li:last-child .hs_brew_method { border-right: none; }
.hs_brew_method:hover { background: var(--hs-kraft-dark); }
.hs_brew_method[aria-selected="true"] { background: var(--hs-ink); color: var(--hs-paper); }
.hs_brew {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
}
.hs_brew_main,
.hs_brew_side {
  background: var(--hs-paper);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  padding: 34px;
}
.hs_brew_main h3,
.hs_brew_side h4 {
  font-family: var(--hs-serif);
  font-weight: 500;
  color: var(--hs-ink);
}
.hs_brew_main h3 { font-size: 32px; margin: 0 0 8px; }
.hs_brew_note { margin: 0 0 26px; font-size: 16px; line-height: 1.6; color: var(--hs-muted); max-width: 520px; }
.hs_range { display: block; margin-bottom: 26px; }
.hs_range_top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--hs-ink); }
.hs_range_top output { font-family: var(--hs-serif); font-size: 22px; color: var(--hs-copper); }
.hs_range input { width: 100%; accent-color: var(--hs-copper); }
.hs_brew_facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--hs-line);
}
.hs_brew_facts div { padding: 16px 12px 4px 0; border-bottom: 1px solid var(--hs-line); }
.hs_brew_facts dt { font-size: 12px; font-weight: 500; color: var(--hs-muted); margin-bottom: 4px; }
.hs_brew_facts dd { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--hs-ink); }
.hs_brew_facts .is_big dd { font-family: var(--hs-serif); font-size: 30px; font-weight: 500; line-height: 1; }
.hs_brew_facts .is_big dd small { font-family: var(--body-font, sans-serif); font-size: 13px; color: var(--hs-muted); margin-left: 3px; }
.hs_brew_side h4 { font-size: 21px; margin: 0 0 14px; }
.hs_brew_last { list-style: none; margin: 0 0 30px; padding: 0; }
.hs_brew_last li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dotted var(--hs-line);
  font-size: 15px;
  color: var(--hs-ink);
}
.hs_brew_last b { font-family: var(--hs-serif); font-size: 20px; font-weight: 500; }
.hs_brew_picks { list-style: none; margin: 0; padding: 0; }
.hs_brew_picks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hs-line);
}
.hs_brew_picks li:last-child { border-bottom: none; }
.hs_brew_picks img { width: 52px; height: 52px; object-fit: cover; border-radius: 2px; flex: none; }
.hs_brew_picks a { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--hs-ink); line-height: 1.3; }
.hs_brew_picks a span { display: block; font-weight: 500; font-size: 13px; color: var(--hs-copper); margin-top: 2px; }
.hs_brew_picks button {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hs-ink);
  border-radius: var(--hs-r);
  background: transparent;
  color: var(--hs-ink);
  cursor: pointer;
}
.hs_brew_picks button:hover { background: var(--hs-ink); color: var(--hs-paper); }
@media (max-width: 991px) { .hs_brew { grid-template-columns: 1fr; } }
@media (max-width: 575px) {
  .hs_brew_main, .hs_brew_side { padding: 24px 20px; }
  .hs_brew_facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs_brew_main h3 { font-size: 27px; }
}

/* ---------- Modales ---------- */
.hs_modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
}
.hs_modal.is_open { visibility: visible; }
.hs_modal_bg {
  position: absolute;
  inset: 0;
  background: rgba(30, 38, 29, 0.62);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hs_modal.is_open .hs_modal_bg { opacity: 1; }
.hs_modal_box {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--hs-paper);
  border-radius: var(--hs-r);
  box-shadow: 0 30px 70px rgba(20, 26, 19, 0.3);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hs_modal.is_open .hs_modal_box { opacity: 1; transform: none; }
.hs_modal_close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  background: var(--hs-paper);
  color: var(--hs-ink);
  font-size: 16px;
  cursor: pointer;
}
.hs_modal_close:hover { background: var(--hs-ink); color: var(--hs-paper); }
.hs_split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hs_split_media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--hs-kraft) center / cover no-repeat;
}
.hs_split_media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs_split_body { padding: 46px 40px 40px; }
.hs_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hs-copper);
}
.hs_eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.hs_modal h2 {
  font-family: var(--hs-serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  color: var(--hs-ink);
}
.hs_modal h2 span { font-style: italic; font-weight: 400; color: var(--hs-copper); }
.hs_perks { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: pk; }
.hs_perks li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hs-line);
  color: var(--hs-ink);
  font-size: 15px;
  line-height: 1.45;
}
.hs_perks li::before {
  counter-increment: pk;
  content: counter(pk);
  font-family: var(--hs-serif);
  font-style: italic;
  color: var(--hs-copper);
  min-width: 12px;
}
.hs_perks i { display: none; }
.hs_modal_btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hs_modal_fine { margin: 16px 0 0; font-size: 12px; color: var(--hs-muted); }
.hs_welcome_stamp {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--hs-paper);
  border: 2px solid var(--hs-copper);
  outline: 1px dashed var(--hs-copper);
  outline-offset: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--hs-copper);
  font-family: var(--hs-serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  transform: rotate(-10deg);
}
.hs_welcome_stamp small {
  font-family: var(--body-font, sans-serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 4px 0;
}
/* Vista rápida */
.hs_qv_media { min-height: 480px; }
.hs_qv_meta { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--hs-copper); }
.hs_qv_title { font-size: 30px !important; }
.hs_qv_notes {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-family: var(--hs-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--hs-ink);
}
.hs_qv_notes li { display: inline; }
.hs_qv_notes li + li::before { content: " · "; color: var(--hs-copper); }
.hs_qv_facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hs-line);
}
.hs_qv_facts li { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--hs-line); font-size: 14px; font-weight: 600; color: var(--hs-ink); }
.hs_qv_facts small { display: block; font-size: 12px; font-weight: 400; color: var(--hs-muted); }
.hs_qv_desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hs_qv_price { font-family: var(--hs-serif); font-size: 34px; font-weight: 500; color: var(--hs-ink); margin-bottom: 2px; }
.hs_qv_price small { font-family: var(--body-font, sans-serif); font-size: 13px; color: var(--hs-muted); }
.hs_qv_ship { display: block; font-size: 13px; color: var(--hs-muted); margin-bottom: 18px; }
.hs_qv_ship i { display: none; }
.hs_qv_buy { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.hs_qty { display: inline-flex; align-items: center; border: 1px solid var(--hs-line); border-radius: var(--hs-r); }
.hs_qty button { width: 40px; height: 48px; border: none; background: transparent; color: var(--hs-ink); cursor: pointer; }
.hs_qty button:hover { background: var(--hs-kraft); }
.hs_qty output { min-width: 28px; text-align: center; font-weight: 700; color: var(--hs-ink); }
.hs_qv_buy .hs_btn { flex: 1; }
.hs_qv_buy .hs_btn i { display: none; }
.hs_qv_link { font-size: 14px; font-weight: 600; color: var(--hs-ink); border-bottom: 1px solid currentColor; }
@media (max-width: 767px) {
  .hs_split { grid-template-columns: 1fr; }
  .hs_split_media { aspect-ratio: 16 / 10; min-height: 0; }
  .hs_qv_media { aspect-ratio: 16 / 11; min-height: 0; }
  .hs_split_body { padding: 28px 22px; }
  .hs_modal h2 { font-size: 28px; }
  .hs_welcome_stamp { width: 96px; height: 96px; font-size: 28px; }
}
/* Salida */
.hs_exit .hs_modal_box { max-width: 470px; text-align: center; }
.hs_exit_body { padding: 46px 34px 34px; }
.hs_exit_body p { color: var(--hs-muted); }
.hs_exit_icon { display: none; }
.hs_exit_items { display: flex; justify-content: center; margin: 0 0 20px; }
.hs_exit_items img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 2px;
  border: 3px solid var(--hs-paper);
  margin-left: -10px;
  transform: rotate(-4deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.hs_exit_items img:nth-child(even) { transform: rotate(5deg); }
.hs_exit_items img:first-child { margin-left: 0; }
.hs_exit .hs_modal_btns { justify-content: center; }
.hs_exit .hs_eyebrow::before { display: none; }

/* ---------- Avisos ---------- */
.hs_notice {
  position: fixed;
  left: 24px;
  bottom: 92px;
  z-index: 9995;
  width: 340px;
  max-width: calc(100vw - 32px);
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 38px 12px 12px;
  border: 1px solid var(--hs-line);
  border-left: 3px solid var(--hs-copper);
  border-radius: var(--hs-r);
  background: var(--hs-paper);
  box-shadow: 0 14px 34px rgba(30, 38, 29, 0.16);
  color: var(--hs-ink);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.35s ease;
}
.hs_notice:hover { color: var(--hs-ink); }
.hs_notice.is_shown { opacity: 1; visibility: visible; transform: none; }
.hs_notice_media {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 2px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--hs-kraft);
  color: var(--hs-copper);
  font-size: 19px;
}
.hs_notice_media img { width: 100%; height: 100%; object-fit: cover; }
.hs_notice_text { min-width: 0; }
.hs_notice_text small { display: block; font-size: 12px; font-weight: 600; color: var(--hs-copper); }
.hs_notice_text strong { display: block; font-size: 14px; line-height: 1.3; margin: 1px 0 2px; }
.hs_notice_text span { display: block; font-size: 13px; line-height: 1.35; color: var(--hs-muted); }
.hs_notice_close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: var(--hs-muted);
  cursor: pointer;
}
.hs_notice_close:hover { color: var(--hs-ink); }
.hs_notice_timer { display: none; }
@media (max-width: 575px) { .hs_notice { left: 16px; right: 16px; width: auto; bottom: 80px; } }

/* Subtítulos con el mismo peso que los títulos de la plantilla */
.hs_promo h3,
.hs_quiz_step legend,
.hs_recent_head h3,
.hs_brew_main h3,
.hs_brew_side h4,
.hs_modal h2,
.hs_bell_head { font-weight: 600; letter-spacing: 0; }
.hs_modal h2 span,
.hs_qv_notes,
.hs_quiz_hint,
.hs_empty,
.hs_ticker_track span { font-style: normal; }

/* ---------- Animaciones ---------- */
@keyframes hsTicker { to { transform: translateX(-50%); } }
@keyframes hsIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes hsPop { 0% { transform: scale(0.7); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hs_ticker_track, .hs_card { animation: none; }
}

/* ---------- Test de café: versión con tarjetas ---------- */
#hsQuiz { position: relative; background: linear-gradient(180deg, var(--hs-paper) 0%, #f3ebdd 100%); overflow: hidden; }
#hsQuiz::before {
  content: ""; position: absolute; left: -160px; bottom: -180px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 112, 60, 0.12), transparent 70%); pointer-events: none;
}
#hsQuiz .container { position: relative; }
.hs_quiz_perks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 28px; padding: 0; }
.hs_quiz_perks li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 30px;
  background: #fff; border: 1px solid var(--hs-line); font-size: 13px; font-weight: 600; color: var(--hs-ink);
}
.hs_quiz_perks i { color: var(--hs-copper); }
.hs_quiz_track { border-top: 0; }
.hs_quiz_track_item button { padding: 11px 12px; margin-bottom: 4px; border: 1px solid transparent; border-radius: 10px; }
.hs_quiz_track_item.is_current button { background: #fff; border-color: var(--hs-line); box-shadow: 0 6px 18px rgba(47, 61, 46, 0.06); }
.hs_quiz_track_item.is_done .hs_quiz_track_n { background: var(--hs-copper); border-color: var(--hs-copper); color: #fff; }

.hs_test, .hs_result {
  padding: 36px 40px; background: #fff; border: 0; border-radius: 22px;
  box-shadow: 0 1px 0 rgba(47, 61, 46, 0.04), 0 24px 60px -18px rgba(47, 61, 46, 0.22);
}
.hs_test_top { gap: 14px; margin-bottom: 26px; }
.hs_test_count { font-size: 13px; color: var(--hs-muted); font-weight: 600; }
.hs_test_count b { font-size: 18px; color: var(--hs-copper); }
.hs_test_bar { height: 8px; border-radius: 8px; background: #f0e8da; }
.hs_test_bar span { border-radius: 8px; background: linear-gradient(90deg, #c9874f, var(--hs-copper)); }
.hs_test_time { font-size: 12.5px; color: var(--hs-muted); font-weight: 600; }
.hs_test_q { font-size: 32px; }

.hs_test_opts { gap: 12px; }
.hs_test_opts .hs_quiz_opt {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 16px; border: 1.5px solid #ece4d6; border-radius: 16px; background: #fffdf9; font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.hs_test_opts .hs_quiz_opt::before { display: none; }
.hs_test_opts .hs_quiz_opt:hover { border-color: var(--hs-copper); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(176, 112, 60, 0.6); }
.hs_test_opts .hs_quiz_opt:focus-visible { outline: 3px solid rgba(176, 112, 60, 0.35); outline-offset: 2px; }
.hs_test_opts .hs_quiz_opt[aria-pressed="true"] { border-color: var(--hs-copper); background: #fbf3ea; box-shadow: 0 0 0 3px rgba(176, 112, 60, 0.15); }
.hs_opt_icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: #f4ece0; color: var(--hs-copper); font-size: 18px; transition: background 0.2s, color 0.2s;
}
.hs_quiz_opt[aria-pressed="true"] .hs_opt_icon, .hs_test_opts .hs_quiz_opt:hover .hs_opt_icon { background: var(--hs-copper); color: #fff; }
.hs_opt_text { min-width: 0; font-weight: 700; color: var(--hs-ink); line-height: 1.3; }
.hs_opt_text small { margin-top: 3px; font-size: 12.5px; font-weight: 400; }
.hs_opt_check {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--hs-line);
  color: transparent; font-size: 11px; transition: all 0.2s;
}
.hs_quiz_opt[aria-pressed="true"] .hs_opt_check { background: var(--hs-copper); border-color: var(--hs-copper); color: #fff; animation: hsPop 0.3s ease; }
.hs_test_opts.is_many .hs_quiz_opt { grid-template-columns: auto minmax(0, 1fr); }
.hs_test_opts.is_many .hs_opt_check { display: none; }
.hs_test_nav { border-top-color: #f0e8da; }

/* Resultado */
.hs_result_img { position: relative; border-radius: 16px; }
.hs_result_match {
  --m: 0; position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; align-content: center;
  width: 84px; height: 84px; border-radius: 50%; color: var(--hs-ink); text-align: center; line-height: 1;
  background: radial-gradient(closest-side, #fff 80%, transparent 81% 100%), conic-gradient(var(--hs-copper) calc(var(--m) * 1%), #ead9c4 0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.hs_result_match b { font-size: 20px; }
.hs_result_match small { margin-top: 3px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--hs-muted); }
.hs_result_body .hs_kicker i { margin-right: 4px; }
.hs_result_score { border-radius: 30px; padding: 6px 14px; background: #f4ece0; }
.hs_result_why { border-top: 0; display: grid; gap: 8px; }
.hs_result_why li { display: flex; gap: 10px; align-items: flex-start; padding: 0; border: 0; font-size: 14.5px; }
.hs_result_why li::before { display: none; }
.hs_result_why li i {
  flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: #e7f0e3; color: #2f6b3f; font-size: 10px;
}
.hs_result_alts img { border-radius: 10px; }
.hs_result_alts button { border-radius: 50%; }
.hs_result_save:empty { display: none; }
.hs_result_save {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin: 22px 0 6px;
  padding: 14px 16px; border-radius: 14px; background: #f7f1e7; border: 1px dashed #dcc7a8; font-size: 14px; color: var(--hs-ink);
}
.hs_result_save > i { font-size: 20px; color: var(--hs-copper); }
.hs_result_save > .fa-circle-check { color: #2f6b3f; }
.hs_btn.hs_btn_sm { padding: 9px 16px; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 767px) {
  .hs_test, .hs_result { padding: 24px 18px; border-radius: 18px; }
  .hs_result_save { grid-template-columns: auto minmax(0, 1fr); }
  .hs_result_save .hs_btn { grid-column: 1 / -1; }
  .hs_test_time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hs_test_opts .hs_quiz_opt, .hs_quiz_opt[aria-pressed="true"] .hs_opt_check { transition: none; animation: none; transform: none; }
}


/* ---------- Test de café v2: cabecera verde, tarjetas grandes y dato ---------- */
.hs_test { padding: 0 !important; overflow: hidden; }
.hs_test_head {
  position: relative; padding: 30px 36px 30px; color: #fff;
  background:
    linear-gradient(135deg, rgba(31, 43, 30, 0.96), rgba(55, 72, 54, 0.92)),
    url("../img/roasted_coffee_beans.png") center 40% / cover no-repeat, #2f3d2e;
}
.hs_test_head::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 166, 107, 0.35), transparent 70%); pointer-events: none;
}
.hs_test_meta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hs_test_chip {
  padding: 5px 12px; border-radius: 30px; font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  color: #2a1a0b; background: linear-gradient(135deg, #f6dcb4, #d9a66b);
}
.hs_test_head .hs_test_time { color: rgba(255, 255, 255, 0.72); font-size: 12.5px; font-weight: 600; }
.hs_test_dots { position: relative; z-index: 1; display: flex; gap: 6px; margin: 18px 0 16px; }
.hs_test_dots span { flex: 1; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.16); transition: background 0.3s; }
.hs_test_dots span.is_done { background: #d9a66b; }
.hs_test_dots span.is_on { background: linear-gradient(90deg, #d9a66b 50%, rgba(255, 255, 255, 0.35) 50%); }
.hs_test_head .hs_test_q { position: relative; z-index: 1; margin: 0; color: #fff; font-size: 30px; }
.hs_test_head .hs_test_help { position: relative; z-index: 1; margin: 8px 0 0; color: rgba(255, 255, 255, 0.75); }

.hs_test_body { padding: 26px 32px 26px; }
.hs_test_body .hs_test_opts { margin: 0 0 18px; gap: 12px; }
.hs_test_body .hs_test_opts .hs_quiz_opt {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 148px;
  padding: 18px 18px 16px; border: 1.5px solid #ece4d6; border-radius: 18px; background: #fffdf9; text-align: left;
}
.hs_test_body .hs_test_opts.is_many .hs_quiz_opt { min-height: 132px; }
.hs_test_body .hs_opt_icon { width: 52px; height: 52px; border-radius: 15px; font-size: 21px; }
.hs_test_body .hs_opt_text { font-size: 15.5px; }
.hs_test_body .hs_opt_text small { font-size: 13px; color: var(--hs-muted); }
.hs_test_body .hs_opt_check { position: absolute; top: 14px; right: 14px; }
.hs_test_body .hs_test_opts.is_many .hs_opt_check { display: grid; }
.hs_test_body .hs_test_opts .hs_quiz_opt[aria-pressed="true"] { background: linear-gradient(180deg, #fff7ee, #fbefe1); }

.hs_test_fact {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 14px;
  background: #f6f1e8; font-size: 13.5px; line-height: 1.45; color: var(--hs-ink);
}
.hs_test_fact i { margin-top: 2px; color: var(--hs-copper); }
.hs_test_fact b { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--hs-copper); }
.hs_test_body .hs_test_nav { align-items: center; padding-top: 16px; }
.hs_test_body .hs_test_back { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 30px; }
.hs_test_body .hs_test_back:not(:disabled):hover { background: #f6f1e8; }
.hs_test_body .hs_test_next {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 30px; border: 0;
  background: var(--hs-ink); color: #fff; font-weight: 700;
}
.hs_test_body .hs_test_next:hover { background: var(--hs-copper); color: #fff; }
.hs_test_tip { font-size: 13px; color: var(--hs-muted); }

/* Recorrido de la izquierda: línea que une los pasos */
.hs_quiz_track { position: relative; }
.hs_quiz_track::before { content: ""; position: absolute; left: 25px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--hs-copper), var(--hs-line)); opacity: 0.45; }
.hs_quiz_track_item { position: relative; }
.hs_quiz_track_n { position: relative; z-index: 1; }

@media (max-width: 767px) {
  .hs_test_head { padding: 22px 20px; }
  .hs_test_head .hs_test_q { font-size: 23px; }
  .hs_test_body { padding: 18px 16px; }
  .hs_test_body .hs_test_opts, .hs_test_body .hs_test_opts.is_many { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hs_test_body .hs_test_opts .hs_quiz_opt { min-height: 132px; padding: 14px; }
  .hs_test_body .hs_opt_icon { width: 44px; height: 44px; font-size: 18px; }
  .hs_test_body .hs_opt_text { font-size: 14px; }
}
@media (max-width: 380px) { .hs_test_body .hs_test_opts, .hs_test_body .hs_test_opts.is_many { grid-template-columns: 1fr; } .hs_test_body .hs_test_opts .hs_quiz_opt { min-height: 0; } }


/* Izquierda del test: composición de cafés y elecciones (reemplaza la lista de preguntas) */
.hs_quiz_track, .hs_quiz_track::before { display: none; }
.hs_quiz_visual { position: relative; height: 330px; margin: 6px 0 22px; }
.hs_qv_bag {
  position: absolute; bottom: 0; width: 46%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px;
  box-shadow: 0 22px 44px -18px rgba(47, 61, 46, 0.45); border: 4px solid #fff;
}
.hs_qv_bag.is_left { left: 0; transform: rotate(-8deg) translateY(-6px); }
.hs_qv_bag.is_right { right: 0; transform: rotate(8deg) translateY(-6px); }
.hs_qv_bag.is_center { left: 27%; z-index: 2; bottom: 18px; width: 50%; transform: none; }
.hs_qv_badge {
  position: absolute; z-index: 3; right: 2%; top: 4px; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.35;
  color: #fff; background: linear-gradient(135deg, #2f3d2e, #3f5340); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.45);
}
.hs_qv_badge b { color: #f1d2a4; }
.hs_quiz_picks:empty { display: none; }
.hs_choices_label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hs-copper); }
.hs_choices { display: flex; flex-wrap: wrap; gap: 8px; }
.hs_choice {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 30px; border: 1px solid var(--hs-line);
  background: #fff; color: var(--hs-ink); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.hs_choice i { color: var(--hs-copper); font-size: 12px; }
.hs_choice:hover, .hs_choice.is_on { border-color: var(--hs-copper); background: #fbf3ea; }
@media (max-width: 991px) {
  .hs_quiz_visual { display: none; }
  .hs_quiz_picks { display: none; }
}


/* ---------- Arma tu caja v2 ---------- */
#hsBox { position: relative; overflow: hidden; background: linear-gradient(180deg, #efe6d6 0%, #f5eee2 100%); }
#hsBox::after {
  content: ""; position: absolute; right: -180px; top: -120px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 112, 60, 0.12), transparent 70%); pointer-events: none;
}
#hsBox .container { position: relative; z-index: 1; }
.hs_lead b { color: var(--hs-ink); }
.hs_bx_bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.hs_bx_filters { display: flex; flex-wrap: wrap; gap: 8px; }
.hs_bx_chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 30px; border: 1px solid var(--hs-line);
  background: #fffdf8; color: var(--hs-ink); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.hs_bx_chip i { color: var(--hs-copper); font-size: 12px; }
.hs_bx_chip:hover { border-color: var(--hs-copper); }
.hs_bx_chip[aria-pressed="true"] { background: var(--hs-ink); border-color: var(--hs-ink); color: #fff; }
.hs_bx_chip[aria-pressed="true"] i { color: #f1d2a4; }
.hs_bx_surprise {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; border: 1px dashed var(--hs-copper);
  background: transparent; color: var(--hs-copper); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.hs_bx_surprise:hover { background: var(--hs-copper); color: #fff; border-style: solid; }
.hs_bx_surprise:hover i { animation: hsPop 0.4s ease; }

.hs_box_list { grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 16px; }
.hs_box_list[data-empty]::before { content: attr(data-empty); grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--hs-muted); }
.hs_bx_card {
  position: relative; display: flex; flex-direction: column; padding: 0; border: 1.5px solid transparent; border-radius: 18px;
  background: #fffdf8; text-align: left; overflow: hidden; cursor: pointer;
  box-shadow: 0 1px 0 rgba(47, 61, 46, 0.05), 0 10px 26px -18px rgba(47, 61, 46, 0.35);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.2s;
}
.hs_bx_card[hidden] { display: none; }
.hs_bx_card:not([disabled]):hover { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(47, 61, 46, 0.45); }
.hs_bx_card:focus-visible { outline: 3px solid rgba(176, 112, 60, 0.4); outline-offset: 2px; }
.hs_bx_card[aria-pressed="true"] { border-color: var(--hs-copper); box-shadow: 0 0 0 3px rgba(176, 112, 60, 0.18), 0 18px 34px -18px rgba(176, 112, 60, 0.6); }
.hs_bx_card[disabled] { cursor: not-allowed; }
.hs_bx_card[disabled] .hs_bx_img img, .hs_bx_card[disabled] .hs_bx_body { opacity: 0.45; }
.hs_bx_img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--hs-kraft); }
.hs_bx_img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hs_bx_card:not([disabled]):hover .hs_bx_img img { transform: scale(1.06); }
.hs_bx_region {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  color: #fff; background: rgba(31, 43, 30, 0.78); backdrop-filter: blur(6px);
}
.hs_bx_region i { margin-right: 3px; color: #f1d2a4; }
.hs_bx_num {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--hs-copper); color: #fff; font-size: 15px; font-weight: 800; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  opacity: 0; transform: scale(0.6); transition: all 0.25s;
}
.hs_bx_card[aria-pressed="true"] .hs_bx_num { opacity: 1; transform: none; animation: hsPop 0.35s ease; }
.hs_bx_taken:empty { display: none; }
.hs_bx_taken {
  position: absolute; inset: auto 8px 44px; padding: 6px 8px; border-radius: 10px; text-align: center; font-size: 11.5px; font-weight: 600;
  color: var(--hs-ink); background: rgba(255, 253, 248, 0.94);
}
.hs_bx_body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 12px 14px 14px; }
.hs_bx_body strong {
  font-size: 13.5px; line-height: 1.3; color: var(--hs-ink); min-height: 35px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hs_bx_notes { display: flex; flex-wrap: wrap; gap: 4px; }
.hs_bx_notes em { padding: 2px 8px; border-radius: 20px; background: #f4ece0; font-style: normal; font-size: 11px; color: #7a5531; }
.hs_bx_foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.hs_bx_foot b { font-size: 15px; color: var(--hs-ink); }
.hs_bx_add {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--hs-line);
  color: var(--hs-ink); font-size: 12px; transition: all 0.2s;
}
.hs_bx_card:not([disabled]):hover .hs_bx_add { background: var(--hs-ink); border-color: var(--hs-ink); color: #fff; }
.hs_bx_card[aria-pressed="true"] .hs_bx_add { background: var(--hs-copper); border-color: var(--hs-copper); color: #fff; }
.hs_bx_card[aria-pressed="true"] .hs_bx_add i::before { content: "\f00c"; }

/* La caja: tapa con el logo y tres espacios */
.hs_box_sum { border-radius: 18px 18px 0 0; }
.hs_bx_crate { margin: -6px -4px 16px; padding: 14px; border-radius: 16px; background: linear-gradient(160deg, #c9965f, #a8723f); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.25), inset 0 -6px 14px rgba(0, 0, 0, 0.15); }
.hs_bx_crate_lid { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; color: #fff8ec; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.hs_bx_crate_lid img { width: 28px; height: 28px; }
.hs_bx_slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hs_bx_slot {
  position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 10px; border: 2px dashed rgba(255, 248, 236, 0.55);
  background: rgba(0, 0, 0, 0.1); color: rgba(255, 248, 236, 0.75); font-size: 22px; overflow: hidden;
}
.hs_bx_slot.is_full { padding: 0; border: 2px solid #fff8ec; background: #fff; cursor: pointer; animation: hsPop 0.35s ease; }
.hs_bx_slot.is_full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs_bx_slot.is_full span {
  position: absolute; left: 4px; right: 4px; bottom: 4px; padding: 2px 4px; border-radius: 6px; font-size: 10px; font-weight: 700;
  color: #fff; background: rgba(31, 43, 30, 0.8); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hs_bx_slot.is_full i {
  position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(31, 43, 30, 0.8); color: #fff; font-size: 10px; opacity: 0; transition: opacity 0.2s;
}
.hs_bx_slot.is_full:hover i, .hs_bx_slot.is_full:focus-visible i { opacity: 1; }
.hs_bx_progress { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--hs-ink); }
.hs_bx_progress span:last-child { color: var(--hs-copper); }
.hs_bx_meter { height: 6px; margin: 8px 0 14px; border-radius: 6px; background: #efe6d6; overflow: hidden; }
.hs_bx_meter span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #d9a66b, var(--hs-copper)); transition: width 0.35s ease; }
.hs_receipt_line i { width: 16px; margin-right: 4px; color: var(--hs-copper); }
.hs_receipt_line span:last-child { font-weight: 600; color: var(--hs-ink); }
.hs_box_sum .hs_btn { border-radius: 30px; }
.hs_box_sum .hs_btn:not([disabled]) { background: var(--hs-copper); border-color: var(--hs-copper); box-shadow: 0 12px 24px -12px rgba(176, 112, 60, 0.8); }
.hs_box_sum .hs_btn:not([disabled]):hover { background: var(--hs-ink); border-color: var(--hs-ink); }

/* Celular: barra fija con el avance de la caja */
.hs_bx_mobile { display: none; }
@media (max-width: 991px) {
  .hs_bx_mobile:not([hidden]) {
    position: sticky; bottom: 14px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 18px; padding: 10px 10px 10px 18px; border-radius: 40px; background: var(--hs-ink); color: #fff;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45);
  }
  .hs_bx_mobile strong { display: block; font-size: 14px; }
  .hs_bx_mobile span { font-size: 12.5px; color: #f1d2a4; }
  .hs_bx_mobile .hs_btn { background: var(--hs-copper); border-color: var(--hs-copper); border-radius: 30px; }
}
@media (max-width: 575px) {
  .hs_box_list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hs_bx_body { padding: 10px 11px 12px; }
  .hs_bx_notes em:nth-child(2) { display: none; }
  .hs_bx_bar { flex-direction: column; align-items: stretch; }
  .hs_bx_filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .hs_bx_filters::-webkit-scrollbar { display: none; }
  .hs_bx_chip { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hs_bx_card, .hs_bx_img img, .hs_bx_num, .hs_bx_slot.is_full { transition: none; animation: none; transform: none; }
}
/* La columna de cafés puede encogerse (la fila de filtros no debe ensanchar la cuadrícula) */
.hs_box > div { min-width: 0; }
@media (max-width: 991px) { .hs_box { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Guía de preparación v2 ---------- */
#hsBrew { background: linear-gradient(180deg, var(--hs-paper) 0%, #f3ecdf 100%); }
.hs_brew_methods { gap: 10px; border: 0; background: none; overflow-x: auto; padding: 4px 2px 8px; margin-bottom: 18px; }
.hs_brew_methods li { flex: 1 0 auto; }
.hs_brew_method {
  display: flex !important; align-items: center; gap: 12px; width: 100%; padding: 12px 16px !important; border: 1.5px solid #e8dfcf !important;
  border-radius: 16px; background: #fffdf8 !important; color: var(--hs-ink) !important; text-align: left; transition: all 0.2s;
}
.hs_brew_method:hover { border-color: var(--hs-copper) !important; transform: translateY(-2px); }
.hs_brew_method[aria-selected="true"] { background: var(--hs-ink) !important; border-color: var(--hs-ink) !important; color: #fff !important; box-shadow: 0 14px 26px -14px rgba(47, 61, 46, 0.7); }
.hs_bw_tab_icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: #f4ece0; color: var(--hs-copper); }
.hs_brew_method[aria-selected="true"] .hs_bw_tab_icon { background: rgba(255, 255, 255, 0.12); color: #f1d2a4; }
.hs_bw_tab_text { font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.hs_bw_tab_text small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; opacity: 0.7; }

.hs_brew { gap: 22px; }
.hs_brew_main, .hs_brew_side {
  border: 0 !important; border-radius: 22px; background: #fff !important;
  box-shadow: 0 1px 0 rgba(47, 61, 46, 0.04), 0 24px 54px -26px rgba(47, 61, 46, 0.35);
}
.hs_brew_main h3 { display: flex; align-items: center; gap: 14px; }
.hs_bw_title_icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #c9874f, var(--hs-copper)); color: #fff; font-size: 21px; }
.hs_brew_note { display: flex; gap: 12px; align-items: flex-start; max-width: none; padding: 14px 16px; border-radius: 14px; background: #f6f1e8; font-size: 14.5px; color: var(--hs-ink); }
.hs_brew_note > i { margin-top: 3px; color: var(--hs-copper); font-size: 17px; }
.hs_brew_note b { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--hs-copper); }

.hs_bw_cups { margin-bottom: 22px; }
.hs_bw_cups_top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 14px; font-weight: 700; color: var(--hs-ink); }
.hs_bw_stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 30px; background: #f4ece0; }
.hs_bw_stepper button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; color: var(--hs-ink); cursor: pointer; transition: all 0.2s; }
.hs_bw_stepper button:hover { background: var(--hs-ink); color: #fff; }
.hs_bw_stepper output { min-width: 34px; text-align: center; font-family: var(--hs-serif); font-size: 20px; font-weight: 700; color: var(--hs-copper); }
.hs_bw_mugs { display: flex; gap: 8px; margin-bottom: 12px; font-size: 20px; }
.hs_bw_mugs i { color: #e7ddcb; transition: color 0.2s, transform 0.2s; }
.hs_bw_mugs i.is_on { color: var(--hs-copper); transform: translateY(-2px); }

/* Deslizadores con relleno cobre */
#hsBrew input[type="range"] {
  --fill: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, var(--hs-copper) var(--fill), #ece4d6 var(--fill));
}
#hsBrew input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--hs-copper);
  box-shadow: 0 4px 10px rgba(176, 112, 60, 0.4);
}
#hsBrew input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--hs-copper); }
#hsBrew input[type="range"]:focus-visible { outline: 3px solid rgba(176, 112, 60, 0.35); outline-offset: 6px; }

.hs_brew_facts { gap: 10px; border: 0; }
.hs_brew_facts div { padding: 14px 14px 12px; border: 0; border-radius: 14px; background: #faf6ef; }
.hs_brew_facts div.is_big { background: linear-gradient(160deg, #2f3d2e, #3f5340); color: #fff; }
.hs_brew_facts dt { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.hs_brew_facts dt i { color: var(--hs-copper); }
.hs_brew_facts .is_big dt { color: rgba(255, 255, 255, 0.7); }
.hs_brew_facts .is_big dt i { color: #f1d2a4; }
.hs_brew_facts .is_big dd { margin: 6px 0 4px; color: #fff; font-size: 34px; }
.hs_brew_facts .is_big dd small { color: rgba(255, 255, 255, 0.65); }
.hs_brew_facts .is_big > span { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.hs_brew_facts dd { margin: 4px 0 0; font-size: 14px; }

.hs_brew_last li { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 0 !important; }
.hs_bw_bag { font-size: 14px; color: var(--hs-ink); }
.hs_bw_bag i { margin-right: 6px; color: var(--hs-copper); }
.hs_bw_bar { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: #f0e8da; overflow: hidden; }
.hs_bw_bar span { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #d9a66b, var(--hs-copper)); transition: width 0.4s ease; }

.hs_brew_picks li { gap: 14px; padding: 12px 0; }
.hs_brew_picks img { width: 64px; height: 64px; border-radius: 12px; }
.hs_brew_picks a { font-size: 14px; }
.hs_brew_picks a b { display: block; margin-top: 4px; font-size: 14px; color: var(--hs-ink); }
.hs_bw_notes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.hs_bw_notes em { padding: 1px 8px; border-radius: 20px; background: #f4ece0; font-style: normal; font-size: 11px; font-weight: 500; color: #7a5531; }
.hs_brew_picks button {
  width: auto !important; height: auto !important; padding: 8px 14px; border-radius: 30px !important; border: 1.5px solid var(--hs-ink) !important;
  font-size: 12.5px; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
}
@media (max-width: 575px) {
  .hs_bw_tab_text small { display: none; }
  .hs_brew_facts .is_big dd { font-size: 26px; }
  .hs_bw_mugs { font-size: 17px; gap: 6px; }
  .hs_brew_picks button { padding: 8px 10px; }
}

/* ---------- Avisos ---------- */
.hs_notice {
  left: 24px; bottom: 96px; width: 360px; padding: 14px 40px 18px 14px; overflow: hidden;
  border: 0; border-radius: 18px; background: #fff;
  box-shadow: 0 1px 0 rgba(47, 61, 46, 0.05), 0 22px 50px -18px rgba(30, 38, 29, 0.45);
  transform: translateY(16px) scale(0.98);
}
.hs_notice.is_shown { transform: none; }
.hs_notice_media { width: 56px !important; height: 56px !important; border-radius: 14px !important; background: linear-gradient(135deg, #f6dcb4, #d9a66b) !important; color: #2a1a0b !important; font-size: 22px !important; }
.hs_notice_media img { border-radius: 14px; }
.hs_notice_text small {
  display: inline-block !important; padding: 2px 9px; margin-bottom: 4px; border-radius: 20px; font-size: 10.5px !important;
  letter-spacing: 0.6px; text-transform: uppercase; background: #f4ece0; color: var(--hs-copper) !important;
}
.hs_notice_text strong { font-size: 14.5px !important; }
.hs_notice_cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: var(--hs-copper); }
.hs_notice:hover .hs_notice_cta i { transform: translateX(3px); }
.hs_notice_cta i { transition: transform 0.2s; }
.hs_notice_close { top: 10px !important; right: 10px !important; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #f6f1e8; }
.hs_notice_timer { display: block !important; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #f0e8da; }
.hs_notice_timer span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #d9a66b, var(--hs-copper)); transform-origin: left; }
.hs_notice.is_shown .hs_notice_timer span { animation: hsNoticeTimer 7s linear forwards; }
.hs_notice:hover .hs_notice_timer span { animation-play-state: paused; }
@keyframes hsNoticeTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 575px) { .hs_notice { left: 12px; right: 12px; width: auto; bottom: 84px; } }

/* ---------- Botón flotante "Comprar café" ---------- */
body .cs_shop_float {
  display: inline-flex !important; align-items: center; gap: 10px; padding: 8px 10px 8px 8px !important; border-radius: 40px !important;
  background: linear-gradient(135deg, #2f3d2e, #3f5340) !important; color: #fff !important; font-weight: 700; letter-spacing: 0.2px;
  box-shadow: 0 16px 34px -12px rgba(30, 38, 29, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(241, 210, 164, 0.25) !important; transition: opacity 0.3s, transform 0.25s, box-shadow 0.2s !important;
}
body .cs_shop_float > i {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #f6dcb4, #d9a66b); color: #2a1a0b; font-size: 15px;
}
body .cs_shop_float:hover { transform: translateY(-3px); background: linear-gradient(135deg, #3a4b39, #4b6150) !important; box-shadow: 0 20px 40px -12px rgba(30, 38, 29, 0.7) !important; }
body .cs_shop_float .cs_btn_bag_count {
  display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; margin-left: 2px; border-radius: 20px !important;
  background: var(--hs-copper) !important; color: #fff !important; font-size: 12.5px; font-weight: 800;
}
@media (prefers-reduced-motion: reduce) { .hs_notice.is_shown .hs_notice_timer span { animation: none; } }

#hsBrew .hs_brew { align-items: start; }


/* Celular: el aviso flotante es compacto para no tapar la página */
@media (max-width: 575px) {
  .hs_notice { padding: 10px 40px 12px 10px !important; gap: 10px !important; border-radius: 16px !important; bottom: 78px; }
  .hs_notice_media { width: 44px !important; height: 44px !important; border-radius: 12px !important; font-size: 18px !important; }
  .hs_notice_text small { font-size: 10px !important; padding: 2px 8px !important; }
  .hs_notice_text strong { font-size: 13.5px !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hs_notice_text > span { display: none !important; }
  .hs_notice_cta { margin-top: 2px; font-size: 12px; }
  .hs_notice_close { top: 8px !important; right: 8px !important; }
}
/* Celulares pequeños (320 px): el bloque de preparación no se sale de la pantalla */
@media (max-width: 991px) { .hs_brew { grid-template-columns: minmax(0, 1fr); } .hs_brew_main, .hs_brew_side { min-width: 0; } }
@media (max-width: 360px) {
  .hs_brew_main, .hs_brew_side { padding: 20px 14px; }
  .hs_bw_cups_top { flex-wrap: wrap; gap: 8px; }
}

/* ---------- Cómo comprar: pasos conectados ---------- */
.hs_how { background: #e3ebe2; }
.hs_how .hs_head { border-bottom-color: rgba(47, 61, 46, 0.15); }
.hs_how_aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 420px; }
.hs_how_steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Línea que une los cuatro íconos */
.hs_how_steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 32px;
  right: calc(25% - 24px);
  border-top: 2px dashed rgba(176, 112, 60, 0.45);
}
.hs_how_step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-right: 8px;
}
.hs_how_icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--hs-paper);
  border: 2px solid var(--hs-copper);
  color: var(--hs-copper);
  font-size: 22px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.hs_how_step.is_last .hs_how_icon { background: var(--hs-ink); border-color: var(--hs-ink); color: var(--hs-paper); }
.hs_how_step:hover .hs_how_icon { background: var(--hs-copper); color: #fff; transform: translateY(-4px); }
.hs_how_num {
  font-family: var(--hs-serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(47, 61, 46, 0.35);
}
.hs_how_step h3 { margin: 0 0 10px; font-size: 22px; color: var(--hs-ink); }
.hs_how_step p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--hs-muted); }
.hs_how_link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--hs-copper);
  text-decoration: none;
  cursor: pointer;
}
.hs_how_link i { font-size: 11px; transition: transform 0.2s; }
.hs_how_link:hover { color: var(--hs-ink); }
.hs_how_link:hover i { transform: translateX(4px); }
.hs_how_trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  margin: 56px 0 0;
  padding: 22px 28px;
  list-style: none;
  border-radius: var(--hs-r);
  background: var(--hs-ink);
  color: var(--hs-paper);
  font-size: 14px;
  font-weight: 600;
}
.hs_how_trust li { display: inline-flex; align-items: center; gap: 10px; }
.hs_how_trust i { color: #d9a877; }
@media (max-width: 991px) {
  .hs_how_steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .hs_how_steps::before { display: none; }
  .hs_how_trust { justify-content: flex-start; }
}
@media (max-width: 575px) {
  .hs_how_steps { grid-template-columns: 1fr; row-gap: 0; }
  /* En móvil los pasos van en columna, unidos por una línea vertical */
  .hs_how_step { padding: 0 0 36px 84px; }
  .hs_how_step::before {
    content: "";
    position: absolute;
    top: 64px;
    bottom: 0;
    left: 31px;
    border-left: 2px dashed rgba(176, 112, 60, 0.45);
  }
  .hs_how_step.is_last { padding-bottom: 0; }
  .hs_how_step.is_last::before { display: none; }
  .hs_how_icon { position: absolute; left: 0; top: 0; margin: 0; }
  .hs_how_num { font-size: 36px; }
  .hs_how_trust { flex-direction: column; margin-top: 40px; }
}
