#loader,
body {
  background: var(--dark)
}

#loader,
.navbar {
  position: fixed;
  left: 0;
  top: 0
}

.btn,
.hero-bg,
.hist-slider,
.map-container,
.raza-card {
  overflow: hidden
}

#nav-toggle,
.back-to-top,
.btn {
  cursor: pointer
}

#main-nav a,
.btn.mini,
.footer a,
.sf-btn,
.social-btn {
  text-decoration: none
}

:root {
  --gold: #D4AF37;
  --dark: #0b0b0b;
  --gray: #1a1a1a;
  --text: #ddd;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --transition: all 0.5s ease
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Poppins, sans-serif;
  scroll-behavior: smooth
}

html, body {
  max-width: 100vw;
  width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--text);
}

#loader {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999
}

.loader-logo {
  width: 100px;
  animation: 2s linear infinite spin;
  border-radius: 50%;
  border: 3px solid var(--gold);
  padding: 8px;
  box-shadow: 0 0 20px rgba(212, 175, 55, .4)
}

#main-nav a.active::after,
#main-nav a:hover::after,
.navbar {
  width: 100%
}

@keyframes spin {
  0% {
    transform: rotate(0)
  }

  100% {
    transform: rotate(360deg)
  }
}

.navbar {
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, .3);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: var(--transition)
}

.navbar.scrolled {
  background: linear-gradient(90deg, rgba(0, 0, 0, .95), rgba(25, 25, 25, .95));
  box-shadow: var(--shadow)
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.logo-img {
  width: 85px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  transition: transform .3s;
  margin-left: -15px;
  margin-top: -4px
}

.logo-img:hover {
  transform: scale(1.1) rotate(-5deg)
}

#main-nav {
  display: flex;
  gap: 35px
}

#main-nav a {
  position: relative;
  color: #fff;
  font-weight: 600;
  transition: color .3s;
  padding: 10px 12px
}

#main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width .3s
}

#main-nav a.active,
#main-nav a:hover {
  color: var(--gold)
}

#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 35px;
  height: 35px;
  justify-content: center;
  align-items: center;
  background: 0 0;
  border: none;
}

#nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}

#nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
#nav-toggle.open span:nth-child(3) {
}

#nav-toggle.open span:first-child {
  transform: rotate(45deg) translateY(6px)
}

#nav-toggle.open span:nth-child(2) {
  opacity: 0
}

#nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px)
}

.full-hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center
}

.full-hero .animated-bg {
  animation: 10s ease-in-out infinite alternate bgMove
}

@keyframes bgMove {
  0% {
    background-position: 0 50%
  }

  100% {
    background-position: 100% 50%
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--white);
  max-width: 600px;
  padding-left: 6%;
  animation: 1s forwards slideUp
}

.btn.gold,
.section,
.service {
  text-align: center
}

.hero-dog,
.hero-dog-left {
  bottom: 0;
  width: auto;
  filter: brightness(.9);
  animation: 2s fadeInHero;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: .8
}

.hero-content h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, #d4af37, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.hero-content p {
  margin-top: 10px;
  color: #ddd;
  font-size: 1.2rem
}

.contact .btn,
.hero-buttons {
  margin-top: 20px
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: scale(1.05)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

.hero-bg {
  position: absolute;
  inset: 0
}

.hero-dog {
  right: 0
}

.hero-dog-left {
  left: 0;
  right: auto;
  transform: scaleX(-1);
  z-index: 1
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 15, 15, .9) 0, rgba(15, 15, 15, .4) 60%, transparent 100%);
  animation: 8s infinite alternate bgMove
}

.btn,
.hist-slider,
.raza-card,
.service {
  position: relative
}

.section {
  padding: 120px 20px 100px
}

.container {
  max-width: 1200px;
  margin: auto
}

.section h2 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 15px
}

.lead {
  color: #aaa;
  margin-bottom: 40px
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: .35s
}

.btn.primary {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(212, 175, 55, .3)
}

.btn.primary:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(212, 175, 55, .5)
}

.btn.outline {
  background: 0 0;
  border: 2px solid var(--gold);
  color: var(--gold)
}

.btn.gold,
.btn.mini,
.btn.mini:hover {
  color: var(--dark)
}

.btn.outline:hover {
  background: var(--gold);
  color: var(--dark);
  transform: scale(1.07)
}

.btn.gold {
  background: var(--gold);
  border: none;
  font-weight: 600;
  width: 70%
}

.btn.gold:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 16px rgba(212, 175, 55, .5);
  background: #d4af37;
  transform: scale(1.05)
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .35);
  transform: skewX(-25deg);
  transition: .5s
}

.btn:hover::before {
  left: 100%
}

.btn:active {
  transform: scale(.95)
}

.razas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  min-height: 340px;
  align-items: stretch
}

.raza-card {
  background: var(--gray);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%
}

.garantia,
.service {
  background: #181818
}

.raza-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 20px rgba(212, 175, 55, .3)
}

.raza-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .6s
}

.raza-card:hover img {
  transform: scale(1.1)
}

.raza-card h3 {
  color: var(--gold);
  margin: 15px 0 5px
}

.raza-card p {
  color: #ccc
}

.btn.gold {
  background: var(--gold);
  display: block;
  width: fit-content;
  margin: auto auto 20px;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background .3s, transform .2s
}

.raza-card::after {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 2rem;
  opacity: 0;
  transition: var(--transition)
}

.raza-card:hover::after {
  opacity: .8
}

.section.alt {
  background: #111
}

.hist-slider {
  max-width: 800px;
  margin: 20px auto
}

.slide {
  display: none;
  color: #fff;
  font-size: 1.2rem
}

.faq-item h4,
.garantia i,
.service h4,
.service-icon {
  color: var(--gold)
}

.slide.active {
  display: block;
  animation: 1s slideUp
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px
}

.service {
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .18);
  padding: 32px 20px 24px;
  transition: transform .25s, box-shadow .25s;
  border-top: 4px solid var(--gold)
}

.garantia,
.map-container,
.social-btn {
  box-shadow: var(--shadow)
}

.back-to-top,
.footer a,
.reveal,
.social-btn {
  transition: var(--transition)
}

.service:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px rgba(212, 175, 55, .18)
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px
}

.service h4 {
  font-size: 1.3rem;
  margin-bottom: 10px
}

.btn.mini {
  margin-top: 18px;
  padding: 7px 18px;
  font-size: .95rem;
  border-radius: 30px;
  background: var(--gold);
  border: none;
  transition: background .2s
}

.btn.mini:hover {
  background: #fff3c4
}

.garantias-box {
  display: grid;
  gap: 20px;
  max-width: 600px;
  margin: 30px auto;
  text-align: left
}

.garantia {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px
}

.garantia i {
  font-size: 1.5rem
}

.nota {
  margin-top: 15px;
  font-size: .95rem;
  color: #aaa
}

.faq-item {
  background: var(--gray);
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  text-align: left
}

.faq-item h4 {
  margin-bottom: 5px
}

.faq-item p {
  color: #bbb
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 25px 0;
  flex-wrap: wrap
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem
}

.social-btn i {
  font-size: 1.3rem
}

.sf-btn.whatsapp,
.social-btn.whatsapp {
  background: #25d366
}

.sf-btn.facebook,
.social-btn.facebook {
  background: #1877f2
}

.sf-btn.instagram,
.social-btn.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888)
}

.social-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 0, 0, .5)
}

.map-container {
  margin-top: 20px;
  border-radius: 12px
}

.footer {
  background: #080808;
  color: #bbb;
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo-wrap h3 {
  font-size: 1.2rem;
  color: #fff;
}

.footer-logo-wrap span { color: var(--gold); }

.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: #888; margin-bottom: 20px; }

.footer-address { color: var(--gold); font-size: 0.9rem; font-weight: 600; }

.footer h4 { color: #fff; margin-bottom: 25px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #888; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.footer-links a:hover { color: var(--gold); transform: translateX(5px); }

.social-links { display: flex; gap: 15px; }
.social-links a { 
  width: 40px; height: 40px; background: #151515; border-radius: 50%; 
  display: flex; align-items: center; justify-content: center; 
  color: #fff; font-size: 1.1rem; transition: 0.3s;
}
.social-links a:hover { background: var(--gold); color: #000; transform: translateY(-5px); }

.footer-bottom { 
  border-top: 1px solid rgba(255, 255, 255, 0.03); 
  padding: 25px 0; 
  background: #050505;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom .copy { margin: 0; font-size: 0.8rem; }
.footer-bottom .footer-legal { font-size: 0.8rem; color: #555; }


.footer-logo {
  width: 70px;
  border-radius: 12px;
  border: 2px solid var(--gold)
}

.footer a {
  color: #777;
  transition: 0.3s;
}

.footer a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.copy {
  margin-top: 25px;
  color: #777;
  font-size: .9rem
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 12px;
  border-radius: 50%;
  font-size: 18px;
  opacity: 0;
  visibility: hidden
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  animation: 1.5s infinite pulseGold
}

@keyframes pulseGold {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, .6)
  }

  70% {
    box-shadow: 0 0 0 15px rgba(212, 175, 55, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0)
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px)
}

.reveal.active {
  opacity: 1;
  transform: translateY(0)
}

@media (max-width:1024px) {
  .razas-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:768px) {
  #main-nav {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, .95);
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 15px;
    border-radius: 8px
  }

  #main-nav a {
    margin: 8px 0
  }

  #nav-toggle {
    display: flex
  }

  .hero h1 {
    font-size: 2rem
  }

  .razas-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:600px) {
  .social-floating {
    top: auto;
    bottom: 90px;
    right: 12px;
    transform: none;
    flex-direction: row;
    gap: 10px
  }
}

.social-floating {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1200
}

.sf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  background: #222;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
  transition: background .2s, transform .2s
}

.sf-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 12px rgba(212, 175, 55, .25)
}

.pagos-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 30px;
  flex-wrap: wrap
}

.pago-card {
  background: #181818;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 24px 30px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .22s, box-shadow .22s;
  min-width: 160px
}

.pago-card:hover {
  transform: translateY(-8px) scale(1.06);
  box-shadow: 0 8px 32px rgba(212, 175, 55, .18)
}

.pago-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .18))
}

.pago-card span {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.08rem;
  text-align: center
}

/* ==== MÉTODOS DE PAGO ==== */
.pagos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  justify-items: center;
  margin-top: 30px;
}

.pago-card {
  background: #181818;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 160px;
}

.pago-card:hover {
  transform: translateY(-8px) scale(1.06);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.25);
}

.pago-logo {
  font-size: 64px !important;
  /* tamaño grande para todos */
  margin-bottom: 12px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.pago-card span {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

.raza-card img,
.carousel-track img {
  border: 2px solid #d4af37;
  /* Marco dorado más fino y limpio */
  border-radius: 14px;
  padding: 3px;
  background: #000;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.raza-card img:hover,
.carousel-track img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
}

.service {
  background: #111;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-6px);
}

.service-img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

/* ===== KIT DE BIENVENIDA ===== */
.kit-box {
  text-align: center;
  background: linear-gradient(135deg, #000000, #1a1a1a, #d4af37);
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.kit-box h2 {
  color: #d4af37;
  font-size: 2rem;
  margin-bottom: 12px;
}

.kit-box .lead {
  color: #fff;
  margin-bottom: 25px;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.kit-item {
  background: #111;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kit-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.kit-item i {
  font-size: 3rem;
  color: #d4af37;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.kit-item:hover i {
  transform: rotate(12deg) scale(1.2);
}

.kit-item h4 {
  color: #d4af37;
  margin-bottom: 6px;
}

.kit-item p {
  color: #ccc;
  font-size: 0.95rem;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* toda la pantalla */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Fondo */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Perros */
.hero-dog {
  position: absolute;
  bottom: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: brightness(.95);
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

/* Izquierda */
.hero-dog-left {
  right: 50%;
  /* Se ancla exactamente en el centro para ser simétrico */
  left: auto;
  transform: scaleX(-1);
  --scaleX: -1;
  z-index: 2;
  /* Para que un perro quede ligeramente encima del otro si se superponen */
}

/* Derecha */
.hero-dog-right {
  left: 50%;
  /* Se ancla exactamente en el centro para ser simétrico */
  right: auto;
  --scaleX: 1;
  z-index: 1;
}

/* Texto centrado */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  padding: 20px;
  color: #fff;
  opacity: 0;
  animation: fadeIn 2.2s ease forwards;
  animation-delay: 0.5s;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #ddd;
}

/* Fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Carrusel de perros */
.dog-fade-1 {
  animation: dogCarousel1 12s infinite ease-in-out forwards !important;
}

.dog-fade-2 {
  animation: dogCarousel2 12s infinite ease-in-out forwards !important;
  opacity: 0;
}

@keyframes dogCarousel1 {

  0%,
  40% {
    opacity: 1;
    transform: scale(1) scaleX(var(--scaleX, 1));
  }

  50%,
  90% {
    opacity: 0;
    transform: scale(1.05) scaleX(var(--scaleX, 1));
  }

  100% {
    opacity: 1;
    transform: scale(1) scaleX(var(--scaleX, 1));
  }
}

@keyframes dogCarousel2 {

  0%,
  40% {
    opacity: 0;
    transform: scale(1.05) scaleX(var(--scaleX, 1));
  }

  50%,
  90% {
    opacity: 1;
    transform: scale(1) scaleX(var(--scaleX, 1));
  }

  100% {
    opacity: 0;
    transform: scale(1.05) scaleX(var(--scaleX, 1));
  }
}

/* Center fade mask has been removed as images now touch directly */
.hero-center-deco {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

/* ==== ADMIN PANEL PREMIUM DESIGN ==== */
.admin-container {
  background: var(--gray);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow);
  margin-top: 100px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 15px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #111;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.admin-table th {
  background: var(--gold);
  color: var(--dark);
  padding: 15px;
  text-align: left;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.admin-table td {
  padding: 15px;
  border-bottom: 1px solid #222;
}

.admin-table tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

.status-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
}

.status-stock {
  background: #27ae60;
  color: #fff;
}

.status-empty {
  background: #e74c3c;
  color: #fff;
}

.admin-actions .btn {
  margin-right: 5px;
}

/* ==== MEJORAS FORMULARIO ADMIN ==== */
.admin-form-container {
  background: #111;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--gold);
  margin-bottom: 30px;
  display: none;
  /* Se activa con JS */
  animation: slideUp 0.5s ease;
}

.admin-form-container h3 {
  color: var(--gold);
  margin-bottom: 20px;
}

.admin-input-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.admin-input-group input,
.admin-input-group select {
  background: #222;
  border: 1px solid #444;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  outline: none;
}

.admin-input-group input:focus {
  border-color: var(--gold);
}

.btn-save {
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.btn-cancel {
  background: #333;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  margin-left: 10px;
  cursor: pointer;
}

/* Animación para la tabla */
.admin-table tr {
  transition: transform 0.3s ease;
}

.admin-table tr:hover {
  transform: scale(1.01);
  background: rgba(212, 175, 55, 0.1) !important;
}

.category-badge {
  background: #333;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.7rem;
  text-transform: uppercase;
}

/* Estilos para los nuevos controles de filtro y búsqueda */
.filter-search-controls input,
.filter-search-controls select {
  background: #222;
  border: 1px solid #444;
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease;
}

.filter-search-controls input:focus,
.filter-search-controls select:focus {
  border-color: var(--gold);
}

.card-cachorro {
  background: radial-gradient(circle at bottom left, #1a1a1a 0%, #050505 100%);
  border: 1.5px solid var(--gold);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(212, 175, 55, 0.05);
  position: relative;
}

.raza-card {
  background: linear-gradient(145deg, #161616, #050505);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 22px;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.raza-card::before {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(212,175,55,0.2) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: all 0.75s ease;
  z-index: 1;
  pointer-events: none;
}

.raza-card:hover::before {
  left: 150%;
}

.raza-card:hover {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.35), inset 0 0 20px rgba(212, 175, 55, 0.1);
  transform: translateY(-12px) scale(1.02);
}

.raza-card img {
  border-radius: 22px 22px 0 0;
  border-bottom: 3px solid var(--gold);
  filter: grayscale(15%) brightness(0.9);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 0;
}

.raza-card:hover img {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.06);
}

.card-cachorro:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
  transform: translateY(-10px);
}

.card-cachorro h3 {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin: 15px 0 5px;
}

.card-precio {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.card-precio span {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
}

/* Contenedor Preview Admin */
.admin-preview-part {
  background: #000;
  padding: 20px;
  border-radius: 15px;
  border: 1px dashed #444;
}

/* ═══════════════════════════════════════
   GARANTÍAS - SECCIÓN MEJORADA
═══════════════════════════════════════ */
.garantias-section {
  background: linear-gradient(180deg, #0d0d0d 0%, #111 100%);
}

.garantias-header {
  text-align: center;
  margin-bottom: 50px;
}

.garantias-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.garantias-header h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 14px;
}

.garantias-header h2 .gold-text {
  color: var(--gold);
  background: linear-gradient(90deg, #d4af37, #f5d98b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.garantias-subtitle {
  color: #999;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Grid de cards */
.garantias-grid-nueva {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.garantia-card {
  background: linear-gradient(145deg, #161616, #111);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.35s ease;
  cursor: default;
}

.garantia-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: linear-gradient(145deg, #1a1a1a, #141414);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
}

.garantia-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.garantia-icon i {
  font-size: 1.3rem;
  color: var(--gold);
}

.garantia-texto {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.garantia-texto strong {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.garantia-texto span {
  color: #888;
  font-size: 0.78rem;
  line-height: 1.4;
}

/* Banner veterinaria certificada */
.vet-certificada-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 10px;
}

.vet-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 2px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vet-icon-wrap i {
  font-size: 1.8rem;
  color: var(--gold);
}

.vet-text {
  flex: 1;
}

.vet-text strong {
  color: var(--gold);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 8px;
}

.vet-text p {
  color: #aaa;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.vet-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.vet-badge i {
  font-size: 2.2rem;
  color: var(--gold);
}

.vet-badge span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .garantias-header h2 {
    font-size: 1.8rem;
  }

  .garantias-grid-nueva {
    grid-template-columns: 1fr;
  }

  .vet-certificada-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .vet-text p {
    text-align: center;
  }

  /* Responsive Hero: Mostrar solo un perro en móvil */
  .hero-dog-left {
    display: none !important;
  }
  .hero-dog-right {
    width: 100% !important;
    left: 0 !important;
    right: auto !important;
  }
}