/* =====================================================================
   storefront.css
   Design system para las páginas públicas (Home/Listado/Detalle), extraído
   de los estilos inline del mockup confirmado Storefront.dc.html — misma
   metodología que se usó para construir components.css a partir de los
   mockups de admin. Visualmente es un contexto distinto (tienda pública,
   fondo blanco, header sticky) del panel de administración, por eso es una
   hoja separada — no extiende components.css.

   Es la ÚNICA hoja referenciada desde _StorefrontLayout.cshtml.
   ===================================================================== */

:root {
  --tienda-bg: #ffffff;
  --tienda-surface-alt: #f7f7f8;
  --tienda-border: #e4e4e7;
  --tienda-text: #18181b;
  --tienda-text-muted: #71717a;
  --tienda-text-faint: #a1a1aa;
  --tienda-accent: #3f83f8;
  --tienda-rating: #f59e0b;
  --tienda-success: #166534;
  --tienda-warning: #b45309;
  --tienda-danger: #b91c1c;
  --tienda-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --tienda-mono: ui-monospace, monospace;
  --tienda-max-width: 1200px;
  --tienda-radius-sm: 6px;
  --tienda-radius-md: 8px;
  --tienda-radius-lg: 12px;
  --tienda-radius-xl: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body.tienda {
  font-family: var(--tienda-font);
  background: var(--tienda-bg);
  color: var(--tienda-text);
  -webkit-font-smoothing: antialiased;
}

.tienda a {
  color: var(--tienda-accent);
  text-decoration: none;
}

.tienda a:hover {
  text-decoration: underline;
}

.main-footer a,
.main-footer a:visited {
  color: rgba(255, 255, 255, 0.78) !important;
}

.main-footer a:hover,
.main-footer a:focus-visible {
  color: #f0d7ae !important;
  text-decoration: none;
}

.tienda img { max-width: 100%; display: block; }

/* ---- Layout shell ---- */

.tienda__header {
  border-bottom: 1px solid var(--tienda-border);
  position: sticky;
  top: 0;
  background: var(--tienda-bg);
  z-index: 20;
}

.tienda__header-inner {
  max-width: var(--tienda-max-width);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.tienda__brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--tienda-text);
  flex-shrink: 0;
}

.tienda__nav {
  display: flex;
  gap: 20px;
  flex: 1;
  flex-wrap: wrap;
}

.tienda__nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: #3f3f46;
}

.tienda__search {
  height: 36px;
  width: 240px;
  padding: 0 12px;
  border: 1px solid var(--tienda-border);
  border-radius: var(--tienda-radius-sm);
  font-size: 13px;
  outline: none;
  font-family: inherit;
}

.tienda__search:focus { border-color: var(--tienda-accent); }

.tienda__cart-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--tienda-text);
  font-weight: 600;
}

.tienda__cart-badge {
  background: var(--tienda-text);
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
}

.tienda__container {
  max-width: var(--tienda-max-width);
  margin: 0 auto;
  padding: 32px 28px;
}

/* ---- Hero / banners / category tiles (Home) ---- */

.tienda__hero {
  background: var(--tienda-surface-alt);
  border-radius: var(--tienda-radius-xl);
  padding: 56px 48px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.tienda__hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--tienda-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.tienda__hero-title {
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.15;
}

.tienda__hero-copy {
  font-size: 15px;
  color: #52525b;
  max-width: 440px;
  line-height: 1.5;
  margin: 0 0 22px;
}

.tienda__section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
}

.tienda__categoria-tiles {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tienda__categoria-tile {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.tienda__categoria-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--tienda-radius-lg);
  background: var(--tienda-surface-alt);
  margin-bottom: 8px;
}

.tienda__categoria-nombre {
  font-size: 13.5px;
  font-weight: 600;
}

.tienda__banners {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tienda__banner-card {
  flex: 1;
  min-width: 220px;
  border-radius: var(--tienda-radius-lg);
  overflow: hidden;
  border: 1px solid var(--tienda-border);
  color: var(--tienda-text);
}

.tienda__banner-card-img {
  height: 110px;
  background: var(--tienda-surface-alt) center/cover no-repeat;
}

.tienda__banner-card-body { padding: 12px 16px; }

.tienda__banner-card-posicion {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--tienda-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.tienda__banner-card-titulo { font-size: 14px; font-weight: 600; }

/* ---- Botones ---- */

.tienda__btn {
  height: 42px;
  padding: 0 22px;
  background: var(--tienda-text);
  color: #fff;
  border: none;
  border-radius: var(--tienda-radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: inline-block;
}

.tienda__btn:hover { background: #27272a; }

.tienda__btn--lg { height: 46px; padding: 0 28px; font-size: 14.5px; }

.tienda__btn--secondary {
  background: #fff;
  color: var(--tienda-text);
  border: 1px solid var(--tienda-border);
}

.tienda__btn--secondary:hover { background: var(--tienda-surface-alt); }

.tienda__detalle-acciones {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* ---- Grid / tarjeta de producto ---- */

.tienda__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tienda__grid--3col { grid-template-columns: repeat(3, 1fr); }

.tienda__card { cursor: pointer; }

.tienda__card-wrap { position: relative; }

.tienda__card-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--tienda-border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--tienda-text-muted);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.tienda__card-wishlist:hover { color: var(--tienda-danger); border-color: var(--tienda-danger); }
.tienda__card-wishlist.is-favorite,
.tienda__card-wishlist[aria-pressed="true"] { color: var(--tienda-danger); border-color: var(--tienda-danger); }
.wishlist-form .tienda__btn[aria-pressed="true"] { color: var(--tienda-danger); border-color: var(--tienda-danger); }

.tienda__card-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--tienda-radius-lg);
  background: var(--tienda-surface-alt);
  margin-bottom: 10px;
  overflow: hidden;
}

.tienda__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tienda__card-marca {
  font-size: 11px;
  color: var(--tienda-text-faint);
  text-transform: uppercase;
  font-weight: 600;
}

.tienda__card-nombre {
  font-size: 14px;
  font-weight: 600;
  margin: 2px 0 4px;
}

.tienda__card-rating {
  font-size: 12px;
  color: var(--tienda-rating);
  margin-bottom: 4px;
}

.tienda__card-precio {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Cambay', sans-serif;
}

.tienda__card-precio-tachado {
  font-size: 12.5px;
  color: var(--tienda-text-faint);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}

.tienda__card-add-form { margin-top: 12px; }

.tienda__card-add {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #342d24;
  border-radius: 4px;
  background: #342d24;
  color: #fff;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tienda__card-add:hover {
  border-color: #a97635;
  background: #a97635;
}

.tienda__card-stock {
  display: block;
  margin-top: 12px;
  padding: 9px 10px;
  border: 1px solid #e8e1d7;
  border-radius: 4px;
  background: #f8f6f2;
  color: #82796d;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-align: center;
  text-transform: uppercase;
}

/* ---- Listado (filtros + grid) ---- */

.tienda__listado-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tienda__listado-titulo { font-size: 22px; font-weight: 700; margin: 0; }

.tienda__listado-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}

.tienda__filtro-titulo {
  font-size: 12.5px;
  font-weight: 700;
  margin: 0 0 10px;
}

.tienda__filtro-titulo--sep { margin-top: 20px; }

.tienda__filtro-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #3f3f46;
  margin-bottom: 8px;
  cursor: pointer;
}

.tienda__filtro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tienda__filtro-chip {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--tienda-border);
  border-radius: 14px;
  font-size: 11.5px;
  cursor: pointer;
}

.tienda__select {
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--tienda-border);
  border-radius: var(--tienda-radius-sm);
  font-size: 13px;
  background: #fff;
  font-family: inherit;
}

/* ---- Detalle de producto ---- */

.tienda__volver {
  cursor: pointer;
  color: var(--tienda-text-muted);
  font-size: 13px;
  margin-bottom: 18px;
  display: inline-block;
}

.tienda__detalle-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.tienda__detalle-img-principal {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--tienda-radius-xl);
  background: var(--tienda-surface-alt);
  margin-bottom: 12px;
  overflow: hidden;
}

.tienda__detalle-img-principal img {
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
  display: block;
}

.tienda__detalle-galeria {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tienda__detalle-galeria-item {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--tienda-radius-sm);
  border: 1px solid var(--tienda-border);
}

.tienda__detalle-marca {
  font-size: 11px;
  color: var(--tienda-text-faint);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.tienda__detalle-nombre { font-size: 24px; font-weight: 700; margin: 0 0 10px; }

.tienda__detalle-precio {
  font-family: 'Cambay', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tienda__detalle-precio--no-disponible {
  font-size: 15px;
  font-weight: 500;
  color: var(--tienda-text-muted);
}

.tienda__detalle-sku {
  font-size: 12.5px;
  color: var(--tienda-text-muted);
  font-family: var(--tienda-mono);
  margin-bottom: 18px;
}

.tienda__detalle-descripcion {
  font-size: 14px;
  color: #3f3f46;
  line-height: 1.6;
  margin: 0 0 22px;
}

.tienda__stock {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.tienda__stock--ok { color: var(--tienda-success); }
.tienda__stock--bajo { color: var(--tienda-warning); }
.tienda__stock--agotado { color: var(--tienda-danger); }

.tienda__variantes { margin-bottom: 18px; }

.tienda__variantes-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--tienda-text-muted);
  margin-bottom: 8px;
}

.tienda__variantes-opciones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tienda__variante-chip {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--tienda-border);
  border-radius: var(--tienda-radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--tienda-text);
  text-decoration: none;
}

.tienda__variante-chip:hover { border-color: var(--tienda-text-faint); }

.tienda__variante-chip--activo {
  border-color: var(--tienda-text);
  background: var(--tienda-text);
  color: #fff;
  font-weight: 600;
}

.tienda__specs {
  border-top: 1px solid var(--tienda-border);
  padding-top: 20px;
}

.tienda__specs-titulo { font-size: 14px; font-weight: 700; margin-bottom: 12px; }

.tienda__descripcion-larga {
  border-top: none;
  margin-top: 32px;
  padding-top: 0;
}

.tienda__specs-fila {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--tienda-surface-alt);
  font-size: 13px;
}

.tienda__specs-fila span:first-child { color: var(--tienda-text-muted); }
.tienda__specs-fila span:last-child { font-weight: 500; }

.tienda__relacionados { margin-top: 52px; }

.tienda__resenas { margin-top: 52px; max-width: 720px; }

.tienda__empty-state {
  padding: 32px 20px;
  text-align: center;
  color: var(--tienda-text-muted);
  font-size: 13.5px;
  background: var(--tienda-surface-alt);
  border-radius: var(--tienda-radius-lg);
}

/* ---- Reseñas (detalle de producto, Escribir, Cuenta) ---- */
.tienda__rating-resumen {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: var(--tienda-rating);
  margin-bottom: 20px;
}

.tienda__rating-resumen strong { color: var(--tienda-text); font-weight: 600; }
.tienda__rating-resumen small { color: var(--tienda-text-faint); font-weight: 400; }

.tienda__resena-item {
  border-bottom: 1px solid var(--tienda-border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.tienda__resena-item:last-child { border-bottom: none; margin-bottom: 0; }
.tienda__resena-estrellas { font-size: 13px; color: var(--tienda-rating); }
.tienda__resena-titulo { font-size: 14px; font-weight: 600; margin: 4px 0 2px; }
.tienda__resena-comentario { font-size: 13px; color: var(--tienda-text); line-height: 1.5; margin-bottom: 6px; }
.tienda__resena-meta { font-size: 12px; color: var(--tienda-text-faint); }

.tienda__resena-aviso {
  font-size: 13px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--tienda-radius-md);
  background: #fef9c3;
  color: var(--tienda-warning);
}

.tienda__resena-aviso--rechazada { background: #fee2e2; color: var(--tienda-danger); }

.tienda__textarea {
  padding: 10px 12px;
  border: 1px solid var(--tienda-border);
  border-radius: var(--tienda-radius-sm);
  font-size: 13px;
  outline: none;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}

.tienda__textarea:focus { border-color: var(--tienda-accent); }

/* ---- Carrito ---- */

.tienda__carrito-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}

.tienda__carrito-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--tienda-surface-alt);
  align-items: center;
}

.tienda__carrito-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--tienda-radius-md);
  background: var(--tienda-surface-alt);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tienda__carrito-item-img img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}

.tienda__carrito-item-info { flex: 1; }

.tienda__carrito-item-nombre { font-size: 14px; font-weight: 600; }

.tienda__carrito-item-variante {
  font-size: 12px;
  color: var(--tienda-text-muted);
  margin: 2px 0;
  font-family: var(--tienda-mono);
}

.tienda__carrito-item-precio { font-size: 14px; font-weight: 700; }

.tienda__carrito-cantidad {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tienda__carrito-cantidad-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--tienda-border);
  background: #fff;
  border-radius: var(--tienda-radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}

.tienda__carrito-cantidad-valor {
  width: 20px;
  text-align: center;
  font-size: 13px;
}

.tienda__carrito-quitar {
  color: var(--tienda-danger);
  font-size: 12.5px;
  cursor: pointer;
  margin-left: 8px;
  background: none;
  border: none;
  font-family: inherit;
}

.tienda__carrito-resumen {
  background: var(--tienda-surface-alt);
  border-radius: var(--tienda-radius-lg);
  padding: 22px;
  height: fit-content;
}

.tienda__carrito-totales {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.tienda__carrito-totales-fila {
  display: flex;
  justify-content: space-between;
  color: var(--tienda-text-muted);
}

.tienda__carrito-totales-fila--total {
  font-size: 16px;
  font-weight: 700;
  color: var(--tienda-text);
  border-top: 1px solid var(--tienda-border);
  padding-top: 10px;
}

.tienda__carrito-totales-fila--descuento { color: var(--tienda-danger); }

.tienda__cupon-form {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tienda__cupon-form .tienda__input { flex: 1; }

.tienda__cupon-aplicado {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tienda-success);
  margin-bottom: 14px;
}

.tienda__cupon-mensaje {
  font-size: 12px;
  color: var(--tienda-danger);
  margin-bottom: 14px;
}

/* ---- Cuenta: historial de pedidos ---- */

.tienda__pedido-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--tienda-surface-alt);
}

.tienda__pedido-item-folio { font-size: 14px; font-weight: 700; font-family: var(--tienda-mono); }

.tienda__pedido-item-fecha {
  font-size: 12px;
  color: var(--tienda-text-muted);
  margin-top: 2px;
}

.tienda__pedido-item-info { flex: 1; }

.tienda__pedido-item-total { font-size: 14px; font-weight: 700; }

.tienda__estado-pedido {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--tienda-radius-pill, 999px);
  white-space: nowrap;
}

.tienda__estado-pedido--pendiente,
.tienda__estado-pedido--confirmado,
.tienda__estado-pedido--procesando { background: var(--tienda-surface-alt); color: var(--tienda-warning); }

.tienda__estado-pedido--enviado { background: var(--tienda-surface-alt); color: var(--tienda-accent); }

.tienda__estado-pedido--entregado { background: var(--tienda-surface-alt); color: var(--tienda-success); }

.tienda__estado-pedido--cancelado,
.tienda__estado-pedido--reembolsado { background: var(--tienda-surface-alt); color: var(--tienda-danger); }

.tienda__timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tienda__timeline-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tienda-surface-alt);
}

.tienda__timeline-item-fecha { color: var(--tienda-text-muted); font-size: 12px; }

/* ---- Checkout: mismo lenguaje visual que .tienda__search (altura,
   padding, borde, radio, tamaño de letra) — el mockup no tenía un
   formulario de captura literal en Checkout (asumía cuenta con
   direcciones ya guardadas), así que se extrapola del único input real
   que sí existe en el mockup, no se inventa un estilo nuevo. ---- */

.tienda__checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}

.tienda__field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 16px;
}

.tienda__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tienda__field-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tienda-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tienda__input {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--tienda-border);
  border-radius: var(--tienda-radius-sm);
  font-size: 13px;
  outline: none;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.tienda__input:focus { border-color: var(--tienda-accent); }

.tienda__seccion-titulo { font-size: 14px; font-weight: 700; margin: 24px 0 12px; }
.tienda__seccion-titulo:first-child { margin-top: 0; }

.tienda__seccion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 12px;
}

.tienda__seccion-header .tienda__seccion-titulo { margin: 0; }

.tienda__btn--small {
  height: 32px;
  padding: 0 14px;
  font-size: 12.5px;
}

/* ---- Filas repetibles (ej. Direcciones en Cuenta) — mismo patrón que
   .field-row/.field-row--direccion de components.css, con el vocabulario
   de storefront. ---- */
.tienda__field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tienda-border);
}

.tienda__field-row .tienda__input,
.tienda__field-row .tienda__select {
  flex: 1 1 130px;
  width: auto;
}

.tienda__checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  white-space: nowrap;
}

.tienda__btn--enviar { margin-top: 24px; }

.tienda__btn--ancho {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.tienda__resumen-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
}

/* ---- Confirmación de pedido ---- */

.tienda__confirmacion {
  max-width: 560px;
  margin: 40px auto;
  text-align: center;
}

.tienda__confirmacion-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--tienda-success);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.tienda__confirmacion-meta {
  font-size: 14px;
  color: var(--tienda-text-muted);
  margin-bottom: 24px;
}

.tienda__confirmacion-folio {
  font-family: var(--tienda-mono);
  font-weight: 700;
  color: var(--tienda-text);
}

.purchase-modal__availability {
  min-height: 1.25rem;
  margin: 0.6rem 0 0;
  color: var(--tienda-text-muted);
  font-size: 0.85rem;
}

.purchase-modal__availability.is-success { color: var(--tienda-success); }
.purchase-modal__availability.is-error { color: var(--tienda-danger); }

.tienda__confirmacion-resumen {
  text-align: left;
  background: var(--tienda-surface-alt);
  border-radius: var(--tienda-radius-lg);
  padding: 20px;
}

.tienda__confirmacion-total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--tienda-border);
  font-size: 15px;
  font-weight: 700;
}

/* =====================================================================
   Cuenta (login / registro)
   ===================================================================== */

.tienda__auth {
  max-width: 380px;
  margin: 48px auto;
}

.tienda__auth-card {
  border: 1px solid var(--tienda-border);
  border-radius: var(--tienda-radius-lg);
  padding: 28px;
}

.tienda__auth-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  text-align: center;
}

.tienda__auth-footer {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--tienda-text-muted);
}

.tienda__nav-link--button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* ---- Páginas / Blog (CMS) ---- */

.tienda__pagina-contenido {
  font-size: 14.5px;
  color: #3f3f46;
  line-height: 1.7;
  white-space: pre-wrap;
  max-width: 720px;
}

.tienda__blog-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tienda__blog-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border: 1px solid var(--tienda-border);
  border-radius: var(--tienda-radius-lg);
  color: var(--tienda-text);
}

.tienda__blog-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--tienda-radius-sm);
  background: var(--tienda-surface-alt);
  flex-shrink: 0;
}

.tienda__blog-item-titulo { font-weight: 500; font-size: 14px; }

/* ---- Footer ---- */

.tienda__footer {
  border-top: 1px solid var(--tienda-border);
  margin-top: 40px;
}

.tienda__footer-inner {
  max-width: var(--tienda-max-width);
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tienda__footer-link {
  font-size: 13px;
  color: var(--tienda-text-muted);
}

@media (max-width: 860px) {
  .tienda__checkout-layout { grid-template-columns: 1fr; }
  .tienda__field-grid { grid-template-columns: 1fr; }
  .tienda__grid { grid-template-columns: repeat(2, 1fr); }
  .tienda__listado-layout { grid-template-columns: 1fr; }
  .tienda__detalle-layout { grid-template-columns: 1fr; gap: 24px; }
  .tienda__carrito-layout { grid-template-columns: 1fr; }
  .tienda__hero { flex-direction: column; padding: 32px 24px; }
}

/* ---- Cuenta: acceso, registro y recuperación ---- */

body.account-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(196, 138, 58, 0.1), transparent 34%),
    #f6f3ed !important;
}

.account-page .custom-nav {
  background-color: #30291f !important;
  padding: 0.7rem 0;
  box-shadow: 0 5px 22px rgba(34, 28, 20, 0.18);
}

.account-page .nav-link-custom {
  font-size: 0.76rem;
  margin-left: 0.8rem;
  letter-spacing: 1px;
}

.account-page .nav-link-custom[aria-label="Iniciar sesión"] {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  border: 1px solid rgba(245, 242, 235, 0.42);
  border-radius: 50%;
  font-size: 1rem;
}

.account-page .account-register-link {
  padding: 9px 14px !important;
  border: 1px solid #c48a3a;
  border-radius: 3px;
  color: #f5f2eb !important;
}

.account-page .account-register-link:hover,
.account-page .account-register-link.active {
  background: #c48a3a;
  color: #241e16 !important;
}

.auth-shell {
  width: min(100% - 40px, 980px);
  min-height: 575px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  margin: 112px auto 70px;
  overflow: hidden;
  border: 1px solid rgba(87, 69, 45, 0.1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(57, 43, 26, 0.13);
  animation: auth-rise-in 0.55s ease both;
}

.auth-shell--register {
  width: min(100% - 40px, 1080px);
  min-height: 700px;
  grid-template-columns: 0.78fr 1.22fr;
}

.auth-shell--compact {
  width: min(100% - 40px, 900px);
  min-height: 500px;
  grid-template-columns: 0.9fr 1.1fr;
}

.auth-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 38px 42px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(196, 138, 58, 0.3), transparent 33%),
    radial-gradient(ellipse at 6% 92%, rgba(107, 122, 85, 0.34), transparent 40%),
    linear-gradient(145deg, #332d25 0%, #27251e 56%, #343b2b 100%);
}

.auth-brand-panel::before,
.auth-brand-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(218, 179, 112, 0.2);
  border-radius: 50%;
}

.auth-brand-panel::before {
  width: 330px;
  height: 330px;
  right: -170px;
  bottom: -100px;
}

.auth-brand-panel::after {
  width: 230px;
  height: 230px;
  right: -120px;
  bottom: -50px;
}

.auth-brand-panel__top,
.auth-brand-panel__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-brand-panel__top img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.auth-brand-panel__top span {
  color: #f5f2eb;
  font-family: 'Marcellus', serif;
  font-size: 12px;
  letter-spacing: 2.5px;
}

.auth-brand-panel__content {
  position: relative;
  z-index: 1;
  padding: 42px 0;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e4bb79;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.7px;
  line-height: 1.6;
}

.auth-brand-panel__content h2 {
  margin: 22px 0 16px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.17;
  text-transform: none;
}

.auth-brand-panel__content p {
  max-width: 310px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.9;
}

.auth-brand-panel__bottom {
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Marcellus', serif;
  font-size: 10px;
  letter-spacing: 1px;
}

.auth-brand-panel__ornament {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(228, 187, 121, 0.7);
  border-radius: 50%;
  color: #e4bb79;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
}

.auth-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px clamp(32px, 5vw, 68px);
  background: #fff;
}

.auth-form-heading {
  margin-bottom: 30px;
}

.auth-eyebrow--light {
  color: #9c7139;
}

.auth-form-heading h1 {
  margin: 11px 0 8px;
  color: #342d24;
  font-family: 'Playfair Display', serif;
  font-size: clamp(27px, 3vw, 35px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.auth-form-heading p {
  margin: 0;
  color: #82796d;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  line-height: 1.7;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.auth-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-field {
  min-width: 0;
}

.auth-field > label,
.auth-label-row label {
  display: block;
  margin: 0 0 7px;
  color: #554c40;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-label-row a {
  margin-bottom: 7px;
  color: #9c7139;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-wrap > i {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  color: #a89d8e;
  font-size: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

.auth-input-wrap input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 39px;
  border: 1px solid #e6e0d7;
  border-radius: 4px;
  outline: 0;
  background: #fdfcfb;
  color: #342d24;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-input-wrap input::placeholder {
  color: #b6aea4;
  opacity: 1;
}

.auth-input-wrap input:focus {
  border-color: #bd8a4b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(196, 138, 58, 0.12);
}

.auth-validation {
  display: block;
  margin-top: 5px;
  color: #b44337;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  line-height: 1.5;
}

.auth-submit {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 5px;
  border: 1px solid #342d24;
  border-radius: 4px;
  background: #342d24;
  color: #fff;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  border-color: #a97635;
  background: #a97635;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 14px;
  color: #a39a8e;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  background: #eee9e2;
  content: "";
}

.auth-create-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #d9c8ae;
  border-radius: 4px;
  color: #7d5b31;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.auth-create-link:hover {
  border-color: #c48a3a;
  background: #fbf8f2;
  color: #6d4c25;
  text-decoration: none;
}

.auth-existing-account {
  margin-top: 22px;
  color: #82796d;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  text-align: center;
}

.auth-existing-account a {
  color: #94672f;
  font-weight: 600;
}

.auth-existing-account--back {
  text-align: left;
}

.auth-existing-account--back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auth-form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 24px 0 0;
  color: #a39a8e;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
}

.auth-form-note i {
  color: #87916f;
}

.auth-alert {
  padding: 11px 13px;
  border: 1px solid #f0d1cc;
  border-radius: 4px;
  background: #fff7f5;
  color: #a23c32;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  line-height: 1.6;
}

.auth-alert i {
  margin-right: 5px;
}

.auth-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dce5d2;
  border-radius: 5px;
  background: #f7faf4;
}

.auth-success__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e5eddc;
  color: #687b52;
}

.auth-success p {
  margin: 1px 0 0;
  color: #566248;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  line-height: 1.8;
}

@keyframes auth-rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .auth-shell,
  .auth-shell--register,
  .auth-shell--compact {
    width: min(100% - 28px, 540px);
    min-height: 0;
    grid-template-columns: 1fr;
    margin: 96px auto 42px;
  }

  .auth-brand-panel {
    min-height: 195px;
    padding: 22px 25px;
  }

  .auth-brand-panel__top img {
    width: 34px;
    height: 34px;
  }

  .auth-brand-panel__content {
    padding: 21px 0 17px;
  }

  .auth-brand-panel__content h2 {
    margin: 10px 0 8px;
    font-size: 27px;
  }

  .auth-brand-panel__content p,
  .auth-brand-panel__bottom {
    display: none;
  }

  .auth-eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }

  .auth-form-panel {
    padding: 32px 26px 28px;
  }

  .auth-form-heading {
    margin-bottom: 22px;
  }

  .auth-form-heading h1 {
    font-size: 28px;
  }

  .auth-form-note {
    margin-top: 20px;
  }

  .account-page .navbar-nav.w-50 {
    width: 100% !important;
  }

  .account-page .navbar-nav.justify-content-end {
    flex-wrap: wrap;
    padding: 8px 0 14px;
  }

  .account-page .account-register-link {
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .auth-shell,
  .auth-shell--register,
  .auth-shell--compact {
    width: min(100% - 20px, 420px);
    margin-top: 86px;
  }

  .auth-brand-panel {
    min-height: 170px;
    padding: 18px 20px;
  }

  .auth-form-panel {
    padding: 27px 20px 24px;
  }

  .auth-field-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .auth-form {
    gap: 15px;
  }

  .auth-input-wrap input {
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-shell {
    animation: none;
  }

  .auth-input-wrap input,
  .auth-submit,
  .auth-create-link {
    transition: none;
  }
}

.account-profile {
  width: min(100% - 40px, 1080px);
  margin: 112px auto 64px;
  color: #342d24;
  font-family: 'Montserrat', sans-serif;
}

.account-profile__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 38px;
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(196, 138, 58, 0.25), transparent 34%),
    linear-gradient(130deg, #332d25, #292820 66%, #39402f);
  box-shadow: 0 16px 38px rgba(57, 43, 26, 0.13);
  color: #fff;
}

.account-profile__header h1 {
  margin: 10px 0 7px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.account-profile__header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: 12px;
  line-height: 1.7;
}

.account-profile__welcome {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
}

.account-profile__welcome strong {
  color: #fff;
  font-weight: 600;
}

.account-profile__avatar,
.account-profile__section-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(228, 187, 121, 0.48);
  border-radius: 50%;
  color: #e4bb79;
  font-size: 15px;
}

.account-profile__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.account-profile__links a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 20px;
  border: 1px solid #e8e1d7;
  border-radius: 7px;
  background: #fff;
  color: #554331;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.account-profile__links a span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.account-profile__links a span i {
  color: #a97635;
  font-size: 14px;
}

.account-profile__links a > i {
  color: #a99a85;
  font-size: 11px;
}

.account-profile__links a:hover {
  transform: translateY(-2px);
  border-color: #c9a26d;
  box-shadow: 0 8px 22px rgba(57, 43, 26, 0.08);
  color: #342d24;
  text-decoration: none;
}

.account-profile__notice {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 12px 15px;
  border: 1px solid;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.6;
}

.account-profile__notice--success {
  border-color: #dce5d2;
  background: #f7faf4;
  color: #566248;
}

.account-profile__notice--error {
  border-color: #f0d1cc;
  background: #fff7f5;
  color: #a23c32;
}

.account-profile__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.account-profile__panel {
  padding: 26px 30px;
  border: 1px solid #ebe5dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(57, 43, 26, 0.045);
}

.account-profile__section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.account-profile__section-icon {
  border-color: #eadcc7;
  background: #fbf8f2;
  color: #9c7139;
}

.account-profile__section-heading h2 {
  margin: 0 0 5px;
  color: #342d24;
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.account-profile__section-heading p {
  margin: 0;
  color: #82796d;
  font-size: 10px;
  line-height: 1.65;
}

.account-profile__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 20px;
}

.account-profile .auth-field > label {
  color: #554c40;
}

.account-profile .auth-input-wrap input,
.account-profile__select-wrap select {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  border: 1px solid #e6e0d7;
  border-radius: 4px;
  outline: 0;
  background: #fdfcfb;
  color: #342d24;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.account-profile .auth-input-wrap input:focus,
.account-profile__select-wrap select:focus {
  border-color: #bd8a4b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(196, 138, 58, 0.12);
}

.account-profile .auth-input-wrap input[readonly] {
  background: #f5f2ed;
  color: #82796d;
  cursor: not-allowed;
}

.account-profile__select-wrap select {
  padding: 0 12px;
}

.account-profile__help {
  display: block;
  margin-top: 6px;
  color: #91877a;
  font-size: 9px;
  line-height: 1.5;
}

.account-profile__section-heading .account-profile__add-address {
  margin-left: auto;
}

.account-profile__add-address,
.account-profile__remove-address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #d9c8ae;
  border-radius: 4px;
  background: #fff;
  color: #7d5b31;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.account-profile__add-address:hover {
  border-color: #c48a3a;
  background: #fbf8f2;
}

.account-profile__address-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-profile__address-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid #eee8df;
  border-radius: 6px;
  background: #fdfcfb;
}

.account-profile__address-row .auth-input-wrap input {
  height: 40px;
}

.account-profile__address-wide {
  grid-column: 1 / -1;
}

.account-profile__primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  color: #655b4e;
  font-size: 10px;
}

.account-profile__primary input {
  accent-color: #a97635;
}

.account-profile__remove-address {
  justify-self: end;
  border-color: #edd7d2;
  color: #a23c32;
}

.account-profile__remove-address:hover {
  border-color: #d79a91;
  background: #fff7f5;
}

.account-profile__form-actions {
  display: flex;
  justify-content: flex-end;
}

.account-profile__form-actions .auth-submit {
  min-width: 210px;
  padding: 0 20px;
}

.purchase-modal .modal-dialog {
  max-width: 540px;
  min-height: calc(100% - 1rem);
}

.purchase-modal .modal-content {
  margin: auto;
}

.purchase-modal__content {
  overflow: hidden;
  border: 1px solid rgba(87, 69, 45, 0.12);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(32, 27, 21, 0.25);
}

.purchase-modal__header {
  position: relative;
  padding: 27px 30px 22px;
  background:
    radial-gradient(ellipse at 88% 0, rgba(196, 138, 58, 0.25), transparent 35%),
    linear-gradient(130deg, #332d25, #292820 70%, #39402f);
  color: #fff;
}

.purchase-modal__eyebrow {
  color: #e4bb79;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.purchase-modal__title {
  margin: 13px 34px 6px 0;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 27px;
  font-weight: 400;
}

.purchase-modal__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 1.7;
}

.purchase-modal__close {
  position: absolute;
  top: 17px;
  right: 18px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.purchase-modal__body {
  padding: 24px 28px 20px;
}

.purchase-modal__product {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee8df;
}

.purchase-modal__image-wrap {
  display: flex;
  width: 90px;
  height: 100px;
  flex: 0 0 90px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  background: #f7f4ee;
}

.purchase-modal__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.purchase-modal__product-label {
  color: #9c7139;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.3px;
}

.purchase-modal__product-info h3 {
  margin: 7px 0 5px;
  color: #342d24;
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 400;
}

.purchase-modal__product-info p {
  margin: 0;
  color: #75552f;
  font-size: 12px;
  font-weight: 600;
}

.purchase-modal__quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
}

.purchase-modal__quantity > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.purchase-modal__quantity label {
  margin: 0;
  color: #554c40;
  font-size: 11px;
  font-weight: 600;
}

.purchase-modal__quantity span {
  color: #91877a;
  font-size: 9px;
}

.purchase-modal__stock {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 11px 13px;
  border: 1px solid #dce5d2;
  border-radius: 5px;
  background: #f7faf4;
  color: #566248;
  font-size: 10px;
}

.purchase-modal__stock > i {
  color: #74835f;
  font-size: 13px;
}

.purchase-modal__stock strong {
  color: #3c4930;
  font-weight: 700;
}

.purchase-modal__quantity-error {
  margin: -8px 0 13px;
  color: #a23c32;
  font-size: 9px;
}

.purchase-modal__quantity-error[hidden] {
  display: none;
}

.purchase-modal__stepper {
  display: flex;
  height: 38px;
  align-items: center;
  border: 1px solid #e6e0d7;
  border-radius: 4px;
}

.purchase-modal__stepper button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #75552f;
  cursor: pointer;
}

.purchase-modal__stepper input {
  width: 44px;
  height: 36px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #342d24;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-align: center;
}

.purchase-modal__stepper input::-webkit-inner-spin-button,
.purchase-modal__stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.purchase-modal__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 11px 12px;
  border-radius: 4px;
  background: #f8f5ef;
  color: #786e60;
  font-size: 9px;
  line-height: 1.6;
}

.purchase-modal__note i {
  margin-top: 1px;
  color: #a97635;
}

.purchase-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px 28px 22px;
}

.purchase-modal__cancel,
.purchase-modal__submit {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid #d9c8ae;
  border-radius: 4px;
  background: #fff;
  color: #7d5b31;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
}

.purchase-modal__cancel:disabled,
.purchase-modal__submit:disabled,
.purchase-modal__stepper button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.purchase-modal__submit {
  border-color: #342d24;
  background: #342d24;
  color: #fff;
}

.age-gate-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro translúcido de modal */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.age-gate-modal-dialog {
    width: 100%;
    max-width: 520px; /* Ancho máximo ideal para el modal */
}

.purchase-modal__submit:hover {
  border-color: #a97635;
  background: #a97635;
}

@media (max-width: 768px) {
  .account-profile {
    width: min(100% - 28px, 620px);
    margin: 96px auto 42px;
  }

  .account-profile__header {
    align-items: flex-start;
    flex-direction: column;
    padding: 27px 25px;
  }

  .account-profile__links {
    grid-template-columns: 1fr;
  }

  .account-profile__panel {
    padding: 22px 20px;
  }

  .account-profile__address-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .account-profile {
    width: min(100% - 20px, 420px);
    margin-top: 86px;
  }

  .account-profile__fields,
  .account-profile__address-row {
    grid-template-columns: 1fr;
  }

  .account-profile__section-heading {
    flex-wrap: wrap;
  }

  .account-profile__section-heading .account-profile__add-address {
    width: 100%;
    margin: 4px 0 0;
  }

  .account-profile__address-wide {
    grid-column: auto;
  }

  .account-profile__primary {
    grid-column: 1;
  }

  .account-profile__remove-address {
    justify-self: start;
  }

  .account-profile__form-actions .auth-submit {
    width: 100%;
  }

  .purchase-modal__header {
    padding: 23px 20px 18px;
  }

  .purchase-modal__body {
    padding: 20px;
  }

  .purchase-modal__footer {
    flex-direction: column-reverse;
    padding: 10px 20px 20px;
  }
}

.storefront-feedback {
  position: fixed;
  z-index: 1080;
  right: clamp(16px, 4vw, 36px);
  bottom: 24px;
  max-width: min(440px, calc(100vw - 32px));
  padding: 14px 18px;
  border: 1px solid #d5e2ce;
  border-radius: 10px;
  background: #f5faf1;
  box-shadow: 0 14px 38px rgba(32, 27, 21, 0.18);
  color: #3c4930;
  font-size: 14px;
}

.storefront-feedback[hidden] { display: none; }
.storefront-feedback.is-error { border-color: #efc8c3; background: #fff5f3; color: #8d352d; }

.tienda__checkout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 0 54px;
}

.tienda__checkout-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.tienda__checkout-eyebrow {
  color: #9c7139;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tienda__checkout-heading .tienda__listado-titulo {
  margin: 6px 0 0;
  font-family: 'Marcellus', serif;
  font-size: clamp(28px, 4vw, 40px);
}

.tienda__checkout-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tienda-text-muted);
  font-size: 11px;
  white-space: nowrap;
}

.tienda__checkout-steps strong { color: #72512d; }
.tienda__checkout-steps i { width: 24px; height: 1px; background: var(--tienda-border); }

.tienda__checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  align-items: start;
  gap: 24px;
}

.tienda__checkout-form,
.tienda__checkout-summary {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(87, 69, 45, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(43, 35, 31, 0.07);
}

.tienda__checkout-form .tienda__seccion-titulo {
  margin: 25px 0 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee8df;
  color: #342d24;
  font-family: 'Marcellus', serif;
  font-size: 18px;
}

.tienda__checkout-form .tienda__seccion-titulo:first-of-type { margin-top: 0; }
.tienda__checkout-form .tienda__field-label { color: #74695d; font-size: 13px; }

.tienda__checkout-form .tienda__input,
.tienda__checkout-form .tienda__select {
  height: 46px;
  border-color: #e4ded4;
  border-radius: 7px;
  background-color: #fff;
  color: #342d24;
  font-size: 14px;
}

.tienda__checkout-form .tienda__input:focus,
.tienda__checkout-form .tienda__select:focus {
  border-color: #a97635;
  box-shadow: 0 0 0 3px rgba(169, 118, 53, 0.13);
}

.tienda__checkout-form .tienda__field-grid { gap: 16px; }
.tienda__checkout-form .tienda__btn--enviar { min-height: 48px; margin-top: 24px; border-radius: 7px; }
.tienda__checkout-form .tienda__empty-state:empty { display: none; }
.tienda__checkout-form .tienda__empty-state:not(:empty) { margin-bottom: 18px; }

.tienda__checkout-summary {
  position: sticky;
  top: 100px;
}

.tienda__checkout-summary .tienda__seccion-titulo {
  margin: 0 0 18px;
  font-family: 'Marcellus', serif;
  font-size: 19px;
}

.purchase-modal .modal-dialog {
  min-height: 0;
  margin: 0.5rem auto;
}

.purchase-modal .modal-content {
  max-height: calc(100dvh - 1rem);
}

.purchase-modal__subtitle { font-size: 13px; }
.purchase-modal__product-label { font-size: 9px; }
.purchase-modal__quantity label { font-size: 13px; }
.purchase-modal__quantity span { font-size: 12px; }
.purchase-modal__stock { font-size: 12px; }
.purchase-modal__quantity-error { font-size: 12px; }
.purchase-modal__stepper input { font-size: 14px; }
.purchase-modal__note { font-size: 12px; }
.purchase-modal__cancel,
.purchase-modal__submit { font-size: 12px; }

.purchase-modal__cart-quantity {
  margin-top: 4px;
  color: #766b5d !important;
}

.purchase-modal__cart-quantity strong { color: #342d24; }

.purchase-modal__availability,
.purchase-modal__add-status {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.5;
}

.purchase-modal__add-status {
  padding: 10px 12px;
  border: 1px solid #dce5d2;
  border-radius: 5px;
  background: #f7faf4;
  color: #3c4930;
}

.purchase-modal__add-status.is-error {
  border-color: #efc8c3;
  background: #fff5f3;
  color: #8d352d;
}

@media (max-width: 860px) {
  .tienda__checkout-heading { align-items: flex-start; flex-direction: column; }
  .tienda__checkout-steps { width: 100%; justify-content: space-between; gap: 6px; white-space: normal; }
  .tienda__checkout-summary { position: static; }
}

@media (max-width: 480px) {
  .tienda__checkout { padding-top: 8px; }
  .tienda__checkout-steps { font-size: 9px; }
  .tienda__checkout-steps i { width: 12px; }
  .tienda__checkout-form,
  .tienda__checkout-summary { padding: 20px 16px; }
}

.anejo-page-main {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: clip;
  background: #211e19;
}

body:has(.anejo-page-main) header {
  background: linear-gradient(180deg, rgba(28, 25, 21, 0.88), rgba(28, 25, 21, 0));
}

body:has(.anejo-page-main) .custom-nav {
  padding: 0.95rem 0;
}

.anejo-detail {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  margin: 0;
  padding: clamp(112px, 14vh, 142px) 28px 42px;
  background:
    radial-gradient(ellipse at 35% 54%, rgba(196, 138, 58, 0.15), transparent 36%),
    radial-gradient(ellipse at 85% 12%, rgba(243, 224, 192, 0.07), transparent 26%),
    linear-gradient(115deg, #29241e, #1d1b18 62%, #30291f);
  color: #f7f1e7;
}

.anejo-detail__ambient {
  position: absolute;
  z-index: -1;
  top: -45%;
  left: 12%;
  width: 52vw;
  aspect-ratio: 1;
  border: 1px solid rgba(236, 201, 145, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(236, 201, 145, 0.025), 0 0 0 100px rgba(236, 201, 145, 0.018);
  pointer-events: none;
}

.anejo-detail__layout {
  position: relative;
  display: grid;
  width: min(100%, 1240px);
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: clamp(18px, 3.2vw, 52px);
  margin: 0 auto;
}

.anejo-detail__visual {
  position: relative;
  display: flex;
  min-height: min(68vh, 650px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(198, 139, 66, 0.23), transparent 32%),
    radial-gradient(ellipse at 48% 85%, rgba(198, 139, 66, 0.13), transparent 38%);
}

.anejo-detail__visual::before,
.anejo-detail__visual::after {
  position: absolute;
  inset: 5% 10%;
  border: 1px solid rgba(236, 201, 145, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.anejo-detail__visual::after {
  inset: 10% 16%;
  border-color: rgba(236, 201, 145, 0.07);
}

.anejo-detail__bottle {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(80%, 500px);
  height: min(66vh, 620px);
  align-items: center;
  justify-content: center;
  animation: anejo-arrive 0.8s ease-out both;
}

.anejo-detail__bottle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.43));
  transition: transform 0.6s ease;
}

.anejo-detail__visual:hover .anejo-detail__bottle img { transform: translateY(-7px) scale(1.025); }

.anejo-detail__seal {
  position: absolute;
  z-index: 2;
  top: 22%;
  right: 5%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(236, 201, 145, 0.35);
  border-radius: 999px;
  background: rgba(39, 35, 29, 0.82);
  color: #e9c88f;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anejo-detail__visual-caption {
  position: absolute;
  bottom: 4%;
  color: rgba(247, 241, 231, 0.62);
  font-family: 'Marcellus', serif;
  font-size: 13px;
  letter-spacing: 0.07em;
}

.anejo-detail__copy {
  max-width: 560px;
  padding: clamp(24px, 3vw, 44px) clamp(20px, 3vw, 42px);
  border-left: 1px solid rgba(236, 201, 145, 0.2);
  background: linear-gradient(90deg, rgba(236, 201, 145, 0.035), transparent 82%);
}

.anejo-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(24px, 3.5vh, 42px);
  color: rgba(247, 241, 231, 0.7) !important;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.anejo-detail__back:hover { color: #f0d7ae !important; }

.anejo-detail__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d3a861;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.anejo-detail__eyebrow span {
  width: 36px;
  height: 1px;
  background: #d3a861;
}

.anejo-detail__copy h1 {
  margin: 18px 0 12px;
  color: #fff8ed;
  font-family: 'Marcellus', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.08;
  text-transform: none;
}

.anejo-detail__intro {
  max-width: 430px;
  margin: 0;
  color: rgba(247, 241, 231, 0.69);
  font-family: 'Marcellus', serif;
  font-size: 16px;
  line-height: 1.8;
}

.anejo-detail__rating {
  margin-top: 15px;
  color: rgba(247, 241, 231, 0.65);
  font-size: 12px;
}

.anejo-detail__rating span { margin-right: 7px; color: #e8bd73; letter-spacing: 0.08em; }

.anejo-detail__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 27px 0 23px;
}

.anejo-detail__price strong {
  color: #f0d7ae;
  font-family: 'Marcellus', serif;
  font-size: 32px;
  font-weight: 400;
}

.anejo-detail__price del { color: rgba(247, 241, 231, 0.45); font-size: 14px; }
.anejo-detail__price > span { color: rgba(247, 241, 231, 0.56); font-size: 10px; letter-spacing: 0.14em; }

.anejo-detail__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 18px 0;
  border-top: 1px solid rgba(247, 241, 231, 0.13);
  border-bottom: 1px solid rgba(247, 241, 231, 0.13);
}

.anejo-detail__facts > div {
  display: grid;
  justify-items: start;
  gap: 4px;
  padding: 0 12px;
  border-right: 1px solid rgba(247, 241, 231, 0.13);
}

.anejo-detail__facts > div:first-child { padding-left: 0; }
.anejo-detail__facts > div:last-child { padding-right: 0; border-right: 0; }
.anejo-detail__facts i { margin-bottom: 5px; color: #d3a861; font-size: 14px; }
.anejo-detail__facts span { color: #fff8ed; font-size: 13px; font-weight: 600; }
.anejo-detail__facts small { color: rgba(247, 241, 231, 0.5); font-size: 10px; }

.anejo-detail__description {
  margin: 20px 0 8px;
  color: rgba(247, 241, 231, 0.74);
  font-size: 13px;
  line-height: 1.85;
}

.anejo-detail__stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: #b7d19b;
  font-size: 12px;
}

.anejo-detail__stock i { font-size: 7px; }
.anejo-detail__stock.tienda__stock--agotado { color: #e2a39b; }
.anejo-detail__stock.tienda__stock--bajo { color: #eccb88; }

.anejo-detail__actions { display: flex; align-items: center; gap: 12px; margin-top: 23px; }

.anejo-detail__buy {
  display: inline-flex;
  min-height: 52px;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border: 1px solid #d5aa68;
  border-radius: 5px;
  background: linear-gradient(110deg, #d2a35f, #b27b38);
  color: #211b15;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.anejo-detail__buy:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(188, 135, 62, 0.25);
}

.anejo-detail__buy:disabled { cursor: not-allowed; opacity: 0.6; }

.anejo-detail__favorite {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(247, 241, 231, 0.28);
  border-radius: 5px;
  background: transparent;
  color: #f7f1e7;
  cursor: pointer;
  font-size: 18px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.anejo-detail__favorite:hover,
.anejo-detail__favorite[aria-pressed="true"] { border-color: #e2a39b; color: #e2857e; }

.anejo-detail__assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 17px;
  color: rgba(247, 241, 231, 0.56);
  font-size: 10px;
}

.anejo-detail__assurance span { display: flex; align-items: center; gap: 7px; }
.anejo-detail__assurance i { color: #d3a861; }

.anejo-story {
  max-width: none;
  margin: 0;
  padding: clamp(54px, 8vw, 96px) max(24px, calc((100% - 980px) / 2));
  background:
    radial-gradient(ellipse at 50% 0, rgba(196, 138, 58, 0.1), transparent 55%),
    #211e19;
  color: #f7f1e7;
  text-align: center;
}

.anejo-story__heading span { color: #d3a861; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; }
.anejo-story__heading h2 { margin: 10px 0 18px; color: #fff8ed; font-family: 'Marcellus', serif; font-size: clamp(28px, 4vw, 40px); }
.anejo-story > p { max-width: 760px; margin: 0 auto; color: rgba(247, 241, 231, 0.72); font-family: 'Marcellus', serif; font-size: 15px; line-height: 2; }

.anejo-story__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.anejo-story__gallery img {
  width: 100%;
  height: clamp(150px, 22vw, 245px);
  border-radius: 8px;
  background: #eee7dc;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.anejo-story__gallery img:hover { transform: translateY(-4px); }

@keyframes anejo-arrive {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .anejo-detail { min-height: 100svh; padding: 112px 24px 48px; }
  .anejo-detail__layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .anejo-detail__visual { min-height: min(76vw, 480px); }
  .anejo-detail__bottle { width: min(68%, 360px); height: min(72vw, 440px); }
  .anejo-detail__copy {
    max-width: 620px;
    margin: -4px auto 0;
    padding: 26px 22px 0;
    border-top: 1px solid rgba(236, 201, 145, 0.2);
    border-left: 0;
    background: linear-gradient(180deg, rgba(236, 201, 145, 0.035), transparent);
  }
  .anejo-detail__back { margin-bottom: 22px; }
  .anejo-detail__ambient { top: 4%; left: -20%; width: 90vw; }
}

@media (max-width: 520px) {
  .anejo-detail { padding: 104px 18px 38px; }
  .anejo-detail__visual { min-height: 74vw; }
  .anejo-detail__bottle { width: min(66%, 290px); height: 70vw; }
  .anejo-detail__seal { top: 18%; right: 1%; padding: 8px 10px; font-size: 8px; }
  .anejo-detail__visual-caption { bottom: 3%; font-size: 10px; }
  .anejo-detail__facts > div { padding: 0 8px; }
  .anejo-detail__facts span { font-size: 11px; }
  .anejo-detail__facts small { font-size: 9px; }
  .anejo-detail__actions { align-items: stretch; }
  .anejo-detail__buy { padding: 0 14px; font-size: 10px; }
  .anejo-detail__favorite { width: 48px; height: auto; }
  .anejo-detail__assurance { gap: 12px; font-size: 9px; }
  .anejo-story { padding-right: 18px; padding-left: 18px; }
  .anejo-story__gallery { grid-template-columns: 1fr 1fr; }
  .anejo-story__gallery img:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .anejo-detail__bottle { animation: none; }
  .anejo-detail__bottle img,
  .anejo-story__gallery img { transition: none; }
}

.anejo-reviews {
  max-width: none;
  margin: 0;
  padding: clamp(56px, 8vw, 92px) 24px clamp(64px, 9vw, 104px);
  background:
    radial-gradient(ellipse at 50% 0, rgba(196, 138, 58, 0.1), transparent 52%),
    #1b1915;
  color: #f7f1e7;
  text-align: center;
}

.anejo-reviews__heading > span {
  color: #d3a861;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.anejo-reviews__heading h2 {
  margin: 10px 0 30px;
  color: #fff8ed;
  font-family: 'Marcellus', serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 400;
}

.anejo-reviews__empty {
  position: relative;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 48px) 24px;
  overflow: hidden;
  border: 1px solid rgba(211, 168, 97, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(211, 168, 97, 0.1), transparent 68%),
    linear-gradient(145deg, rgba(255, 248, 237, 0.045), rgba(255, 248, 237, 0.015));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
}

.anejo-reviews__empty::before,
.anejo-reviews__empty::after {
  position: absolute;
  top: 50%;
  width: clamp(24px, 8vw, 100px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(211, 168, 97, 0.45));
  content: "";
}

.anejo-reviews__empty::before { left: 0; }
.anejo-reviews__empty::after { right: 0; transform: rotate(180deg); }

.anejo-reviews__ornament {
  margin-bottom: 12px;
  color: #d3a861;
  font-size: 24px;
  line-height: 1;
}

.anejo-reviews__empty > span {
  color: rgba(247, 241, 231, 0.62);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.anejo-reviews__empty h3 {
  margin: 10px 0 8px;
  color: #fff8ed;
  font-family: 'Marcellus', serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
}

.anejo-reviews__empty p {
  max-width: 430px;
  margin: 0 auto;
  color: rgba(247, 241, 231, 0.66);
  font-size: 13px;
  line-height: 1.8;
}

.anejo-reviews .tienda__resena-item {
  max-width: 760px;
  margin: 0 auto 20px;
  border-color: rgba(247, 241, 231, 0.16);
  color: rgba(247, 241, 231, 0.82);
  text-align: left;
}

.anejo-reviews .tienda__rating-resumen { justify-content: center; }
.anejo-reviews .tienda__rating-resumen strong { color: #fff8ed; }

.anejo-reviews > .tienda__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  background: transparent;
  border-color: #d3a861;
  color: #f0d7ae;
  font-size: 12px;
  text-decoration: none;
}

.anejo-reviews > .tienda__btn:hover {
  background: rgba(211, 168, 97, 0.12);
  color: #fff8ed;
}

/* ---- Espacio de cuenta y seguimiento de pedidos ---- */

.account-main {
  min-height: calc(100vh - 180px);
  padding: 104px 24px 64px;
}

.account-workspace {
  display: grid;
  width: min(100%, 1200px);
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
  margin: 0 auto;
}

.account-workspace__nav {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border: 1px solid #e8e1d7;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(57, 43, 26, 0.045);
}

.account-workspace__nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  border-radius: 6px;
  color: #625747;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.account-workspace__nav a i {
  width: 16px;
  color: #9c7139;
  text-align: center;
}

.account-workspace__nav a:hover,
.account-workspace__nav a.is-active {
  background: #f7f3eb;
  color: #342d24;
  text-decoration: none;
}

.account-workspace__nav a.is-active {
  box-shadow: inset 3px 0 #b8874b;
}

.account-workspace__content {
  min-width: 0;
}

.account-workspace__content .account-profile {
  width: 100%;
  margin: 0;
}

.account-profile__orders,
.account-orders__header,
.account-orders__list,
.account-orders__empty,
.account-order-detail__panel,
.account-order-detail__summary {
  border: 1px solid #ebe5dc;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(57, 43, 26, 0.045);
}

.account-profile__orders {
  margin: 18px 0;
  padding: 22px 24px;
}

.account-profile__orders-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.account-profile__orders-heading h2 {
  margin: 0 0 5px;
  color: #342d24;
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 400;
}

.account-profile__orders-heading p {
  margin: 0;
  color: #82796d;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
}

.account-profile__orders-heading > a,
.account-profile__orders-empty a {
  color: #8d632f;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.account-profile__orders-list {
  display: flex;
  flex-direction: column;
}

.account-profile__order {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0ece6;
  color: #342d24;
  text-decoration: none;
}

.account-profile__order:hover {
  color: #8d632f;
  text-decoration: none;
}

.account-profile__order-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.account-profile__order-main strong {
  font-size: 11px;
}

.account-profile__order-main small {
  color: #82796d;
  font-size: 9px;
}

.account-profile__order > i {
  color: #a99a85;
  font-size: 10px;
}

.account-profile__orders-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 2px;
  border-top: 1px solid #f0ece6;
  color: #82796d;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
}

.account-profile__orders-empty > i {
  color: #a97635;
  font-size: 17px;
}

.account-orders__header {
  margin-bottom: 18px;
  padding: 24px 28px;
}

.account-orders__header h1 {
  margin: 7px 0;
  color: #342d24;
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
}

.account-orders__header p {
  margin: 0;
  color: #82796d;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
}

.account-orders__list {
  overflow: hidden;
  padding: 0 22px;
}

.account-orders__item {
  display: grid;
  grid-template-columns: 42px minmax(120px, 1fr) auto auto auto;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  border-bottom: 1px solid #f0ece6;
}

.account-orders__item:last-child {
  border-bottom: 0;
}

.account-orders__item-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #f7f3eb;
  color: #9c7139;
}

.account-orders__item-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
}

.account-orders__item-info span {
  color: #82796d;
  font-size: 9px;
}

.account-orders__total {
  color: #342d24;
  font-size: 11px;
  white-space: nowrap;
}

.account-orders__button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #a97635;
  border-radius: 5px;
  background: #a97635;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.account-orders__button:hover {
  background: #865c2d;
  color: #fff;
  text-decoration: none;
}

.account-orders__button--outline {
  background: #fff;
  color: #805c32;
}

.account-orders__button--outline:hover {
  background: #f7f3eb;
  color: #68471f;
}

.account-orders__empty {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.account-orders__empty > i {
  margin-bottom: 12px;
  color: #b8874b;
  font-size: 28px;
}

.account-orders__empty h2 {
  margin: 0 0 7px;
  color: #342d24;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
}

.account-orders__empty p {
  margin: 0 0 18px;
  color: #82796d;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
}

.account-order-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #805c32;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}

.account-order-detail__back:hover {
  color: #68471f;
  text-decoration: underline;
}

.account-order-detail__header > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.account-order-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 18px;
}

.account-order-detail__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.account-order-detail__panel,
.account-order-detail__summary {
  padding: 22px 24px;
}

.account-order-detail__panel h2,
.account-order-detail__summary h2 {
  margin: 0 0 15px;
  color: #342d24;
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 400;
}

.account-order-detail__product,
.account-order-detail__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid #f0ece6;
  color: #554c40;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
}

.account-order-detail__product > span {
  line-height: 1.7;
}

.account-order-detail__product small {
  display: block;
  color: #91877a;
  font-size: 9px;
}

.account-order-detail__product > strong,
.account-order-detail__row > :last-child {
  text-align: right;
  white-space: nowrap;
}

.account-order-detail__row--discount {
  color: #566248;
}

.account-order-detail__row--total {
  margin-top: 4px;
  border-top: 1px solid #e2d7c7;
  color: #342d24;
  font-size: 12px;
}

.account-order-detail__muted {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #f0ece6;
  color: #82796d;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
}

.account-order-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-order-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-top: 1px solid #f0ece6;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
}

.account-order-timeline__marker {
  width: 9px;
  height: 9px;
  border: 2px solid #a97635;
  border-radius: 50%;
  background: #fff;
}

.account-order-timeline time {
  color: #82796d;
  font-size: 9px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .account-workspace {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .account-workspace__nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding: 8px;
  }

  .account-workspace__nav a {
    flex: 0 0 auto;
  }

  .account-workspace__nav a.is-active {
    box-shadow: inset 0 -3px #b8874b;
  }

  .account-order-detail__layout {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
}

@media (max-width: 680px) {
  .account-main {
    padding: 92px 14px 40px;
  }

  .account-orders__item {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px 0;
  }

  .account-orders__item-icon {
    width: 36px;
    height: 36px;
  }

  .account-orders__item .tienda__estado-pedido {
    grid-column: 2;
    justify-self: start;
  }

  .account-orders__total {
    grid-column: 3;
    grid-row: 1;
  }

  .account-orders__button--outline {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .account-order-detail__layout {
    grid-template-columns: 1fr;
  }

  .account-profile__orders {
    padding: 18px 16px;
  }

  .account-profile__orders-empty {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .account-profile__orders-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-profile__order {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .account-profile__order-main {
    flex-basis: calc(100% - 32px);
  }

  .account-profile__order .tienda__estado-pedido {
    margin-left: 0;
  }

  .purchase-modal__cancel,
  .purchase-modal__submit {
    width: 100%;
  }
}

/* ---- Carrito y solicitud de pedido ---- */

.order-flow-layout .custom-nav {
  padding: 0.7rem 0;
  border: 0 !important;
  background-color: #3b332a !important;
  box-shadow: 0 8px 24px rgba(34, 28, 20, 0.14) !important;
}

.order-flow-layout .navbar.custom-nav.nav-scrolled {
  background-color: #30291f !important;
}

.order-flow-main {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 1px);
  margin: 0;
  padding: clamp(104px, 11vw, 138px) 28px 72px;
  background:
    radial-gradient(ellipse at 92% 4%, rgba(196, 138, 58, 0.1), transparent 30%),
    #faf8f4;
}

.order-flow-page {
  width: min(100%, 1160px);
  margin: 0 auto;
  color: #342d24;
  font-family: 'Montserrat', sans-serif;
}

.order-flow-page .tienda__listado-titulo {
  margin: 7px 0 0;
  color: #342d24;
  font-family: 'Marcellus', serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.order-flow-page .tienda__checkout-eyebrow {
  font-size: 11px;
}

.order-flow-page .tienda__checkout-steps {
  color: #91877a;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
}

.order-flow-page .tienda__checkout-steps strong {
  color: #8b6234;
}

.order-flow-page .tienda__checkout-steps i {
  background: #d9cbbb;
}

.cart-page__heading,
.tienda__checkout-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.cart-page__heading > div:first-child > p {
  margin: 9px 0 0;
  color: #81786d;
  font-size: 14px;
  line-height: 1.7;
}

.tienda__carrito-layout {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  align-items: start;
  gap: 28px;
}

.cart-page__items,
.tienda__carrito-resumen,
.tienda__checkout-form,
.tienda__checkout-summary {
  border: 1px solid #ebe4da;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(57, 43, 26, 0.055);
}

.cart-page__items {
  padding: 8px 26px;
}

.cart-page .tienda__carrito-item {
  gap: 18px;
  padding: 19px 0;
  border-color: #eee9e1;
}

.cart-page .tienda__carrito-item-img {
  width: 82px;
  height: 82px;
  border: 1px solid #f0ebe4;
  border-radius: 9px;
  background: #faf8f4;
}

.cart-page .tienda__carrito-item-img img {
  padding: 7px;
}

.cart-page .tienda__carrito-item-nombre a {
  color: #3c3328;
  font-family: 'Marcellus', serif;
  font-size: 16px;
}

.cart-page .tienda__carrito-item-nombre a:hover {
  color: #9c7139;
}

.cart-page .tienda__carrito-item-variante {
  margin: 5px 0;
  color: #91877a;
  font-size: 12px;
}

.cart-page .tienda__carrito-item-precio {
  color: #604c36;
  font-size: 15px;
}

.cart-page .tienda__carrito-cantidad-btn {
  width: 30px;
  height: 30px;
  border-color: #e7ded2;
  border-radius: 50%;
  color: #705333;
}

.cart-page .tienda__carrito-quitar {
  color: #9b6356;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
}

.cart-page .tienda__carrito-resumen {
  position: sticky;
  top: 108px;
  padding: 25px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(196, 138, 58, 0.09), transparent 44%),
    #fff;
}

.cart-summary__eyebrow {
  color: #9c7139;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.cart-page .tienda__carrito-resumen h2 {
  margin: 7px 0 20px;
  color: #342d24;
  font-family: 'Marcellus', serif;
  font-size: 23px;
  font-weight: 400;
}

.cart-page .tienda__cupon-form .tienda__input {
  height: 40px;
  border-color: #e5ddd2;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.cart-page .tienda__cupon-form .tienda__btn--small {
  height: 40px;
  border-radius: 6px;
}

.cart-page .tienda__carrito-totales {
  gap: 12px;
  margin-top: 21px;
  font-size: 14px;
}

.cart-page .tienda__carrito-totales-fila--total {
  padding-top: 14px;
  border-color: #e8dfd3;
  color: #382f25;
  font-size: 17px;
}

.cart-summary__note,
.checkout-summary-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 19px 0;
  padding: 13px;
  border: 1px solid #eee6d9;
  border-radius: 7px;
  background: #fcfaf6;
  color: #786b5a;
  font-size: 13px;
  line-height: 1.7;
}

.cart-summary__note i,
.checkout-summary-note i {
  margin-top: 2px;
  color: #a97635;
}

.order-flow-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid #84623a;
  border-radius: 6px;
  background: #62492f;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.order-flow-button:hover {
  transform: translateY(-1px);
  background: #493725;
  text-decoration: none !important;
}

.order-flow-button--wide {
  width: 100%;
}

.cart-summary__continue {
  display: block;
  margin-top: 15px;
  color: #766b5d !important;
  font-size: 13px;
  text-align: center;
}

.cart-empty {
  display: grid;
  min-height: 400px;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border: 1px solid #ebe4da;
  border-radius: 10px;
  background: #f3eee6;
}

.cart-empty__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 5vw, 68px);
}

.cart-empty h2 {
  max-width: 420px;
  margin: 13px 0 11px;
  color: #342d24;
  font-family: 'Marcellus', serif;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.12;
}

.cart-empty p {
  max-width: 360px;
  margin: 0 0 25px;
  color: #81786d;
  font-size: 15px;
  line-height: 1.9;
}

.cart-empty__footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 21px;
  color: #776b5b;
  font-size: 12px;
  letter-spacing: 0.025em;
}

.cart-empty__footnote i {
  color: #a97635;
}

.cart-empty__visual {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background: #5a4833;
}

.cart-empty__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(52, 43, 32, 0.23), transparent 30%), linear-gradient(0deg, rgba(39, 31, 23, 0.54), transparent 28%);
  content: "";
}

.cart-empty__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.cart-empty:hover .cart-empty__visual img {
  transform: scale(1.035);
}

.cart-empty__visual span {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 23px;
  left: 24px;
  color: #fff8ec;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-align: center;
}

.cart-empty__visual span i {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 9px 2px;
  border-radius: 50%;
  background: #dfb46f;
}

.checkout-page .tienda__checkout {
  max-width: none;
  padding: 0;
}

.checkout-page .tienda__checkout-heading {
  margin-bottom: 25px;
}

.checkout-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  margin-bottom: 22px;
  padding: 17px 20px;
  border: 1px solid #eadcc7;
  border-radius: 9px;
  background: #fbf8f2;
}

.checkout-intro__icon {
  display: grid;
  width: 38px;
  height: 38px;
  grid-row: span 2;
  place-items: center;
  border-radius: 50%;
  background: #f0e5d4;
  color: #926b3b;
}

.checkout-intro p,
.checkout-intro strong {
  margin: 0;
  color: #716454;
  font-size: 14px;
  line-height: 1.7;
}

.checkout-intro strong {
  margin-top: 3px;
  color: #76552f;
  font-size: 13px;
}

.tienda__checkout-form,
.tienda__checkout-summary {
  padding: clamp(20px, 3vw, 32px);
}

.tienda__checkout-form .tienda__seccion-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #342d24;
}

.tienda__checkout-form .tienda__seccion-titulo span {
  color: #a97635;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.checkout-request-payment {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px;
  border: 1px solid #e8dfd3;
  border-radius: 8px;
  background: #fcfaf6;
}

.checkout-request-payment__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: #f1e7d8;
  color: #966d3a;
}

.checkout-request-payment strong {
  color: #483a29;
  font-family: 'Marcellus', serif;
  font-size: 16px;
  font-weight: 400;
}

.checkout-request-payment p {
  margin: 5px 0 0;
  color: #81786d;
  font-size: 13px;
  line-height: 1.8;
}

.checkout-page .tienda__checkout-form .tienda__btn--enviar {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #84623a;
  background: #62492f;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.checkout-page .tienda__checkout-form .tienda__btn--enviar:hover {
  background: #493725;
}

.checkout-form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 11px 0 0;
  color: #91877a;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.checkout-page .tienda__checkout-summary .tienda__seccion-titulo {
  color: #342d24;
}

.checkout-page .tienda__carrito-totales {
  font-size: 14px;
}

.checkout-page .tienda__resumen-item {
  gap: 16px;
  color: #716454;
  font-size: 14px;
}

.checkout-invoice {
  overflow: hidden;
  border: 1px solid #e8dfd3;
  border-radius: 9px;
  background: #fcfaf6;
}

.checkout-invoice__toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  cursor: pointer;
}

.checkout-invoice__toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.checkout-invoice__checkbox {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border: 1px solid #cfc3b1;
  border-radius: 5px;
  background: #fff;
  color: #fff;
  font-size: 12px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.checkout-invoice__toggle input:checked + .checkout-invoice__checkbox {
  border-color: #80613a;
  background: #80613a;
}

.checkout-invoice__toggle input:focus-visible + .checkout-invoice__checkbox {
  outline: 3px solid rgba(169, 118, 53, 0.28);
  outline-offset: 2px;
}

.checkout-invoice__toggle > span:last-child {
  display: grid;
  gap: 4px;
}

.checkout-invoice__toggle strong {
  color: #40382f;
  font-size: 15px;
}

.checkout-invoice__toggle small,
.checkout-invoice__hint {
  color: #81786d;
  font-size: 12px;
  line-height: 1.6;
}

.checkout-invoice__fields {
  padding: 0 17px 19px;
  border-top: 1px solid #eee6d9;
}

.checkout-invoice__fields[hidden] {
  display: none;
}

.checkout-invoice__hint {
  margin: 15px 0;
}

.checkout-invoice .field-validation-error {
  display: block;
  margin-top: 5px;
  color: #a13d34;
  font-size: 12px;
}

.order-confirmation-page {
  width: min(100%, 790px);
  margin: 28px auto 64px;
  color: #40382f;
  font-family: 'Montserrat', sans-serif;
}

.order-confirmation-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 58px) clamp(22px, 6vw, 58px) 30px;
  border: 1px solid #e8dfd3;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 92% 0, rgba(196, 138, 58, 0.13), transparent 38%),
    #fff;
  text-align: center;
  box-shadow: 0 15px 38px rgba(57, 43, 26, 0.06);
}

.order-confirmation-hero__mark {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid #d5dfc9;
  border-radius: 50%;
  background: #f1f5ec;
  color: #53663e;
  font-size: 25px;
}

.order-confirmation-hero .tienda__checkout-eyebrow {
  font-size: 10px;
}

.order-confirmation-hero h1 {
  margin: 11px 0 10px;
  color: #40382f;
  font-family: 'Marcellus', serif;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 400;
}

.order-confirmation-hero > p {
  max-width: 540px;
  margin: 0 auto;
  color: #786f63;
  font-size: 14px;
  line-height: 1.8;
}

.order-confirmation-folio {
  display: grid;
  gap: 5px;
  width: fit-content;
  min-width: 220px;
  margin: 25px auto 0;
  padding: 13px 22px;
  border: 1px solid #eadfce;
  border-radius: 8px;
  background: #faf7f1;
}

.order-confirmation-folio span {
  color: #92734c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.order-confirmation-folio strong {
  color: #40382f;
  font-family: 'Marcellus', serif;
  font-size: 23px;
  font-weight: 400;
}

.order-confirmation-folio small {
  color: #82796d;
  font-size: 11px;
}

.order-confirmation-email,
.order-confirmation-invoice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 15px 17px;
  border: 1px solid #e8dfd3;
  border-radius: 8px;
  background: #fcfaf6;
  color: #6f6250;
  font-size: 13px;
  line-height: 1.7;
}

.order-confirmation-email i,
.order-confirmation-invoice i {
  margin-top: 3px;
  color: #926b3b;
}

.order-confirmation-next {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid #e8dfd3;
  border-radius: 10px;
  background: #e8dfd3;
}

.order-confirmation-next article {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 112px;
  padding: 17px 14px;
  background: #fff;
}

.order-confirmation-next__number {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: #f3eee6;
  color: #82633b;
  font-size: 11px;
  font-weight: 700;
}

.order-confirmation-next article:first-child .order-confirmation-next__number {
  background: #edf2e8;
  color: #53663e;
}

.order-confirmation-next strong {
  color: #40382f;
  font-size: 12px;
}

.order-confirmation-next p {
  margin: 5px 0 0;
  color: #81786d;
  font-size: 11px;
  line-height: 1.6;
}

.order-confirmation-summary {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid #e8dfd3;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(57, 43, 26, 0.045);
}

.order-confirmation-summary__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.order-confirmation-summary__heading .tienda__checkout-eyebrow {
  font-size: 9px;
}

.order-confirmation-summary__heading h2 {
  margin: 5px 0 0;
  color: #40382f;
  font-family: 'Marcellus', serif;
  font-size: 23px;
  font-weight: 400;
}

.order-confirmation-status {
  padding: 6px 11px;
  border: 1px solid #eadfce;
  border-radius: 999px;
  background: #faf7f1;
  color: #80613a;
  font-size: 11px;
}

.order-confirmation-item,
.order-confirmation-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.order-confirmation-item {
  padding: 13px 0;
  border-top: 1px solid #f0ebe4;
  color: #665e53;
  font-size: 13px;
}

.order-confirmation-item b {
  margin-right: 5px;
  color: #80613a;
}

.order-confirmation-item strong {
  color: #40382f;
  font-weight: 600;
  white-space: nowrap;
}

.order-confirmation-totals {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid #e8dfd3;
  color: #746b60;
  font-size: 13px;
}

.order-confirmation-totals__discount {
  color: #7d5f3d;
}

.order-confirmation-totals .order-confirmation-totals__total {
  margin-top: 3px;
  padding-top: 13px;
  border-top: 1px solid #eee8df;
  color: #40382f;
  font-size: 16px;
}

.order-confirmation-totals__total strong:last-child {
  color: #72552f;
  white-space: nowrap;
}

.order-confirmation-summary__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 17px 0 0;
  color: #81786d;
  font-size: 12px;
  line-height: 1.7;
}

.order-confirmation-summary__note i {
  margin-top: 3px;
  color: #a97635;
}

.order-confirmation-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 23px;
}

.order-confirmation-actions__secondary {
  color: #766b5d !important;
  font-size: 13px;
}

.request-confirmation-note {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid #eadcc7;
  border-radius: 8px;
  background: #fbf8f2;
  color: #716454;
  font-size: 11px;
  line-height: 1.8;
}

@media (max-width: 860px) {
  .order-flow-main {
    padding: 104px 20px 56px;
  }

  .cart-page__heading,
  .tienda__checkout-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-flow-page .tienda__checkout-steps {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    font-size: 12px;
    white-space: normal;
  }

  .cart-page .tienda__carrito-resumen {
    position: static;
  }
}

@media (max-width: 600px) {
  .order-flow-main {
    padding: 94px 14px 42px;
  }

  .cart-page__items {
    padding: 5px 15px;
  }

  .cart-page .tienda__carrito-item {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cart-empty {
    grid-template-columns: 1fr;
  }

  .cart-empty__copy {
    padding: 34px 25px;
  }

  .cart-empty__visual {
    min-height: 245px;
  }

  .cart-page .tienda__carrito-item-info {
    min-width: calc(100% - 100px);
  }

  .cart-page .tienda__carrito-cantidad {
    margin-left: 94px;
  }

  .cart-page .tienda__carrito-quitar {
    margin-left: 0;
  }

  .cart-page .tienda__carrito-resumen,
  .tienda__checkout-form,
  .tienda__checkout-summary {
    padding: 20px 16px;
  }

  .tienda__checkout-form .tienda__field-grid {
    grid-template-columns: 1fr;
  }

  .checkout-intro {
    padding: 14px;
  }

  .checkout-intro p,
  .checkout-intro strong {
    font-size: 13px;
  }

  .order-confirmation-page {
    margin: 8px auto 38px;
  }

  .order-confirmation-next {
    grid-template-columns: 1fr;
  }

  .order-confirmation-next article {
    min-height: 0;
    padding: 14px 16px;
  }

  .order-confirmation-summary__heading {
    align-items: flex-start;
  }

  .order-confirmation-item {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .order-flow-button {
    transition: none;
  }
}
