/* ═══════════════════════════════════════════════════════════════
   Zona Free Shop — Base compartido (variables, reset, header,
   footer, CTA, botones, product-card, carruseles)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy: #11454f;
  --navy-2: #1a5c65;
  --navy-3: #24707a;
  --teal: #e6fd31;
  --teal-d: #d4eb2a;
  --teal-dim: rgba(230, 253, 49, 0.15);
  --cream: #f0f5f4;
  --gold: #e6fd31;
  --gold-dim: rgba(230, 253, 49, 0.12);
  --wa: #25D366;
  --wa-d: #1DA851;
  --white: #fff;
  --off-white: #F7FAF9;
  --gray-100: #e8efee;
  --gray-200: #d1dddc;
  --gray-400: #6b8a87;
  --gray-500: #4a6663;
  --gray-700: #2d4341;
  --text: #11454f;
  --text-soft: #4a6663;
  --purple: #5d2aa6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 2px;
}

/* ─── Header (categoría / producto) ─── */
.cat-header {
  background: var(--navy);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.cat-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
}

.cat-logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.cat-logo span {
  opacity: 0.65;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cat-breadcrumbs {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.cat-breadcrumbs strong {
  color: var(--teal);
}

.cat-search {
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 6px 6px 6px 14px;
  position: relative;
}

.cat-search input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  color: var(--navy);
  font-size: 14px;
}

.cat-search input::placeholder {
  color: var(--gray-400);
}

.cat-search button {
  padding: 8px 24px;
  border-radius: 7px;
  border: none;
  background: var(--purple);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
  color: var(--white);
}

.cat-search-drop {
  top: calc(100% + 4px);
  left: -1px;
  right: -1px;
}

.cat-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--teal);
  background: var(--teal-dim);
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 960px) {
  .cat-header {
    flex-wrap: wrap;
    padding: 12px 18px;
  }
}

/* ─── CTA Section ─── */
#ctaSection {
  padding: 72px 40px 80px;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#ctaSection::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(230, 253, 49, 0.1), transparent);
}

.cta-title {
  position: relative;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.cta-title span {
  color: var(--teal);
}

.cta-sub {
  position: relative;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.48);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-btns {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Botones ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--wa);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1.5px solid rgba(230, 253, 49, 0.5);
  color: var(--teal);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  text-decoration: none;
  background: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--teal);
  background: rgba(230, 253, 49, 0.1);
}

/* ─── Footer ─── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto 18px;
}

.footer-cols-mini {
  display: flex;
  gap: 48px;
  justify-content: center;
}

.footer-mini-block {
  text-align: center;
}

.footer-mini-block h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.footer-mini-block p,
.footer-mini-block a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-mini-block a {
  cursor: pointer;
}

.footer-bottom {
  max-width: 960px;
  margin: 0 auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

/* ─── Product card (grid + carousel) ─── */
.product-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.card-img {
  --_radius: 1.5rem;
  --_py: 1em;
  --_px: 1em;
  --_bg: var(--color-neutral-100);

  position: relative;
  border-radius: var(--_radius);

  width: 100%;
  height: auto;
  background-color: var(--_bg);

  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: var(--_py) var(--_px);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.badge-price {
  background: var(--teal);
  color: var(--navy);
}

.badge-consult {
  background: #F1F5F9;
  color: #475569;
}

.card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.card-brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.card-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.card-desc {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 8px;
  min-height: 34px;
}

.card-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: auto;
}

.card-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--navy);
}

.card-cta {
  padding: 9px 12px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  background: var(--wa);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.card-cta svg {
  width: 13px;
  height: 13px;
  fill: #fff;
}

.card-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 7px;
  background: var(--wa);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  box-sizing: border-box;
}

.card-wa:hover {
  background: var(--wa-d);
}

.card-wa svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: white;
}

/* ─── Section labels (sec-lbl, sec-title, sec-body) ─── */
.sec-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--purple);
}

.sec-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

.sec-body {
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
}

/* ─── Carousel base ─── */
.carousel-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 280px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.carousel-btn {
  position: absolute;
  top: 65%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s;
  color: var(--navy);
}

.carousel-btn:hover {
  background: var(--teal);
  color: var(--gray-700);
  border-color: var(--teal);
}

.carousel-btn.prev {
  left: -12px;
}

.carousel-btn.next {
  right: -12px;
}

.featured-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-carousel-track::-webkit-scrollbar {
  display: none;
}

.featured-carousel-wrap .carousel-btn {
  top: 65%;
}

.featured-carousel-slide {
  flex: 0 0 260px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.featured-carousel-slide .product-card {
  margin: 0;
}

.featured-carousel-slide .product-card .card-img {
  height: 140px;
}

.featured-carousel-slide .product-card .card-body {
  padding: 12px;
}

/* Product card images: mostrar producto completo sin recortar */
.c-product-slider__item .c-pic--cover img {
  object-fit: contain;
  object-position: center;
}