/* ==========================================================================
   Cerrajería Express · Sitio público
   Sistema visual "Etiqueta de llave": tablero esmaltado negro, bronce a plena
   intensidad y etiquetas perforadas que cuelgan de una argolla.
   Mobile-first. Sin frameworks.
   ========================================================================== */

@property --swing {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  /* Materiales */
  --enamel: #0f0f0e;
  --enamel-2: #181816;
  --enamel-3: #26261f;
  --enamel-line: rgba(255, 255, 255, 0.12);
  --brass: #d4a72c;
  --brass-hi: #f2c94c;
  --brass-lo: #8a6a12;
  --brass-ink: #6b5108;
  --brass-text: #4a3a0c;
  --brass-tint: #fbf4df;
  --tag: #ffffff;
  --paper: #ececea;
  --paper-2: #f6f6f4;
  --ink: #161614;
  --graphite: #55554f;
  --line: #dcdbd5;
  --line-strong: #c4c2b8;
  --on-dark: #f5f4ef;
  --on-dark-muted: #b8b6ad;

  /* Estados */
  --ok: #2f7d32;
  --low: #9a5b00;
  --out: #b42318;
  --ok-tint: #eaf4e8;
  --low-tint: #fdf1dc;
  --out-tint: #fdecea;
  --wa: #25d366;
  --wa-ink: #0b3d20;

  /* Tipografía */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.6rem, 1.3rem + 5.2vw, 5.4rem);
  --fs-h1: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 2.3vw, 3.1rem);
  --fs-h3: 1.2rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-tiny: 0.75rem;

  /* Espaciado */
  --gutter: 20px;
  --section: clamp(64px, 5vw + 44px, 120px);
  --radius: 12px;
  --radius-lg: 18px;
  --chamfer: 14px;
  --header-h: 64px;

  /* Movimiento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-swing: cubic-bezier(0.37, 0, 0.18, 1);
}

@media (min-width: 960px) {
  :root {
    --gutter: 32px;
    --header-h: 76px;
    --chamfer: 18px;
  }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--brass-lo) var(--paper);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper-2);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
}

a:hover {
  text-decoration-color: currentColor;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

:where(ul[class], ol[class]) {
  list-style: none;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--brass);
  color: var(--enamel);
}

:focus-visible {
  outline: 3px solid var(--brass-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

.board--brass :focus-visible,
.closing :focus-visible {
  outline-color: var(--enamel);
}

main:focus {
  outline: none;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--brass);
  color: var(--enamel);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.muted {
  color: var(--graphite);
}

/* El tablero esmaltado: chapa negra perforada donde cuelgan las etiquetas */
/* Los agujeros del tablero van en una capa propia, detrás del contenido */
.hero::before,
.page-head::before,
.urgent::before,
.order-hero::before,
.lost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.055) 1.7px, transparent 2.2px);
  background-size: 30px 30px;
  background-position: 15px 15px;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.975rem;
  font-weight: 700;
  font-stretch: 104%;
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s var(--ease-out), box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn .icon {
  width: 1.3em;
  height: 1.3em;
}

.btn:active {
  transform: translateY(1px);
}

.btn[disabled],
.btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.btn--brass {
  background: var(--brass);
  color: var(--enamel);
  box-shadow: 0 8px 16px -10px rgba(0, 0, 0, 0.55);
}

.btn--brass:hover {
  background: var(--brass-hi);
}

.btn--brass:active {
  box-shadow: 0 3px 8px -6px rgba(0, 0, 0, 0.55);
}

.btn--dark {
  background: var(--enamel);
  color: var(--on-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px -12px rgba(0, 0, 0, 0.7);
}

.btn--dark:hover {
  background: #2a2a25;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--on-dark);
}

.btn--ghost:hover {
  border-color: var(--brass-hi);
  color: var(--brass-hi);
}

.btn--ghost-dark {
  border-color: rgba(22, 22, 20, 0.22);
  color: var(--ink);
  background: transparent;
}

.btn--ghost-dark:hover {
  border-color: var(--ink);
}

.btn--lg {
  min-height: 56px;
  padding: 0 26px;
  font-size: 1.03rem;
  border-radius: 12px;
}

.btn--sm {
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.9rem;
  border-radius: 9px;
}

.btn--block {
  display: flex;
  width: 100%;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--graphite);
  transition: background-color 0.2s, color 0.2s;
}

.icon-btn:hover {
  background: var(--out-tint);
  color: var(--out);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.link-arrow .icon {
  transition: transform 0.25s var(--ease-out);
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

.link-arrow--back:hover .icon {
  transform: translateX(-3px);
}

.link-arrow--light {
  color: var(--on-dark);
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--enamel);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(212, 167, 44, 0.28);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(212, 167, 44, 0.55);
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.brand-word-a {
  font-size: 0.66rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-hi);
}

.brand-word-b {
  font-size: 1.28rem;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.brand-logo {
  max-height: 44px;
  width: auto;
}

.main-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}

.main-nav {
  background-color: var(--enamel);
}

.main-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out), visibility 0s;
}

.main-nav-list {
  display: flex;
  flex-direction: column;
}

.main-nav-link {
  display: flex;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid var(--enamel-line);
  font-size: 1.6rem;
  font-weight: 800;
  font-stretch: 118%;
  text-decoration: none;
  color: var(--on-dark);
}

.main-nav-link.is-active {
  color: var(--brass-hi);
}

.main-nav-extra {
  display: grid;
  gap: 14px;
}

.main-nav-address {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.header-wa {
  padding: 0 12px;
}

.header-wa span {
  display: none;
}

/* En celulares muy angostos el botón tapaba el nombre; queda el botón flotante de WhatsApp. */
@media (max-width: 359px) {
  .header-wa {
    display: none;
  }
}

.cart-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  color: var(--on-dark);
  transition: background-color 0.2s;
}

.cart-link:hover {
  background: var(--enamel-3);
}

.cart-link .icon {
  width: 26px;
  height: 26px;
}

.cart-count {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--enamel-3);
  color: var(--on-dark-muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 21px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--enamel);
}

.cart-count.has-items {
  background: var(--brass);
  color: var(--enamel);
}

.cart-count.is-bumped {
  animation: bump 0.5s var(--ease-out);
}

@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--on-dark);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.menu-toggle-bars {
  position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

body.menu-open {
  overflow: hidden;
}

@media (min-width: 400px) {
  .brand-word-b { font-size: 1.38rem; }
}

@media (min-width: 960px) {
  .brand-mark { width: 52px; height: 52px; }
  .brand-word-a { font-size: 0.7rem; }
  .brand-word-b { font-size: 1.5rem; }

  .main-nav {
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0;
    margin-left: auto;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: none;
    transition: none;
  }

  .main-nav-list {
    flex-direction: row;
    gap: 4px;
  }

  .main-nav-link {
    position: relative;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    font-size: 0.98rem;
    font-weight: 600;
    font-stretch: 100%;
    color: var(--on-dark-muted);
    transition: color 0.2s;
  }

  .main-nav-link:hover,
  .main-nav-link.is-active {
    color: var(--on-dark);
  }

  .main-nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
  }

  .main-nav-link:hover::after,
  .main-nav-link.is-active::after {
    transform: scaleX(1);
  }

  .main-nav-extra,
  .menu-toggle {
    display: none;
  }

  .header-actions {
    margin-left: 18px;
    gap: 10px;
  }

  .header-wa {
    padding: 0 16px;
  }

  .header-wa span {
    display: inline;
  }
}

/* --------------------------------------------------------------------------
   Mensajes (flash) y toasts
   -------------------------------------------------------------------------- */

.flash-stack {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 1240px;
  margin: 16px auto 0;
  padding-inline: var(--gutter);
}

.flash {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--tag);
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 20px -14px rgba(0, 0, 0, 0.4);
}

.flash .icon { margin-top: 2px; }
.flash--success { background: var(--ok-tint); color: #1e5a21; }
.flash--error { background: var(--out-tint); color: #8a1b12; }
.flash--warning { background: var(--low-tint); color: #6d4000; }
.flash--info { background: var(--brass-tint); color: var(--brass-text); }

.toast-region {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100% - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border-radius: 14px;
  background: var(--enamel);
  color: var(--on-dark);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
  animation: toast-in 0.45s var(--ease-out);
}

.toast .icon {
  color: var(--brass-hi);
}

.toast--error .icon {
  color: #ff8a7a;
}

.toast a {
  margin-left: auto;
  flex: none;
  padding: 8px 12px;
  border-radius: 9px;
  background: var(--brass);
  color: var(--enamel);
  font-weight: 800;
  text-decoration: none;
}

.toast.is-leaving {
  animation: toast-out 0.3s ease forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(8px); }
}

/* --------------------------------------------------------------------------
   Etiqueta (componente base)
   -------------------------------------------------------------------------- */

.ktag {
  --hole-y: 18px;
  --hole-r: 5.5px;
  position: relative;
  height: 100%;
  padding-top: 14px;
  filter: drop-shadow(0 0.5px 0.5px rgba(0, 0, 0, 0.28)) drop-shadow(0 12px 16px rgba(0, 0, 0, 0.12));
  transform-origin: 50% 22px;
}

.ktag-ring {
  position: absolute;
  top: 3px;
  left: 50%;
  z-index: 2;
  width: 32px;
  height: 32px;
  transform: translateX(-50%);
  pointer-events: none;
}

.ktag-ring-shadow { fill: none; stroke: rgba(0, 0, 0, 0.35); stroke-width: 5.5; transform: translate(0.6px, 1.2px); }
.ktag-ring-coil { fill: none; stroke: var(--brass-lo); stroke-width: 4.6; }
.ktag-ring-inner { fill: none; stroke: var(--brass); stroke-width: 3; stroke-linecap: round; }
.ktag-ring-shine { fill: none; stroke: #fff3c4; stroke-width: 1.3; stroke-linecap: round; opacity: 0.85; }

.ktag-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: calc(var(--hole-y) + 18px);
  background: var(--tag);
  color: var(--ink);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  clip-path: polygon(var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%, 0 var(--chamfer));
  -webkit-mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
  mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
}

/* Ojal de bronce alrededor del agujero */
.ktag-card::before {
  content: "";
  position: absolute;
  top: calc(var(--hole-y) - var(--hole-r) - 2.5px);
  left: calc(50% - var(--hole-r) - 2.5px);
  width: calc(var(--hole-r) * 2 + 5px);
  height: calc(var(--hole-r) * 2 + 5px);
  border: 2.5px solid var(--brass);
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .ktag:hover {
    animation: swing-hover 1.1s var(--ease-swing);
  }
}

.ktag.is-hung {
  animation: swing-in 1.2s var(--ease-swing) both;
  animation-delay: calc(var(--stagger, 0) * 70ms);
}

@keyframes swing-hover {
  0% { transform: rotate(var(--rest, 0deg)); }
  22% { transform: rotate(calc(var(--rest, 0deg) + 2.6deg)); }
  48% { transform: rotate(calc(var(--rest, 0deg) - 1.6deg)); }
  72% { transform: rotate(calc(var(--rest, 0deg) + 0.7deg)); }
  100% { transform: rotate(var(--rest, 0deg)); }
}

@keyframes swing-in {
  0% { transform: rotate(calc(var(--rest, 0deg) + 5deg)); }
  28% { transform: rotate(calc(var(--rest, 0deg) - 3deg)); }
  52% { transform: rotate(calc(var(--rest, 0deg) + 1.6deg)); }
  76% { transform: rotate(calc(var(--rest, 0deg) - 0.6deg)); }
  100% { transform: rotate(var(--rest, 0deg)); }
}

/* --------------------------------------------------------------------------
   Secciones
   -------------------------------------------------------------------------- */

.board {
  padding-block: var(--section);
}

.board--flush {
  padding-top: clamp(32px, 4vw, 56px);
}

.board--brass {
  background: var(--brass);
  color: var(--enamel);
}

.board--paper {
  background: var(--paper);
}

.board--white {
  background: var(--tag);
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 56px);
  max-width: 760px;
}

.section-head--row {
  max-width: none;
  align-items: end;
}

@media (min-width: 760px) {
  .section-head--row {
    grid-template-columns: 1fr auto;
    gap: 24px;
  }
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-lead {
  max-width: 60ch;
  color: var(--graphite);
  font-size: 1.075rem;
  text-wrap: pretty;
}

.board--brass .section-lead {
  color: var(--brass-text);
}

.block-title {
  margin-bottom: 14px;
  font-size: 1.25rem;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.01em;
}

/* Encabezado de páginas internas */
.page-head {
  position: relative;
  isolation: isolate;
  padding: clamp(36px, 5vw, 72px) 0 clamp(32px, 4vw, 56px);
  background-color: var(--enamel);
  color: var(--on-dark);
}

.page-head--compact {
  padding-bottom: 28px;
}

.page-title {
  max-width: 22ch;
  font-size: var(--fs-h1);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-lead {
  max-width: 60ch;
  margin-top: 16px;
  color: var(--on-dark-muted);
  font-size: 1.1rem;
  text-wrap: pretty;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
}

.crumbs a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--brass-hi);
}

.crumbs [aria-current] {
  color: var(--on-dark);
}

.crumbs--light,
.crumbs--light a {
  color: var(--graphite);
}

.crumbs--light a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 4vw, 56px);
  background-color: var(--enamel);
  color: var(--on-dark);
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-title {
  font-size: var(--fs-display);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-sub {
  max-width: 34ch;
  margin-top: 18px;
  color: #dcdad2;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  line-height: 1.4;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .btn {
  flex: 1 1 auto;
}

.hero-facts {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}

.hero-fact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-fact .icon {
  color: var(--brass);
}

.hero-fact--urgent {
  color: var(--on-dark);
  font-weight: 700;
}

@media (min-width: 560px) {
  .hero-actions .btn {
    flex: 0 0 auto;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 56px 0 40px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 48px;
    min-height: min(640px, calc(100vh - var(--header-h) - 60px));
  }

  .hero-facts {
    grid-auto-flow: column;
    justify-content: start;
    gap: 28px;
  }
}

/* La argolla con las etiquetas de servicios */
.hero-ring {
  --ring: 136px;
  --hook: 46px;
  --r: calc(var(--ring) * 0.42);
  --cy: calc(var(--hook) + var(--ring) / 2);
  --tag-w: 100px;
  --tag-h: 200px;
  --fan: 0.85;
  position: relative;
  height: calc(var(--cy) + var(--r) + var(--tag-h) + 18px);
  margin-inline: -8px;
  user-select: none;
}

.ring-hook {
  position: absolute;
  top: 0;
  left: 50%;
  width: 26px;
  height: calc(var(--hook) + 16px);
  transform: translateX(-50%);
  overflow: visible;
}

.ring-hook-plate { fill: var(--enamel-3); stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.5; }
.ring-hook-wire { fill: none; stroke: #9a9890; stroke-width: 5; stroke-linecap: round; }

.ring-main {
  position: absolute;
  top: var(--hook);
  left: 50%;
  z-index: 3;
  width: var(--ring);
  height: var(--ring);
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.55));
}

.ring-main-shadow { fill: none; stroke: rgba(0, 0, 0, 0.5); stroke-width: 15; }
.ring-main-coil { fill: none; stroke: var(--brass-lo); stroke-width: 12; }
.ring-main-inner { fill: none; stroke: var(--brass); stroke-width: 7.5; stroke-linecap: round; }
.ring-main-shine { fill: none; stroke: #fff0b8; stroke-width: 2.4; stroke-linecap: round; opacity: 0.9; }

.ring-tags {
  position: absolute;
  inset: 0;
}

.ring-tag-item {
  position: absolute;
  left: calc(50% + var(--dx) * var(--r) - var(--tag-w) / 2);
  top: calc(var(--cy) + var(--dy) * var(--r) - 14px);
  z-index: 2;
  width: var(--tag-w);
  height: var(--tag-h);
  transform-origin: 50% 14px;
  transform: rotate(calc(var(--a) * -1 * var(--fan) + var(--swing)));
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 14px 14px rgba(0, 0, 0, 0.45));
  animation: ring-settle 1.6s var(--ease-swing) both;
  animation-delay: calc(0.15s + var(--i) * 0.07s);
}

@keyframes ring-settle {
  0% { --swing: 16deg; }
  24% { --swing: -9deg; }
  46% { --swing: 5deg; }
  68% { --swing: -2.4deg; }
  86% { --swing: 0.8deg; }
  100% { --swing: 0deg; }
}

.ring-tag {
  --hole-y: 14px;
  --hole-r: 6px;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--tag);
  color: var(--ink);
  text-decoration: none;
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px);
  border-radius: 0 0 12px 12px;
  -webkit-mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
  mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
}

.ring-tag::before {
  content: "";
  position: absolute;
  top: calc(var(--hole-y) - var(--hole-r) - 2.5px);
  left: calc(50% - var(--hole-r) - 2.5px);
  width: calc(var(--hole-r) * 2 + 5px);
  height: calc(var(--hole-r) * 2 + 5px);
  border: 2.5px solid var(--brass);
  border-radius: 50%;
}

.ring-tag::after {
  content: "";
  position: absolute;
  inset: 30px 6px 6px;
  border: 1px solid rgba(22, 22, 20, 0.12);
  border-radius: 0 0 8px 8px;
  pointer-events: none;
}

.ring-tag--brass {
  background: var(--brass);
}

.ring-tag--brass::before {
  border-color: var(--brass-lo);
}

.ring-tag--brass::after {
  border-color: rgba(22, 22, 20, 0.22);
}

/* Las etiquetas se superponen como en un llavero real: el nombre corre en
   vertical por el borde izquierdo, que es la franja que queda a la vista. */
.ring-tag-glyph {
  position: absolute;
  left: 8px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--enamel);
  color: var(--brass-hi);
}

.ring-tag-glyph .icon {
  width: 22px;
  height: 22px;
}

.ring-tag-name {
  position: absolute;
  left: 14px;
  bottom: 52px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.62rem;
  font-weight: 800;
  font-stretch: 72%;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ring-tag:focus-visible {
  outline: none;
}

.ring-tag:focus-visible .ring-tag-glyph {
  outline: 3px solid var(--brass-hi);
  outline-offset: 3px;
}

@media (max-width: 379px) {
  .hero-ring {
    --tag-w: 94px;
    --fan: 0.78;
  }
}

@media (min-width: 400px) {
  .hero-ring {
    --ring: 148px;
    --tag-w: 108px;
    --tag-h: 214px;
    --fan: 0.9;
  }

  .ring-tag-name {
    font-size: 0.68rem;
    left: 15px;
    bottom: 54px;
  }
}

@media (min-width: 700px) {
  .hero-ring {
    --ring: 190px;
    --tag-w: 150px;
    --tag-h: 266px;
    --fan: 1;
  }

  .ring-tag-name {
    font-size: 0.84rem;
    left: 19px;
    bottom: 66px;
  }

  .ring-tag-glyph {
    width: 46px;
    height: 46px;
  }

  .ring-tag-glyph .icon {
    width: 25px;
    height: 25px;
  }
}

@media (min-width: 960px) {
  .hero-ring {
    --ring: 180px;
    --hook: 62px;
    --tag-w: 136px;
    --tag-h: 330px;
    align-self: start;
    margin: -56px 0 0;
  }

  .ring-hook {
    top: 0;
    width: 30px;
    height: calc(var(--hook) + 18px);
  }
}

@media (min-width: 960px) {
  .ring-tag-name {
    font-size: 0.86rem;
    font-stretch: 108%;
    bottom: 78px;
  }
}

@media (min-width: 1200px) {
  .hero-ring {
    --ring: 210px;
    --tag-w: 152px;
    --tag-h: 330px;
  }

  .ring-tag-name {
    font-size: 0.84rem;
    font-stretch: 108%;
    left: 21px;
    bottom: 80px;
  }

  .ring-tag-glyph {
    left: 10px;
    bottom: 12px;
    width: 52px;
    height: 52px;
  }

  .ring-tag-glyph .icon {
    width: 28px;
    height: 28px;
  }
}

/* --------------------------------------------------------------------------
   Grillas de etiquetas
   -------------------------------------------------------------------------- */

.tag-grid {
  display: grid;
  gap: 26px 16px;
}

.tag-grid > li {
  min-width: 0;
}

.tag-grid--services {
  gap: 30px 20px;
}

.tag-grid--products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 12px;
}

@media (min-width: 640px) {
  .tag-grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tag-grid--products { gap: 30px 18px; }
}

@media (min-width: 780px) {
  .tag-grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .tag-grid--services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
  .tag-grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 22px; }
}

/* En el inicio, los productos forman un riel deslizable en el celular */
@media (max-width: 779px) {
  .tag-grid--rail {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(200px, 62vw);
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .tag-grid--rail::-webkit-scrollbar {
    display: none;
  }

  .tag-grid--rail > li {
    scroll-snap-align: start;
  }
}

/* Riel: cada fila de etiquetas cuelga de una barra y la argolla la abraza */
.tag-grid--hung > li {
  position: relative;
}

.tag-grid--hung > li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: calc(var(--rail-gap, 16px) / -2);
  right: calc(var(--rail-gap, 16px) / -2);
  z-index: 0;
  height: 5px;
  background: var(--rail, var(--brass-lo));
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.22);
}

.board--brass .tag-grid--hung {
  --rail: #2b2410;
}

.tag-grid--services.tag-grid--hung {
  --rail-gap: 20px;
}

.tag-grid--products.tag-grid--hung {
  --rail-gap: 12px;
}


@media (min-width: 640px) {
  .tag-grid--products.tag-grid--hung {
    --rail-gap: 18px;
  }
}

@media (min-width: 1040px) {
  .tag-grid--services.tag-grid--hung {
    --rail-gap: 24px;
  }

  .tag-grid--products.tag-grid--hung {
    --rail-gap: 22px;
  }
}

@media (max-width: 779px) {
  .tag-grid--rail.tag-grid--hung > li::before {
    left: -8px;
    right: -8px;
  }
}

/* Etiqueta de servicio */
.ktag--service .ktag-card {
  padding-bottom: 22px;
}

.svc-media {
  display: block;
  margin: 0 14px 4px;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 3 / 2;
  background: var(--paper);
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 10px 22px 0;
}

.svc-glyph {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--enamel);
  color: var(--brass-hi);
}

.svc-glyph .icon {
  width: 28px;
  height: 28px;
}

.svc-name {
  font-size: 1.4rem;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.svc-name a {
  text-decoration: none;
}

.svc-name a:hover {
  text-decoration: underline;
}

.svc-text {
  color: var(--graphite);
  font-size: 0.98rem;
}

.svc-band {
  display: grid;
  gap: 12px;
  margin: auto -22px -22px;
  padding: 14px 22px 18px;
  border-top: 1.5px solid var(--ink);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--paper-2);
}

.svc-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.95rem;
}

.svc-price .price {
  font-size: 1.25rem;
  font-weight: 800;
  font-stretch: 115%;
}

.svc-price-prefix {
  color: var(--graphite);
}

.svc-price-ask {
  color: var(--graphite);
  font-weight: 600;
}

.svc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Etiqueta de producto */
.ktag--product .ktag-card {
  --hole-y: 16px;
}

.ptag-media {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 10px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: var(--paper);
}

.ptag-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.ktag--product:hover .ptag-media img {
  transform: scale(1.04);
}

.ptag-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background-color: var(--enamel-2);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1.5px, transparent 2px);
  background-size: 18px 18px;
  color: var(--brass);
}

.ptag-placeholder-icon {
  width: 42%;
  height: 42%;
  stroke-width: 1.2;
}

.ptag-flag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--brass);
  color: var(--enamel);
  font-size: 0.7rem;
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ptag-flag--out {
  background: var(--enamel);
  color: var(--on-dark);
}

.ptag-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 12px 12px 14px;
}

.ptag-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  color: var(--graphite);
  font-size: 0.72rem;
  font-weight: 700;
  font-stretch: 90%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ptag-sku {
  color: #7a786f;
}

.ptag-name {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ptag-name a {
  text-decoration: none;
}

.ptag-name a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ptag-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-top: auto;
}

.price {
  font-size: 1.2rem;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.01em;
}

.price-old {
  color: var(--graphite);
  font-size: 0.85rem;
}

.ptag-add,
.ktag--product .ptag-body > .btn {
  position: relative;
  z-index: 1;
  margin-top: 6px;
}

@media (min-width: 640px) {
  .ptag-body { padding: 14px 16px 18px; }
  .ptag-media { margin: 0 14px; }
  .ptag-name { font-size: 1.04rem; }
}

/* Stock */
.stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 700;
}

.stock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
}

.stock--ok { color: var(--ok); }
.stock--low { color: var(--low); }
.stock--out { color: var(--out); }

/* --------------------------------------------------------------------------
   Cómo comprar
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 16px;
  row-gap: 4px;
  align-items: start;
}

.step-num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--enamel);
  font-size: 1.4rem;
  font-weight: 900;
  font-stretch: 125%;
}

.step-title {
  padding-top: 4px;
  font-size: 1.15rem;
  font-weight: 800;
  font-stretch: 108%;
}

.step p {
  color: var(--graphite);
}

@media (max-width: 899px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 58px;
    bottom: -14px;
    width: 2px;
    background: var(--line);
  }
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }

  .step {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .step-num {
    grid-row: auto;
    width: 60px;
    height: 60px;
  }

  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 29px;
    left: 72px;
    right: -16px;
    height: 2px;
    background: var(--line);
  }
}

/* --------------------------------------------------------------------------
   Urgencias 24 h
   -------------------------------------------------------------------------- */

.urgent {
  position: relative;
  isolation: isolate;
  padding-block: clamp(48px, 6vw, 88px);
  background-color: var(--enamel);
  color: var(--on-dark);
}

.urgent-grid {
  display: grid;
  gap: 20px;
  align-items: center;
}

.urgent-stamp {
  color: var(--brass);
  font-size: clamp(4.5rem, 3rem + 7vw, 8.5rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.8;
  letter-spacing: -0.05em;
}

.urgent-stamp span {
  margin-left: 0.04em;
  font-size: 0.45em;
  letter-spacing: 0;
}

.urgent-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.urgent-copy p {
  max-width: 48ch;
  margin-top: 10px;
  color: var(--on-dark-muted);
}

@media (min-width: 900px) {
  .urgent-grid {
    grid-template-columns: auto 1fr auto;
    gap: 44px;
  }
}

/* --------------------------------------------------------------------------
   Local, mapa, datos
   -------------------------------------------------------------------------- */

.local-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.local-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}

@media (min-width: 900px) {
  .local-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.info-list {
  display: grid;
  gap: 2px;
  width: 100%;
}

.info-row {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.info-row dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--graphite);
  font-size: var(--fs-tiny);
  font-weight: 800;
  font-stretch: 105%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-row dt .icon {
  width: 16px;
  height: 16px;
  color: var(--brass-lo);
}

.info-row dd {
  font-weight: 600;
}

.info-row a {
  text-decoration: none;
}

.info-row a:hover {
  text-decoration: underline;
}

.map-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 20px 40px -28px rgba(0, 0, 0, 0.5);
}

.map-frame iframe,
.map-band iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-band {
  height: clamp(320px, 45vw, 480px);
  background: var(--paper);
}

/* --------------------------------------------------------------------------
   Cierre
   -------------------------------------------------------------------------- */

.closing {
  padding-block: calc(var(--section) - 10px) var(--section);
  background: var(--brass);
}

.closing-inner {
  display: grid;
  justify-items: center;
}

.closing-tag {
  --hole-y: 24px;
  --hole-r: 8px;
  position: relative;
  width: min(100%, 720px);
  padding-top: 22px;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.2)) drop-shadow(0 26px 30px rgba(70, 50, 0, 0.35));
}

.closing-tag .ktag-ring {
  top: 0;
  width: 48px;
  height: 48px;
}

.closing-card {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 60px clamp(22px, 5vw, 64px) clamp(32px, 5vw, 52px);
  background: var(--tag);
  text-align: center;
  clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%, 0 28px);
  border-radius: 0 0 22px 22px;
  -webkit-mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
  mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
}

.closing-title {
  max-width: 20ch;
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.closing-card p {
  max-width: 48ch;
  color: var(--graphite);
}

/* --------------------------------------------------------------------------
   Tienda
   -------------------------------------------------------------------------- */

.shop-search {
  position: relative;
  display: flex;
  gap: 8px;
  max-width: 640px;
  margin-top: 22px;
}

.shop-search input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 14px 0 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: var(--enamel-2);
  color: var(--on-dark);
  font-size: 1rem;
  caret-color: var(--brass-hi);
}

.shop-search input::placeholder {
  color: #8f8d85;
}

.shop-search input:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(212, 167, 44, 0.3);
}

.shop-search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 20px;
  height: 20px;
  color: var(--on-dark-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.shop-search .btn {
  min-height: 52px;
}

.board--shop {
  padding-top: 0;
}

.shop-tools {
  display: grid;
  gap: 14px;
  padding-top: 20px;
}

/* Riel de ganchos: las categorías cuelgan y la elegida se levanta */
.hook-rail {
  position: relative;
  margin-inline: calc(var(--gutter) * -1);
  overflow-x: auto;
  scrollbar-width: none;
}

.hook-rail::-webkit-scrollbar {
  display: none;
}

.hook-rail-list {
  position: relative;
  display: flex;
  gap: 8px;
  width: max-content;
  padding: 16px var(--gutter) 6px;
}

.hook-rail-list::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--brass-lo);
  opacity: 0.55;
}

.hook {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px 8px 10px 10px;
  background: var(--tag);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 6px 12px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s var(--ease-out), background-color 0.2s, box-shadow 0.3s;
}

.hook::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 2px;
  height: 10px;
  background: var(--brass-lo);
  transform: translateX(-50%);
}

.hook:hover {
  transform: translateY(-2px);
}

.hook.is-active {
  background: var(--enamel);
  color: var(--on-dark);
  transform: translateY(-5px);
  box-shadow: 0 14px 20px -10px rgba(0, 0, 0, 0.55);
}

.hook-count {
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--graphite);
  font-size: 0.72rem;
  text-align: center;
}

.hook.is-active .hook-count {
  background: var(--brass);
  color: var(--enamel);
}

.shop-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  font-size: var(--fs-small);
  font-weight: 700;
}

.shop-sort select {
  min-height: 44px;
  padding: 0 38px 0 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: var(--tag) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161614' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px;
  font-weight: 600;
  appearance: none;
}

.shop-count {
  margin: 18px 0 22px;
  color: var(--graphite);
  font-size: var(--fs-small);
  font-weight: 600;
}

.link-clear {
  margin-left: 8px;
  color: var(--ink);
  font-weight: 700;
}

.shop-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}

.shop-pager-info {
  color: var(--graphite);
  font-weight: 600;
}

@media (min-width: 900px) {
  .shop-tools {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .hook-rail {
    margin-inline: 0;
  }

  .hook-rail-list {
    padding-inline: 6px;
  }
}

/* Estado vacío */
.empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 24px auto;
  padding: 44px 24px;
  border-radius: var(--radius-lg);
  background: var(--tag);
  text-align: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 20px 40px -30px rgba(0, 0, 0, 0.5);
}

.empty p {
  color: var(--graphite);
}

.empty .empty-title {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 800;
  font-stretch: 110%;
}

.empty-icon {
  width: 44px;
  height: 44px;
  color: var(--brass-lo);
}

.empty-ring {
  width: 110px;
  height: 110px;
  margin-bottom: 6px;
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Página de producto
   -------------------------------------------------------------------------- */

.product-page {
  padding: 22px 0 var(--section);
  background: var(--tag);
}

.product-grid {
  display: grid;
  gap: 28px;
}

.gallery {
  display: grid;
  gap: 12px;
  align-content: start;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  background: var(--paper);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--tag);
}

.gallery-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  background-color: var(--enamel-2);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1.6px, transparent 2.1px);
  background-size: 24px 24px;
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
  font-weight: 600;
}

.gallery-placeholder-icon {
  width: 120px;
  height: 120px;
  color: var(--brass);
}

.gallery-main .ptag-flag {
  top: 14px;
  left: 14px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  flex: none;
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--paper);
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--enamel);
}

.product-tag {
  --hole-y: 20px;
  --hole-r: 6.5px;
  position: relative;
  padding-top: 16px;
  filter: drop-shadow(0 0.5px 0.5px rgba(0, 0, 0, 0.3)) drop-shadow(0 18px 24px rgba(0, 0, 0, 0.14));
}

.product-tag .ktag-ring {
  top: 3px;
  width: 36px;
  height: 36px;
}

.product-tag-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 46px 20px 22px;
  background: var(--paper-2);
  clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%, 0 20px);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  -webkit-mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
  mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
}

.product-tag-card::before {
  content: "";
  position: absolute;
  top: calc(var(--hole-y) - var(--hole-r) - 3px);
  left: calc(50% - var(--hole-r) - 3px);
  width: calc(var(--hole-r) * 2 + 6px);
  height: calc(var(--hole-r) * 2 + 6px);
  border: 3px solid var(--brass);
  border-radius: 50%;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: -6px;
  color: var(--graphite);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-meta a {
  color: var(--brass-ink);
  text-decoration: none;
}

.product-title {
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.product-price .price {
  font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.5rem);
}

.buy-form {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.buy-btn {
  min-width: 0;
}

.product-perks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

.product-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.product-perks .icon {
  margin-top: 1px;
  color: var(--brass-lo);
}

.product-description {
  margin-top: 26px;
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: start;
  }

  .gallery {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .product-tag-card {
    padding: 52px 32px 30px;
  }
}

/* Selector de cantidad */
.stepper {
  display: inline-flex;
  align-items: center;
  height: 56px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--tag);
}

.stepper--sm {
  height: 44px;
  border-radius: 10px;
}

.stepper-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.stepper-btn .icon {
  width: 18px;
  height: 18px;
}

.stepper-btn:hover {
  color: var(--brass-lo);
}

.stepper-input {
  width: 44px;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper-input:focus {
  outline: none;
}

.stepper:focus-within {
  border-color: var(--enamel);
  box-shadow: 0 0 0 3px rgba(212, 167, 44, 0.35);
}

/* --------------------------------------------------------------------------
   Carrito y resumen
   -------------------------------------------------------------------------- */

.cart-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.cart-lines {
  display: grid;
  gap: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  grid-template-areas:
    "media info remove"
    "media qty total";
  gap: 8px 14px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--tag);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 12px 24px -20px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.cart-line.is-removing {
  opacity: 0;
  transform: translateX(-12px);
}

.cart-line-media {
  grid-area: media;
  align-self: start;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--paper);
}

.cart-line-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--enamel-2);
  color: var(--brass);
}

.cart-line-placeholder .icon {
  width: 30px;
  height: 30px;
}

.cart-line-info {
  grid-area: info;
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cart-line-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.cart-line-name a {
  text-decoration: none;
}

.cart-line-unit {
  color: var(--graphite);
  font-size: var(--fs-small);
}

.cart-line-info .stock {
  font-size: 0.78rem;
}

.cart-line-qty { grid-area: qty; }
.cart-line-remove { grid-area: remove; justify-self: end; }

.cart-line-total {
  grid-area: total;
  justify-self: end;
  font-size: 1.1rem;
  font-weight: 800;
  font-stretch: 112%;
}

@media (min-width: 700px) {
  .cart-line {
    grid-template-columns: 88px 1fr auto 110px auto;
    grid-template-areas: "media info qty total remove";
    padding: 16px 18px;
  }

  .cart-line-media {
    width: 88px;
    height: 88px;
    align-self: center;
  }
}

@media (min-width: 1000px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 36px;
  }
}

.summary-tag {
  --hole-y: 20px;
  --hole-r: 6.5px;
  position: relative;
  padding-top: 16px;
  filter: drop-shadow(0 0.5px 0.5px rgba(0, 0, 0, 0.3)) drop-shadow(0 18px 24px rgba(0, 0, 0, 0.14));
}

.summary-tag .ktag-ring {
  top: 3px;
  width: 36px;
  height: 36px;
}

.summary-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 46px 22px 24px;
  background: var(--tag);
  clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%, 0 20px);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  -webkit-mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
  mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
}

.summary-card::before {
  content: "";
  position: absolute;
  top: calc(var(--hole-y) - var(--hole-r) - 3px);
  left: calc(50% - var(--hole-r) - 3px);
  width: calc(var(--hole-r) * 2 + 6px);
  height: calc(var(--hole-r) * 2 + 6px);
  border: 3px solid var(--brass);
  border-radius: 50%;
}

.summary-title {
  font-size: 1.3rem;
  font-weight: 800;
  font-stretch: 112%;
}

.summary-rows {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
}

.summary-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-rows dt {
  color: var(--graphite);
}

.summary-rows dd {
  font-weight: 700;
}

.summary-total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.summary-total dt {
  color: var(--ink);
  font-weight: 800;
}

.summary-total dd {
  font-size: 1.55rem;
  font-weight: 900;
  font-stretch: 118%;
}

.summary-note {
  color: var(--graphite);
  font-size: var(--fs-small);
  text-align: center;
}

.summary-items {
  display: grid;
  gap: 10px;
}

.summary-items li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: baseline;
  font-size: 0.95rem;
}

.summary-items small {
  display: block;
  color: var(--graphite);
  font-size: 0.8rem;
}

.summary-qty {
  color: var(--brass-ink);
  font-weight: 800;
}

.summary-amount {
  font-weight: 700;
}

.summary-items--large li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

@media (min-width: 1000px) {
  .summary-tag--sticky {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
}

/* --------------------------------------------------------------------------
   Formularios
   -------------------------------------------------------------------------- */

.checkout-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.checkout-layout .summary-tag {
  order: -1;
}

@media (min-width: 1000px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 40px;
  }

  .checkout-layout .summary-tag {
    order: 0;
  }
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.form-block {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 22px 18px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--tag);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 16px 30px -26px rgba(0, 0, 0, 0.6);
}

.form-block-title {
  float: left;
  width: 100%;
  margin-bottom: 4px;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 800;
  font-stretch: 112%;
}

.form-block-title + * {
  clear: both;
}

@media (min-width: 640px) {
  .form-block {
    padding: 28px;
  }
}

.form-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field--wide {
    grid-column: 1 / -1;
  }
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-size: 0.92rem;
  font-weight: 700;
}

.optional {
  color: var(--graphite);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: var(--tag);
  font-size: 1rem;
  caret-color: var(--brass-lo);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select {
  padding-right: 40px;
  background: var(--tag) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161614' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
  appearance: none;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--enamel);
  box-shadow: 0 0 0 3px rgba(212, 167, 44, 0.4);
}

.field [aria-invalid="true"] {
  border-color: var(--out);
  background: #fffafa;
}

.field-error {
  color: var(--out);
  font-size: 0.86rem;
  font-weight: 600;
}

.form-help {
  margin: -6px 0 6px;
  color: var(--graphite);
}

.choice-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .choice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .choice-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  height: 100%;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--tag);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.choice-icon {
  grid-row: span 2;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: var(--graphite);
}

.choice-label {
  font-weight: 800;
}

.choice-help {
  color: var(--graphite);
  font-size: 0.86rem;
  line-height: 1.35;
}

.choice:hover .choice-body {
  border-color: var(--line-strong);
}

.choice input:checked + .choice-body {
  border-color: var(--enamel);
  background: var(--brass-tint);
  box-shadow: 0 10px 20px -16px rgba(0, 0, 0, 0.5);
}

.choice input:checked + .choice-body .choice-icon {
  color: var(--brass-lo);
}

.choice input:focus-visible + .choice-body {
  outline: 3px solid var(--brass-hi);
  outline-offset: 2px;
}

.checkout-submit {
  display: grid;
  gap: 10px;
}

.form-panel {
  display: grid;
  gap: 16px;
  padding: 24px 18px;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  box-shadow: 0 0 0 1px var(--line);
}

@media (min-width: 640px) {
  .form-panel {
    padding: 32px;
  }
}

.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
}

.notice--error {
  background: var(--out-tint);
  color: #8a1b12;
}

/* --------------------------------------------------------------------------
   Confirmación de pedido
   -------------------------------------------------------------------------- */

.order-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 6vw, 80px) 0;
  background-color: var(--enamel);
  color: var(--on-dark);
}

.order-hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .order-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
  }
}

.order-stamp {
  --hole-y: 26px;
  --hole-r: 8px;
  position: relative;
  justify-self: center;
  width: min(100%, 340px);
  padding-top: 22px;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 26px 30px rgba(0, 0, 0, 0.55));
  transform-origin: 50% 40px;
  animation: stamp-swing 1.8s var(--ease-swing) both 0.2s;
}

@keyframes stamp-swing {
  0% { transform: rotate(9deg); }
  25% { transform: rotate(-5deg); }
  48% { transform: rotate(2.8deg); }
  70% { transform: rotate(-1.2deg); }
  100% { transform: rotate(-1.5deg); }
}

.order-stamp .ktag-ring {
  top: 0;
  width: 50px;
  height: 50px;
}

.order-stamp-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 64px 22px 34px;
  background: var(--brass);
  color: var(--enamel);
  text-align: center;
  clip-path: polygon(26px 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%, 0 26px);
  border-radius: 0 0 20px 20px;
  -webkit-mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
  mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
}

.order-stamp-card::before {
  content: "";
  position: absolute;
  top: calc(var(--hole-y) - var(--hole-r) - 3px);
  left: calc(50% - var(--hole-r) - 3px);
  width: calc(var(--hole-r) * 2 + 6px);
  height: calc(var(--hole-r) * 2 + 6px);
  border: 3px solid var(--brass-lo);
  border-radius: 50%;
}

.order-stamp-card::after {
  content: "";
  position: absolute;
  inset: 44px 12px 12px;
  border: 1.5px solid rgba(15, 15, 14, 0.25);
  border-radius: 4px 4px 12px 12px;
}

.order-stamp-label {
  font-size: 0.8rem;
  font-weight: 800;
  font-stretch: 120%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.order-stamp-number {
  font-size: clamp(2.3rem, 1.6rem + 3vw, 3.4rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(255, 240, 190, 0.6), 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.order-stamp-date {
  color: var(--brass-text);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Fila de estado: una línea continua con el paso actual encendido */
.status-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 44px;
}

.status-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 2px;
  color: var(--graphite);
  font-size: 0.76rem;
  font-weight: 700;
  font-stretch: 75%;
  text-align: center;
}

.status-step::before {
  content: "";
  position: absolute;
  top: 9px;
  left: -50%;
  right: 50%;
  height: 3px;
  background: var(--line);
}

.status-step:first-child::before {
  display: none;
}

.status-step.is-done::before,
.status-step.is-current::before {
  background: var(--brass);
}

.status-lamp {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  border: 3px solid var(--line-strong);
  border-radius: 50%;
  background: var(--tag);
}

.status-step.is-done .status-lamp {
  border-color: var(--brass);
  background: var(--brass);
}

.status-step.is-current {
  color: var(--ink);
}

.status-step.is-current .status-lamp {
  border-color: var(--enamel);
  background: var(--brass-hi);
  box-shadow: 0 0 0 5px rgba(242, 201, 76, 0.35);
}

@media (min-width: 640px) {
  .status-step {
    font-size: 0.92rem;
    font-stretch: 100%;
  }
}

.order-detail {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .order-detail {
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
  }
}

.order-facts {
  display: grid;
  gap: 2px;
  align-content: start;
}

.order-facts > div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.order-facts dt {
  color: var(--graphite);
  font-size: var(--fs-tiny);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-facts dd {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Servicio, nosotros, contacto
   -------------------------------------------------------------------------- */

.service-head {
  display: grid;
  gap: 24px;
  align-items: center;
}

.service-badge {
  --hole-y: 20px;
  --hole-r: 7px;
  position: relative;
  display: none;
  width: 190px;
  padding-top: 18px;
  justify-self: end;
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.55));
  transform: rotate(-4deg);
  transform-origin: 50% 30px;
}

.service-badge .ktag-ring {
  top: 2px;
  width: 42px;
  height: 42px;
}

.service-badge-card {
  display: grid;
  place-items: center;
  height: 250px;
  padding-top: 30px;
  background: var(--brass);
  color: var(--enamel);
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px);
  border-radius: 0 0 16px 16px;
  -webkit-mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
  mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
}

.service-badge-card .icon {
  width: 96px;
  height: 96px;
  stroke-width: 1.4;
}

@media (min-width: 900px) {
  .service-head {
    grid-template-columns: 1fr auto;
  }

  .service-badge {
    display: block;
  }
}

.service-body {
  display: grid;
  gap: 36px;
}

@media (min-width: 900px) {
  .service-body {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    align-items: start;
  }
}

.service-photo {
  width: 100%;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
}

.service-aside {
  display: grid;
  gap: 12px;
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--enamel);
  color: var(--on-dark);
}

@media (min-width: 900px) {
  .service-aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.service-aside-label {
  color: var(--brass-hi);
  font-size: var(--fs-tiny);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-aside-price {
  font-size: 1.8rem;
  font-weight: 900;
  font-stretch: 118%;
  line-height: 1.05;
}

.service-aside-price span {
  font-size: 1rem;
  font-weight: 600;
}

.service-aside-note {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}

.service-aside .btn--dark {
  background: var(--brass);
  color: var(--enamel);
}

.service-aside .btn--dark:hover {
  background: var(--brass-hi);
}

.service-aside-urgent {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--on-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-aside-urgent .icon {
  color: var(--brass);
}

.prose {
  max-width: 68ch;
}

.prose p {
  margin-bottom: 1em;
  text-wrap: pretty;
}

.prose h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
  font-stretch: 110%;
}

.prose--lead p {
  font-size: 1.15rem;
}

.about-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 72px;
  }
}

.about-services {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--brass);
}

.check-list {
  display: grid;
  gap: 4px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border-bottom: 1px solid rgba(15, 15, 14, 0.14);
  font-weight: 700;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list a {
  text-decoration: none;
}

.check-list a:hover {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
  }
}

.contact-ways {
  display: grid;
  gap: 24px;
}

.contact-wa {
  --hole-y: 22px;
  --hole-r: 7px;
  position: relative;
  display: block;
  max-width: 420px;
  padding-top: 18px;
  text-decoration: none;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.25)) drop-shadow(0 18px 22px rgba(0, 0, 0, 0.22));
  transform-origin: 50% 30px;
}

@media (hover: hover) and (pointer: fine) {
  .contact-wa:hover {
    animation: swing-hover 1.1s var(--ease-swing);
  }
}

.contact-wa .ktag-ring {
  top: 2px;
  width: 42px;
  height: 42px;
}

.contact-wa-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 16px;
  align-items: center;
  padding: 50px 24px 24px;
  background: var(--enamel);
  color: var(--on-dark);
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px);
  border-radius: 0 0 18px 18px;
  -webkit-mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
  mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
}

.contact-wa-card::before {
  content: "";
  position: absolute;
  top: calc(var(--hole-y) - var(--hole-r) - 3px);
  left: calc(50% - var(--hole-r) - 3px);
  width: calc(var(--hole-r) * 2 + 6px);
  height: calc(var(--hole-r) * 2 + 6px);
  border: 3px solid var(--brass);
  border-radius: 50%;
}

.contact-wa-icon {
  grid-row: span 3;
  width: 54px;
  height: 54px;
  color: var(--brass-hi);
}

.contact-wa-label {
  color: var(--on-dark-muted);
  font-size: var(--fs-tiny);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-wa-number {
  font-size: 1.7rem;
  font-weight: 900;
  font-stretch: 118%;
  line-height: 1.1;
}

.contact-wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brass-hi);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   404 / error
   -------------------------------------------------------------------------- */

.lost {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 80px);
  padding-block: 56px;
  background-color: var(--enamel);
  color: var(--on-dark);
}

.lost-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 860px) {
  .lost-grid {
    grid-template-columns: auto 1fr;
    gap: 72px;
  }
}

.lost-tag {
  --hole-y: 24px;
  --hole-r: 8px;
  position: relative;
  justify-self: center;
  width: 200px;
  padding-top: 22px;
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.6));
  transform-origin: 50% 36px;
  animation: idle-sway 5s ease-in-out infinite;
}

.lost-tag .ktag-ring {
  top: 0;
  width: 50px;
  height: 50px;
}

@keyframes idle-sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.lost-tag-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 70px 16px 40px;
  background: var(--tag);
  color: var(--enamel);
  clip-path: polygon(24px 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%, 0 24px);
  border-radius: 0 0 18px 18px;
  -webkit-mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
  mask: radial-gradient(circle at 50% var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + 0.5px));
}

.lost-code {
  font-size: 4rem;
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.03em;
}

.lost-caption {
  color: var(--graphite);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-top: clamp(48px, 6vw, 80px);
  background: var(--enamel);
  color: var(--on-dark-muted);
  border-top: 3px solid var(--brass);
}

.footer-grid {
  display: grid;
  gap: 36px;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1040px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
    gap: 48px;
  }
}

.footer-brand {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.footer-tagline {
  max-width: 34ch;
}

.footer-title {
  margin-bottom: 14px;
  color: var(--brass-hi);
  font-size: var(--fs-tiny);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.footer-line .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--brass);
}

.footer-line a {
  color: var(--on-dark);
  text-decoration: none;
}

.footer-line a:hover {
  color: var(--brass-hi);
}

.footer-urgent {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--enamel-3);
  color: var(--on-dark);
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 2px;
}

.footer-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: var(--on-dark);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brass-hi);
}

.footer-bottom {
  margin-top: 48px;
  padding-block: 22px calc(90px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--enamel-line);
  font-size: var(--fs-small);
}

/* --------------------------------------------------------------------------
   WhatsApp flotante
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 16px;
  border: 2px solid var(--brass);
  border-radius: 999px;
  background: var(--enamel);
  color: var(--on-dark);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background-color 0.2s;
}

.wa-float .wa-float-icon {
  color: var(--brass-hi);
}

.wa-float:hover {
  transform: translateY(-3px);
  background: #22221e;
  box-shadow: 0 22px 36px -12px rgba(0, 0, 0, 0.65);
}

.wa-float-icon {
  width: 26px;
  height: 26px;
}

.wa-float-label {
  display: none;
}

@media (min-width: 900px) {
  .wa-float {
    right: 24px;
    bottom: 24px;
    padding: 0 22px 0 18px;
  }

  .wa-float-label {
    display: inline;
  }
}

body.menu-open .wa-float {
  opacity: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Movimiento reducido
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .wa-float,
  .toast-region {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Seguí tu pedido
   -------------------------------------------------------------------------- */

.track-link-icon {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  color: var(--on-dark);
  transition: background-color 0.2s, color 0.2s;
}

.track-link-icon .icon {
  width: 25px;
  height: 25px;
}

.track-link-icon:hover,
.track-link-icon.is-active {
  background: var(--enamel-3);
  color: var(--brass-hi);
}

@media (min-width: 960px) {
  .track-link-icon {
    display: grid;
  }
}

.track-layout {
  display: grid;
  gap: 36px;
  align-items: start;
}

@media (min-width: 900px) {
  .track-layout {
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: 64px;
  }
}

.track-card {
  gap: 16px;
}

.track-card .field + .field {
  margin-top: 0;
}

.track-help {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding-top: 8px;
}

.track-steps {
  display: grid;
  gap: 12px;
  width: 100%;
}

.track-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--graphite);
}

.track-steps strong {
  color: var(--ink);
}

.track-steps .status-lamp {
  flex: none;
  border-color: var(--brass);
  background: var(--brass-tint);
}

.track-note {
  max-width: 48ch;
  color: var(--graphite);
}

.track-now {
  display: grid;
  gap: 4px;
  margin-bottom: 32px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--enamel);
  color: var(--on-dark);
}

.track-now-label {
  color: var(--brass-hi);
  font-size: var(--fs-tiny);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.track-now-status {
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brass);
}

.track-now-text {
  max-width: 60ch;
  margin-top: 6px;
  font-size: 1.05rem;
}

.track-now-date {
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
}

.track-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin: -12px 0 40px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--brass-tint);
}

.track-link-title {
  font-weight: 800;
}

.track-link-text {
  color: var(--brass-text);
  font-size: 0.95rem;
}

.track-link-text a {
  font-weight: 700;
}

.order-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--enamel);
  font-weight: 600;
}

.order-pill strong {
  font-weight: 900;
  font-stretch: 115%;
}

.order-pill-lamp {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--enamel);
}

.order-pill--cancelled {
  background: var(--out-tint);
  color: #8a1b12;
}

.order-pill--cancelled .order-pill-lamp {
  background: var(--out);
}

/* --------------------------------------------------------------------------
   Barra de la dueña (solo con la sesión del panel abierta)
   -------------------------------------------------------------------------- */

.owner-bar {
  position: relative;
  z-index: 61;
  background: var(--brass);
  color: var(--enamel);
  font-size: 0.88rem;
}

.owner-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
}

.owner-bar-text {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 700;
}

.owner-bar-text > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-bar-name {
  font-weight: 500;
}

.owner-bar-actions {
  display: flex;
  flex: none;
  gap: 6px;
}

.owner-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--enamel);
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.2s;
}

.owner-bar-link:hover {
  background: rgba(15, 15, 14, 0.12);
}

.owner-bar-link--main {
  background: var(--enamel);
  color: var(--on-dark);
}

.owner-bar-link--main:hover {
  background: #2a2a25;
}

@media (max-width: 599px) {
  .owner-bar-name,
  .owner-bar-link:not(.owner-bar-link--main) span {
    display: none;
  }

  .owner-bar-link:not(.owner-bar-link--main) {
    padding: 0 9px;
  }
}

.owner-bar--preview {
  background: var(--enamel-3);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(212, 167, 44, 0.35);
}

.owner-bar--preview .owner-bar-text .icon {
  color: var(--brass-hi);
}

.owner-bar--preview .owner-bar-link--main {
  background: var(--brass);
  color: var(--enamel);
}

.owner-bar--preview .owner-bar-link--main:hover {
  background: var(--brass-hi);
}

.owner-bar-close {
  color: var(--on-dark-muted);
  padding: 0 9px;
}

.owner-bar-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-dark);
}

@media (max-width: 599px) {
  .owner-bar--preview .owner-bar-text span {
    font-size: 0.8rem;
  }
}

.owner-bar--preview .owner-bar-link:not(.owner-bar-link--main) {
  color: var(--on-dark);
}

.owner-bar--preview .owner-bar-link:not(.owner-bar-link--main):hover {
  background: rgba(255, 255, 255, 0.1);
}

.brand picture {
  display: block;
  flex: none;
  line-height: 0;
}

/* --------------------------------------------------------------------------
   Páginas legales, avisos y mapa bajo demanda
   -------------------------------------------------------------------------- */

.legal {
  max-width: 820px;
}

.legal > * + * {
  margin-top: 14px;
}

.legal h2 {
  margin-top: 40px;
  font-size: 1.35rem;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.2;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.legal p,
.legal li {
  max-width: 70ch;
  color: #2d2d29;
  text-wrap: pretty;
}

.legal ul,
.legal ol {
  display: grid;
  gap: 8px;
  padding-left: 1.3em;
}

.legal li::marker {
  color: var(--brass-lo);
  font-weight: 800;
}

.legal a {
  color: var(--brass-ink);
  font-weight: 600;
}

.legal-updated {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--brass-tint);
  color: var(--brass-text);
  font-size: var(--fs-small);
  font-weight: 700;
}

.legal-identity {
  list-style: none;
  padding: 16px 18px !important;
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: 0 0 0 1px var(--line);
}

.legal-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
}

.legal-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--paper-2);
  font-weight: 800;
}

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

.legal-table code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.88em;
}

/* En celular cada cookie es una ficha: sin scroll lateral dentro de la tabla. */
@media (max-width: 639px) {
  .legal-table {
    min-width: 0;
  }

  .legal-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .legal-table tr {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .legal-table tr:last-child {
    border-bottom: 0;
  }

  .legal-table td {
    display: grid;
    grid-template-columns: 7.5em 1fr;
    gap: 10px;
    padding: 3px 0;
    border-bottom: 0;
  }

  .legal-table td::before {
    content: attr(data-label);
    color: var(--graphite);
    font-size: var(--fs-small);
    font-weight: 700;
  }
}

.legal-foot {
  margin-top: 36px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.form-legal {
  color: var(--graphite);
  font-size: 0.84rem;
  line-height: 1.45;
}

.form-legal a {
  color: var(--ink);
  font-weight: 700;
}

.checkout-submit .form-legal {
  text-align: center;
}

.order-legal {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  color: var(--graphite);
  font-size: 0.95rem;
}

.order-legal .icon {
  margin-top: 2px;
  color: var(--brass-lo);
}

.order-legal a {
  color: var(--ink);
  font-weight: 700;
}

.price-note {
  margin-top: -6px;
  color: var(--graphite);
  font-size: 0.82rem;
}

.shop-count-note {
  font-weight: 500;
}

@media (max-width: 599px) {
  .shop-count-note {
    display: block;
    margin-top: 2px;
  }

  .shop-count-note::first-letter {
    visibility: hidden;
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 10px;
}

.footer-legal a {
  color: var(--on-dark-muted);
  text-decoration: underline;
  text-decoration-color: rgba(184, 182, 173, 0.4);
}

.footer-legal a:hover {
  color: var(--brass-hi);
}

.map-lazy {
  position: relative;
  /* En celular el 4:3 queda bajo para la dirección, los botones y la nota.
     El ancho explícito evita que, dentro de una grilla, la altura mínima
     vía aspect-ratio lo haga más ancho que la pantalla. */
  width: 100%;
  min-height: 350px;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  background-color: var(--enamel-2);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1.6px, transparent 2.1px);
  background-size: 24px 24px;
  color: var(--on-dark);
  text-align: center;
}

.map-placeholder-icon {
  width: 40px;
  height: 40px;
  color: var(--brass);
}

.map-placeholder-address {
  font-weight: 700;
  line-height: 1.35;
}

.map-placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.map-placeholder-note {
  max-width: 40ch;
  color: var(--on-dark-muted);
  font-size: 0.8rem;
}

.map-placeholder-note a {
  color: var(--on-dark);
}

.map-lazy iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Pago online (Mercado Pago)
   -------------------------------------------------------------------------- */

.pay-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
}

.pay-note .icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--brass-hi);
}

.pay-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-weight: 700;
}

.pay-state .icon {
  width: 16px;
  height: 16px;
}

.pay-state--ok {
  color: var(--ok);
}

.pay-state--due {
  color: var(--low);
}
