/* =========================================================================
   HispaOliva — estilo oscuro y dorado sobre el tema Base.
   Los colores salen de variables (Admin → Apariencia); aquí solo los valores
   por defecto y los componentes propios (portada, historia, iconos, ficha de
   producto y carrito).
   ========================================================================= */
:root {
  --cms-accent: #c9a24c;
  --cms-accent-ink: #111111;
  --b-accent2: #e6c77e;
  --b-bg: #0d0c09;
  --cms-surface: #17150f;
  --cms-text: #f1e9d6;
  --cms-muted: #b9ae96;
  --h-card: #ece5d9;
  --h-ink: #1b1813;
  --b-footer-bg: #080705;
  --cms-radius: 18px;
  --b-btn-radius: 999px;
  --cms-font-heading: 'Cinzel', Georgia, serif;
  --h-heading-track: .02em;  /* Cinzel es de mayúsculas: algo de aire entre letras */
  --b-font: 'Jost', system-ui, sans-serif;
  --cms-line: color-mix(in srgb, var(--cms-accent) 22%, transparent);
  --h-gold-grad: linear-gradient(180deg, color-mix(in srgb, var(--b-accent2) 85%, #fff) 0%, var(--cms-accent) 55%, color-mix(in srgb, var(--cms-accent) 80%, #000) 100%);
  --b-header-h: 72px;
}

body { font-weight: 300; background: var(--b-bg); }
h1, h2, h3 { font-weight: 600; letter-spacing: var(--h-heading-track); }
.b-h2, .h-h2 { font-family: var(--cms-font-heading); font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: var(--h-heading-track); color: var(--cms-text); }
.b-h3 { font-family: var(--cms-font-heading); font-size: 20px; font-weight: 600; }
.b-eyebrow, .h-eyebrow { font-family: var(--b-font); font-size: 13px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--cms-accent); margin: 0 0 22px; }
.h-eyebrow--dark { color: var(--h-ink); letter-spacing: .5em; }
.b-lead, .b-p { font-weight: 300; }
.h-center { text-align: center; }
a { color: var(--b-accent2); }

/* ---------------------------------------------------------------- botón */
.h-btn, .b-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 30px; border-radius: var(--b-btn-radius); border: 0; background: var(--h-gold-grad); color: var(--cms-accent-ink); font: 500 17px/1 var(--b-font); text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 10px 26px -14px color-mix(in srgb, var(--cms-accent) 90%, transparent); transition: transform .2s, filter .2s, box-shadow .2s; }
.h-btn:hover, .b-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.h-btn .h-icon, .h-btn__arrow { width: 22px; height: 22px; stroke-width: 1.8; color: currentColor; }
.h-btn--ghost, .b-btn--ghost { background: transparent; color: var(--cms-accent); box-shadow: inset 0 0 0 1.5px var(--cms-accent); }
.h-btn--block { width: 100%; }
.h-btn.is-added { filter: brightness(1.15); }
.h-icon { width: 34px; height: 34px; color: var(--cms-accent); flex: none; }

/* ------------------------------------------------------------ cabecera */
.h-header { background: color-mix(in srgb, var(--b-bg) 82%, transparent); border-bottom: 1px solid var(--cms-line); }
.h-header.b-header--overlay { background: linear-gradient(180deg, rgb(0 0 0 / .55), rgb(0 0 0 / 0)); border-bottom-color: color-mix(in srgb, var(--cms-accent) 18%, transparent); color: var(--cms-text); }
.h-header.b-header--overlay.is-scrolled, .h-header.b-header--overlay.is-open { background: color-mix(in srgb, var(--b-bg) 92%, transparent); color: var(--cms-text); }
/* Sobre la imagen: sin borde (el degradado se repetía en el borde de 1px y dejaba una línea) */
.h-header.b-header--overlay { background-origin: border-box; background-repeat: no-repeat; }
.h-header.b-header--overlay:not(.is-scrolled):not(.is-open) { border-bottom: 0; }
.h-header .b-logo__img { max-height: 46px; }
.h-header .b-nav { margin-left: auto; margin-right: 8px; }
@media (min-width: 961px) { .h-header .b-nav { margin-right: auto; } }
.h-header .b-nav__list { gap: 40px; }
.h-header .b-nav__list a { font-size: 17px; font-weight: 500; letter-spacing: .03em; opacity: 1; color: var(--cms-text); }
.h-header .b-nav__list a:hover { color: var(--b-accent2); }
.h-header .b-nav__list a[aria-current] { color: var(--b-accent2); border-bottom-color: var(--cms-accent); }
.h-cart-btn { position: relative; width: 46px; height: 46px; border: 0; background: none; color: var(--cms-text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.h-cart-btn .h-icon { width: 30px; height: 30px; color: currentColor; }
.h-cart-btn__count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--h-gold-grad); color: var(--cms-accent-ink); font: 600 11px/19px var(--b-font); text-align: center; }
@media (max-width: 960px) {
  .h-header .b-nav { margin: 0; background: var(--b-bg); }
  /* móvil: menú a la izquierda, luego el logo; el carrito a la derecha */
  .h-header .b-header__bar { justify-content: flex-start; gap: 10px; }
  .h-header .b-burger { order: -1; margin-left: -10px; }
  .h-header .h-cart-btn { margin-left: auto; margin-right: -4px; }
  .h-header .b-nav__list a { font-family: var(--cms-font-heading); font-size: 21px; font-weight: 500; letter-spacing: .04em; line-height: 1.2; padding: 16px 0; }
  .h-header .b-nav__list a[aria-current] { color: var(--cms-accent); }
}

/* ------------------------------------------------------------- portada */
.h-hero { min-height: min(100svh, 860px); align-items: center; background: var(--b-bg); margin-bottom: 0; }
.h-hero::after { display: none; }
.h-hero__bg { position: absolute; inset: 0; }
.h-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.h-hero__bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--b-bg) 0%, color-mix(in srgb, var(--b-bg) 85%, transparent) 38%, color-mix(in srgb, var(--b-bg) 35%, transparent) 70%, color-mix(in srgb, var(--b-bg) 55%, transparent) 100%),
  linear-gradient(180deg, transparent 60%, var(--b-bg) 100%); }
.h-hero__grid { position: relative; display: grid; gap: 32px; align-items: center; padding-top: calc(var(--b-header-h) + 40px); padding-bottom: 56px; }
@media (min-width: 900px) { .h-hero__grid { grid-template-columns: 1.1fr .9fr; } }
.h-hero__title { font-family: var(--cms-font-heading); font-weight: 600; font-size: clamp(32px, 3.9vw, 58px); line-height: 1.12; letter-spacing: var(--h-heading-track); background: var(--h-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.h-hero__text { margin-top: 26px; max-width: 470px; font-size: 18px; line-height: 1.6; color: color-mix(in srgb, var(--cms-text) 86%, transparent); }
.h-hero .b-actions { margin-top: 36px; }
.h-hero__product { position: relative; display: flex; justify-content: center; align-self: end; isolation: isolate; }
/* Halo cálido detrás de la botella para que el vidrio oscuro destaque sobre el fondo */
.h-hero__product::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 52%; width: min(560px, 120%); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--b-accent2) 42%, transparent), color-mix(in srgb, var(--cms-accent) 16%, transparent) 55%, transparent 100%); }
.h-hero__product img { width: auto; max-height: min(78vh, 700px); object-fit: contain;
  filter: drop-shadow(0 0 1px color-mix(in srgb, var(--b-accent2) 85%, transparent)) drop-shadow(0 0 2px color-mix(in srgb, var(--b-accent2) 45%, transparent)) drop-shadow(0 28px 34px rgb(0 0 0 / .65)); }
.h-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0; padding: 0; margin: 52px 0 0; }
.h-badges li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 30px; font-size: 15px; line-height: 1.3; color: var(--cms-text); }
.h-badges li:first-child { padding-left: 0; }
.h-badges li + li { border-left: 1px solid var(--cms-line); }
@media (max-width: 899px) {
  .h-hero { min-height: 0; }
  .h-hero__grid { padding-top: calc(var(--b-header-h) + 32px); }
  .h-hero__product { order: -1; margin-bottom: -20px; }
  .h-hero__product img { max-height: 46vh; }
  .h-hero__bg::after { background: linear-gradient(180deg, color-mix(in srgb, var(--b-bg) 40%, transparent) 0%, color-mix(in srgb, var(--b-bg) 85%, transparent) 45%, var(--b-bg) 100%); }
  .h-badges { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
  .h-badges li { padding: 0 8px; font-size: 13.5px; }
  .h-badges li:first-child { padding-left: 8px; }
  .h-badges .h-icon { width: 30px; height: 30px; }
}

/* ------------------------------------------------------------- historia */
.h-origin { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 6.5rem) 0; }
.h-origin__img { position: absolute; top: 0; bottom: 0; right: 0; width: 62%; }
.h-origin__img img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); }
.h-origin__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--b-bg) 0%, transparent 20%, transparent 80%, var(--b-bg) 100%); }
.h-origin--left .h-origin__img { right: auto; left: 0; }
.h-origin--left .h-origin__img img { -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 40%); mask-image: linear-gradient(270deg, transparent 0%, #000 40%); }
.h-origin--left .h-origin__text { margin-left: auto; }
.h-origin__text { position: relative; z-index: 1; max-width: 520px; }
.h-origin .h-h2 em { font-style: normal; color: var(--b-accent2); }
.h-rule { display: block; width: 76px; height: 1.5px; margin: 26px 0 28px; background: linear-gradient(90deg, var(--cms-accent), transparent); }
.h-origin .b-prose { font-size: 17px; color: color-mix(in srgb, var(--cms-text) 85%, transparent); }
@media (max-width: 899px) {
  .h-origin { padding-top: 0; }
  .h-origin__img { position: relative; width: 100%; height: 260px; margin-bottom: -40px; }
  .h-origin__img img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .h-origin--left .h-origin__img img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
}

/* --------------------------------------------------------- franja iconos */
.h-strip { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.h-strip .b-h2 { margin-bottom: 2.5rem; }
.h-strip__list { list-style: none; margin: 0; padding: 28px 0 0; border-top: 1px solid var(--cms-line); display: grid; grid-template-columns: repeat(var(--n), 1fr); }
.h-strip__list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 4px 16px; font-size: 16px; line-height: 1.35; color: var(--cms-text); }
.h-strip__list li + li { border-left: 1px solid var(--cms-line); }
.h-strip--inline .h-strip__list { border-top: 0; padding-top: 0; }
.h-strip--inline .h-strip__list li { flex-direction: row; text-align: left; justify-content: center; gap: 16px; font-size: 14.5px; }
.h-strip--inline .h-icon { width: 30px; height: 30px; }
@media (max-width: 760px) {
  .h-strip__list { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .h-strip__list li + li { border-left: 0; }
  .h-strip__list li:nth-child(even) { border-left: 1px solid var(--cms-line); }
  .h-strip--inline .h-strip__list li { flex-direction: column; text-align: center; gap: 10px; }
}

/* ------------------------------------------------------ ficha producto */
.h-product { display: grid; gap: 24px; align-items: center; background: var(--h-card); color: var(--h-ink); border-radius: calc(var(--cms-radius) * 1.2); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8); }
@media (min-width: 900px) { .h-product { grid-template-columns: .9fr 1.1fr; gap: 48px; padding: 3rem 4rem 3rem 2rem; } }
.h-product__media img { width: 100%; max-height: 520px; object-fit: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 94%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 94%, transparent); mask-composite: intersect; }
.h-product-sec { margin-bottom: 1rem; }
.h-product__title a, .h-card__title a { color: inherit; text-decoration: none; }
.h-product__title a:hover, .h-card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.h-card__media a { display: block; }
.h-pdp { padding-top: clamp(1.5rem, 4vw, 3rem); }
.h-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 18px; font-size: 14px; color: var(--cms-muted); }
.h-crumbs a { color: inherit; text-decoration: none; }
.h-crumbs a:hover { color: var(--cms-accent); }
.h-crumbs [aria-current] { color: var(--cms-text, inherit); }
.h-product__title { font-family: var(--cms-font-heading); font-weight: 600; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: var(--h-heading-track); color: var(--h-ink); }
.h-product__tags { margin-top: 14px; font-size: 16px; color: color-mix(in srgb, var(--h-ink) 75%, transparent); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.h-product__desc { margin-top: 14px; color: color-mix(in srgb, var(--h-ink) 75%, transparent); }
.h-specs { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
@media (min-width: 1100px) { .h-specs:has(> li:nth-child(4)) { grid-template-columns: repeat(4, 1fr); } }
.h-specs li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--h-ink) 12%, transparent); border-radius: 12px; background: rgb(255 255 255 / .45); }
.h-specs .h-icon { width: 30px; height: 30px; color: color-mix(in srgb, var(--cms-accent) 75%, #000); }
.h-specs small { display: block; font-size: 12.5px; color: color-mix(in srgb, var(--h-ink) 70%, transparent); }
.h-specs strong { display: block; font-weight: 500; font-size: 15px; }
.h-price { margin-top: 24px; font: 600 34px/1 var(--b-font); color: var(--h-ink); letter-spacing: -0.01em; }
.h-price del { font-size: 18px; font-weight: 400; color: color-mix(in srgb, var(--h-ink) 50%, transparent); margin-left: 8px; }
.h-buy { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.h-buy .h-btn { color: var(--cms-accent-ink); }
.h-soldout { margin-top: 18px; font-weight: 500; color: #9b3b2c; }
.h-qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid color-mix(in srgb, var(--h-ink) 18%, transparent); border-radius: 999px; background: rgb(255 255 255 / .6); }
.h-qty button { width: 46px; height: 100%; border: 0; background: none; color: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.h-qty button .h-icon { width: 18px; height: 18px; color: currentColor; stroke-width: 2; }
.h-qty input { width: 38px; border: 0; background: none; text-align: center; font: 500 17px var(--b-font); color: inherit; -moz-appearance: textfield; }
.h-qty input::-webkit-outer-spin-button, .h-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 600px) {
  .h-specs { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .h-specs li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; }
  .h-specs .h-icon { width: 24px; height: 24px; }
  .h-specs strong { font-size: 14px; }
}
@media (max-width: 480px) { .h-buy { grid-template-columns: 1fr; } .h-qty { justify-self: start; } }

/* ------------------------------------------------------------- carrito */
.h-cart { position: fixed; inset: 0; z-index: 90; }
.h-cart[hidden] { display: none; }
.h-cart__backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .6); opacity: 0; transition: opacity .3s; }
.h-cart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #13110d; border-left: 1px solid var(--cms-line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; color: var(--cms-text); }
.h-cart.is-open .h-cart__backdrop { opacity: 1; }
.h-cart.is-open .h-cart__panel { transform: none; }
.h-cart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--cms-line); }
.h-cart__head h2 { font-family: var(--cms-font-heading); font-size: 23px; font-weight: 600; }
.h-cart__close { width: 42px; height: 42px; border: 0; background: none; cursor: pointer; color: var(--cms-text); display: inline-flex; align-items: center; justify-content: center; }
.h-cart__close .h-icon { width: 24px; height: 24px; color: currentColor; }
.h-cart__body { flex: 1; overflow-y: auto; padding: 20px 24px; display: grid; gap: 22px; align-content: start; }
.h-cart__foot { padding: 18px 24px 22px; border-top: 1px solid var(--cms-line); display: grid; gap: 14px; background: #100e0b; }
.h-cart__foot[hidden] { display: none; }
.h-cart__continue { border: 0; background: none; color: var(--cms-muted); font: 14px var(--b-font); text-decoration: underline; cursor: pointer; }
.h-cart__free { margin: 0; font-size: 14px; color: var(--b-accent2); }
.h-cart__free.is-ok { color: #8fcf9b; }
.h-cart__notice { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgb(192 57 43 / .15); color: #f0b2a8; font-size: 14px; }
.h-cart__empty { color: var(--cms-muted); }
.h-cart__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.h-cart__item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--cms-line); }
.h-cart__item img { width: 76px; height: 76px; object-fit: contain; background: var(--h-card); border-radius: 10px; }
.h-cart__name { font-weight: 500; line-height: 1.3; }
.h-cart__price { color: var(--b-accent2); font-weight: 500; margin: 2px 0 8px; }
.h-qty--sm { height: 36px; border-color: var(--cms-line); background: none; color: var(--cms-text); }
.h-qty--sm button { width: 34px; font-size: 18px; }
.h-qty--sm span { min-width: 22px; text-align: center; }
.h-cart__del { margin-left: 14px; border: 0; background: none; color: var(--cms-muted); text-decoration: underline; cursor: pointer; font: 13px var(--b-font); }
.h-cart__totals { margin: 0; display: grid; gap: 6px; }
.h-cart__totals div { display: flex; justify-content: space-between; color: var(--cms-muted); }
.h-cart__totals dd { margin: 0; color: var(--cms-text); }
.h-cart__total { padding-top: 10px; border-top: 1px solid var(--cms-line); font-size: 20px; font-weight: 500; }
.h-cart__total dt { color: var(--cms-text); }
.h-cart__form { display: grid; gap: 14px; }
.h-cart__form h3 { font-family: var(--cms-font-heading); font-size: 24px; }
.h-cart__form .b-field input, .h-cart__form .b-field textarea { background: #0d0c09; }
.h-cart__note, .h-cart__pay p { font-size: 14px; color: var(--cms-muted); }
.h-cart__pay { padding: 12px 14px; border: 1px solid var(--cms-line); border-radius: 12px; font-size: 14px; }
.h-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--cms-muted); }
.h-check input { margin-top: 3px; accent-color: var(--cms-accent); }
.h-cart__done { text-align: center; padding: 20px 0; display: grid; justify-items: center; gap: 14px; }
.h-cart__done-icon { width: 48px; height: 48px; }

/* --------------------------------------- secciones del tema Base en oscuro */
.b-sec--band { background: var(--cms-surface); }
.b-feats--cards .b-feat { background: var(--cms-surface); border: 1px solid var(--cms-line); }
.b-feat__icon { background: transparent; border: 1px solid var(--cms-line); }
.b-form { background: var(--cms-surface); border: 1px solid var(--cms-line); }
.b-field input, .b-field textarea { background: var(--b-bg); }
.b-cta { background: linear-gradient(120deg, #1d1a12, #2a2416); color: var(--cms-text); border: 1px solid var(--cms-line); }
.b-cta .b-btn--invert { background: var(--h-gold-grad); color: var(--cms-accent-ink); }
.b-cta .b-btn--ghost { color: var(--cms-accent); box-shadow: inset 0 0 0 1.5px var(--cms-accent); }
.b-split__media img, .b-split__media picture { border-radius: var(--cms-radius); }
.b-faq__item summary { font-size: 17px; font-weight: 600; letter-spacing: var(--h-heading-track); }
.cms-sec--band { background: var(--cms-surface); }
.cms-stat__num { font-family: var(--cms-font-heading); background: var(--h-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------------ pie */
.b-footer { border-top: 1px solid var(--cms-line); }
.b-footer__logo { max-height: 56px; }
.b-footer__title { color: var(--cms-accent); letter-spacing: .3em; }

/* ------------------------------------------------------------ checkout */
.h-checkout { padding: calc(var(--b-header-h) * .4) 0 var(--cms-space); }
.h-checkout__head { margin-bottom: 28px; }
.h-checkout__head .h-h2 { margin: 0; }
.h-test { margin: 0 0 24px; padding: 12px 16px; border: 1px dashed var(--cms-accent); border-radius: 12px; font-size: 14px; color: var(--b-accent2); }
.h-checkout__empty { padding: 40px 0; display: grid; gap: 18px; justify-items: start; }
.h-checkout__empty[hidden] { display: none; }
.h-checkout__grid { display: grid; gap: 28px; align-items: start; }
.h-checkout__grid[hidden] { display: none; }
@media (min-width: 960px) { .h-checkout__grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 40px; } }
.h-checkout__main { display: grid; gap: 18px; }
.h-step { margin: 0; padding: 24px; border: 1px solid var(--cms-line); border-radius: var(--cms-radius); background: var(--cms-surface); display: grid; gap: 16px; min-width: 0; }
.h-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 4px; font: 600 20px/1.2 var(--cms-font-heading); letter-spacing: var(--h-heading-track); color: var(--cms-text); }
.h-step legend + * { clear: both; }
.h-step legend span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--h-gold-grad); color: var(--cms-accent-ink); font: 600 14px/1 var(--b-font); }
.b-form__row--3 { display: grid; gap: 16px; }
@media (min-width: 640px) { .b-form__row--3 { grid-template-columns: 1fr 1.4fr 1.2fr; } }
.h-more summary { cursor: pointer; color: var(--b-accent2); font-size: 14px; }
.h-more[open] summary { margin-bottom: 14px; }
.h-more .b-field + .b-field { margin-top: 14px; }
.h-methods { display: grid; gap: 10px; }
.h-method input { position: absolute; opacity: 0; pointer-events: none; }
.h-method__box { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--cms-line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.h-method__box .h-icon { width: 28px; height: 28px; }
.h-method__box strong { display: block; font-weight: 500; }
.h-method__box small { display: block; color: var(--cms-muted); font-size: 13.5px; line-height: 1.4; }
.h-method input:checked + .h-method__box { border-color: var(--cms-accent); background: color-mix(in srgb, var(--cms-accent) 8%, transparent); }
.h-method input:focus-visible + .h-method__box { outline: 2px solid var(--cms-accent); outline-offset: 2px; }
.h-summary { position: sticky; top: calc(var(--b-header-h) + 20px); padding: 24px; border: 1px solid var(--cms-line); border-radius: var(--cms-radius); background: #13110d; display: grid; gap: 16px; }
.h-summary h2 { font-family: var(--cms-font-heading); font-size: 21px; }
.h-summary__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.h-summary__items li { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; }
.h-summary__items img { width: 60px; height: 60px; object-fit: contain; border-radius: 10px; background: var(--h-card); }
.h-summary__price { font-weight: 500; white-space: nowrap; }
.h-summary .h-cart__total small { font-size: 12px; color: var(--cms-muted); font-weight: 300; }
.h-check.is-invalid { color: #f0b2a8; }
.h-secure { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 13px; color: var(--cms-muted); }
.h-secure .h-icon { width: 20px; height: 20px; }
.h-muted { color: var(--cms-muted); font-size: 14px; }
@media (max-width: 959px) { .h-summary { position: static; } }

/* ------------------------------------------------------- página pedido */
.h-order { padding: calc(var(--b-header-h) * .4) 0 var(--cms-space); }
.h-order__hero { text-align: center; display: grid; justify-items: center; gap: 6px; margin-bottom: 32px; }
.h-order__hero .h-h2 { margin: 6px 0 8px; }
.h-order__icon { display: inline-flex; width: 76px; height: 76px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--cms-line); margin-bottom: 12px; }
.h-order__icon .h-icon { width: 38px; height: 38px; }
.is-ok .h-order__icon { border-color: #8fcf9b; } .is-ok .h-order__icon .h-icon { color: #8fcf9b; }
.is-ko .h-order__icon { border-color: #e0806f; } .is-ko .h-order__icon .h-icon { color: #e0806f; }
.h-order__box { padding: 24px; border: 1px solid var(--cms-line); border-radius: var(--cms-radius); background: var(--cms-surface); display: grid; gap: 16px; margin-bottom: 20px; }
.h-order__transfer { margin: 0; padding: 14px; border-radius: 10px; background: var(--b-bg); font-size: 15px; }
.h-order__ship { margin: 0; font-size: 14px; color: var(--cms-muted); }
.h-order__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 24px; }

/* ------------------------------------------------------ rejilla tienda */
.h-cards { gap: 20px; }
.h-card { background: var(--h-card); color: var(--h-ink); border-radius: var(--cms-radius); overflow: hidden; display: flex; flex-direction: column; }
.h-card__media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.h-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
/* precio y botón siempre abajo: alineados entre tarjetas aunque el nombre ocupe más líneas */
.h-card__body .h-price { margin-top: auto; padding-top: 6px; }
.h-card__title { font-family: var(--cms-font-heading); font-size: 20px; font-weight: 600; color: var(--h-ink); line-height: 1.2; }
.h-card__tags { font-size: 14px; color: color-mix(in srgb, var(--h-ink) 70%, transparent); }
.h-card .h-price { margin-bottom: 6px; font-size: 26px; }
.h-buy--compact { margin-top: 0; grid-template-columns: 1fr; }
.h-empty { color: var(--cms-muted); text-align: center; padding: 20px; border: 1px dashed var(--cms-line); border-radius: 12px; }

.h-order__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
