﻿/* =========================
   CATÁLOGO - DISEÑO PREMIUM MEJORADO
========================= */

/* ── Filtros de categoría ── */
.cat-filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 28px;
}

.cat-filter-btn {
  background: transparent;
  border: 1px solid rgba(212, 146, 10,0.35);
  color: #aaa;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cat-filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0b0b0b;
  font-weight: 700;
}

@media (max-width: 480px) {
  .cat-filter-btn { padding: 7px 14px; font-size: .8rem; }
}

.catalogo-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.catalogo-section-header h1,
.catalogo-section-header h2 {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.catalogo-section-header p {
  color: #888;
  font-size: 1rem;
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

/* ── NUEVA CARD PREMIUM ── */
.dog-card-item {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.dog-card-item:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(212, 146, 10, 0.2);
}

.dog-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.dog-card-logo {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  z-index: 10;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.dog-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dog-card-item:hover .dog-main-img {
  transform: scale(1.1);
}

.dog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
}

.dog-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  z-index: 10;
  text-transform: uppercase;
}

.status-ok  { background: #27ae60; color: #fff; }
.status-out { background: #555; color: #ddd; }
.status-popular {
  background: linear-gradient(135deg, #D4920A, #c9a227);
  color: #000;
  font-weight: 800;
  letter-spacing: .3px;
}

/* ── Precio en card ── */
.dog-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold, #D4920A);
  margin-bottom: 10px;
  letter-spacing: -.3px;
}

.dog-price-label {
  font-size: .76rem;
  color: #25d366;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sold-count { color: var(--gold, #D4920A); font-weight: 600; }

.dog-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.dog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dog-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.dog-rating {
  color: var(--gold);
  font-size: 9px;
}

.dog-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 15px;
}

.dog-tags .tag {
  font-size: 10px;
  background: rgba(212, 146, 10,0.07);
  border: 1px solid rgba(212, 146, 10,0.18);
  color: #bbb;
  padding: 3px 9px;
  border-radius: 20px;
}

.dog-progress {
  margin-bottom: 18px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #666;
  margin-bottom: 5px;
}

.progress-track {
  height: 4px;
  background: #222;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 10px;
}

.dog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-action, .btn-action-outline {
  padding: 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.2s;
}

.btn-action {
  background: #25D366;
  color: #fff;
  border: none;
}

.btn-action-outline {
  background: transparent;
  border: 1px solid #333;
  color: #fff;
}

.btn-action-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Quitar el precio — reemplazar por etiqueta "Cotiza" */
.card-cotiza-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(39,174,96,0.08);
  border: 1px solid rgba(39,174,96,0.2);
  color: #27ae60;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
}

.card-cotiza-label i {
  font-size: 0.9rem;
}

/* Tags */
.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: #1a1a1a;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Progress Bar */
.sold-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

.sold-label { font-size: 11px; color: #777; white-space: nowrap; }
.sold-track { flex: 1; height: 5px; background: #222; border-radius: 4px; overflow: hidden; }
.sold-fill { height: 100%; background: var(--gold); border-radius: 4px; }
.sold-pct { font-size: 11px; color: var(--gold); font-weight: 600; }

.card-avail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #27ae60;
  background: rgba(39, 174, 96, 0.08);
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.card-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.btn-wa, .btn-info {
  flex: 1;
  padding: 9px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.2s;
}

.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; transform: scale(1.02); }
.btn-info { background: #222; border: 1px solid #333; color: #fff; }
.btn-info:hover { border-color: var(--gold); color: var(--gold); }

/* Botón cotizar (el principal grande) */
.btn-cotizar-wa {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(37,211,102,0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-cotizar-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

/* ═══════════════════════════════════
   MODAL COTIZACIÓN
═══════════════════════════════════ */
#modal-cotizar {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#modal-cotizar.show { display: flex; }

.cotizar-box {
  background: linear-gradient(160deg, #141414, #0d0d0d);
  border: 1px solid rgba(212, 146, 10,0.35);
  border-radius: 22px;
  padding: 36px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 0 60px rgba(212, 146, 10,0.15), 0 40px 80px rgba(0,0,0,0.5);
  animation: cotizarIn 0.38s cubic-bezier(0.16,1,0.3,1);
}

@keyframes cotizarIn {
  from { transform: translateY(28px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.cotizar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

.cotizar-header-left .dog-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.cotizar-header-left .dog-sub {
  font-size: 0.8rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cotizar-close {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #888;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: 0.2s;
  flex-shrink: 0;
}

.cotizar-close:hover { color: #fff; background: rgba(255,255,255,0.1); }

.cotizar-aviso {
  background: rgba(212, 146, 10,0.07);
  border: 1px solid rgba(212, 146, 10,0.15);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 20px;
  font-size: 0.78rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cotizar-aviso i { color: var(--gold); font-size: 1rem; flex-shrink: 0; }

.cotizar-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cotizar-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 7px;
}

.cotizar-group input,
.cotizar-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 11px;
  outline: none;
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: none;
}

.cotizar-group input:focus,
.cotizar-group textarea:focus {
  border-color: rgba(212, 146, 10,0.5);
  box-shadow: 0 0 0 3px rgba(212, 146, 10,0.07);
}

.cotizar-group input::placeholder,
.cotizar-group textarea::placeholder { color: #555; }

.btn-enviar-cotiza {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
  margin-top: 4px;
}

.btn-enviar-cotiza:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(37,211,102,0.4);
}

.cotizar-nota {
  text-align: center;
  font-size: 0.72rem;
  color: #555;
  margin-top: 8px;
}

/* Éxito */
.cotizar-success {
  text-align: center;
  padding: 14px 0;
}

.cotizar-success .check-ico {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(37,211,102,0.12);
  border: 2px solid #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #25d366;
  margin: 0 auto 18px;
}

.cotizar-success h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.cotizar-success p {
  color: #888;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Nav Toggle móvil */
#nav-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

#nav-toggle .menu-text {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

@media (min-width: 769px) {
  #nav-toggle .menu-text { display: none; }
}

/* ═══════════════════════════════════════
   MODAL DETALLE CACHORRO — REDISEÑO CHOCOLATE/DORADO
═══════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(17, 10, 3, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: linear-gradient(160deg, #2A1A08 0%, #1B1005 55%, #150C03 100%);
  border: 1px solid rgba(212, 146, 10, 0.3);
  border-radius: 24px;
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  position: relative;
  box-shadow: 0 0 0 1px rgba(212,146,10,.06) inset, 0 30px 90px rgba(10, 5, 0, 0.55), 0 0 90px rgba(212, 146, 10, 0.12);
  transform: scale(0.92) translateY(16px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.16,1,0.3,1), opacity 0.38s ease;
}

.modal.show .modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Botón cerrar */
.modal-x-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  color: #e3cea3;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  z-index: 20;
  backdrop-filter: blur(6px);
}

.modal-x-btn:hover { color: #1a0f04; background: var(--gold); border-color: var(--gold); transform: rotate(90deg); }

/* ── Panel izquierdo ── */
.modal-left {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid rgba(212, 146, 10, 0.12);
}

.modal-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  /* Las fotos ya traen su propio fondo crema/dorado con logo y decoraciones —
     esto hace que el marco combine con ellas en vez de chocar contra un fondo oscuro. */
  background: linear-gradient(160deg, #FBEBCB 0%, #F6DDA8 100%);
  aspect-ratio: 16/9;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25,0.8,0.25,1);
}

.carousel-track img {
  width: 100%;
  flex: 0 0 100%;
  /* "contain" en vez de "cover": nunca recorta el logo/decoraciones de la foto */
  object-fit: contain;
  height: 100%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20, 12, 4, 0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  z-index: 5;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover { background: var(--gold); color: #1a0f04; border-color: var(--gold); transform: translateY(-50%) scale(1.08); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.modal-img-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(20, 12, 4, 0.65);
  color: #f3e6c8;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
  z-index: 5;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

.modal-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.modal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(44, 26, 8, 0.28);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  padding: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
}

.modal-dot.active {
  background: var(--gold);
  width: 18px;
  border-radius: 3px;
  box-shadow: none;
}

/* Kit chips bajo la imagen */
.modal-kit-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.kit-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(212, 146, 10, 0.12);
  border: 1px solid rgba(212, 146, 10, 0.3);
  color: #f0cf85;
  padding: 6px 11px;
  border-radius: 20px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kit-chip-ai {
  background: rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.32);
  color: #a5abfa;
}

/* ── Panel derecho ── */
.modal-right {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow-y: auto;
}

.modal-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-category-badge {
  background: rgba(212, 146, 10, 0.14);
  border: 1px solid rgba(212, 146, 10, 0.32);
  color: #f0cf85;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
}

.modal-stars {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2px;
}

.modal-raza-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff8ec;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.5px;
}

.modal-meta-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-meta-chips span {
  font-size: 11px;
  color: #b89b6e;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.chip-disponible { color: #4ade80 !important; font-weight: 600; }
.chip-reserva    { color: #fbbf24 !important; font-weight: 600; }

/* Barras de rasgos */
.modal-traits-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 235, 200, 0.05);
  border: 1px solid rgba(212, 146, 10, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
}

.trait-row {
  display: grid;
  grid-template-columns: 100px 1fr 24px;
  align-items: center;
  gap: 10px;
}

.trait-label {
  font-size: 10px;
  color: #c2a878;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trait-bar {
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}

.trait-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #a07c1a, #D4920A, #f5d98b);
  width: 0%;
  transition: width 0.9s cubic-bezier(0.25,0.8,0.25,1);
}

.trait-val {
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  text-align: right;
}

/* ── Tabs (segmentadas tipo píldora) ── */
.modal-tab-bar {
  display: flex;
  gap: 4px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(212, 146, 10, 0.14);
  border-radius: 12px;
  padding: 4px;
}

.modal-tab-btn {
  flex: 1;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: 9px;
  color: #b89b6e;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-tab-btn.active    { color: #1a0f04; background: var(--gold); box-shadow: 0 2px 10px rgba(212,146,10,.35); }
.modal-tab-btn:hover:not(.active) { color: #f0cf85; }
.modal-tab-btn.tab-kit.active { color: #fff; background: linear-gradient(135deg,#6366f1,#818cf8); box-shadow: 0 2px 10px rgba(99,102,241,.4); }

/* ── Panels ── */
.modal-panel {
  display: none;
  animation: panelIn 0.22s ease;
}

.modal-panel.active { display: block; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Perfil panel */
.modal-desc {
  font-size: 0.83rem;
  color: #d8c4a0;
  line-height: 1.7;
  margin-bottom: 12px;
}

.modal-perfecto {
  font-size: 10px;
  color: #8a7355;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 600;
}

.modal-perfecto span {
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}

.personality-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.p-tag {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(212, 146, 10, 0.1);
  border: 1px solid rgba(212, 146, 10, 0.24);
  color: #f0dcb0;
}

/* Cuidados panel */
.cuidados-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.cuidados-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #d8c4a0;
  line-height: 1.5;
}

.cuidado-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(212, 146, 10, 0.14);
  border: 1px solid rgba(212, 146, 10, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Kit panel */
.kit-modal-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.kit-modal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 235, 200, 0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}

.kit-modal-item:hover {
  background: rgba(212, 146, 10, 0.08);
  border-color: rgba(212, 146, 10, 0.24);
}

.kit-modal-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.kmi-gold   { background: rgba(212, 146, 10,0.16);  color: var(--gold); }
.kmi-green  { background: rgba(37,211,102,0.16);  color: #25d366; }
.kmi-purple { background: rgba(99,102,241,0.2); color: #a5abfa; }
.kmi-blue   { background: rgba(59,130,246,0.16);  color: #7cb2fb; }
.kmi-teal   { background: rgba(20,184,166,0.16);  color: #4fe0cd; }
.kmi-rose   { background: rgba(244,63,94,0.16);   color: #fb92a5; }

.kit-modal-text strong {
  display: block;
  font-size: 11.5px;
  color: #fff8ec;
  font-weight: 700;
  margin-bottom: 2px;
}

.kit-modal-text span {
  font-size: 9.5px;
  color: #8a7355;
  line-height: 1.4;
}

/* CTA siempre anclado al fondo del panel, aunque el contenido de las pestañas varíe de alto */
.btn-cotizar-wa { margin-top: auto; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .catalogo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .modal-box {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }
  .modal-left { border-right: none; border-bottom: 1px solid rgba(212, 146, 10, 0.12); }
  .modal-raza-title { font-size: 1.4rem; }
  .modal-right { padding: 18px 16px; }
  .trait-row { grid-template-columns: 78px 1fr 22px; }
}

@media (max-width: 600px) {
  .catalogo-grid { grid-template-columns: 1fr; }
  .cotizar-box { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════════════
   NUEVAS TARJETAS DE RAZA — Diseño Animálista Boutique
═══════════════════════════════════════════════════ */

/* Override del raza-card de style.css para el catálogo */
.catalogo-grid .raza-card {
  background: #fff;
  border: 1.5px solid rgba(212, 146, 10, 0.18);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 26, 8, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  cursor: default;
}

.catalogo-grid .raza-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 146, 10, 0.5);
  box-shadow: 0 20px 50px rgba(44, 26, 8, 0.15);
}

.raza-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Zona de imagen/placeholder superior */
.raza-img-wrap {
  background: linear-gradient(160deg, #FFF5DC 0%, #FFEEC0 60%, #FFE4A0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.raza-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  flex-direction: column;
  gap: 8px;
}

.raza-logo-watermark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.55;
  border: 2px solid rgba(212, 146, 10, 0.3);
  transition: opacity 0.3s;
}

.catalogo-grid .raza-card:hover .raza-logo-watermark {
  opacity: 0.8;
}

.raza-placeholder-icon {
  font-size: 1rem;
  color: rgba(212, 146, 10, 0.4);
}

/* Imagen real cuando esté disponible */
.raza-img-wrap img.raza-foto {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.catalogo-grid .raza-card:hover img.raza-foto {
  transform: scale(1.06);
}

/* Badges sobre el emoji */
.raza-badge-nuevo {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #D4920A;
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.raza-badge-reserva {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(44, 26, 8, 0.82);
  color: #D4920A;
  font-size: .6rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.raza-badge-ok {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(39, 174, 96, 0.9);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Cuerpo de la tarjeta */
.raza-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.raza-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.raza-cat-pill {
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(212, 146, 10, 0.1);
  border: 1px solid rgba(212, 146, 10, 0.25);
  color: #9A6200;
  border-radius: 20px;
}

/* Puntos de energía */
.raza-energy {
  display: flex;
  gap: 3px;
  align-items: center;
}

.e-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E8D9B5;
  transition: background 0.2s;
}

.e-dot.on {
  background: #D4920A;
}

/* Nombre de la raza */
.raza-nombre {
  font-size: 1.05rem;
  font-weight: 800;
  color: #2C1A08;
  letter-spacing: -.2px;
  line-height: 1.2;
}

/* Rasgos de personalidad */
.raza-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.raza-trait {
  font-size: .62rem;
  font-weight: 600;
  padding: 3px 9px;
  background: #FFF5DC;
  border: 1px solid rgba(212, 146, 10, 0.2);
  color: #7A5020;
  border-radius: 20px;
}

/* Perfecto para */
.raza-perfecto {
  font-size: .72rem;
  color: #9A6200;
  background: rgba(212, 146, 10, 0.06);
  border-left: 3px solid rgba(212, 146, 10, 0.35);
  padding: 6px 10px;
  border-radius: 0 8px 8px 0;
  line-height: 1.4;
  margin: 0;
}

.raza-perfecto i {
  color: #e74c6a;
  margin-right: 4px;
}

/* Mini garantías */
.raza-garantias {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.raza-garantias span {
  font-size: .62rem;
  color: #9A7040;
  background: #FFF8EC;
  border: 1px solid rgba(212, 146, 10, 0.15);
  padding: 3px 8px;
  border-radius: 20px;
}

/* Botones de acción */
.raza-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.btn-raza-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  background: linear-gradient(135deg, #25D366, #1db954);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-raza-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.btn-raza-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  background: transparent;
  border: 1.5px solid rgba(212, 146, 10, 0.35);
  color: #9A6200;
  border-radius: 12px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.btn-raza-info:hover {
  background: rgba(212, 146, 10, 0.08);
  border-color: #D4920A;
  color: #D4920A;
}

/* Filtros — texto visible en fondo claro */
.cat-filter-btn {
  color: #7A5020;
  border-color: rgba(212, 146, 10, 0.4);
}

.cat-filter-btn.active {
  color: #fff;
}

/* Header catálogo */
.catalogo-section-header h1,
.catalogo-section-header h2 { color: #2C1A08; }
.catalogo-section-header p  { color: #9A7040; }

@media (max-width: 480px) {
  .raza-actions { grid-template-columns: 1fr; }
  .raza-emoji   { font-size: 3.5rem; }
  .raza-emoji-wrap { min-height: 120px; }
}


