/* ══════════════════════════════════════════
   QUI EST QUETZAL — Intro section
══════════════════════════════════════════ */
.quetzal-intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.quetzal-intro-reasons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quetzal-reason {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.quetzal-reason-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 7px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.quetzal-reason strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 3px;
  color: var(--text);
}
.quetzal-reason p {
  font-size: 13px;
  line-height: 1.55;
}

/* ══════════════════════════════════════════
   CATALOGUE PRODUITS QUETZAL
   Scoped styles for #catalogue section
══════════════════════════════════════════ */

/* ── Category Tabs ── */
.cat-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s;
  white-space: nowrap;
}
.cat-tab:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-dim);
}
.cat-tab.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #000;
}

/* ── Product Grid ── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

/* ── Product Card ── */
.prod-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s, box-shadow .4s, transform .4s;
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  border-color: rgba(200,241,53,.3);
  box-shadow:
    0 0 0 1px rgba(200,241,53,.18),
    0 0 28px rgba(200,241,53,.16),
    0 18px 48px rgba(0,0,0,.38);
  transform: translateY(-5px);
}

/* ── Product Image ── */
.prod-card-img {
  position: relative;
  background: var(--surface2);
  overflow: hidden;
}
.prod-card-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}

/* Icon placeholder for accessories without image */
.prod-card-img--icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-icon-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface2) 0%, rgba(200,241,53,.05) 100%);
}

/* ── Badge ── */
.prod-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(10,10,12,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(200,241,53,.25);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Product Body ── */
.prod-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.prod-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.prod-card-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0;
}
.prod-card-body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}

/* ── Tags ── */
.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.prod-tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface2);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* ── Product Link ── */
.prod-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
  transition: gap .18s;
  text-decoration: none;
}
.prod-link:hover {
  gap: 12px;
  text-decoration: none;
}
.prod-arrow {
  transition: transform .18s;
  display: inline-block;
}
.prod-link:hover .prod-arrow {
  transform: translateX(3px);
}

/* ── Info Strip ── */
.cat-info-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 40px;
}
.cat-info-cell {
  background: var(--surface2);
  padding: clamp(18px, 3vw, 28px) clamp(14px, 2vw, 22px);
  text-align: center;
}
.cat-info-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.cat-info-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

/* ── Gallery Carousel ── */
.prod-gallery {
  position: relative;
  cursor: pointer;
}
.gallery-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .45s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
  transform: scale(1.04);
  border-radius: 0 !important;
}
.gallery-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.prod-card:hover .gallery-slide.active {
  transform: scale(1.06);
}

/* Navigation arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(10,10,12,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s, background .18s, transform .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.prod-gallery:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover {
  background: rgba(200,241,53,.85);
  color: #000;
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

/* Dots */
.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity .3s;
}
.prod-gallery:hover .gallery-dots { opacity: 1; }
.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  transition: all .25s;
}
.gallery-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.25);
  box-shadow: 0 0 6px rgba(200,241,53,.5);
}

/* ── Stagger fade-in for cards ── */
.prod-card--hidden {
  opacity: 0;
  transform: translateY(30px) scale(.97);
}
.prod-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: prodCardIn .6s cubic-bezier(.22,1,.36,1) both;
}
.prod-card.visible:nth-child(3n+2) { animation-delay: .1s; }
.prod-card.visible:nth-child(3n+3) { animation-delay: .2s; }

@keyframes prodCardIn {
  from { opacity: 0; transform: translateY(30px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Fade-in animation ── */
@keyframes prodFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   RESPONSIVE — ≤ 1024px tablet
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .prod-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cat-info-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .quetzal-intro-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — ≤ 700px mobile
══════════════════════════════════════════ */
@media (max-width: 700px) {
  .prod-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cat-tabs {
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tab {
    padding: 8px 16px;
    font-size: 12px;
  }
  .cat-info-strip {
    grid-template-columns: 1fr 1fr;
  }
  /* Gallery always visible on mobile (no hover) */
  .gallery-dots { opacity: 1; }
  .gallery-nav { opacity: .85; width: 28px; height: 28px; font-size: 15px; }
  .prod-card.visible:nth-child(3n+2),
  .prod-card.visible:nth-child(3n+3) { animation-delay: 0s; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — ≤ 480px small mobile
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .cat-info-strip {
    grid-template-columns: 1fr;
  }
}
