/* ============================================================
   AMARYYA — Sistema de diseño
   Paleta: negro #070707 · amarillo #FAC130 · crema #F5EDE0
   (colores exactos del logo)
   Tipografía: Playfair Display (serif) + Inter (sans)
   ============================================================ */

:root {
  /* Paleta AMARYYA — Negro + Amarillo (colores exactos del logo) */
  --negro: #070707;              /* exacto del logo */
  --negro-suave: #111111;        /* panels, cards */
  --negro-elev: #181818;         /* hover elevado */
  --amarillo: #FAC130;           /* exacto del logo */
  --amarillo-claro: #FFD14A;     /* hover más brillante */
  --eyebrow: var(--amarillo);    /* alias semántico para kickers */
  --crema: #F5EDE0;              /* texto principal cálido */
  --gris: #8A857C;               /* texto secundario */
  --gris-claro: #2A2723;         /* bordes sutiles */
  --blanco: #FFFFFF;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1280px;
  --radio: 4px;

  --trans: all .3s cubic-bezier(.4,0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--crema);
  background: var(--negro);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--crema);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p { color: var(--crema); }
.text-muted { color: var(--gris); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 7, .92);
  border-bottom: 1px solid var(--gris-claro);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand img {
  height: 34px;
  width: auto;
  display: block;
}
.brand-footer img { height: 40px; }
@media (max-width: 640px) {
  .brand img { height: 28px; }
}

.nav {
  display: flex;
  gap: 2.2rem;
}
.nav a {
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crema);
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
  transition: var(--trans);
}
.nav a:hover { border-bottom-color: var(--amarillo); }
.nav a.active { border-bottom-color: var(--amarillo); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-btn {
  position: relative;
  padding: .5rem;
}
.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--amarillo);
  color: var(--negro);
  font-size: .65rem;
  font-weight: 700;
  width: 18px;
  animation: pop 0.35s ease;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle { display: none; }

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--negro);
    border-top: 1px solid var(--gris-claro);
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 0;
    z-index: 100;
  }
  .nav.nav-open { display: flex; }
  .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--gris-claro);
    font-size: 1.05rem;
  }
  .nav a:last-child { border-bottom: none; }
  .menu-toggle { display: block; font-size: 1.4rem; }
  .site-header .container { position: relative; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--negro);
}

.hero-media {
  position: absolute;
  inset: -5%;
  z-index: 1;
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.15s ease-out;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFadeIn 2s ease .3s forwards;
}
@keyframes heroFadeIn {
  0%   { opacity: 0; filter: brightness(0); }
  100% { opacity: .5; filter: brightness(1); }
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7,7,7,.85) 0%, rgba(7,7,7,.4) 50%, rgba(7,7,7,.75) 100%),
    linear-gradient(180deg, rgba(7,7,7,.3) 0%, transparent 30%, rgba(7,7,7,.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--blanco);
  max-width: 720px;
}
.hero-kicker {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-title {
  color: var(--blanco);
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--amarillo);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 2rem;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radio);
  transition: var(--trans);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amarillo);
  color: var(--negro);
  border-color: var(--amarillo);
}
.btn-primary:hover {
  background: var(--amarillo-claro);
  border-color: var(--amarillo-claro);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(250, 193, 48, .28);
}
.btn-ghost {
  background: transparent;
  color: var(--crema);
  border-color: rgba(245, 237, 224, .35);
}
.btn-ghost:hover {
  background: var(--amarillo);
  color: var(--negro);
  border-color: var(--amarillo);
}
.btn-outline {
  background: transparent;
  color: var(--amarillo);
  border-color: var(--amarillo);
}
.btn-outline:hover {
  background: var(--amarillo);
  color: var(--negro);
}
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   SECCIONES GENERALES
   ============================================================ */
section { padding: 6rem 0; }
.section-head {
  text-align: center;
  margin-bottom: 4rem;
}
.section-kicker {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--eyebrow);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-head h2 { margin-bottom: 1rem; }
.section-head p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--gris);
  font-size: 1.05rem;
}

/* ============================================================
   PROPUESTA DE VALOR (5 cards)
   ============================================================ */
.value-section { background: var(--negro); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.value-card {
  text-align: center;
  padding: 2rem 1rem;
}
.value-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--negro-suave);
  border: 1px solid var(--amarillo);
  color: var(--amarillo);
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
}
.value-card h3 {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: .5rem;
}
.value-card p {
  font-size: .88rem;
  color: var(--gris);
  line-height: 1.6;
}

/* ============================================================
   GRID DE PRODUCTOS
   ============================================================ */
.featured-section { background: var(--negro); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
@media (min-width: 860px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
  background: var(--negro-suave);
  border: 1px solid var(--gris-claro);
  border-radius: var(--radio);
  overflow: hidden;
  transition: var(--trans);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--amarillo);
  box-shadow: 0 16px 48px rgba(250, 193, 48, .1);
}
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--blanco);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.product-card:hover .product-media img.primary {
  opacity: 0;
}
.product-media img.secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.product-card:hover .product-media img.secondary {
  opacity: 1;
}
.product-info {
  padding: 1.3rem 1.2rem 1.5rem;
  text-align: center;
}
.product-cat {
  display: block;
  font-size: .68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: .4rem;
}
.product-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: .5rem;
  color: var(--crema);
}
.product-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--amarillo);
}
.product-price .currency { font-size: .75rem; color: var(--gris); margin-left: .3rem; }

/* ============================================================
   FILTROS DE CATÁLOGO
   ============================================================ */
.catalog-filters {
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: .6rem 1.4rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 237, 224, .2);
  background: transparent;
  color: var(--crema);
  border-radius: 100px;
  transition: var(--trans);
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--amarillo);
  color: var(--negro);
  border-color: var(--amarillo);
}

.catalog-count {
  text-align: center;
  font-size: .85rem;
  color: var(--gris);
  margin-bottom: 2rem;
}

/* ============================================================
   PÁGINA DE PRODUCTO
   ============================================================ */
.product-page {
  padding: 3rem 0 6rem;
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .product-layout {
    grid-template-columns: 1.25fr 1fr;
    gap: 4rem;
  }
}

.gallery {
  position: sticky;
  top: 100px;
  align-self: start;
}
.gallery-main {
  aspect-ratio: 1/1;
  background: var(--blanco);
  border: 1px solid var(--gris-claro);
  border-radius: var(--radio);
  overflow: hidden;
  margin-bottom: 1rem;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .7rem;
}
.gallery-thumb {
  aspect-ratio: 1/1;
  border-radius: var(--radio);
  overflow: hidden;
  background: var(--blanco);
  cursor: pointer;
  border: 2px solid var(--gris-claro);
  transition: var(--trans);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { border-color: var(--amarillo); }
.gallery-thumb.active { border-color: var(--amarillo); }

.product-detail {
  padding-top: 1rem;
}
.product-detail .cat {
  font-size: .72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--eyebrow);
  font-weight: 600;
  margin-bottom: .8rem;
}
.product-detail h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.2rem;
}
.product-detail .sku {
  font-size: .78rem;
  color: var(--gris);
  margin-bottom: 1.5rem;
}
.product-detail .price-big {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--amarillo);
  margin-bottom: .5rem;
  font-family: var(--serif);
}
.price-note {
  font-size: .82rem;
  color: var(--gris);
  margin-bottom: 2rem;
}
.product-detail .desc {
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(245, 237, 224, .85);
  margin-bottom: 2rem;
  font-style: italic;
}

.dims-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gris-claro);
  border: 1px solid var(--gris-claro);
  border-radius: var(--radio);
  margin-bottom: 2rem;
  overflow: hidden;
}
.dim-item {
  background: var(--negro-suave);
  padding: 1.1rem .5rem;
  text-align: center;
}
.dim-val {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--amarillo);
}
.dim-lab {
  display: block;
  font-size: .65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gris);
  margin-top: .3rem;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-bottom: 2.5rem;
}

.product-features {
  border-top: 1px solid var(--gris-claro);
  padding-top: 2rem;
}
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gris-claro);
}
.feature-row:last-child { border-bottom: none; }
.feature-icon {
  font-size: 1.3rem;
  min-width: 28px;
  color: var(--amarillo);
}
.feature-text h4 {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: .3rem;
  color: var(--crema);
}
.feature-text p {
  font-size: .85rem;
  color: var(--gris);
  line-height: 1.5;
}

/* ============================================================
   FRASE / QUOTE SECTION
   ============================================================ */
.quote-section {
  background: var(--negro);
  color: var(--crema);
  text-align: center;
}
.quote-section .container { max-width: 820px; }
.quote-section h2 {
  color: var(--crema);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.4;
}
.quote-section h2 em {
  color: var(--amarillo);
  font-style: normal;
}
.quote-sig {
  display: inline-block;
  margin-top: 2rem;
  font-size: .75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amarillo);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--negro);
  color: rgba(250,247,240,.75);
  padding: 5rem 0 2rem;
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand { color: var(--crema); font-size: 1.6rem; }
.footer-brand p {
  margin-top: 1rem;
  color: rgba(250,247,240,.65);
  max-width: 340px;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .7rem; }
.footer-col a { color: rgba(245,237,224,.7); transition: var(--trans); }
.footer-col a:hover { color: var(--amarillo); }

.footer-bottom {
  border-top: 1px solid rgba(250,247,240,.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .78rem;
  color: rgba(250,247,240,.5);
}

/* ============================================================
   UTILIDADES
   ============================================================ */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

@media (max-width: 720px) {
  section { padding: 4rem 0; }
  .hero { min-height: 75vh; }
  .product-detail h1 { font-size: 1.8rem; }
  .product-page { padding: 1.5rem 0 4rem; }
  .product-layout { gap: 1.5rem; }
  .gallery {
    position: sticky;
    top: 60px;
    z-index: 10;
    background: transparent;
    pointer-events: none;
  }
  .gallery-main {
    aspect-ratio: 4/3;
    transform-origin: top right;
    will-change: transform;
    border-radius: 8px;
    overflow: hidden;
    pointer-events: auto;
    background: var(--blanco);
  }
  .gallery-thumbs {
    will-change: opacity;
    pointer-events: auto;
  }
  .product-detail .price-big { font-size: 1.8rem; }
}

/* ============================================================
   FASE 2 — CARRITO, TOAST, PÁGINAS DE RESULTADO
   ============================================================ */

.page-head {
  text-align: center;
  padding: 3rem 0 2rem;
}
.page-head .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--eyebrow);
  font-weight: 600;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 0.5rem;
  color: var(--crema);
}

/* ---------- Layout ---------- */
.cart-page { padding-bottom: 4rem; }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Cart item ---------- */
.cart-items { display: flex; flex-direction: column; }
.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gris-claro);
  align-items: center;
}
.cart-item-media {
  display: block;
  background: var(--blanco);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
}
.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cart-item-media:hover img { transform: scale(1.05); }
.cart-item-info { display: flex; flex-direction: column; gap: 0.35rem; }
.cart-item-cat {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow);
  font-weight: 600;
}
.cart-item-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--crema);
  text-decoration: none;
  line-height: 1.2;
}
.cart-item-name:hover { color: var(--amarillo); }
.cart-item-sku { font-size: 0.78rem; color: var(--gris); }

.cart-item-ctrls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.75rem;
}
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gris-claro);
  border-radius: 999px;
  overflow: hidden;
  background: var(--negro-suave);
}
.qty-ctrl button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--amarillo);
  transition: background 0.15s;
}
.qty-ctrl button:hover { background: var(--negro-elev); }
.qty-val {
  min-width: 32px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.cart-item-remove {
  background: none;
  border: 0;
  color: var(--gris);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.cart-item-remove:hover { color: #c0392b; }

.cart-item-price { text-align: right; display: flex; flex-direction: column; gap: 0.25rem; }
.price-unit { font-size: 0.78rem; color: var(--gris); }
.price-total { font-weight: 600; color: var(--amarillo); font-size: 1.05rem; }

@media (max-width: 560px) {
  .cart-item {
    grid-template-columns: 90px 1fr;
    gap: 1rem;
  }
  .cart-item-price {
    grid-column: 1 / -1;
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--gris-claro);
  }
}

.cart-continue {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--gris);
  text-decoration: none;
  font-size: 0.95rem;
}
.cart-continue:hover { color: var(--amarillo); }

/* ---------- Resumen ---------- */
.cart-summary {
  background: var(--negro-suave);
  border: 1px solid var(--gris-claro);
  border-radius: 14px;
  padding: 1.75rem;
  position: sticky;
  top: 100px;
}
.cart-summary h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
  color: var(--crema);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--crema);
}
.summary-row strong { font-weight: 600; }
.summary-total {
  border-top: 1px solid var(--gris-claro);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.15rem;
  color: var(--amarillo);
}
.summary-total strong { font-size: 1.3rem; color: var(--amarillo); }
.cart-summary .btn { margin-top: 1rem; }
.cart-secure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--gris);
  margin-top: 1rem;
}
.cart-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--gris-claro);
  font-size: 0.8rem;
  color: var(--gris);
  line-height: 1.5;
}
.cart-note a { color: var(--amarillo); text-decoration: underline; }

/* ---------- Empty state ---------- */
.cart-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
}
.cart-empty-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--negro-suave);
  border: 1px solid var(--amarillo);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amarillo);
}
.cart-empty h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--crema);
}
.cart-empty p { color: var(--gris); margin-bottom: 1.5rem; }

/* ---------- Toast ---------- */
.amaryya-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--amarillo);
  color: var(--negro);
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(250, 193, 48, .3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
}
.amaryya-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Páginas de resultado (éxito/fallido/pendiente) ---------- */
.result-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}
.result-box {
  max-width: 540px;
  text-align: center;
  background: var(--negro-suave);
  border: 1px solid var(--gris-claro);
  padding: 3rem 2rem;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.result-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
}
.result-icon.success { background: #27ae60; }
.result-icon.error { background: #c0392b; }
.result-icon.pending { background: #f39c12; }
.result-box h1 {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--crema);
  margin-bottom: 0.75rem;
}
.result-box p {
  color: var(--gris);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.result-box .btn { margin: 0.35rem; }

/* ---------- Badge sync (pequeña animación al agregar) ---------- */
@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ============================================================
   FASE 3 — PÁGINAS DE CONTENIDO (historia, calidad, legales)
   ============================================================ */
.content-page { padding-bottom: 5rem; }
.prose {
  max-width: 780px;
  margin: 0 auto;
  color: var(--crema);
  font-size: 1.02rem;
  line-height: 1.85;
}
.prose > * + * { margin-top: 1.1rem; }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--amarillo);
  margin-top: 3rem;
  line-height: 1.25;
}
.prose h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--crema);
  margin-top: 2rem;
}
.prose p { color: var(--crema); }
.prose strong { color: var(--amarillo); font-weight: 600; }
.prose em { color: var(--amarillo); font-style: italic; }
.prose a {
  color: var(--amarillo);
  border-bottom: 1px solid var(--gris-claro);
  padding-bottom: 1px;
}
.prose a:hover { border-bottom-color: var(--amarillo); }
.prose a.btn { color: var(--negro); border-bottom: none; padding-bottom: 0; }
.prose ul, .prose ol {
  padding-left: 1.3rem;
  color: var(--crema);
}
.prose ul li, .prose ol li { margin: 0.4rem 0; }
.prose ul li::marker { color: var(--amarillo); }
.prose blockquote {
  border-left: 3px solid var(--amarillo);
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--crema);
}
.prose .callout {
  background: var(--negro-suave);
  border: 1px solid var(--gris-claro);
  border-left: 3px solid var(--amarillo);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radio);
}
.prose hr {
  border: none;
  border-top: 1px solid var(--gris-claro);
  margin: 2.5rem 0;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.contact-card {
  background: var(--negro-suave);
  border: 1px solid var(--gris-claro);
  border-radius: var(--radio);
  padding: 2rem;
}
.contact-card h3 {
  font-family: var(--serif);
  color: var(--amarillo);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.contact-card p { color: var(--crema); margin: 0.4rem 0; }
.contact-card a { color: var(--amarillo); }
.contact-card .label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris);
  display: block;
  margin-top: 1rem;
}
