/*
Theme Name: Criadero Boutique Pomerania
Author: Javier Muñiz
Description: Tema editorial minimalista para criaderos caninos. Catálogo en cuadrícula, tira continua de entregas y barra superior.
Version: 2.0
*/

:root {
  --bg-crema: #FAF7F2;
  --bg-blanco: #FFFFFF;
  --bg-arena: #F1EAE0;
  --acento: #B88A58;
  --acento-oscuro: #8E653B;
  --texto-principal: #2C2623;
  --texto-secundario: #7A706A;
  --borde-suave: rgba(44, 38, 35, 0.09);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg-crema);
  color: var(--texto-principal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

/* --- BARRA SUPERIOR --- */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde-suave);
}

.top-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--texto-principal);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.top-logo {
  height: 40px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.top-cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bg-blanco);
  background: var(--texto-principal);
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
}

/* --- HERO EDITORIAL --- */
.hero-editorial {
  padding: 44px 16px 40px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge-hero {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--acento-oscuro);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-editorial h1 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--texto-principal);
}

.hero-sub {
  font-size: 0.92rem;
  color: var(--texto-secundario);
  line-height: 1.55;
  max-width: 460px;
  margin: 0 auto 24px;
}


.hero-foto-wrap {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-arena);
  box-shadow: 0 14px 36px rgba(44, 38, 35, 0.08);
}

.hero-foto-wrap img {
  width: 100%;
  height: auto;
  display: block;
}


/* --- SECCIONES --- */
.seccion {
  padding: 48px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.seccion-full {
  padding: 48px 0;
  background: var(--bg-arena);
}

.seccion-header {
  text-align: center;
  margin-bottom: 28px;
  padding: 0 20px;
}

.etiqueta {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--acento-oscuro);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.seccion-header h2 {
  font-size: 1.7rem;
  color: var(--texto-principal);
  margin-bottom: 6px;
}

.seccion-header p {
  font-size: 0.85rem;
  color: var(--texto-secundario);
}

/* --- CATÁLOGO DE CACHORROS (CUADRÍCULA 2 COLUMNAS) --- */
.grid-cachorros {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 14px;
}

@media (min-width: 640px) {
  .grid-cachorros {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
  }
}

.item-cachorro {
  display: flex;
  flex-direction: column;
}

.item-foto {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-arena);
  margin-bottom: 10px;
}

.item-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-cachorro h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--texto-principal);
  margin-bottom: 3px;
}

.item-detalles {
  font-size: 0.78rem;
  color: var(--texto-secundario);
  line-height: 1.4;
  margin-bottom: 8px;
}

.item-link {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--acento-oscuro);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.item-link::after {
  content: "→";
}

/* --- ENTREGAS REALES: TIRA CONTINUA SIN TARJETAS --- */
.tira-entregas {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}

.tira-entregas::-webkit-scrollbar {
  display: none;
}

.tira-foto {
  flex: 0 0 auto;
  height: 290px;
  width: 230px;
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  .tira-foto {
    height: 360px;
    width: 290px;
  }
}

.mensaje-vacio {
  width: 100%;
  text-align: center;
  color: var(--texto-secundario);
  font-size: 0.88rem;
  padding: 20px;
  grid-column: 1 / -1;
}

/* --- GARANTÍAS (MINIMALISTA) --- */
.garantias-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .garantias-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.garantia-bloque {
  border-top: 1px solid var(--borde-suave);
  padding-top: 16px;
}

.garantia-bloque h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--texto-principal);
}

.garantia-bloque p {
  font-size: 0.82rem;
  color: var(--texto-secundario);
  line-height: 1.55;
}

/* --- FOOTER --- */
.footer {
  text-align: center;
  padding: 40px 20px 100px;
  border-top: 1px solid var(--borde-suave);
  background: var(--bg-blanco);
}

.footer-brand {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.copyright {
  font-size: 0.72rem;
  color: var(--texto-secundario);
}

/* --- CÁPSULA FLOTANTE DOBLE (WHATSAPP + FACEBOOK) --- */
.floating-dock {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  background: var(--texto-principal);
  padding: 6px;
  border-radius: 50px;
  box-shadow: 0 10px 28px rgba(44, 38, 35, 0.25);
  gap: 4px;
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bg-blanco);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 50px;
  transition: background 0.2s ease;
}

.dock-wsp {
  background: var(--acento);
}

.dock-fb {
  background: rgba(255, 255, 255, 0.12);
}

.dock-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
}