/* HARDY — Panel lateral «Agregado al carrito» (recorrido de Hawkers). */

html.hardy-sin-scroll { overflow: hidden; }

.hardy-cajon { position: fixed; inset: 0; z-index: 1200; pointer-events: none; }
.hardy-cajon.on { pointer-events: auto; }
.hardy-cajon__velo {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
}
.hardy-cajon.on .hardy-cajon__velo { opacity: 1; }
.hardy-cajon__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(410px, 100vw);
  background: #fff;
  overflow-y: auto;
  padding: 22px 22px 28px;
  transform: translateX(100%);
  transition: transform 0.35s var(--t, ease);
  font-family: var(--f-ui);
  color: var(--vc-tinta, #141414);
}
.hardy-cajon.on .hardy-cajon__panel { transform: translateX(0); }
.hardy-cajon__cerrar {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #f4f4f3;
  border: 0;
  cursor: pointer;
}
.hardy-cajon__cerrar svg { width: 18px; height: 18px; }

.hardy-cajon__ok {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1f9d6b;
  margin: 6px 0 18px;
}
.hardy-cajon__ok svg { width: 20px; height: 20px; }
.hardy-cajon__linea { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.hardy-cajon__linea img { width: 76px; height: 76px; object-fit: cover; background: #f4f4f3; }
.hardy-cajon__linea strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 6px;
}
.hardy-cajon__linea span { font-size: 13px; font-weight: 600; }
.hardy-cajon__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background: var(--vc-tinta, #141414);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hardy-cajon__btn:hover { background: #000; color: #fff; }
/* 25/11: debajo del botón de pago, lo que tranquiliza justo antes de pagar
   y el carrito como segunda opción, chica. */
.hardy-cajon__envio {
  margin: 8px 0 0;
  font-size: 12px;
  color: #5c5c5a;
  text-align: center;
}
.hardy-cajon__ver {
  display: block;
  margin-top: 12px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--vc-tinta, #141414);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hardy-cajon__ver:hover { color: #000; }
.hardy-cajon__tit {
  margin: 26px 0 12px;
  padding-top: 18px;
  border-top: 1px solid #e6e6e4;
  font-size: 14px;
  font-weight: 700;
}
.hardy-cajon__recos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.hardy-cajon__recos a { display: block; color: inherit; }
.hardy-cajon__recos img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f4f4f3; display: block; }
.hardy-cajon__recos .n {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin: 6px 4px 2px;
}
.hardy-cajon__recos .p { display: block; font-size: 12px; font-weight: 600; margin: 0 4px 8px; }

/* Mientras se agrega */
.single_add_to_cart_button.loading { opacity: 0.6; pointer-events: none; }

/* El panel ya avisa: fuera el «Ver carrito» y el tilde que WooCommerce agrega al botón. */
form.cart a.added_to_cart { display: none !important; }
.single_add_to_cart_button.added::after { display: none !important; content: none !important; }
