/* ── VARIABLES ── */
:root {
  --cream:       #f5ede0;
  --brown:       #3d2314;
  --mocha:       #7b4a2e;
  --tan:         #c49a6c;
  --dark-bg:     #1e1510;
  --btn-bg:      #3d2314;
  --btn-hover:   #5a3520;
  --text-dark:   #2b1a0f;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.SuperZoo-landing {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
}




img { display: block; }

/* ════════════════════════════════
   HERO
════════════════════════════════ */

/*
  Estrategia de capas (de atrás hacia adelante):
    0 · Fondo crema (.hero background)
    1 · hero-top-img   — PNG con hojas superiores (posición normal, empuja el contenido)
    2 · hero-body      — zona central. El perro vive aquí como absolute
    3 · hero-dog       — absolute dentro de hero, z-index 2
    4 · hero-bot-img   — PNG wave+hojas inferiores, z-index 4, margin-top negativo
                         para que tape la parte baja del perro
*/

.hero {
  background: var(--cream);
  position: relative;   /* contexto para el perro */
  overflow: visible;    /* permite que el perro sobresalga si es necesario */
}

/* ── PNG superior: hojas top ── */
.hero-top-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

/* ── Zona central: texto + perro ── */
.hero-body {
  position: relative;
  min-height: clamp(220px, 28vw, 260px);
  display: flex;
  align-items: center;
  /* SIN overflow:hidden — el perro necesita sobresalir hacia abajo */
}

/* ── Texto ── */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 16px 24px 54px 10%;
  max-width: 52%;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 8rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.hero p.tagline {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: var(--mocha);
  margin-bottom: 10px;
  font-weight: 500;
}
.hero p.tagline span { font-weight: 800; }

/* ── Perro: absolute en .hero, pegado derecha, bottom justo donde
      comienza hero-bot-img (que hace margin-top negativo).
      z-index 2 → queda sobre la burbuja pero bajo bot-img (z:4) ── */
.hero-dog {
  position: absolute;
  right: 0;
  /* bottom = altura aproximada del bot-img que sube con margin-top negativo */
  bottom: clamp(30px, 8vw, 20px);
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
}
.hero-dog img {
  height: clamp(220px, 44vw, 410px);
  width: auto;
  object-fit: contain;
  display: block;
}

/* ── PNG inferior: wave + hojas bot ── */
.hero-bot-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 4;           /* encima del perro → tapa sus patas */
  margin-top: clamp(-60px, -8vw, -30px); /* sube y solapa el perro abajo */
  pointer-events: none;
}

/* ── Burbuja decorativa (círculo crema a la derecha) ── */
.hero-bubble {
  position: absolute;
  border-radius: 50%;
  background: #ddd0be;
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}
.hero-bubble-1 {
  width: clamp(160px, 26vw, 320px);
  height: clamp(160px, 26vw, 320px);
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
}

/* ── Responsive móvil ── */
@media (max-width: 640px) {
  .hero-content { max-width: 60%; padding: 12px 16px 20px 16px; }
  .hero-bubble-1 { right: 0; opacity: 0.3; }
}
@media (max-width: 400px) {
  .hero-content { max-width: 65%; }
}

/* ════════════════════════════════
   BTN
════════════════════════════════ */
.btn-SuperZoo {
  background: var(--btn-bg);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 30px;
  padding: 11px 28px;
  text-decoration: none !important;
  display: inline-block;
  transition: background .2s, transform .15s;
}
.btn-SuperZoo:hover {
  background: var(--btn-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-SuperZoo.light {
  background: var(--cream);
  color: var(--brown);
}
.btn-SuperZoo.light:hover { background: #e8d9c5; }

/* ════════════════════════════════
   SUBTITLE BAND
════════════════════════════════ */
.subtitle-band {
  background: #fff;
  text-align: center;
  padding: 24px 20px 16px;
  font-size: clamp(.95rem, 2.5vw, 1.15rem);
  font-weight: 600;
  color: var(--text-dark);
}

/* ════════════════════════════════
   CATEGORIES
════════════════════════════════ */
.categories {
  background: #fff;
  padding: 8px 16px 36px;
}

.cat-item { text-align: center; }

.cat-icon {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  transition: transform .2s;
  cursor: pointer;
}
.cat-icon:hover { transform: scale(1.08); }
.cat-icon img { width: 52px; height: 52px; object-fit: contain; }

.cat-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

/* ════════════════════════════════
   PRODUCT SECTIONS
════════════════════════════════ */
.prod-section {
  background: #fff;
  padding: 48px 24px;
}
.prod-section.dark {
  background: var(--dark-bg);
  color: #f0e4d4;
}


/* Carousel ocupa el 100% del círculo */
.prod-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}
.carousel-slide img.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Texto de producto */
.prod-text h2 {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
}
.prod-section.dark .prod-text h2 { color: #e8c99a; }

.prod-text p {
  font-size: .88rem;
  color: #5a3c26;
  line-height: 1.55;
  margin-bottom: 18px;
}
.prod-section.dark .prod-text p { color: #c8ae94; }

/* fila con imagen a la derecha en desktop */
@media (min-width: 768px) {
  .prod-row-right { flex-direction: row-reverse; }
}

/* ════════════════════════════════
   WAVE DECORATIVA (entre secciones)
════════════════════════════════ */
.wave-divider {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -2px;
  margin-bottom: -2px;
}

/* ════════════════════════════════
   TIPS WAVE WRAP
════════════════════════════════ */
.tips-wave-wrap {
  position: relative;
  width: 100%;
  background: var(--btn-bg);
  overflow: hidden;
  line-height: 0;
}
.tips-wave-svg {
  display: block;
  width: 100%;
  height: 90px;
}
.tips-wave-leaves {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 60px;
  pointer-events: none;
}
.wleaf { position: absolute; }

/* ════════════════════════════════
   TIPS SECTION
════════════════════════════════ */
.tips-section {
  background: var(--cream);
  padding: 8px 24px 56px;
}
.tips-section h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--brown);
  text-align: center;
  margin-bottom: 6px;
}
.tips-section .sub {
  text-align: center;
  color: var(--mocha);
  font-size: .9rem;
  margin-bottom: 36px;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.tip-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tip-icon img {
  width: 38px; height: 38px;
  object-fit: contain;
}
.tip-content h4 {
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: 4px;
  color: var(--brown);
}
.tip-content p {
  font-size: .85rem;
  color: #6b4530;
  line-height: 1.5;
}

/* ════════════════════════════════
   RESPONSIVE MÓVIL
════════════════════════════════ */
@media (max-width: 576px) {
  .hero-content {
    padding: 20px 16px 28px;
    max-width: 60%;
  }

  .prod-img-circle {
    width: 140px;
    height: 140px;
  }

  .cat-icon {
    width: 72px;
    height: 72px;
  }
  .cat-icon img { width: 40px; height: 40px; }

  .cat-label { font-size: .65rem; }

  .prod-section { padding: 32px 16px; }

  .tip-icon { width: 52px; height: 52px; }
  .tip-icon img { width: 30px; height: 30px; }

  .hero-bot-img {
    margin-top: clamp(-60px, 0vw, 0px);
  }

  .hero-dog {
    right: 0;
    bottom: clamp(0px, 8vw, 0px);
  }
}

@media (max-width: 400px) {
  .hero-content { max-width: 65%; }
  .prod-img-circle { width: 120px; height: 120px; }
}

/* ════════════════════════════════
   GUÍA DE TALLAS
════════════════════════════════ */
.size-guide-section {
  background: var(--btn-bg);
  padding: 56px 24px 64px;
  color: #f0e4d4;
}

.size-guide-header {
  text-align: center;
  margin-bottom: 44px;
}
.size-guide-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #e8c99a;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.size-guide-header p {
  font-size: .95rem;
  color: #c8ae94;
}

.size-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.size-col-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tan);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(196,154,108,.25);
}

.size-dog-illustration {
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 24px;
}
.size-dog-illustration svg {
  width: 100%;
  height: auto;
  display: block;
}

.size-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.size-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.size-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--tan);
}
.size-step-info strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: #e8c99a;
  margin-bottom: 2px;
}
.size-step-info span {
  font-size: .8rem;
  color: #c8ae94;
  line-height: 1.45;
}

.size-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid rgba(196,154,108,.2);
  margin-bottom: 18px;
  min-width: 0;
  max-width: 100%;
}
.size-table-wrap::-webkit-scrollbar {
  height: 4px;
}
.size-table-wrap::-webkit-scrollbar-track {
  background: rgba(196,154,108,.08);
  border-radius: 2px;
}
.size-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(196,154,108,.4);
  border-radius: 2px;
}
.size-table {
  width: 100%;
  min-width: 340px;
  border-collapse: collapse;
  font-size: .83rem;
}
.size-table thead tr {
  background: rgba(196,154,108,.15);
}
.size-table th {
  padding: 11px 10px;
  text-align: center;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--tan);
  white-space: nowrap;
}
.th-letter {
  display: inline-block;
  background: var(--brown);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: .65rem;
  text-align: center;
  margin-right: 4px;
  font-weight: 800;
}
.size-table tbody tr {
  border-top: 1px solid rgba(196,154,108,.12);
  transition: background .15s;
}
.size-table tbody tr:hover {
  background: rgba(196,154,108,.08);
}
.size-table td {
  padding: 11px 10px;
  text-align: center;
  color: #ddd0be;
}
.size-tag {
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .5px;
}
.size-tag.xs { color: #a0c8ff; }
.size-tag.s  { color: #90e0b0; }
.size-tag.m  { color: #ffd080; }
.size-tag.l  { color: #ff9f7e; }

.size-note {
  font-size: .8rem;
  color: #c8ae94;
  background: rgba(196,154,108,.1);
  border-left: 3px solid var(--tan);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  line-height: 1.5;
}
.size-note strong { color: #e8c99a; }

.size-table-col {
  min-width: 490px; /* evita que el grid se expanda por la tabla */
}

@media (max-width: 680px) {
  .size-guide-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .size-table th,
  .size-table td {
    padding: 9px 7px;
    font-size: .75rem;
  }
	
	.size-table-col {
     min-width: 0; /* evita que el grid se expanda por la tabla */
  }
}
