/* ==========================================================================
   Kasumaki — Barrio Nikkei
   Sistema visual: papel washi, tinta sumi, nori, akami y wasabi.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
}

:root {
  --washi: #f2eadc;
  --paper: #fbf7ef;
  --paper-deep: #eee4d4;
  --ink: #1a1611;
  --ink-soft: #3b342a;
  --muted: #6c6355;
  --nori: #1f3b2e;
  --nori-deep: #142a20;
  --akami: #b33a26;
  --wasabi: #a7b04b;
  --line: rgba(26, 22, 17, 0.16);
  --line-strong: rgba(26, 22, 17, 0.34);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(20px, 4.2vw, 52px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--washi);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

::selection {
  background: var(--wasabi);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--akami);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow--akami {
  color: var(--akami);
}

.eyebrow--light {
  color: rgba(251, 247, 239, 0.68);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-wrap: balance;
}

.display em {
  font-style: italic;
  font-weight: 400;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Botones y enlaces ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn:hover {
  --btn-bg: var(--nori);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--akami {
  --btn-bg: var(--akami);
}

.btn--akami:hover {
  --btn-bg: #972f1e;
}

.btn--wasabi {
  --btn-bg: var(--wasabi);
  --btn-fg: var(--ink);
}

.btn--wasabi:hover {
  --btn-bg: #b7c25c;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}

.btn--outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  border-color: var(--ink);
}

.btn--light {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
}

.btn--light:hover {
  --btn-bg: var(--wasabi);
  --btn-fg: var(--ink);
}

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

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 11px;
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.link-arrow span {
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover {
  color: var(--akami);
  border-color: var(--akami);
}

.link-arrow:hover span {
  transform: translate(3px, -3px);
}

/* ---------- Barra de anuncio ---------- */

.announce {
  background: var(--nori-deep);
  color: rgba(251, 247, 239, 0.86);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.announce-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.announce-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wasabi);
  flex: none;
}

.announce-sep {
  opacity: 0.35;
}

/* ---------- Cabecera ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 234, 220, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-seal {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--nori);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  position: relative;
}

.brand-seal::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--akami);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.brand-tag {
  margin-top: 4px;
  font-size: 8.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav-links a {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--akami);
  transition: right 0.35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.cart-btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.cart-btn svg {
  width: 16px;
  height: 16px;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 20px;
  background: var(--akami);
  color: var(--paper);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.cart-count[data-empty="true"] {
  display: none;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  place-items: center;
}

.burger span {
  position: relative;
  display: block;
  width: 17px;
  height: 1px;
  background: var(--ink);
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.burger span::before {
  top: -5px;
}

.burger span::after {
  top: 5px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--washi);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-menu a span {
  opacity: 0.4;
}

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

.hero {
  padding: clamp(36px, 6vw, 82px) 0 clamp(30px, 4vw, 58px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: end;
}

.hero h1 {
  font-size: clamp(54px, 7.6vw, 112px);
  margin-top: 24px;
}

.hero h1 .line {
  display: block;
}

.hero h1 em {
  color: var(--akami);
}

.hero-lede {
  max-width: 43ch;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15.5px, 1.4vw, 18.5px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--akami);
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -18px;
  bottom: -18px;
  width: 48%;
  height: 34%;
  background: var(--wasabi);
  opacity: 0.85;
}

.hero-frame {
  position: relative;
  aspect-ratio: 1 / 1.06;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line-strong);
  padding: 9px;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% 50%;
  transition: transform 1.4s var(--ease);
}

.hero-visual:hover .hero-frame img {
  transform: scale(1.03);
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  top: -24px;
  left: -26px;
  width: 94px;
  height: 94px;
  display: grid;
  place-content: center;
  gap: 2px;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  transform: rotate(-8deg);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--nori);
}

.hero-stamp strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 13px;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-caption span:last-child {
  text-align: right;
}

/* ---------- Cinta de ingredientes ---------- */

.ingredient-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.ingredient-strip ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.ingredient-strip li {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.ingredient-strip li::after {
  content: "·";
  color: var(--akami);
  font-size: 14px;
}

.ingredient-strip li:last-child::after {
  display: none;
}

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

.section {
  padding: clamp(56px, 8vw, 108px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 20px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  margin-bottom: clamp(30px, 4vw, 52px);
}

.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(38px, 5vw, 68px);
}

.section-head h2 em {
  color: var(--akami);
}

.section-head .link-arrow {
  margin-bottom: 10px;
}

.section-note {
  max-width: 34ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Productos ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 38px);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.product-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.product-card:hover .product-media > img {
  transform: scale(1.045);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  background: rgba(251, 247, 239, 0.92);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-index {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: rgba(251, 247, 239, 0.82);
  font-family: var(--font-display);
  font-size: 30px;
  font-style: italic;
  text-shadow: 0 1px 12px rgba(20, 15, 10, 0.28);
}

.product-body {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.product-price {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.product-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.product-unit {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.add-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.add-btn svg {
  width: 14px;
  height: 14px;
}

.add-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: rotate(90deg);
}

/* Tarjetas editoriales sin foto */

.product-media--paper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2.2vw, 30px);
  color: var(--paper);
  border-color: transparent;
}

.product-media--nori {
  background: var(--nori);
}

.product-media--akami {
  background: var(--akami);
}

.product-media--cream {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.type-mark {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  opacity: 0.65;
}

.type-ingredients {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.9;
}

.type-ingredients li {
  padding-top: 5px;
  border-top: 1px solid currentColor;
  border-top-color: rgba(251, 247, 239, 0.28);
}

.product-media--cream .type-ingredients li {
  border-top-color: var(--line);
}

.type-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.type-foot span:first-child {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.type-foot span:last-child {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}

/* ---------- Cómo pedir ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3.4vw, 48px);
}

.step {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.step-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--akami);
}

.step h3 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 4px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Historia ---------- */

.story-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.story-visual {
  position: relative;
}

.story-visual::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 18%;
  bottom: 18%;
  width: 32%;
  background: var(--akami);
  opacity: 0.9;
  z-index: -1;
}

.story-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  padding: 9px;
  background: var(--paper);
}

.story-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy h2 {
  margin: 20px 0 22px;
  font-size: clamp(38px, 4.6vw, 64px);
}

.story-copy h2 em {
  color: var(--akami);
}

.story-copy p {
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

.story-copy p + p {
  margin-top: 14px;
}

.signature {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 30px;
  font-style: italic;
  color: var(--nori);
}

.story-facts {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.story-facts li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.story-facts span:first-child {
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
}

.story-facts span:last-child {
  font-weight: 500;
  text-align: right;
}

/* ---------- Banda nori ---------- */

.band {
  background: var(--nori);
  color: var(--paper);
}

.band-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.band-item {
  padding: clamp(32px, 4.5vw, 58px) clamp(20px, 3vw, 42px);
  border-left: 1px solid rgba(251, 247, 239, 0.18);
}

.band-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.band-item .eyebrow {
  color: rgba(251, 247, 239, 0.55);
}

.band-item .eyebrow::before {
  background: var(--wasabi);
}

.band-item strong {
  display: block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.band-item p {
  margin-top: 10px;
  color: rgba(251, 247, 239, 0.68);
  font-size: 13px;
  max-width: 28ch;
}

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

.site-footer {
  background: var(--ink);
  color: var(--washi);
  padding-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.footer-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(242, 234, 220, 0.16);
}

.footer-cta h2 {
  font-size: clamp(46px, 7vw, 92px);
}

.footer-cta h2 em {
  color: var(--wasabi);
}

.footer-cta .btn {
  flex: none;
  margin-bottom: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 44px 0;
}

.footer-brand .brand-name {
  font-size: 30px;
}

.footer-brand .brand-seal {
  background: transparent;
  color: var(--wasabi);
  border-color: rgba(242, 234, 220, 0.4);
}

.footer-brand p {
  max-width: 26ch;
  margin-top: 16px;
  color: rgba(242, 234, 220, 0.6);
  font-size: 13px;
  line-height: 1.6;
}

.footer-col h3 {
  margin-bottom: 14px;
  color: rgba(242, 234, 220, 0.5);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-col li {
  margin-bottom: 9px;
  font-size: 13px;
}

.footer-col a {
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--wasabi);
}

.footer-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 18px 0;
  border-top: 1px solid rgba(242, 234, 220, 0.14);
  color: rgba(242, 234, 220, 0.48);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.footer-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-wordmark {
  margin-bottom: -0.14em;
  padding-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(72px, 17vw, 232px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.055em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 234, 220, 0.28);
  white-space: nowrap;
  text-align: center;
  user-select: none;
}

/* ---------- Carrito ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(20, 17, 12, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transform: translateX(102%);
  transition: transform 0.48s var(--ease);
  box-shadow: -24px 0 60px rgba(20, 17, 12, 0.18);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.drawer-head .eyebrow {
  margin-bottom: 4px;
}

.drawer-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.drawer-close:hover {
  background: var(--ink);
  color: var(--paper);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 22px 22px;
}

.drawer-empty {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 320px;
  gap: 14px;
  color: var(--muted);
}

.drawer-empty p {
  font-size: 14px;
  max-width: 26ch;
}

.drawer-empty strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
}

.cart-item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  width: 62px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.cart-thumb--paper {
  display: grid;
  place-items: center;
  background: var(--nori);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
}

.cart-item-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cart-item-unit {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 10px;
  border: 1px solid var(--line);
}

.qty button {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  transition: background 0.2s var(--ease);
}

.qty button:hover {
  background: var(--washi);
}

.qty span {
  min-width: 26px;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cart-remove {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-remove:hover {
  color: var(--akami);
}

.drawer-foot {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line-strong);
  background: var(--washi);
}

.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
}

.cart-total-row strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.cart-min {
  margin-bottom: 14px;
  font-size: 10.5px;
  color: var(--akami);
}

.cart-min[hidden] {
  display: none;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.02em;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  max-width: calc(100vw - 32px);
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast strong {
  color: var(--wasabi);
  font-weight: 600;
}

/* ---------- Barra móvil ---------- */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(251, 247, 239, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-strong);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

.mobile-bar.is-on {
  transform: translateY(0);
}

.mobile-bar-info {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.mobile-bar-info strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0;
}

.mobile-bar .btn {
  min-height: 44px;
  padding: 0 20px;
  font-size: 10px;
}

/* ---------- Carta ---------- */

.page-head {
  padding: clamp(48px, 7vw, 86px) 0 clamp(30px, 4vw, 46px);
}

.page-head-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.page-head h1 {
  font-size: clamp(52px, 8vw, 104px);
  margin-top: 18px;
}

.page-head h1 em {
  color: var(--akami);
}

.page-head-note {
  max-width: 30ch;
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.menu-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 234, 220, 0.94);
  backdrop-filter: blur(10px);
}

.filters {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter {
  flex: none;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 40px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
}

.filter:hover {
  color: var(--ink);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.menu-count {
  flex: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.menu-section {
  padding: clamp(36px, 5vw, 64px) 0;
}

.menu-section + .menu-section {
  border-top: 1px solid var(--line);
}

.menu-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.menu-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.menu-section-head span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.menu-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.menu-note span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wasabi);
}

/* ---------- Checkout ---------- */

.checkout-head {
  padding: clamp(40px, 5vw, 64px) 0 32px;
}

.checkout-head h1 {
  font-size: clamp(44px, 6vw, 76px);
  margin-top: 16px;
}

.checkout-head h1 em {
  color: var(--akami);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(30px, 4.5vw, 64px);
  align-items: start;
  padding-bottom: clamp(60px, 8vw, 110px);
}

.form-section {
  padding: 26px 0 30px;
  border-top: 1px solid var(--line-strong);
}

.form-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
}

.form-section-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--akami);
}

.form-section h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.form-section-note {
  margin-left: auto;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label .req {
  color: var(--akami);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(251, 247, 239, 0.5);
  font-size: 14px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(167, 176, 75, 0.28);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9a9081;
}

.field-hint {
  margin-top: -2px;
  color: var(--muted);
  font-size: 10.5px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field-row--3 {
  grid-template-columns: 1.4fr 0.9fr 0.9fr;
}

.field-error {
  display: none;
  color: var(--akami);
  font-size: 11px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--akami);
}

.field.has-error .field-error {
  display: block;
}

.pay-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

/* ---------- Elección de envío ---------- */

.delivery-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.delivery-option {
  position: relative;
  display: block;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(251, 247, 239, 0.45);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), opacity 0.25s var(--ease);
}

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

.delivery-option:hover {
  border-color: var(--ink);
}

.delivery-option.is-selected {
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.delivery-option.is-unavailable {
  opacity: 0.55;
  cursor: not-allowed;
}

.delivery-option-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.delivery-option-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.delivery-option-top strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.delivery-option-tag {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.delivery-option.is-selected .delivery-option-tag {
  border-color: var(--akami);
  color: var(--akami);
}

.delivery-option-desc {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.delivery-option-foot {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
}

.delivery-option-foot--warn {
  color: var(--akami);
  font-weight: 500;
}

.delivery-alert {
  margin-top: 12px;
  padding: 11px 13px;
  border-left: 2px solid var(--akami);
  background: rgba(179, 58, 38, 0.07);
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.5;
}

.delivery-address-hint {
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px dashed var(--line-strong);
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.5;
}

.delivery-address-hint strong {
  color: var(--ink);
}

.summary-indrive {
  margin-top: 10px;
  padding: 9px 11px;
  border-left: 2px solid var(--akami);
  background: rgba(179, 58, 38, 0.07);
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.5;
}

.pay-indrive-note {
  display: block;
  margin-top: 6px;
  color: var(--akami);
  font-size: 10.5px;
  line-height: 1.4;
}

.delivery-alert[hidden],
.delivery-address-hint[hidden],
.summary-indrive[hidden],
.pay-indrive-note[hidden] {
  display: none;
}

.pay-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  text-align: left;
  transition: all 0.25s var(--ease);
}

.pay-tab:hover {
  border-color: var(--ink);
}

.pay-tab.is-active {
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.pay-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  flex: none;
  position: relative;
}

.pay-tab.is-active .pay-dot {
  border-color: var(--akami);
}

.pay-tab.is-active .pay-dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--akami);
}

.pay-tab strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.pay-tab small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
}

.pay-panel {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: start;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.qr-box {
  text-align: center;
  padding: 10px;
  background: #fffdf8;
  border: 1px solid var(--line);
}

.qr-box img {
  width: 100%;
  height: auto;
}

.qr-box span {
  display: block;
  margin-top: 7px;
  font-size: 8.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay-steps {
  counter-reset: pay;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.pay-steps li {
  counter-increment: pay;
  position: relative;
  padding: 0 0 12px 28px;
  line-height: 1.5;
}

.pay-steps li::before {
  content: counter(pay);
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
}

.pay-amount {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

.pay-amount strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  background: rgba(251, 247, 239, 0.45);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  cursor: pointer;
}

.upload:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  flex: none;
}

.upload-text strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.upload-text small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
}

.upload-preview {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.upload-preview.is-on {
  display: flex;
}

.upload-preview img {
  width: 54px;
  height: 62px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.upload-preview .file-meta {
  flex: 1;
  min-width: 0;
}

.upload-preview strong {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-preview span {
  color: var(--muted);
  font-size: 10.5px;
}

.upload-remove {
  color: var(--akami);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.upload-demo {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.upload-demo:hover {
  color: var(--akami);
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}

.checkline input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--nori);
  flex: none;
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--paper);
  border: 1px solid var(--line-strong);
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.summary-head h2 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.summary-head span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted);
}

.summary-items {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px 20px;
}

.summary-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}

.summary-item:last-child {
  border-bottom: 0;
}

.summary-item-name {
  font-weight: 500;
}

.summary-item-name small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.summary-item-price {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.summary-totals {
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
  color: var(--muted);
  font-size: 12px;
}

.summary-row strong {
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.summary-row--total {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13px;
}

.summary-row--total strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.summary-cta {
  padding: 0 20px 20px;
}

.summary-cta .btn {
  width: 100%;
}

.summary-safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-align: center;
}

.summary-safe svg {
  width: 12px;
  height: 12px;
  flex: none;
}

.summary-empty {
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.summary-empty strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}

.checkout-legal {
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

/* ---------- Seguimiento ---------- */

.track-head {
  padding: clamp(40px, 5vw, 64px) 0 30px;
}

.track-head-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.track-code {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.track-code em {
  color: var(--akami);
  font-style: italic;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--akami);
}

.status-pill[data-status="PAGADO"]::before,
.status-pill[data-status="EN_PREPARACION"]::before {
  background: var(--wasabi);
}

.status-pill[data-status="LISTO"]::before {
  background: var(--nori);
}

.status-pill[data-status="EN_REPARTO"]::before {
  background: #2f6f8f;
}

.status-pill[data-status="ENTREGADO"]::before {
  background: #4a7c4e;
}

.track-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  padding-bottom: clamp(60px, 8vw, 110px);
}

.track-panel {
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.track-panel-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.track-panel-head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.track-panel-head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.track-panel-body {
  padding: 22px;
}

.timeline {
  position: relative;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  bottom: 9px;
  width: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  padding-bottom: 24px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 5px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
}

.timeline li.is-done::before {
  background: var(--nori);
  border-color: var(--nori);
}

.timeline li.is-current::before {
  background: var(--akami);
  border-color: var(--akami);
  box-shadow: 0 0 0 4px rgba(179, 58, 38, 0.14);
}

.timeline h3 {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.timeline li:not(.is-done):not(.is-current) h3 {
  color: var(--muted);
  font-weight: 500;
}

.timeline time {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.timeline p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.track-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.track-card {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 20px 22px;
}

.track-card h3 {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.track-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.track-total span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.track-total strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.track-pay {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
}

.track-pay .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wasabi);
  flex: none;
}

.track-pay.is-pending .dot {
  background: var(--akami);
}

.track-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.track-hint {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(167, 176, 75, 0.14);
  border-left: 2px solid var(--wasabi);
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.track-empty {
  padding: 60px 0 100px;
  max-width: 46ch;
}

.track-empty h1 {
  font-size: clamp(42px, 6vw, 72px);
  margin: 18px 0 18px;
}

.track-empty p {
  color: var(--muted);
  margin-bottom: 26px;
}

.lookup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  max-width: 520px;
  margin-top: 26px;
}

.lookup-form .field {
  margin-bottom: 0;
}

.lookup-form .btn {
  min-height: 48px;
}

.recent-orders {
  border-top: 1px solid var(--line-strong);
}

.recent-orders li {
  border-bottom: 1px solid var(--line);
}

.recent-orders a {
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  font-size: 12px;
  transition: color 0.25s var(--ease);
}

.recent-orders a:hover {
  color: var(--akami);
}

.recent-orders strong {
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.recent-orders span {
  color: var(--muted);
}

.recent-orders em {
  font-style: normal;
  white-space: nowrap;
}

.track-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

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

.track-list span {
  flex: none;
  padding-top: 1px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.track-list strong {
  font-weight: 500;
  text-align: right;
  line-height: 1.45;
}

.track-note {
  margin-top: 10px;
  padding: 9px 11px;
  background: var(--washi);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.receipt-thumb {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 7px;
  border: 1px solid var(--line);
  background: var(--washi);
  text-align: center;
}

.receipt-thumb img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
}

.receipt-thumb span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.receipt-thumb:hover span {
  color: var(--akami);
}

@media (max-width: 760px) {
  .recent-orders a {
    grid-template-columns: 1fr auto;
    gap: 4px 14px;
    padding: 14px 0;
  }

  .recent-orders a > strong {
    grid-column: 1;
    grid-row: 1;
  }

  .recent-orders a > em {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .recent-orders a > span:nth-of-type(1) {
    grid-column: 1;
    grid-row: 2;
  }

  .recent-orders a > span:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
  }

  .lookup-form {
    grid-template-columns: 1fr;
  }
}

/* ---------- Modales genéricos ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 17, 12, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(520px, 100%);
  max-height: min(86vh, 760px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  transform: translateY(14px);
  transition: transform 0.35s var(--ease);
}

.modal.is-open .modal-card {
  transform: translateY(0);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}

.modal-body {
  padding: 20px;
}

.modal-body img {
  width: 100%;
  border: 1px solid var(--line);
}

/* ---------- Utilidades ---------- */

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav-links {
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(54px, 11vw, 96px);
  }

  .hero-visual {
    max-width: 560px;
  }

  .hero-frame {
    aspect-ratio: 5 / 4;
  }

  .hero-frame img {
    object-position: 82% 50%;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-visual {
    max-width: 480px;
  }

  .checkout-layout,
  .track-layout {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .band-inner {
    grid-template-columns: 1fr;
  }

  .band-item {
    border-left: 0;
    border-top: 1px solid rgba(251, 247, 239, 0.18);
    padding-left: 0;
    padding-right: 0;
  }

  .band-item:first-child {
    border-top: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 66px;
  }

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .burger {
    display: grid;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-tag {
    display: none;
  }

  .announce-inner {
    font-size: 9px;
    letter-spacing: 0.1em;
    gap: 9px;
  }

  .announce-extra {
    display: none;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 74px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .hero-visual {
    max-width: none;
  }

  .hero-stamp {
    top: -14px;
    left: -6px;
    width: 76px;
    height: 76px;
    font-size: 6.5px;
    letter-spacing: 0.12em;
    line-height: 1.4;
  }

  .hero-stamp strong {
    font-size: 14px;
  }

  .ingredient-strip ul {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ingredient-strip ul::-webkit-scrollbar {
    display: none;
  }

  .section-head {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .section-head .link-arrow {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .product-grid {
    gap: 26px 16px;
  }

  .product-name {
    font-size: 20px;
  }

  .product-desc {
    font-size: 12.5px;
  }

  .page-head-grid {
    grid-template-columns: 1fr;
  }

  .page-head-note {
    padding-bottom: 0;
  }

  .menu-toolbar {
    gap: 10px;
  }

  .menu-count {
    display: none;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-grid .footer-col:last-child {
    grid-column: auto;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-wordmark {
    font-size: clamp(56px, 18vw, 120px);
  }

  .mobile-bar {
    display: flex;
  }

  body {
    padding-bottom: 0;
  }

  .drawer {
    width: 100%;
  }

  .field-row,
  .field-row--3 {
    grid-template-columns: 1fr;
  }

  .delivery-options {
    grid-template-columns: 1fr;
  }

  .pay-panel {
    grid-template-columns: 1fr;
  }

  .qr-box {
    max-width: 220px;
    margin: 0 auto;
  }

  .checkout-head h1 {
    font-size: clamp(40px, 11vw, 60px);
  }

  .track-code {
    font-size: clamp(40px, 11vw, 60px);
  }

  .toast {
    bottom: 86px;
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-media {
    aspect-ratio: 5 / 4;
  }

  .product-media--paper {
    aspect-ratio: 5 / 4;
  }

  .hero-frame {
    aspect-ratio: 1 / 1;
  }

  .hero-visual::before {
    width: 40%;
    height: 26%;
    left: -10px;
    bottom: -10px;
  }

  .type-foot span:first-child {
    font-size: 40px;
  }

  .cart-item {
    grid-template-columns: 52px 1fr auto;
    gap: 11px;
  }

  .cart-thumb {
    width: 52px;
    height: 62px;
  }

  .summary-head,
  .summary-items,
  .summary-totals,
  .summary-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pay-tabs {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Libro de reclamaciones ---------- */

.claim-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  padding-bottom: clamp(60px, 8vw, 110px);
}

.claim-kinds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.claim-kind {
  position: relative;
  display: block;
  padding: 18px 18px 18px 46px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(251, 247, 239, 0.45);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.claim-kind:hover {
  border-color: var(--ink);
}

.claim-kind input {
  position: absolute;
  top: 22px;
  left: 18px;
  width: 16px;
  height: 16px;
  accent-color: var(--nori);
}

.claim-kind strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.claim-kind small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.claim-kind:has(input:checked) {
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--wasabi);
}

.claim-submit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.claim-submit p {
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.terms-error {
  margin-top: 8px;
}

.claim-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.claim-card {
  padding: 22px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.claim-card .eyebrow {
  margin-bottom: 12px;
}

.claim-card h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.claim-card h2 em {
  color: var(--akami);
}

.claim-card p {
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.65;
}

.claim-card p + p {
  margin-top: 10px;
}

.claim-list {
  display: grid;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.claim-list li {
  display: flex;
  gap: 9px;
}

.claim-list li::before {
  content: "—";
  color: var(--akami);
}

.claim-card--dark {
  border-color: var(--nori);
  background: var(--nori);
  color: var(--paper);
}

.claim-card--dark .eyebrow {
  color: var(--wasabi);
}

.claim-card--dark p {
  color: rgba(251, 247, 239, 0.78);
}

.claim-card--dark .link-arrow {
  margin-top: 14px;
  color: var(--paper);
}

.claim-card--dark .link-arrow:hover {
  color: var(--wasabi);
}

.claim-small {
  font-size: 11px !important;
}

.claim-demo {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.claim-success {
  padding-bottom: clamp(70px, 9vw, 130px);
}

.claim-success-box {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  text-align: center;
  box-shadow: 8px 8px 0 rgba(167, 176, 75, 0.55);
}

.claim-success-box h2 {
  margin: 14px 0 16px;
  font-size: clamp(38px, 5.5vw, 62px);
}

.claim-success-box h2 em {
  color: var(--akami);
  font-style: italic;
}

.claim-success-box > p {
  max-width: 46ch;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.65;
}

.claim-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 22px;
}

@media (max-width: 900px) {
  .claim-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .claim-kinds {
    grid-template-columns: 1fr;
  }

  .claim-kind {
    padding: 15px 15px 15px 42px;
  }

  .claim-kind input {
    top: 19px;
    left: 15px;
  }

  .claim-submit .btn {
    width: 100%;
  }

  .claim-success-actions .btn {
    width: 100%;
  }
}

/* ---------- Precios con oferta ---------- */

.product-pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px 7px;
  max-width: 60%;
}

.product-pricing .product-price {
  color: var(--akami);
}

.price-was {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  text-decoration: line-through;
  white-space: nowrap;
}

.offer-tag {
  padding: 3px 6px;
  background: var(--akami);
  color: var(--paper);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cart-price-now {
  color: var(--akami);
  font-weight: 600;
}

.cart-item-unit s,
.summary-price-was {
  margin-left: 3px;
  color: var(--muted);
  font-weight: 400;
}

/* ---------- Mi cuenta ---------- */

.account-page {
  padding: clamp(46px, 6vw, 86px) 0 clamp(66px, 8vw, 110px);
}

.account-layout {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 520px);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.account-copy h1 {
  margin: 14px 0 22px;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.94;
}

.account-copy h1 em {
  color: var(--akami);
}

.account-lede {
  max-width: 42ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.account-benefits {
  margin: 34px 0 0;
  border-top: 1px solid var(--line-strong);
}

.account-benefits li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.account-benefits span {
  color: var(--akami);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.account-team {
  margin-top: 30px;
  color: var(--muted);
  font-size: 12px;
}

.account-team a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: 14px 14px 0 rgba(20, 17, 12, 0.05);
}

.account-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.account-tab {
  padding: 10px 2px;
  margin-right: 22px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.account-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--akami);
}

.account-form .field:last-of-type {
  margin-bottom: 18px;
}

.account-form .btn {
  margin-top: 4px;
}

.account-error {
  display: none;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: rgba(179, 58, 38, 0.08);
  border-left: 2px solid var(--akami);
  color: var(--akami);
  font-size: 11.5px;
  line-height: 1.5;
}

.account-error.is-on {
  display: block;
}

.account-hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.account-hint strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
}

.account-profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.account-avatar {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--washi);
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
}

.account-profile-head h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.account-profile-email {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
}

.account-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.account-facts dt {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.account-facts dd {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.account-history-title {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.account-order {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease);
}

.account-order:hover {
  color: var(--akami);
}

.account-order span:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-order span strong {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.account-order small {
  color: var(--muted);
  font-size: 10px;
}

.account-order-status {
  color: var(--nori);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-order > strong {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.account-empty {
  padding: 18px 14px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.account-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.account-profile-actions .btn {
  flex: 1;
  min-width: 140px;
}

/* ---------- Ingreso con Google ---------- */

.google-auth {
  margin-bottom: 20px;
}

.google-auth-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.google-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.google-mark svg {
  width: 18px;
  height: 18px;
  display: block;
}

.google-auth-head strong {
  display: block;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.google-auth-head span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.google-button {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

.google-button:empty {
  display: none;
}

.google-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.google-demo:hover {
  border-color: var(--ink);
  background: #fdfbf7;
}

.google-demo[hidden] {
  display: none;
}

.google-demo .google-mark {
  width: 20px;
  height: 20px;
  border: 0;
  background: transparent;
}

.google-demo .google-mark svg {
  width: 18px;
  height: 18px;
}

.google-demo-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--washi);
}

.google-demo-panel[hidden] {
  display: none;
}

.google-demo-panel > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.google-demo-panel .btn {
  margin-top: 2px;
}

.google-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.google-note[hidden] {
  display: none;
}

.account-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.account-divider::before,
.account-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.account-provider {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--nori);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-provider::before {
  content: "G";
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
}

.account-provider[hidden] {
  display: none;
}

.site-footer--slim {
  padding-top: clamp(36px, 4vw, 58px);
}

.site-footer--slim .footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-top: 0;
}

@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-panel {
    max-width: 560px;
  }
}

@media (max-width: 520px) {
  .product-pricing {
    max-width: 52%;
  }

  .account-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .account-order {
    grid-template-columns: 1fr auto;
  }

  .account-order > strong {
    grid-column: 1;
    font-size: 11px;
  }

  .account-order-status {
    grid-column: 2;
    grid-row: 1 / span 2;
    text-align: right;
  }

  .site-footer--slim .footer-grid {
    grid-template-columns: 1fr;
  }
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.turnstile-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
}

.turnstile-row[hidden] {
  display: none;
}

.turnstile-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
