/* ============================================================
   CASA REY — Relojes y Accesorios de Lujo
   Hoja de estilos principal (tema oscuro · azul marino + dorado)
   ============================================================ */

:root {
  --bg: #0b1628;
  --bg-soft: #0f1c33;
  --surface: #14233f;
  --surface-2: #1a2c4d;
  --border: #2a3d60;
  --text: #f6f1e6;
  --text-soft: #d3cab4;
  --muted: #8f97aa;
  --primary: #d4b26a;       /* dorado (logo) */
  --primary-strong: #c4a058;
  --accent: #e8cd8e;        /* dorado claro */
  --accent-2: #a88445;      /* dorado oscuro */
  --whatsapp: #25d366;
  --danger: #e5533d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

/* Menos espacio entre "Ventajas" (termina con el CTA de WhatsApp) y
   "Nosotros": el padding por defecto de ambas secciones sumado dejaba un
   hueco enorme entre el botón y el siguiente bloque. */
#ventajas { padding-bottom: 40px; }
#nosotros { padding-top: 40px; }

/* ---------- Tipografía / utilidades ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15; font-weight: 800; }
.section-head p { color: var(--text-soft); margin-top: 14px; font-size: 1.05rem; }
.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(90deg, var(--primary-strong), var(--accent));
  color: #0b1628;
  box-shadow: 0 8px 24px rgba(212,178,106,0.28);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(212,178,106,0.4); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-whatsapp { background: var(--whatsapp); color: #042b13; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28); }
.btn-whatsapp:hover { box-shadow: 0 12px 32px rgba(37, 211, 102, 0.42); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,22,40,0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 0; font-family: "Cinzel", Georgia, serif; font-weight: 700; font-size: 1.3rem; letter-spacing: 0.06em; white-space: nowrap; flex-shrink: 0; }
.logo .logo-mark {
  margin-right: 11px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0b1628;
}
.logo .logo-mark svg { width: 22px; height: 22px; }
/* Emblema del logo: logo.svg ya es el cuadro de la corona, se muestra entero. */
.logo .logo-badge {
  position: relative;
  width: 42px; height: 42px;
  margin-right: 11px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0b1628;
}
.logo .logo-badge img {
  position: absolute;
  width: 42px; height: 42px;
  left: 0; top: 0;
  max-width: none;
}
.logo .dot { color: var(--primary); margin-left: 6px; }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav a {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--surface); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px; height: 44px;
  border-radius: 11px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* El menú completo (7 secciones + WhatsApp + carrito + Admin) no cabe en una
   sola fila desde ~860px hasta pantallas grandes: en vez de dejar que el
   texto se parta en dos líneas, pasamos al menú hamburguesa antes de que
   se vea apretado. */
@media (max-width: 1180px) {
  .nav, .header-actions .btn { display: none; }
  .header-actions .btn-cart { display: inline-flex; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 4px;
    z-index: 99;
  }
  .nav.open a { width: 100%; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(212,178,106,0.20), transparent 60%),
    radial-gradient(700px 500px at 10% 20%, rgba(168,132,69,0.14), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.07; font-weight: 850; letter-spacing: -0.02em; }
.hero p.lead { color: var(--text-soft); font-size: 1.15rem; margin: 22px 0 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--text); }
.hero-stats .stat span { color: var(--muted); font-size: 0.9rem; }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(212,178,106,.15); color: var(--primary); display: grid; place-items: center; }
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge strong { display: block; font-size: 0.95rem; }
.hero-badge span { color: var(--muted); font-size: 0.8rem; }

/* ---------- Marcas (logos) ---------- */
.brands { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px 40px;
}
.brands-row span {
  font-weight: 700; font-size: 1.25rem; color: var(--muted);
  opacity: 0.7; transition: opacity 0.2s, color 0.2s;
  letter-spacing: 0.04em;
}
.brands-row span:hover { opacity: 1; color: var(--text-soft); }

/* ============================================================
   PROMO SÚPER CLON (inicio)
   ============================================================ */
.superclon-promo { padding: 64px 0; }
.superclon-promo-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 44px;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.superclon-promo-inner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 260px at 100% -20%, rgba(212,178,106,.16), transparent 60%);
  pointer-events: none;
}
.superclon-promo-media { position: relative; z-index: 1; }
.superclon-promo-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: block;
}
.superclon-promo-copy { position: relative; z-index: 1; }
.superclon-promo-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 850; margin: 10px 0 16px; }
.superclon-promo-copy p { color: var(--text-soft); font-size: 1.02rem; margin-bottom: 26px; max-width: 480px; }
@media (max-width: 860px) {
  .superclon-promo-inner { grid-template-columns: 1fr; padding: 28px; }
}

/* ============================================================
   CATEGORÍAS
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 260px;
  display: flex; align-items: flex-end;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: opacity 0.3s, transform 0.4s var(--ease); }
.cat-card:hover img { opacity: 0.7; transform: scale(1.06); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(11,22,40,0.95)); }
.cat-card .cat-body { position: relative; z-index: 2; padding: 22px; width: 100%; }
.cat-card h3 { font-size: 1.2rem; font-weight: 700; }
.cat-card span.count { color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.cat-card .cat-sample { display: block; margin-top: 4px; color: var(--text-soft); font-size: 0.8rem; }
.cat-card .arrow { position: absolute; top: 18px; right: 18px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(11,22,40,.6); border: 1px solid var(--border); display: grid; place-items: center; transition: background 0.2s; }
.cat-card:hover .arrow { background: var(--primary); color: #0b1628; }
.cat-card .arrow svg { width: 18px; height: 18px; }

/* ============================================================
   PRODUCTOS
   ============================================================ */
/* ---------- Panel de filtros del catálogo (Sección › Categoría › Marca) ---------- */
.filter-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 24px;
  margin-bottom: 44px;
  box-shadow: var(--shadow-sm);
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.filter-row:last-child { border-bottom: none; }
.filter-row.is-empty { display: none; }
.filter-label {
  flex: 0 0 92px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
/* Dentro del panel las barras se alinean a la izquierda y sin margen propio */
.filter-row > div {
  display: flex; flex-wrap: wrap; gap: 9px;
  justify-content: flex-start; margin: 0; flex: 1;
}

/* Buscador del catálogo */
.search-box { position: relative; display: flex; align-items: center; width: 100%; }
.search-box .search-icon {
  position: absolute; left: 14px; width: 18px; height: 18px;
  color: var(--muted); pointer-events: none;
}
.search-box input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 44px 12px 42px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s;
}
.search-box input::placeholder { color: var(--muted); }
.search-box input:focus { outline: none; border-color: var(--primary); }
.search-box input:focus ~ .search-icon { color: var(--primary); }
/* Oculta la "x" nativa del navegador (usamos la nuestra) */
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-clear {
  position: absolute; right: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-soft); cursor: pointer; transition: all 0.15s;
}
.search-clear:hover { color: var(--primary); border-color: var(--primary); }
.search-clear svg { width: 14px; height: 14px; }
.search-clear[hidden] { display: none; }

/* Contador de resultados */
.results-count {
  text-align: center; color: var(--muted);
  font-size: 0.88rem; margin: -26px 0 26px;
}
.results-count:empty { display: none; }
.results-count strong { color: var(--primary); }

/* Barra de secciones (Hombre / Mujer / ...) — nivel superior del catálogo */
.section-filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px;
}
.section-filters:empty { display: none; }
.section-btn {
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s;
}
.section-btn:hover { color: var(--primary); border-color: var(--primary); }
.section-btn.active {
  background: linear-gradient(90deg, var(--primary-strong), var(--accent));
  color: #0b1628; border-color: transparent;
  box-shadow: 0 6px 20px rgba(212,178,106,0.28);
}

/* Barra de categorías (Relojería 1.1 / Súper Clon) — segundo nivel */
.category-filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px;
}
.category-filters:empty { display: none; }
.maincat-btn {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-weight: 600; font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.18s;
}
.maincat-btn:hover { color: var(--text); border-color: var(--primary); }
.maincat-btn.active { background: rgba(212,178,106,.16); border-color: var(--primary); color: var(--primary); }

/* Tercer nivel (marca): el más discreto */
.filter-row .filter-btn { padding: 8px 15px; font-size: 0.84rem; background: var(--bg); }
.filter-row .filter-btn.active {
  background: transparent; color: var(--primary);
  border-color: var(--primary); font-weight: 700;
}

/* Responsive: la etiqueta pasa arriba y las píldoras hacen scroll si no caben */
@media (max-width: 720px) {
  .filter-panel { padding: 4px 16px; margin-bottom: 32px; }
  .filter-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 0; }
  .filter-label { flex: none; font-size: 0.66rem; }
  .filter-row > div { width: 100%; }
}

.filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-weight: 600; font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.18s;
}
.filter-btn:hover { color: var(--text); border-color: var(--primary); }
.filter-btn.active { background: linear-gradient(90deg, var(--primary-strong), var(--accent)); color: #0b1628; border-color: transparent; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent-2); color: #0b1628;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 10px; border-radius: 999px; text-transform: uppercase;
}
.product-tag.oferta { background: var(--danger); color: #fff; }
.product-tag.nuevo { background: var(--primary); color: #0b1628; }
.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.product-body h3 { font-size: 1.02rem; font-weight: 700; margin: 6px 0 4px; line-height: 1.3; }
.product-size {
  display: inline-block; margin-bottom: 6px; padding: 2px 9px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-soft); font-size: 0.76rem; font-weight: 600;
}
/* Recorta descripciones largas a 2 líneas; el texto completo se ve en la
   vista rápida (clic en la descripción abre el mismo modal del ícono de ojo) */
.product-specs {
  color: var(--text-soft); font-size: 0.86rem; margin-bottom: 4px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; cursor: pointer;
}
.product-specs:hover { color: var(--text); }
.specs-more-btn {
  background: none; border: none; padding: 0; margin-bottom: 14px;
  color: var(--primary); font-size: 0.78rem; font-weight: 700; cursor: pointer;
  text-align: left; align-self: flex-start;
}
.specs-more-btn:hover { text-decoration: underline; }
.product-foot { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: auto; }
.product-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-price .now { font-size: 1.25rem; font-weight: 800; color: var(--text); }
.product-price .was { font-size: 0.8rem; color: var(--muted); text-decoration: line-through; }
.product-foot .btn-add-cart { width: 100%; }
.no-results { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; }

/* ============================================================
   SERVICIO / VENTAJAS
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow); }
.service-card .ic {
  width: 60px; height: 60px; margin: 0 auto 18px;
  border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(212,178,106,.18), rgba(168,132,69,.18));
  color: var(--primary);
}
.service-card .ic svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--text-soft); font-size: 0.9rem; }

/* ============================================================
   NOSOTROS / FEATURES
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual { position: relative; }
.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-stats { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.about-stats .stat strong { display: block; font-size: 2rem; font-weight: 800; }
.about-stats .stat span { color: var(--muted); font-size: 0.88rem; }
.feature-list { margin-top: 28px; display: grid; gap: 16px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item .ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(168,132,69,.16); color: var(--accent); }
.feature-item .ic svg { width: 22px; height: 22px; }
.feature-item h4 { font-size: 1rem; font-weight: 700; }
.feature-item p { color: var(--text-soft); font-size: 0.92rem; }

/* ---------- Tira de beneficios ---------- */
.perks { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 0; }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.perk { display: flex; gap: 14px; align-items: center; }
.perk .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(212,178,106,.14); color: var(--primary); }
.perk .ic svg { width: 24px; height: 24px; }
.perk strong { display: block; font-size: 0.98rem; }
.perk span { color: var(--muted); font-size: 0.84rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
}
.cta-box {
  position: relative;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% -30%, rgba(212,178,106,.25), transparent 60%);
}
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 850; }
.cta-box p { color: var(--text-soft); max-width: 540px; margin: 16px auto 30px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--primary); }
.contact-info .ic svg { width: 22px; height: 22px; }
.contact-info h4 { font-size: 1rem; }
.contact-info p, .contact-info a { color: var(--text-soft); font-size: 0.95rem; }
.contact-info a:hover { color: var(--primary); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--text-soft); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); }
.field textarea { resize: vertical; min-height: 120px; }

.map-embed { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg); }

/* ============================================================
   ARTÍCULO / PÁGINA SÚPER CLON
   ============================================================ */
.article { max-width: 860px; margin: 0 auto; }
/* Mismo recorte (4:3, recortada arriba) que la miniatura del inicio, para
   que la misma foto se vea igual de encuadrada en las dos páginas. */
.article-hero {
  display: block;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.article h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin: 40px 0 16px;
}
.article h2:first-child { margin-top: 0; }
.article p { color: var(--text-soft); font-size: 1.04rem; margin-bottom: 16px; }
.article strong { color: var(--text); }

/* Lista de beneficios con check dorado */
.benefit-list { display: grid; gap: 16px; margin: 8px 0 8px; }
.benefit-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.2s;
}
.benefit-item:hover { border-color: var(--primary); }
.benefit-item .check {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 2px;
  background: rgba(212,178,106,.14); color: var(--primary);
}
.benefit-item .check svg { width: 19px; height: 19px; }
.benefit-item p { margin: 0; font-size: 0.98rem; }
.benefit-item p strong { display: block; margin-bottom: 3px; color: var(--primary); font-size: 1.02rem; }

/* Bloque de compromiso destacado */
.article-note {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 28px 0;
}
.article-note h2 { margin-top: 0; }
.article-note p:last-child { margin-bottom: 0; }

.article-cta { text-align: center; margin: 48px 0 8px; }
.article-cta p { font-size: 1.15rem; color: var(--text); font-weight: 600; margin-bottom: 20px; }

/* ---------- Page header (subpáginas) ---------- */
.page-header { padding: 64px 0 40px; position: relative; }
.page-header::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% -40%, rgba(212,178,106,.2), transparent 60%); }
.page-header .container { position: relative; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 850; }
.page-header p { color: var(--text-soft); margin-top: 12px; font-size: 1.08rem; max-width: 560px; }
.breadcrumb { color: var(--muted); font-size: 0.88rem; margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; color: var(--text); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { color: var(--text-soft); font-size: 0.92rem; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-about p { color: var(--text-soft); font-size: 0.92rem; margin: 16px 0; max-width: 300px; }
.footer-contact-item { display: flex; gap: 10px; color: var(--text-soft); font-size: 0.9rem; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-soft); transition: all 0.18s; }
.social a:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.social a svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 0.85rem; }
.footer-bottom a:hover { color: var(--primary); }

/* Cabecera a todo el ancho para que el botón Admin quede en la esquina derecha */
.site-header .container { max-width: 100%; padding: 0 32px; }

/* Botón "Admin" en la cabecera (separado, en la esquina derecha) */
.btn-admin { opacity: 0.9; margin-left: 18px; }
@media (max-width: 600px) { .btn-admin { display: none; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
  animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes pulse {
  0% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Redes sociales flotantes (encima de WhatsApp) ---------- */
.social-float {
  position: fixed; right: 26px; bottom: 94px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.social-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
}
.social-btn:hover { transform: scale(1.08); }
.social-btn svg { width: 26px; height: 26px; }
.social-btn.fb { background: #1877f2; }
.social-btn.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
@media (max-width: 480px) {
  .social-float { right: 22px; bottom: 84px; }
  .social-btn { width: 48px; height: 48px; }
  .social-btn svg { width: 23px; height: 23px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--surface); border: 1px solid var(--primary);
  color: var(--text); padding: 14px 22px; border-radius: 12px;
  box-shadow: var(--shadow); z-index: 200; font-size: 0.92rem;
  transition: transform 0.35s var(--ease); max-width: 90%;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   PANEL ADMINISTRADOR
   ============================================================ */
.admin-body { background: var(--bg); min-height: 100vh; }

/* Login */
.admin-login {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 24px;
}
.login-card {
  width: 100%; max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.login-card .logo { justify-content: center; margin-bottom: 22px; }
.login-card h1 { font-size: 1.4rem; margin-bottom: 6px; }
.login-card p { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 24px; }
.login-error { color: var(--danger); font-size: 0.86rem; margin-top: 12px; min-height: 18px; }

/* Topbar */
.admin-top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,22,40,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.admin-top-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.admin-top .right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-badge { font-size: 0.78rem; color: var(--primary); background: rgba(212,178,106,.12); padding: 5px 12px; border-radius: 999px; font-weight: 600; }

/* Pestañas del panel: Catálogo / Pedidos */
.admin-tabs { display: flex; gap: 6px; }
.admin-tab {
  position: relative;
  background: transparent; border: 1px solid transparent; color: var(--text-soft);
  font-family: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.active { background: var(--surface); border-color: var(--border); color: var(--primary); }
.admin-tab-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px;
  border-radius: 999px; background: var(--danger); color: #fff;
  font-size: 0.68rem; font-weight: 800; line-height: 1;
}
@media (max-width: 640px) {
  .admin-top-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px; }
  .admin-badge { display: none; }
}

/* Layout */
.admin-wrap { padding: 32px 0 80px; }
.admin-grid { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }

.admin-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.admin-panel h2 { font-size: 1.15rem; margin-bottom: 4px; }
.admin-panel .hint { color: var(--muted); font-size: 0.84rem; margin-bottom: 20px; }

.admin-panel.sticky {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

/* Tabla / lista de productos */
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.admin-search { flex: 1; min-width: 180px; }
.admin-search input { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; color: var(--text); font-family: inherit; }
.admin-search input:focus { outline: none; border-color: var(--primary); }

.admin-list { display: grid; gap: 12px; }
.admin-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px;
}
.admin-item img { width: 64px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--bg); }
.admin-item .meta h4 { font-size: 0.96rem; line-height: 1.25; }
.admin-item .meta span { font-size: 0.8rem; color: var(--muted); }
.admin-item .meta .price { color: var(--primary); font-weight: 700; }
.admin-item .acts { display: flex; gap: 6px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); cursor: pointer;
  transition: all 0.15s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn.danger:hover { border-color: var(--danger); color: var(--danger); }
.icon-btn svg { width: 17px; height: 17px; }

/* Vista previa de imagen en el form */
.img-preview {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-sm);
  background: var(--bg) center/cover no-repeat;
  border: 1px dashed var(--border); margin-bottom: 12px;
  display: grid; place-items: center; color: var(--muted); font-size: 0.85rem; overflow: hidden;
}
.img-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Formulario de producto: grilla de hasta 4 fotos */
.product-images-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.product-image-slot .img-preview { margin-bottom: 8px; aspect-ratio: 1/1; }
.product-image-slot-acts { display: flex; gap: 6px; }
.product-image-slot-acts .btn { flex: 1; }

/* Pestaña "Inicio": grilla de las 3 fotos editables del sitio */
.site-images-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 16px; }
.site-image-card label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; }

/* Editor compartido de las fotos del inicio: modal centrado sobre fondo oscuro */
.img-editor-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.img-editor-modal {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
}
.img-editor-modal h3 { margin-bottom: 14px; }

/* Editor de imagen del producto: recorte 4:3 con zoom/arrastre antes de subir */
.img-editor-canvas {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-sm);
  border: 1px dashed var(--border); margin-bottom: 12px;
  cursor: grab; touch-action: none; /* evita que arrastrar la foto haga scroll en móvil */
}
.img-editor-canvas:active { cursor: grabbing; }
.img-editor-controls { display: flex; align-items: center; gap: 12px; margin: -4px 0 14px; }
.img-editor-zoom { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-soft); flex: 1; }
.img-editor-zoom input[type="range"] { flex: 1; accent-color: var(--primary); }

.form-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.btn-block { width: 100%; }

.admin-note {
  background: rgba(212,178,106,.1); border: 1px solid rgba(212,178,106,.3);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.86rem;
  color: var(--text-soft); margin-bottom: 22px;
}
.admin-note strong { color: var(--text); }
.admin-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Filtros por categoría en la lista de productos (panel admin) */
.admin-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.admin-filters .afilter {
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: var(--bg);
  color: var(--text-soft); font-size: 0.82rem; font-weight: 500;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.admin-filters .afilter:hover { color: var(--text); border-color: var(--primary); }
.admin-filters .afilter.active { background: var(--primary); border-color: var(--primary); color: #0b1628; font-weight: 700; }

/* Campo de contraseña con botón para mostrar/ocultar */
.pass-wrap { position: relative; }
.pass-wrap input { width: 100%; padding-right: 46px; }
.pass-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted); cursor: pointer;
  display: grid; place-items: center; padding: 8px; border-radius: 8px;
  transition: color 0.2s;
}
.pass-toggle:hover { color: var(--primary); }
.pass-toggle svg { width: 20px; height: 20px; }

/* ---------- Categorías (panel admin) ---------- */
.cat-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: start; }
.cat-form .cat-img-field, .cat-form .cat-actions { grid-column: 1 / -1; }
.cat-form .cat-actions { margin: 0; }
.cat-img-row { display: flex; gap: 12px; align-items: center; }
.cat-preview {
  width: 68px; height: 50px; border-radius: 8px; flex-shrink: 0;
  background: var(--bg); border: 1px solid var(--border);
  display: grid; place-items: center; overflow: hidden;
  font-size: 0.68rem; color: var(--muted); text-align: center;
}
.cat-preview img { width: 100%; height: 100%; object-fit: cover; }
.cat-img-inputs { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.file-btn { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cat-list { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 8px 8px 14px;
}
.cat-chip-thumb { width: 40px; height: 32px; border-radius: 6px; object-fit: cover; background: var(--surface); }
.cat-chip-meta { display: flex; flex-direction: column; line-height: 1.2; }
.cat-chip-meta strong { font-size: 0.9rem; }
.cat-chip-meta span { font-size: 0.75rem; color: var(--muted); }
.sec-pill {
  display: inline-block; background: rgba(212,178,106,.14); color: var(--primary);
  border-radius: 999px; padding: 1px 8px; font-weight: 700; font-size: 0.7rem;
}
.cat-pill {
  display: inline-block; background: rgba(233,233,233,.08); color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: 999px; padding: 1px 8px; font-weight: 600; font-size: 0.7rem;
}
/* Tipo de catálogo: Reloj (dorado) vs Accesorio (azulado) — distingue de un vistazo */
.type-pill {
  display: inline-block;
  border-radius: 999px; padding: 1px 8px; font-weight: 700; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.type-pill.type-reloj { background: rgba(212,178,106,.22); color: var(--primary); }
.type-pill.type-accesorio { background: rgba(59,130,246,.18); color: #7fb0ff; }
.cat-chip-acts { display: flex; gap: 4px; }
@media (max-width: 720px) { .cat-form { grid-template-columns: 1fr; } }

/* Panel admin: tablero de Pedidos (carrito del sitio) */

/* Tarjetas de resumen */
.orders-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 24px; }
.stat-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
}
.stat-label { font-size: 0.72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.stat-value { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.stat-trend { font-size: 0.72rem; color: var(--text-soft); }

/* Barra de herramientas: buscador, fechas, filtro de estado, exportar */
.orders-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0; }
.orders-toolbar .admin-search { flex: 1; min-width: 200px; }
.orders-toolbar-dates { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.82rem; }
.orders-toolbar-dates input,
.orders-toolbar select {
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 9px 12px; font-family: inherit; font-size: 0.84rem;
}

/* Estado: pastilla de color propia por estado, para distinguir de un vistazo.
   pay-* = estado de pago, ful-* = estado del pedido/envío. */
.order-status-pill {
  display: inline-block; border-radius: 999px; padding: 3px 10px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  white-space: nowrap;
}
.order-status-pill.pay-pendiente, .order-status-pill.ful-pendiente { background: rgba(233,233,233,.1); color: var(--text-soft); }
.order-status-pill.pay-en_verificacion { background: rgba(212,178,106,.2); color: var(--primary); }
.order-status-pill.pay-pagado { background: rgba(37,211,102,.18); color: var(--whatsapp); }
.order-status-pill.pay-rechazado { background: rgba(229,83,61,.18); color: var(--danger); }
.order-status-pill.ful-en_preparacion { background: rgba(212,178,106,.2); color: var(--primary); }
.order-status-pill.ful-enviado { background: rgba(59,130,246,.18); color: #7fb0ff; }
.order-status-pill.ful-entregado { background: rgba(37,211,102,.18); color: var(--whatsapp); }
.order-status-pill.ful-cancelado { background: rgba(229,83,61,.18); color: var(--danger); }

/* Tabla de pedidos */
.orders-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.orders-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; white-space: nowrap; }
.orders-table th {
  text-align: left; padding: 12px 14px; background: var(--bg-soft); color: var(--muted);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.orders-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text-soft); }
.orders-table tbody tr { cursor: pointer; transition: background 0.15s; }
.orders-table tbody tr:hover { background: var(--bg-soft); }
.orders-table tbody tr:last-child td { border-bottom: none; }
.orders-table-acts { display: flex; gap: 6px; }
.orders-table-acts .icon-btn { width: 32px; height: 32px; }

.orders-pager {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 14px; font-size: 0.82rem; color: var(--muted);
}
.pager-btns { display: flex; align-items: center; gap: 10px; }

/* Panel de detalle del pedido (drawer deslizante, mismo mecanismo que el
   carrito del sitio público, con sus propios nombres de clase) */
.order-detail-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease);
}
.order-detail-overlay.open { opacity: 1; pointer-events: auto; }
.order-detail-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: min(440px, 100vw);
  background: var(--surface); border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.25s var(--ease);
  overflow-y: auto;
}
.order-detail-drawer.open { transform: translateX(0); }
.order-detail-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.order-detail-head h3 { font-size: 1.05rem; }
.order-detail-body { padding: 20px 22px; }
.order-detail-body h5 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); font-weight: 700; margin: 22px 0 8px;
}
.order-detail-body h5:first-child { margin-top: 0; }
.order-detail-body p { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 5px; line-height: 1.4; }
.order-detail-id { color: var(--muted); font-size: 0.8rem; }
.order-detail-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 0.95rem;
}
.order-detail-total strong { color: var(--primary); font-size: 1.1rem; }
.order-proof-link { color: var(--primary); font-weight: 600; }

.order-items { display: flex; flex-direction: column; gap: 6px; }
.order-items li { display: flex; align-items: baseline; gap: 8px; font-size: 0.84rem; color: var(--text-soft); }
.order-item-qty { color: var(--muted); font-weight: 700; flex-shrink: 0; }
.order-item-name { flex: 1; }
.order-item-price { color: var(--text); font-weight: 600; white-space: nowrap; }

@media (max-width: 1100px) {
  .orders-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .orders-stats { grid-template-columns: repeat(2, 1fr); }
  .order-detail-drawer { width: 100vw; }
}

@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; }
  .admin-panel.sticky { position: static; max-height: none; overflow-y: visible; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cat-grid, .product-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 70px 0 60px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .cat-grid, .services-grid { grid-template-columns: 1fr; }
  .perks-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .cta-box { padding: 44px 24px; }

  /* Catálogo en móvil: 2 productos por fila */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 12px 12px 14px; }
  .product-cat { font-size: 0.64rem; }
  .product-body h3 { font-size: 0.86rem; line-height: 1.25; margin: 5px 0 3px; }
  .product-specs { font-size: 0.74rem; margin-bottom: 10px; }
  .product-tag { font-size: 0.6rem; padding: 4px 8px; top: 8px; left: 8px; }

  .product-foot { gap: 8px; }
  .product-price .now { font-size: 1.02rem; }
  .product-price .was { font-size: 0.72rem; }
  .product-foot .btn-add-cart { padding: 9px 10px; font-size: 0.78rem; }
  .product-foot .btn-add-cart svg { width: 15px; height: 15px; }
}

/* Pantallas muy angostas: mantenemos 2 columnas, apretando un poco más */
@media (max-width: 360px) {
  .product-grid { gap: 9px; }
  .product-body { padding: 10px; }
  .product-body h3 { font-size: 0.8rem; }
  .product-foot .btn-add-cart { font-size: 0.72rem; }
}

/* ============================================================
   CARRITO DE COMPRAS
   ============================================================ */
.btn-cart { position: relative; padding: 11px; }
.btn-cart svg { width: 19px; height: 19px; }
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 19px; height: 19px; padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-strong), var(--accent));
  color: #0b1628;
  font-size: 0.68rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease);
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: min(420px, 100vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s var(--ease);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--border);
}
.cart-drawer-head h3 { font-size: 1.05rem; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-drawer-foot { padding: 18px 22px; border-top: 1px solid var(--border); }
.cart-drawer-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; font-size: 1rem;
}
.cart-drawer-total strong { color: var(--primary); font-size: 1.2rem; }
.cart-empty { color: var(--text-soft); text-align: center; padding: 40px 0; }

.cart-line {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.cart-line:last-child { border-bottom: none; }
.cart-line img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-info h4 { font-size: 0.88rem; line-height: 1.25; margin-bottom: 4px; }
.cart-line-price { color: var(--text-soft); font-size: 0.8rem; }
.cart-line-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn {
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; font-size: 0.95rem; line-height: 1;
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-line-remove {
  background: none; border: none; color: var(--text-soft); cursor: pointer; flex-shrink: 0;
}
.cart-line-remove:hover { color: var(--danger); }
.cart-line-remove svg { width: 16px; height: 16px; }

/* ============================================================
   VISTA RÁPIDA (quick view)
   ============================================================ */
.quickview-btn {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(11,22,40,.75); border: 1px solid var(--border); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background 0.2s;
}
.quickview-btn svg { width: 18px; height: 18px; }
.quickview-btn:hover { background: var(--primary); color: #0b1628; border-color: var(--primary); }

.product-next-img {
  position: absolute; bottom: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 999px;
  background: rgba(11,22,40,.75); border: 1px solid var(--border); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background 0.2s;
}
.product-next-img svg { width: 16px; height: 16px; }
.product-next-img:hover { background: var(--primary); color: #0b1628; border-color: var(--primary); }

.quickview-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease);
}
.quickview-overlay.open { opacity: 1; pointer-events: auto; }

.quickview-modal {
  position: fixed; top: 50%; left: 50%; z-index: 301;
  transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
  width: min(880px, 92vw); max-height: 88vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  display: grid; grid-template-columns: 1fr 1fr;
}
.quickview-modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.quickview-close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--surface); }
.quickview-media { position: relative; background: var(--bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.quickview-media img { width: 100%; height: 100%; object-fit: contain; max-height: 88vh; }
.quickview-thumbs { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; gap: 8px; justify-content: center; padding: 0 12px; }
.quickview-thumb {
  width: 48px; height: 48px; flex-shrink: 0; padding: 0; cursor: pointer;
  border-radius: 8px; border: 2px solid var(--border); overflow: hidden; background: var(--surface);
}
.quickview-thumb img { width: 100%; height: 100%; object-fit: cover; }
.quickview-thumb.active { border-color: var(--primary); }
.quickview-info { padding: 36px 32px; display: flex; flex-direction: column; }
.quickview-info h3 { font-size: 1.4rem; margin: 6px 0 10px; }
/* Aquí la descripción se ve completa, sin el recorte de 2 líneas de la tarjeta */
#quickview-specs { -webkit-line-clamp: unset; display: block; overflow: visible; cursor: auto; }
.quickview-price { display: flex; align-items: center; gap: 10px; margin: 16px 0 20px; flex-wrap: wrap; }
.quickview-price .now { font-size: 1.6rem; font-weight: 800; color: var(--text); }
.quickview-price .was { font-size: 1rem; color: var(--muted); text-decoration: line-through; }
.quickview-discount {
  background: rgba(212,178,106,.18); color: var(--primary);
  border-radius: 999px; padding: 3px 10px; font-size: 0.78rem; font-weight: 700;
}
.quickview-qty { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--text-soft); font-size: 0.9rem; }
.qty-stepper { display: flex; align-items: center; gap: 10px; }
.qty-stepper span { min-width: 20px; text-align: center; font-weight: 700; color: var(--text); }

@media (max-width: 720px) {
  .quickview-modal { grid-template-columns: 1fr; }
  .quickview-media img { max-height: 260px; }
  .quickview-info { padding: 24px 20px; }
}

/* ============================================================
   CHECKOUT
   ============================================================ */
/* Cada paso del checkout se centra y se muestra de a uno */
.checkout-step-box { max-width: 640px; margin: 0 auto; }
.checkout-summary, .checkout-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.checkout-summary h2, .checkout-form h2 { font-size: 1.05rem; margin-bottom: 16px; }
.checkout-form h2:not(:first-child) { margin-top: 26px; }
.checkout-line {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.checkout-line:last-child { border-bottom: none; }
.checkout-line img { width: 50px; height: 50px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.checkout-line-info { flex: 1; min-width: 0; }
.checkout-line-info h4 { font-size: 0.86rem; margin-bottom: 3px; }
.checkout-line-info span { color: var(--text-soft); font-size: 0.78rem; }
.checkout-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 1.05rem;
}
.checkout-total strong { color: var(--primary); font-size: 1.3rem; }

/* Recordatorio breve de lo que se está comprando, en el paso de pago */
.checkout-mini-summary {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 20px; font-size: 0.86rem;
}
.mini-summary-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--text-soft); }
.mini-summary-qty { color: var(--muted); }
.mini-summary-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border);
  font-weight: 700;
}
.mini-summary-total strong { color: var(--primary); font-size: 1.05rem; }

.payment-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.payment-method {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 16px; cursor: pointer; transition: border-color 0.15s;
}
.payment-method:has(input:checked) { border-color: var(--primary); background: rgba(212,178,106,.06); }
.payment-method input { accent-color: var(--primary); }
.payment-method-body { display: flex; flex-direction: column; gap: 3px; }
.payment-method-title { font-weight: 600; font-size: 0.92rem; }
.payment-method-desc { color: var(--text-soft); font-size: 0.78rem; }
.payment-method.is-soon { cursor: not-allowed; opacity: 0.55; }

.transfer-details {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 18px; margin-bottom: 20px;
}
.bank-data { margin: 0; padding: 12px 16px 4px; font-size: 0.88rem; }
.bank-data li { padding: 4px 0; color: var(--text-soft); }
.bank-data li strong { color: var(--text); }

/* Lista de bancos + QR de Deuna fijo al lado (misma altura que la lista;
   se apila en pantallas angostas) */
.bank-and-qr { display: flex; gap: 16px; align-items: stretch; margin-top: 10px; }
.bank-and-qr .bank-list { flex: 1; min-width: 0; margin-top: 0; }
.deuna-qr-box {
  flex-shrink: 0; width: 260px; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.deuna-qr-box img { flex: 1 1 auto; min-height: 0; max-width: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.deuna-qr-box .hint { flex-shrink: 0; margin: 8px 0 0; font-size: 0.85rem; color: var(--text-soft); }
@media (max-width: 640px) {
  .bank-and-qr { flex-direction: column; }
  .deuna-qr-box { width: 100%; height: 260px; }
}

/* Lista de cuentas bancarias: acordeón, colapsado por defecto */
.bank-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.bank-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.bank-item-head {
  width: 100%; display: flex; align-items: center; gap: 12px;
  background: none; border: none; padding: 12px 16px; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 0.9rem; font-weight: 600; color: var(--text);
}
.bank-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px;
  object-fit: cover;
}
.bank-icon-text {
  display: grid; place-items: center; color: #0b1628; font-weight: 800; font-size: 0.78rem;
}
.bank-name { flex: 1; }
.bank-chevron { color: var(--muted); transition: transform 0.15s var(--ease); }
.bank-item-head.open .bank-chevron { transform: rotate(180deg); }
.bank-item-head.open { border-bottom: 1px solid var(--border); }

/* Marcas de tarjeta: placas de texto genéricas (no logos con marca
   registrada) junto al título de la opción "Tarjeta de crédito" */
.card-brands { display: inline-flex; gap: 6px; margin-left: 8px; vertical-align: middle; }
.card-brand {
  display: inline-block; border: 1px solid var(--border); border-radius: 4px;
  padding: 1px 6px; font-size: 0.62rem; font-weight: 700; color: var(--muted);
  letter-spacing: 0.02em;
}

/* Indicador de pasos del checkout */
.steps-bar {
  display: flex; align-items: flex-start; justify-content: center; gap: 6px;
  max-width: 640px; margin: 0 auto 32px;
}
.step-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex: 1; position: relative; color: var(--muted); font-size: 0.78rem; font-weight: 600;
}
.step-item:not(:last-child)::after {
  content: ""; position: absolute; top: 15px; left: calc(50% + 24px); right: calc(-50% + 24px);
  height: 2px; background: var(--border);
}
.step-item.done:not(:last-child)::after { background: var(--primary); }
.step-num {
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-soft);
  font-weight: 700; font-size: 0.86rem; z-index: 1;
}
.step-item.active .step-num { background: var(--primary); border-color: var(--primary); color: #0b1628; }
.step-item.done .step-num { background: rgba(212,178,106,.2); border-color: var(--primary); color: var(--primary); }
.step-item.active .step-label { color: var(--text); }

/* Paso 4: confirmación */
.checkout-confirm {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px; text-align: center;
}
.confirm-check {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 999px;
  background: rgba(37,211,102,.18); color: var(--whatsapp);
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 800;
}

@media (max-width: 640px) {
  .cart-drawer { width: 100vw; }
  .steps-bar { gap: 2px; }
  .step-label { font-size: 0.65rem; }
  .step-item:not(:last-child)::after { left: calc(50% + 16px); right: calc(-50% + 16px); }
}

/* ============================================================
   MIS PEDIDOS
   ============================================================ */
.myorders-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.myorder-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px;
}
.myorder-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.myorder-payment { color: var(--text-soft); font-size: 0.86rem; margin: 8px 0 16px; }
.myorder-cancelled { color: var(--danger); font-size: 0.86rem; font-weight: 600; }

.myorder-stepper { display: flex; align-items: flex-start; gap: 4px; }
.myorder-step {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  position: relative; font-size: 0.68rem; color: var(--muted); text-align: center;
}
.myorder-step:not(:last-child)::after {
  content: ""; position: absolute; top: 5px; left: calc(50% + 14px); right: calc(-50% + 14px);
  height: 2px; background: var(--border);
}
.myorder-step.done:not(:last-child)::after { background: var(--primary); }
.myorder-step-dot { width: 11px; height: 11px; border-radius: 999px; background: var(--border); z-index: 1; }
.myorder-step.done .myorder-step-dot { background: var(--primary); }
.myorder-step.current .myorder-step-label { color: var(--primary); font-weight: 700; }

@media (max-width: 560px) {
  .myorder-stepper { flex-wrap: wrap; row-gap: 14px; }
  .myorder-step { flex: 1 1 33%; }
  .myorder-step:not(:last-child)::after { display: none; }
}

/* ============================================================
   RESEÑAS DE CLIENTES
   ============================================================ */
.reviews-carousel { overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; margin: 8px 0 40px; }
.reviews-track { display: flex; gap: 20px; }
.reviews-empty .reviews-carousel { display: none; }

.review-card {
  scroll-snap-align: start; flex: 0 0 300px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.review-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 14px; }
.review-stars { color: var(--primary); font-size: 1rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-comment { color: var(--text-soft); font-size: 0.92rem; line-height: 1.5; margin-bottom: 14px; }
.review-author { font-weight: 700; font-size: 0.88rem; }

.review-form-wrap {
  max-width: 640px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px;
}
.review-form-wrap h3 { font-size: 1.1rem; margin-bottom: 18px; text-align: center; }

/* Selector de estrellas: grandes y táctiles, fáciles de tocar en el celular */
.star-picker { display: flex; justify-content: center; gap: 10px; padding: 6px 0; }
.star-picker .star-btn {
  background: none; border: none; cursor: pointer; padding: 4px;
  font-size: 2.6rem; line-height: 1; color: var(--border);
  transition: color 0.15s, transform 0.15s;
}
.star-picker .star-btn:hover { transform: scale(1.15); }
.star-picker .star-btn.filled { color: var(--primary); }

/* Panel admin: pastillas de estado de reseña (reutiliza .order-status-pill) */
.order-status-pill.rev-pendiente { background: rgba(212,178,106,.2); color: var(--primary); }
.order-status-pill.rev-aprobado { background: rgba(37,211,102,.18); color: var(--whatsapp); }
.order-status-pill.rev-rechazado { background: rgba(229,83,61,.18); color: var(--danger); }
.review-comment-cell {
  max-width: 280px; white-space: normal; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

@media (max-width: 480px) {
  .review-card { flex-basis: 240px; }
  .review-form-wrap { padding: 20px; }
  .star-picker .star-btn { font-size: 2.1rem; }
}


/* Paginación por páginas numeradas bajo cada grilla. Sustituye al scroll
   infinito: el visitante elige la página y en pantalla nunca hay más tarjetas
   (ni más imágenes cargadas) que el tamaño de una página. */
.pager {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px; margin: 28px 0 6px;
}
.pager-btn {
  min-width: 38px; height: 38px; padding: 0 10px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pager-btn:hover:not(:disabled):not(.active) { border-color: var(--primary); color: var(--primary); }
.pager-btn.active {
  background: var(--primary); border-color: var(--primary);
  color: #0b1628; cursor: default;
}
.pager-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pager-nav { font-size: 1.15rem; line-height: 1; }
.pager-gap { color: var(--text-soft); padding: 0 2px; }
.pager-info {
  flex-basis: 100%; text-align: center; margin-top: 8px;
  color: var(--text-soft); font-size: 0.82rem;
}
@media (max-width: 640px) {
  .pager { gap: 5px; }
  .pager-btn { min-width: 34px; height: 34px; padding: 0 7px; font-size: 0.84rem; }
}

/* ============================================================
   INICIO CASA REY — inspirado en boutiques de lujo:
   barra de anuncios, portada dividida Relojes | Accesorios,
   y pestañas para "Más vendidos" y "Colecciones".
   ============================================================ */
.announce {
  background: linear-gradient(90deg, var(--accent-2), var(--primary), var(--accent-2));
  color: #0b1628;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
}
.announce-track {
  display: inline-flex;
  gap: 56px;
  padding: 9px 0;
  animation: announce-scroll 38s linear infinite;
}
.announce-track span::before { content: "♛"; margin-right: 12px; opacity: 0.7; }
@keyframes announce-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } }

.serif { font-family: "Cinzel", Georgia, serif; }

/* --- Portada dividida --- */
.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(100vh - 72px - 34px);
  min-height: 560px;
  max-height: 920px;
  padding: 0;
  overflow: hidden;
}
.split-panel {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
}
.split-panel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.9) brightness(0.8);
  z-index: -2;
}
.split-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,22,40,0.15) 30%, rgba(11,22,40,0.92) 100%);
}
.split-panel:hover img { transform: scale(1.06); filter: saturate(1) brightness(0.9); }
.split-label {
  position: absolute; left: 0; right: 0; bottom: 56px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.split-label small {
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-soft);
}
.split-label h2 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  letter-spacing: 0.14em;
  line-height: 1;
}
.split-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.split-panel:hover .split-btn { background: var(--primary); color: #0b1628; }
.split-panel + .split-panel { border-left: 1px solid rgba(212,178,106,0.35); }

.hero-center {
  position: absolute; left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 2;
  width: min(92%, 640px);
}
.hero-center .crown { width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 18px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.hero-center .eyebrow { color: var(--accent); margin-bottom: 8px; }
.hero-center h1 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  letter-spacing: 0.08em;
  line-height: 1;
  background: linear-gradient(180deg, #f6e3b0, var(--primary) 60%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.hero-center .tagline {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 12px;
  font-size: clamp(0.72rem, 1.4vw, 0.95rem);
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--text);
}
.hero-center .tagline::before, .hero-center .tagline::after {
  content: ""; width: 48px; height: 1px; background: var(--primary);
}

/* --- Pestañas Relojes / Accesorios --- */
.home-tabs { display: flex; justify-content: center; gap: 8px; margin: -28px auto 40px; }
.home-tab {
  background: none; border: 0; cursor: pointer;
  padding: 10px 22px;
  color: var(--muted);
  font: 600 0.85rem/1 "Inter", system-ui, sans-serif;
  letter-spacing: 0.22em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.home-tab:hover { color: var(--text); }
.home-tab.active { color: var(--primary); border-color: var(--primary); }
.tab-panel[hidden] { display: none !important; }
.section-head h2.serif { font-weight: 600; letter-spacing: 0.04em; }

/* --- Bloque "Hecho con detalle" --- */
.detail-band {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.detail-band img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.detail-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,22,40,0.82); }
.detail-band h2 { font-family: "Cinzel", Georgia, serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 600; letter-spacing: 0.06em; }
.detail-band p { color: var(--text-soft); max-width: 620px; margin: 16px auto 0; font-size: 1.05rem; }
.detail-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 48px; margin: 44px 0 36px; }
.detail-stats strong { display: block; font-family: "Cinzel", Georgia, serif; font-size: 2.4rem; color: var(--primary); line-height: 1.1; }
.detail-stats span { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-soft); }

/* Ventajas: 5 columnas en escritorio */
.perks-grid.perks-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .perks-grid.perks-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .perks-grid.perks-5 { grid-template-columns: 1fr 1fr; } }

@media (max-width: 760px) {
  .hero-split { grid-template-columns: 1fr; grid-template-rows: auto 1fr 1fr; height: auto; max-height: none; min-height: 0; }
  .hero-center { position: static; transform: none; width: 100%; padding: 40px 16px 32px; pointer-events: auto; grid-row: 1; margin: 0 auto; }
  .split-panel { min-height: 62vw; height: 340px; }
  .split-panel + .split-panel { border-left: 0; border-top: 1px solid rgba(212,178,106,0.35); }
  .split-label { bottom: 28px; gap: 12px; }
  .home-tabs { margin-top: -20px; }
  .detail-band { padding: 80px 0; }
}
.split-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
