main.cat-portada {
  padding: 20px 20px 40px;
}
main.cat-portada > * {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.cat-portada-block {
  margin-top: 18px;
  margin-bottom: 28px;
}
.cat-portada-banners {
  position: relative;
  margin-bottom: 18px;
}
.cat-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2f6b28 0%, #64a84e 58%, #8bc56f 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 24px rgba(47, 107, 40, 0.18);
}
.cat-hero::before,
.cat-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.cat-hero::before {
  width: 180px;
  height: 180px;
  top: -70px;
  right: -30px;
}
.cat-hero::after {
  width: 120px;
  height: 120px;
  bottom: -48px;
  left: 8%;
}
.cat-hero-kicker,
.cat-hero h1,
.cat-hero-desc {
  position: relative;
  z-index: 1;
}
.cat-hero-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}
.cat-hero h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
}
.cat-hero-desc {
  max-width: 640px;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.cat-portada-banners.has-banner .cat-hero {
  display: none;
}
.cat-banner-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 16px;
}
.cat-banner-slide { scroll-snap-align: start; }
.cat-banner-slide {
  min-width: 100%;
  display: block;
}
.cat-banner-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.cat-banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
.cat-banner-nav.prev { left: 8px; }
.cat-banner-nav.next { right: 8px; }
.cat-portada .cat-sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
}
.cat-portada .destacados-header .cat-sec-title {
  flex: 1;
  margin: 0;
}
.cat-sec-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f6e4;
  color: var(--color-primary, #64a84e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: 0 0 36px;
}
.cat-subs-stage {
  position: relative;
}
.cat-subs-stage.has-pager {
  padding-left: 52px;
  padding-right: 52px;
}
.cat-subs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 180px));
  justify-content: center;
  gap: 12px;
  overflow: visible;
  padding: 8px 0 12px;
}
.cat-marcas {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 2px 12px;
}
.cat-subs::-webkit-scrollbar,
.cat-marcas::-webkit-scrollbar { display: none; }
.cat-subs.is-static,
.cat-marcas.is-static {
  overflow: visible;
  justify-content: center;
}
.cat-sub {
  width: 100%;
  max-width: 180px;
  min-height: 0;
  height: auto;
  scroll-snap-align: start;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 8px 8px 10px;
  border-radius: 18px;
  border: 2px solid transparent;
  text-align: center;
  text-decoration: none;
  color: #1f2937;
}
.cat-sub-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 12px;
}
.cat-sub img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cat-sub span.cat-sub-ph {
  font-size: 1.6rem;
  font-weight: 700;
  color: #374151;
}
.cat-sub strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.15;
}
.cat-sub--pink { background: #fde7f0; border-color: #f4b8d0; }
.cat-sub--lilac { background: #f3e8ff; border-color: #ddc7f7; }
.cat-sub--yellow { background: #fff3c4; border-color: #f0d56a; }
.cat-sub--cream { background: #fff6e4; border-color: #f0d7b0; }
.cat-sub--mint { background: #e8f8ee; border-color: #b7e4c7; }
.cat-sub--peach { background: #ffead9; border-color: #f5c9a8; }
.cat-sub--sky { background: #e7f3ff; border-color: #bdd7f5; }
.cat-subs-arrow[hidden],
.cat-subs-controls[hidden] {
  display: none;
}
.cat-subs-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.cat-subs-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.12);
  color: #6b7280;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.cat-subs-arrow.is-prev { left: 0; }
.cat-subs-controls {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-subs-controls .cat-subs-arrow {
  position: static;
  transform: none;
}
.cat-marca {
  flex: 0 0 168px;
  height: 176px;
  scroll-snap-align: start;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px 12px;
  border-radius: 22px;
  border: 1px solid #e6e8ec;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
  text-align: center;
  text-decoration: none;
  color: #1f2937;
}
.cat-marca-media {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-marca img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cat-marca strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.15;
}
.cat-portada .catalogo-grid {
  width: 100%;
  margin-bottom: 0;
  padding: 8px 0 16px;
  box-sizing: border-box;
}
.cat-portada .catalogo-grid .catalogo-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}
.cat-ver-mas-wrap {
  margin: 10px 0 0;
  text-align: center;
}
.cat-ver-mas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid var(--color-primary, #64a84e);
  background: #fff;
  color: var(--color-primary, #64a84e);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  line-height: 1;
}
.cat-ver-mas:hover {
  background: var(--color-primary, #64a84e);
  color: #fff;
}
main.cat-portada > #cat-arma-pack {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 1200px) {
  .cat-subs {
    grid-template-columns: repeat(auto-fit, minmax(148px, 180px));
    justify-content: center;
  }
  .cat-sub { max-width: 180px; }
}
#cat-arma-pack {
  --g: #138A3D;
  --gd: #08652B;
  --deep: #063F24;
  --y: #FFD600;
  --yh: #F4C400;
  --mint: #F2FAF3;
  --muted: #667169;
  --bd: #DFE9E1;
  --sm: 0 8px 22px rgba(6, 63, 36, .08);
  --lg: 0 30px 72px rgba(6, 63, 36, .2);
  --rl: 22px;
  --ease: 220ms cubic-bezier(.2, .75, .25, 1);
  position: relative;
  padding: clamp(36px, 4.5vw, 56px) 0 64px;
  background: radial-gradient(circle at 10% 5%, rgba(255, 214, 0, .18), transparent 23%), linear-gradient(145deg, #eefaf1, #fffdf0);
  box-sizing: border-box;
}
#cat-arma-pack:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 12px 12px, rgba(19, 138, 61, .11) 2px, transparent 2.5px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000, transparent 55%);
}
#cat-arma-pack .builder-container { position: relative; z-index: 1; width: min(1200px, calc(100% - 32px)); margin: auto; }
#cat-arma-pack .builder-heading h2 { color: var(--deep); font-size: clamp(2rem, 4vw, 3.2rem); margin: 8px 0 12px; text-align: left; }
#cat-arma-pack .builder-heading > p { color: var(--muted); max-width: 720px; }
#cat-arma-pack .ef-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--gd); font-size: .8rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
#cat-arma-pack .ef-kicker:before { content: ""; width: 21px; height: 4px; border-radius: 9px; background: var(--y); }
#cat-arma-pack .builder-wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: 26px; align-items: start; }
#cat-arma-pack .builder-main { display: grid; gap: 18px; }
#cat-arma-pack .builder-step { padding: 26px; border: 1px solid rgba(19, 138, 61, .16); border-radius: var(--rl); background: rgba(255, 255, 255, .94); box-shadow: var(--sm); }
#cat-arma-pack .step-head { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 20px; }
#cat-arma-pack .step-number { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: var(--y); font-weight: 950; }
#cat-arma-pack .step-head h3 { margin: 0 0 5px; color: var(--deep); font-size: 1.24rem; }
#cat-arma-pack .step-head p { margin: 0; color: var(--muted); font-size: .9rem; }
#cat-arma-pack .kid-control { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; }
#cat-arma-pack .kid-input { height: 58px; width: 100%; padding: 0 15px; border: 2px solid #bcdac3; border-radius: 14px; color: var(--deep); background: #fff; font-size: 1.2rem; font-weight: 900; box-sizing: border-box; }
#cat-arma-pack .preset-row, #cat-arma-pack .plan-row { display: flex; gap: 9px; flex-wrap: wrap; }
#cat-arma-pack .preset, #cat-arma-pack .plan-btn { min-height: 42px; padding: 8px 15px; border: 1px solid var(--bd); border-radius: 99px; background: #fff; color: var(--gd); font-weight: 900; cursor: pointer; }
#cat-arma-pack .preset:hover, #cat-arma-pack .preset.active, #cat-arma-pack .plan-btn:hover, #cat-arma-pack .plan-btn.active { border-color: var(--y); background: var(--y); color: var(--deep); }
#cat-arma-pack .plan-row { margin-bottom: 18px; }
#cat-arma-pack .plan-btn { border-radius: 12px; flex: 1; min-width: 145px; }
#cat-arma-pack .plan-btn small { display: block; color: var(--muted); font-weight: 700; }
#cat-arma-pack .plan-btn.active small { color: rgba(6, 63, 36, .72); }
#cat-arma-pack .builder-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#cat-arma-pack .builder-option { position: relative; min-height: 116px; padding: 14px; border: 1px solid var(--bd); border-radius: 15px; background: #fff; display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; cursor: pointer; }
#cat-arma-pack .builder-option.selected { border-color: var(--g); box-shadow: 0 0 0 2px rgba(19, 138, 61, .09); background: var(--mint); }
#cat-arma-pack .builder-option img { width: 54px; height: 66px; object-fit: contain; border-radius: 10px; background: #fff; }
#cat-arma-pack .builder-option h4 { margin: 0 0 4px; color: var(--deep); font-size: .87rem; line-height: 1.25; }
#cat-arma-pack .builder-option p { margin: 0; color: var(--muted); font-size: .74rem; }
#cat-arma-pack .builder-select { position: absolute; top: 10px; right: 10px; width: 25px; height: 25px; border: 1px solid #a8b7ab; border-radius: 7px; background: #fff; display: grid; place-items: center; color: transparent; }
#cat-arma-pack .builder-option.selected .builder-select { background: var(--g); border-color: var(--g); color: #fff; }
#cat-arma-pack .mini-qty { display: inline-flex; margin-top: 9px; border: 1px solid var(--bd); border-radius: 9px; overflow: hidden; background: #fff; }
#cat-arma-pack .mini-qty button { width: 30px; height: 30px; border: 0; background: var(--mint); font-weight: 950; cursor: pointer; }
#cat-arma-pack .mini-qty span { min-width: 72px; height: 30px; display: grid; place-items: center; font-size: .78rem; font-weight: 900; }
#cat-arma-pack .builder-option:not(.selected) .mini-qty { opacity: .42; pointer-events: none; }
#cat-arma-pack .upsell-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#cat-arma-pack .upsell { position: relative; min-height: 150px; padding: 15px; border: 1px solid var(--bd); border-radius: 15px; background: #fff; cursor: pointer; }
#cat-arma-pack .upsell.selected { border-color: var(--g); background: var(--mint); }
#cat-arma-pack .upsell b { display: block; margin: 8px 0 5px; color: var(--deep); font-size: .86rem; }
#cat-arma-pack .upsell p { margin: 0; color: var(--muted); font-size: .73rem; }
#cat-arma-pack .upsell-price { display: block; margin-top: 8px; color: var(--gd); font-weight: 950; font-size: .84rem; }
#cat-arma-pack .upsell-check { width: 25px; height: 25px; border-radius: 7px; border: 1px solid #a8b7ab; background: #fff; display: grid; place-items: center; margin-left: auto; color: transparent; }
#cat-arma-pack .upsell.selected .upsell-check { background: var(--g); border-color: var(--g); color: #fff; }
#cat-arma-pack .builder-summary { position: sticky; top: 92px; padding: 25px; border-radius: var(--rl); background: var(--deep); color: #fff; box-shadow: var(--lg); overflow: hidden; }
#cat-arma-pack .builder-summary:after { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; top: -70px; border-radius: 50%; background: var(--y); opacity: .12; }
#cat-arma-pack .builder-summary > * { position: relative; z-index: 1; }
#cat-arma-pack .builder-summary h3 { margin: 0 0 5px; font-size: 1.45rem; color: #fff; }
#cat-arma-pack .builder-summary > p { color: rgba(255, 255, 255, .72); margin: 0; }
#cat-arma-pack .summary-count { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 19px 0; }
#cat-arma-pack .summary-stat { padding: 13px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 13px; background: rgba(255, 255, 255, .07); }
#cat-arma-pack .summary-stat strong { display: block; color: var(--y); font-size: 1.25rem; }
#cat-arma-pack .summary-stat span { font-size: .74rem; color: rgba(255, 255, 255, .7); }
#cat-arma-pack .summary-lines { display: grid; gap: 9px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
#cat-arma-pack .summary-line { display: flex; justify-content: space-between; gap: 14px; color: rgba(255,255,255,.8); font-size: .86rem; }
#cat-arma-pack .summary-line.discount-line { color: #ffe96f; font-weight: 900; }
#cat-arma-pack .builder-total { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 18px 0; }
#cat-arma-pack .builder-total span { color: rgba(255,255,255,.72); }
#cat-arma-pack .builder-total strong { color: var(--y); font-size: 2rem; line-height: 1; }
#cat-arma-pack .per-child { text-align: right; margin: -9px 0 18px; color: rgba(255,255,255,.68); font-size: .8rem; }
#cat-arma-pack .builder-recommendation { margin-bottom: 15px; padding: 12px; border-radius: 12px; background: rgba(255,214,0,.12); color: #fff7b5; font-size: .8rem; }
#cat-arma-pack .ef-btn { width: 100%; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; cursor: pointer; background: var(--y); color: var(--deep); box-shadow: 0 10px 24px rgba(255, 214, 0, .25); text-decoration: none; box-sizing: border-box; }
#cat-arma-pack .ef-btn + .ef-btn { margin-top: 9px; }
#cat-arma-pack .ef-btn--ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); box-shadow: none; }
#cat-arma-pack .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
#cat-arma-pack .ef-note { font-size: .85rem; color: var(--muted); background: var(--mint); border-radius: 12px; padding: 12px; margin: 0; }
.catalogo-portada-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-weight: 700;
}
@media (max-width: 768px) {
  main.cat-portada > *:not(#cat-arma-pack) {
    padding-left: 14px;
    padding-right: 14px;
  }
  .cat-hero { padding: 14px 18px; }
  .cat-hero h1 { font-size: 1.35rem; }
  .cat-banner-slide {
    position: relative;
    aspect-ratio: 16 / 5;
    max-height: 400px;
    overflow: hidden;
  }
  .cat-banner-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .cat-subs { grid-template-columns: repeat(2, minmax(0, 160px)); }
  .cat-sub { max-width: 160px; min-height: 0; border-radius: 16px; }
  .cat-sub-media { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .cat-sub strong { font-size: 0.82rem; }
  #cat-arma-pack .builder-wrap { grid-template-columns: 1fr; }
  #cat-arma-pack .builder-summary { position: relative; top: auto; }
  #cat-arma-pack .kid-control,
  #cat-arma-pack .builder-options { grid-template-columns: 1fr; }
  #cat-arma-pack .upsell-grid { grid-template-columns: 1fr; }
  .cat-marca { flex-basis: 140px; height: 160px; border-radius: 18px; }
  .cat-marca-media { width: 72px; height: 72px; }
  .cat-marca strong { font-size: 0.82rem; }
}
