/* =============================================
   Peluches Santísima — Estilos personalizados
   ============================================= */

:root {
  --color-primario: #1565c0;
  --color-secundario: #e53935;
  --color-acento: #25d366;
  --color-dark: #0d1b2a;
  --color-soft: #f7f8fc;
  --font-base: 'Nunito', sans-serif;
  --radius: 16px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.11);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.14);
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-base);
  color: #222;
  background: #fff;
}

/* ── NAVBAR ─────────────────────────────── */
.navbar-santisima {
  background: rgba(13, 27, 42, 0.97) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 0;          /* sin padding vertical para no crecer el bar */
  overflow: visible;     /* logo puede sobresalir verticalmente */
}
/* El logo crece pero el navbar no; solo en desktop */
@media (min-width: 992px) {
  .navbar-santisima .navbar-brand img {
    margin: -8px 0;      /* absorbe el exceso arriba y abajo */
  }
}
.navbar-santisima .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.navbar-santisima .nav-link:hover { color: #fff !important; }
.navbar-santisima .form-control {
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.9rem;
}
.navbar-santisima .form-control::placeholder { color: rgba(255,255,255,0.45); }
.navbar-santisima .form-control:focus {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.45);
  box-shadow: none;
  color: #fff;
}
.navbar-santisima .btn-search {
  background: var(--color-primario);
  color: #fff;
  border-radius: 50px;
  border: none;
  padding: 6px 18px;
}

/* ── HERO ────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/locales/page1_img1.JPG');
  background-size: cover;
  background-position: center;
  filter: brightness(0.28) saturate(0.8);
  transform: scale(1.03);
  transition: transform 8s ease;
}
.hero-section:hover .hero-bg { transform: scale(1.06); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(21,101,192,0.72) 0%,
    rgba(13,27,42,0.55) 60%,
    rgba(13,27,42,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #fff;
  text-align: center;
  padding: 90px 0 80px;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.hero-headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero-headline span {
  background: linear-gradient(90deg, #64b5f6, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto 2.2rem;
  line-height: 1.6;
}
.hero-search {
  max-width: 560px;
  margin: 0 auto 1.8rem;
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  overflow: hidden;
  padding: 5px 5px 5px 20px;
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #222;
  background: transparent;
  font-family: var(--font-base);
}
.hero-search input::placeholder { color: #999; }
.hero-search button {
  background: var(--color-primario);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-search button:hover {
  background: #1976d2;
  transform: scale(1.03);
}
.hero-cats a {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
  font-weight: 600;
  margin: 3px;
  text-decoration: none;
  transition: all 0.2s;
}
.hero-cats a:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* ── TRUST BAR ───────────────────────────── */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 18px 0;
  box-shadow: var(--shadow-sm);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}
.trust-item .trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.trust-item strong { font-size: 0.92rem; display: block; color: #111; }
.trust-item span { font-size: 0.78rem; color: #888; }

/* ── SECTION TITLES ──────────────────────── */
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-primario);
  margin-bottom: 0.4rem;
}

/* ── TARJETA DE TELA ─────────────────────── */
.card-tela {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.card-tela:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-tela .img-wrap {
  overflow: hidden;
  height: 210px;
  background: #f3f4f6;
}
.card-tela .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card-tela:hover .img-wrap img {
  transform: scale(1.07);
}
.card-tela .card-img-placeholder {
  height: 210px;
  background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.card-tela .card-body { padding: 14px 14px 8px; }
.card-tela .card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111;
}
.card-tela .card-footer {
  padding: 8px 14px 14px;
  background: transparent;
  border: none;
}
.btn-ver-tela {
  width: 100%;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 0;
  background: var(--color-primario);
  color: #fff;
  border: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-ver-tela:hover {
  background: #1976d2;
  color: #fff;
  transform: scale(1.02);
}

/* ── BENEFICIOS ──────────────────────────── */
.beneficios-section {
  background: var(--color-soft);
  padding: 60px 0;
}
.beneficio-item {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.beneficio-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.beneficio-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.beneficio-item h6 {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: #111;
}
.beneficio-item p {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}

/* ── LOCALES ─────────────────────────────── */
.locales-section { padding: 70px 0; background: #fff; }
.local-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}
.local-img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.local-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── FILTROS ─────────────────────────────── */
.filtros-categoria .btn {
  border-radius: 50px;
  padding: 6px 18px;
  margin: 4px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ── COLOR SWATCHES ──────────────────────── */
.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.15s;
}
.color-swatch:hover { transform: scale(1.2); }

/* ── WHATSAPP FLOAT ──────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6);
}

/* ── CARRITO ─────────────────────────────── */
.carrito-sidebar {
  position: fixed;
  top: 0;
  right: -380px;
  width: 360px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  z-index: 10000;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.carrito-sidebar.abierto { right: 0; }

/* ── FICHA TELA ──────────────────────────── */
.ficha-tela-imagen {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.usos-badge {
  background: #eef4ff;
  color: var(--color-primario);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.85rem;
  display: inline-block;
  margin: 3px;
  font-weight: 600;
}

/* ── SUCURSALES ──────────────────────────── */
.card-sucursal {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ── BUSCADOR (legacy) ───────────────────── */
.buscador-hero {
  max-width: 500px;
  margin: 0 auto;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .hero-content { padding: 60px 0 50px; }
  .hero-headline { font-size: 1.8rem; }
  .trust-item { justify-content: center; text-align: left; }
  .card-tela .img-wrap { height: 170px; }
  .card-tela .card-img-placeholder { height: 170px; }
}
