﻿/* ============================================================
   DAF Boutique — Catálogo
   ============================================================ */

.cat-hero {
  width: 100%;
  min-height: 100vh;
  background-image: url('../media/catalogo/fondo.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 7vw;
}

.cat-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 380px;
}

.cat-hero-logo {
  width: 200px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.cat-hero-tagline {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-align: center;
  line-height: 2;
}

.cat-hero-divider-line {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.cat-divider-seg {
  flex: 1;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.7;
}

.cat-divider-diamond {
  font-size: 0.55rem;
  color: var(--gold);
  opacity: 0.85;
  flex-shrink: 0;
}

.cat-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  background-color: transparent;
  border: 1.5px solid var(--gold);
  padding: 13px 28px;
  text-decoration: none;
  transition: background-color 0.22s ease, transform 0.22s ease;
  width: 100%;
  justify-content: center;
}

.cat-btn-whatsapp i {
  font-size: 1.05rem;
}

.cat-btn-whatsapp:hover {
  background-color: var(--gold);
  color: var(--white);
  transform: scale(1.02);
}

.cat-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.22s ease;
}

.cat-ig-link i {
  font-size: 1rem;
  color: var(--ink);
  transition: color 0.22s ease;
}

.cat-ig-link:hover {
  color: var(--gold);
}

/* --- Cuadro inferior derecho --- */
.cat-hero {
  position: relative;
}

.cat-hero-badge {
  position: absolute;
  bottom: 48px;
  right: 7vw;
  background-color: var(--white);
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 220px;
}

.cat-badge-title {
  font-family: var(--font-ui);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.cat-badge-sub {
  font-family: 'Pinyon Script', cursive;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.cat-badge-divider {
  width: 100%;
  height: 1px;
  background-color: var(--gold);
  opacity: 0.4;
}

.cat-badge-body {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-light);
  line-height: 2;
}

.cat-badge-diamond {
  color: var(--ink-light);
  font-size: 0.45rem;
  vertical-align: middle;
}

/* --- Menú del catálogo --- */
.cat-menu {
  background-color: #fef9f5;
  padding: 44px 48px 52px;
}

.cat-menu-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.cat-menu-line {
  flex: 1;
  height: 1px;
  background-color: var(--gold);
  opacity: 0.45;
}

.cat-menu-title {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  white-space: nowrap;
}

.cat-menu-track {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  cursor: pointer;
  text-decoration: none;
}

.cat-menu-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #f8eee2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease;
  flex-shrink: 0;
}

.cat-menu-icon-wrap img {
  width: 52%;
  height: 52%;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.cat-menu-item:hover .cat-menu-icon-wrap {
  background-color: #f0e0cc;
}

.cat-menu-item:hover .cat-menu-icon-wrap img {
  transform: scale(1.1);
}

.cat-menu-name {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  text-align: center;
  white-space: nowrap;
}

.cat-menu-sep {
  width: 1px;
  height: 52px;
  background-color: #ddd0c6;
  flex-shrink: 0;
}

/* --- Tarjetas de categorías --- */
.cat-cards {
  background-color: var(--white);
  padding: 52px 220px 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cat-cards-row {
  display: flex;
  gap: 14px;
}

.cat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e8ddd4;
  transition: box-shadow 0.3s ease;
}

.cat-card:hover {
  box-shadow: 0 8px 32px rgba(195, 155, 85, 0.18);
}

.cat-card-img {
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background-color: var(--cream-deep);
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.cat-card:hover .cat-card-img img {
  transform: scale(1.05);
}

.cat-card-img--placeholder {
  background-color: #ede3da;
}

.cat-card-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background-color: var(--white);
  text-align: center;
}

.cat-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

.cat-card-desc {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  color: var(--ink-light);
  line-height: 1.5;
}

.cat-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
  margin-top: 6px;
  transition: gap 0.22s ease, color 0.22s ease;
}

.cat-card-link:hover {
  gap: 12px;
  color: var(--gold-dark);
}

.cat-card-link i {
  font-size: 0.6rem;
}

/* --- Banda de valores --- */
.cat-values {
  background-color: var(--white);
  padding: 36px 32px;
  border-top: 1px solid #ecddd3;
  border-bottom: 1px solid #ecddd3;
}

.cat-values .values-container {
  max-width: 1280px;
}

.cat-values .value-item {
  padding: 0 36px;
}

/* --- Responsive --- */
@media (max-width: 700px) {
  .cat-hero {
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
    background-size: auto 150%;
    background-position: left center;
  }

  .cat-hero-logo {
    width: 155px;
  }

  .cat-hero-tagline {
    font-size: 0.7rem;
  }

  .cat-hero-badge {
    display: none;
  }

  .cat-menu {
    padding: 36px 0 44px;
  }

  .cat-menu-header {
    padding: 0 24px;
    margin-bottom: 28px;
  }

  .cat-menu-track {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 24px 16px;
  }

  .cat-menu-track::-webkit-scrollbar {
    display: none;
  }

  .cat-menu-item {
    scroll-snap-align: center;
    flex-shrink: 0;
    padding: 0 18px;
  }

  .cat-menu-icon-wrap {
    width: 60px;
    height: 60px;
  }

  .cat-menu-icon-wrap i {
    font-size: 1.15rem;
  }

  .cat-menu-sep {
    height: 40px;
    flex-shrink: 0;
  }

  .cat-cards {
    padding: 36px 16px 48px;
    gap: 16px;
  }

  .cat-cards-row {
    flex-wrap: wrap;
    gap: 14px;
  }

  .cat-card {
    flex: 0 0 calc(50% - 7px);
  }

  .cat-card-title {
    font-size: 1rem;
  }

  /* Ticker de valores — igual que benefits en index */
  .cat-values {
    padding: 36px 0 32px;
    overflow: hidden;
  }

  .cat-values .values-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    gap: 0;
    margin: 0;
    will-change: transform;
  }

  .cat-values .value-item {
    flex: none;
    flex-shrink: 0;
    padding: 0 28px;
    white-space: nowrap;
    justify-content: center;
    width: auto;
  }

  .cat-values .benefit-divider {
    display: none;
  }

  .cat-values .value-text br {
    display: none;
  }
}
