/* --------------------- HERO ---------------------*/

/* =========================================
   CAP · PORTADA PRINCIPAL
   ========================================= */

.cap-portada {
  --cap-p-navy: #08284b;
  --cap-p-green: #568523;
  --cap-p-paper: #f7f5f0;

  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  background: var(--cap-p-paper);
  color: var(--cap-p-navy);
  font-family: inherit;
}

.cap-portada,
.cap-portada * {
  box-sizing: border-box;
}

.cap-portada [hidden] {
  display: none !important;
}

/* DIAPOSITIVA */

.cap-portada .cap-portada__slide {
  position: relative;
  isolation: isolate;
  min-width: 0;
  background: var(--cap-p-paper);
}

/* FOTOGRAFÍA
   Es una imagen HTML dentro del hero.
   No utiliza índices negativos.
*/

.cap-portada .cap-portada__media {
  position: absolute;
  inset: 0 0 0 35%;
  z-index: 0;
  overflow: hidden;
}

.cap-portada .cap-portada__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;

  object-fit: cover;
  object-position: var(--cap-photo-position, center);
}

/* Transición entre el texto y la fotografía */

.cap-portada .cap-portada__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    #f7f5f0 0%,
    #f7f5f0 29%,
    rgb(247 245 240 / 98%) 36%,
    rgb(247 245 240 / 85%) 43%,
    rgb(247 245 240 / 35%) 53%,
    transparent 64%
  );
}

/* CONTENIDO */

.cap-portada .cap-portada__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;

  width: 100%;
  max-width: 1440px;
  min-height: clamp(570px, 43vw, 720px);

  margin-inline: auto;
  padding: 64px 72px 88px;
}

.cap-portada .cap-portada__copy {
  width: 52%;
  max-width: 650px;
  min-width: 0;
}

.cap-portada .cap-portada__eyebrow {
  margin: 0 0 24px;
  color: var(--cap-p-green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.cap-portada .cap-portada__title {
  margin: 0 0 26px;
  padding: 0;

  color: var(--cap-p-navy);
  font-family: inherit;
  font-size: clamp(42px, 4.9vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;

  overflow-wrap: break-word;
}

.cap-portada .cap-portada__title span {
  color: var(--cap-p-green);
}

.cap-portada .cap-portada__description {
  max-width: 440px;
  margin: 0 0 32px;

  color: #485764;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.5;
}

/* BOTÓN PRINCIPAL */

.cap-portada a.cap-portada__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;

  max-width: 100%;
  min-height: 56px;
  padding: 16px 26px;

  border: 1px solid var(--cap-p-navy);
  border-radius: 8px;
  background: var(--cap-p-navy);
  color: #fff;

  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;

  transition: background-color 0.2s ease;
}

.cap-portada a.cap-portada__cta:hover {
  background: #164674;
  color: #fff;
}

.cap-portada .cap-portada__cta span {
  font-size: 25px;
  line-height: 1;
}

/* FLECHAS */

.cap-portada .cap-portada__arrows {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.cap-portada .cap-portada__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;

  border: 1px solid rgb(8 40 75 / 12%);
  border-radius: 50%;
  background: rgb(255 255 255 / 94%);
  color: var(--cap-p-navy);

  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 3px 14px rgb(8 40 75 / 8%);

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.cap-portada .cap-portada__arrow--prev {
  left: 12px;
}

.cap-portada .cap-portada__arrow--next {
  right: 12px;
}

.cap-portada .cap-portada__arrow:hover {
  background: var(--cap-p-navy);
  color: #fff;
}

.cap-portada .cap-portada__arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* PUNTOS */

.cap-portada .cap-portada__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 2px;
}

.cap-portada .cap-portada__dots button {
  display: grid;
  place-items: center;

  width: 36px;
  height: 44px;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.cap-portada .cap-portada__dots button::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;

  border-radius: 20px;
  background: #a9b1b3;
  box-shadow: 0 0 0 2px rgb(255 255 255 / 55%);

  transition:
    width 0.2s ease,
    background-color 0.2s ease;
}

.cap-portada .cap-portada__dots button[aria-current="true"]::before {
  width: 28px;
  background: var(--cap-p-green);
}

/* ACCESIBILIDAD */

.cap-portada a:focus-visible,
.cap-portada button:focus-visible {
  outline: 3px solid var(--cap-p-green);
  outline-offset: 4px;
}

.cap-portada .cap-portada__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* TABLET */

@media (max-width: 1024px) {
  .cap-portada .cap-portada__inner {
    min-height: 560px;
    padding: 48px 64px 80px;
  }

  .cap-portada .cap-portada__copy {
    width: 60%;
  }

  .cap-portada .cap-portada__title {
    font-size: clamp(40px, 5.4vw, 55px);
  }

  .cap-portada .cap-portada__eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .cap-portada .cap-portada__description {
    max-width: 330px;
    font-size: 17px;
  }

  .cap-portada .cap-portada__media {
    left: 30%;
  }

  .cap-portada .cap-portada__slide::after {
    background: linear-gradient(
      90deg,
      #f7f5f0 0%,
      #f7f5f0 28%,
      rgb(247 245 240 / 95%) 40%,
      rgb(247 245 240 / 65%) 52%,
      transparent 75%
    );
  }
}

/* MÓVIL: TEXTO ARRIBA, FOTOGRAFÍA DEBAJO */

@media (max-width: 700px) {
  .cap-portada .cap-portada__slide {
    display: flex;
    flex-direction: column;
  }

  .cap-portada .cap-portada__inner {
    order: 0;
    min-height: 0;
    padding: 36px 24px 26px;
  }

  .cap-portada .cap-portada__copy {
    width: 100%;
    max-width: none;
  }

  .cap-portada .cap-portada__eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .cap-portada .cap-portada__title {
    margin-bottom: 20px;
    font-size: clamp(34px, 8.7vw, 56px);
  }

  .cap-portada .cap-portada__description {
    max-width: 380px;
    margin-bottom: 24px;
    font-size: 17px;
  }

  .cap-portada .cap-portada__break {
    display: none;
  }

  .cap-portada a.cap-portada__cta {
    min-height: 50px;
    padding: 14px 20px;
    font-size: 14px;
  }

  .cap-portada .cap-portada__media {
    position: relative;
    inset: auto;
    order: 1;

    width: 100%;
    height: clamp(270px, 75vw, 420px);
  }

  .cap-portada .cap-portada__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      #f7f5f0,
      transparent 22%
    );
  }

  .cap-portada .cap-portada__slide::after {
    display: none;
  }

  /* Controles sobre la parte baja de la fotografía */
  .cap-portada .cap-portada__arrow {
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .cap-portada .cap-portada__arrow--prev {
    left: 20px;
  }

  .cap-portada .cap-portada__arrow--next {
    right: 20px;
  }

  .cap-portada .cap-portada__dots {
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cap-portada *,
  .cap-portada *::before {
    transition: none !important;
  }
}

/* ================= CAP · CATEGORÍAS ================= */
.cap-cats {
  --cap-navy: #0b1f4b;
  --cap-green: #6a9f3a;
  --cap-card: #f3f6fa;

  width: 100%;
  padding: 56px 0;
  box-sizing: border-box;
  font-family: "Montserrat", "Inter", sans-serif;
}
.cap-cats *, .cap-cats *::before, .cap-cats *::after { box-sizing: border-box; }

.cap-cats__container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Encabezado ---------- */
.cap-cats__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.cap-cats h2.cap-cats__title {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--cap-navy);
}
.cap-cats__title span { color: var(--cap-green); }

.cap-cats a.cap-cats__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: var(--cap-navy);
  text-decoration: none;
  transition: color .25s ease;
}
.cap-cats__all svg { transition: transform .25s ease; }
.cap-cats a.cap-cats__all:hover { color: var(--cap-green); }
.cap-cats__all:hover svg { transform: translateX(4px); }

/* ---------- Grid ---------- */
.cap-cats ul.cap-cats__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cap-cats__item { margin: 0; padding: 0; }

/* ---------- Tarjeta ---------- */
.cap-cats a.cap-cats__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px 14px 16px;
  border-radius: 18px;
  background: var(--cap-card);
  border: 1px solid transparent;
  text-decoration: none;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.cap-cats a.cap-cats__card:hover,
.cap-cats a.cap-cats__card:focus-visible {
  transform: translateY(-6px);
  background: #fff;
  border-color: rgba(106, 159, 58, .35);
  box-shadow: 0 18px 34px rgba(11, 31, 75, .12);
}
.cap-cats a.cap-cats__card:focus-visible { outline: 2px solid var(--cap-green); outline-offset: 3px; }

/* Imagen */
.cap-cats__img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
}
.cap-cats__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply; /* funde fondos blancos con el gris de la tarjeta */
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.cap-cats__card:hover .cap-cats__img img { transform: scale(1.08) rotate(-1.5deg); mix-blend-mode: normal; }

/* Pie: nombre + flecha */
.cap-cats__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.cap-cats__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cap-navy);
}
.cap-cats__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--cap-green);
  color: var(--cap-green);
  background: #fff;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.cap-cats__card:hover .cap-cats__arrow {
  background: var(--cap-green);
  color: #fff;
  transform: translateX(3px);
}

/* ================= LAPTOP CHICA ================= */
@media (max-width: 1200px) {
  .cap-cats ul.cap-cats__grid { gap: 12px; }
  .cap-cats__name { font-size: 13px; }
}

/* ================= TABLET: 3 columnas ================= */
@media (max-width: 960px) {
  .cap-cats { padding: 44px 0; }
  .cap-cats__container { padding: 0 24px; }
  .cap-cats ul.cap-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .cap-cats__name { font-size: 14px; }
}

/* ================= MÓVIL: 2 columnas ================= */
@media (max-width: 600px) {
  .cap-cats { padding: 36px 0; }
  .cap-cats__container { padding: 0 20px; }

  .cap-cats__head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
  .cap-cats a.cap-cats__all { font-size: 13px; }

  .cap-cats ul.cap-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cap-cats a.cap-cats__card { padding: 10px 10px 12px; border-radius: 14px; }
  .cap-cats__name { font-size: 12.5px; }
  .cap-cats__arrow { width: 28px; height: 28px; }

  /* En táctil no hay hover: evitamos que la tarjeta se quede "levantada" */
  .cap-cats a.cap-cats__card:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cap-cats * { transition: none !important; }
}


/* ========================================
   CAP · Categorías de la tienda
   ======================================== */

.cap-shop-categories {
  --cap-navy: #08284b;
  --cap-green: #79ad40;
  --cap-card-bg: #f5f5f8;

  width: 100%;
  padding: 40px 20px;
  background: #fff;
  font-family: inherit;
}

.cap-shop-categories,
.cap-shop-categories * {
  box-sizing: border-box;
}

.cap-shop-categories__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cabecera */

.cap-shop-categories__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.cap-shop-categories__header h2 {
  margin: 0;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.cap-shop-categories__header h2 span {
  color: var(--cap-green);
}

.cap-shop-categories a.cap-shop-categories__all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--cap-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.cap-shop-categories__all span {
  font-size: 22px;
}

.cap-shop-categories a.cap-shop-categories__all:hover {
  color: var(--cap-navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Cuadrícula */

.cap-shop-categories__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

/* Tarjetas */

.cap-shop-categories a.cap-shop-category {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: var(--cap-card-bg);
  color: var(--cap-navy);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* Imagen */

.cap-shop-category__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1.1;
  margin-bottom: 16px;
}

.cap-shop-category__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  transition: transform 0.25s ease;
}

/* Nombre y flecha */

.cap-shop-category__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
}

.cap-shop-category__footer h3 {
  margin: 0;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.cap-shop-category__arrow {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 2px solid var(--cap-green);
  border-radius: 50%;
  background: #fff;
  color: var(--cap-green);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

/* Interacción */

@media (hover: hover) {
  .cap-shop-categories a.cap-shop-category:hover {
    transform: translateY(-4px);
    border-color: var(--cap-green);
    box-shadow: 0 10px 24px rgb(8 40 75 / 8%);
  }

  .cap-shop-category:hover .cap-shop-category__image img {
    transform: scale(1.04);
  }

  .cap-shop-category:hover .cap-shop-category__arrow {
    background: var(--cap-green);
    color: #fff;
  }
}

.cap-shop-categories a:focus-visible {
  outline: 3px solid var(--cap-navy);
  outline-offset: 4px;
}

/* Tablet */

@media (max-width: 1024px) {
  .cap-shop-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cap-shop-category__image {
    aspect-ratio: 1 / 0.85;
  }
}

/* Móvil */

@media (max-width: 600px) {
  .cap-shop-categories {
    padding: 28px 16px;
  }

  .cap-shop-categories__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 18px;
  }

  .cap-shop-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cap-shop-categories a.cap-shop-category {
    padding: 12px;
    border-radius: 16px;
  }

  .cap-shop-category__image {
    aspect-ratio: 1;
    margin-bottom: 10px;
  }

  .cap-shop-category__footer h3 {
    font-size: 14px;
  }

  .cap-shop-category__arrow {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    font-size: 18px;
  }
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
  .cap-shop-categories a.cap-shop-category,
  .cap-shop-category__image img,
  .cap-shop-category__arrow {
    transition: none;
  }

  .cap-shop-categories a.cap-shop-category:hover,
  .cap-shop-category:hover .cap-shop-category__image img {
    transform: none;
  }
}


/* CAP · Productos destacados */

.cap-featured {
  --cap-navy: #08284b;
  --cap-green: #79ad40;
  --cap-border: #edf0f4;

  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 24px;
  color: var(--cap-navy);
  font-family: inherit;
}

.cap-featured,
.cap-featured * {
  box-sizing: border-box;
}

.cap-featured [hidden] {
  display: none !important;
}

/* Cabecera */

.cap-featured__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.cap-featured__header h2 {
  margin: 0;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.cap-featured__header h2 span {
  color: var(--cap-green);
}

.cap-featured a.cap-featured__all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--cap-navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.cap-featured__all span {
  font-size: 20px;
}

.cap-featured a.cap-featured__all:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Carrusel */

.cap-featured__carousel {
  position: relative;
}

.cap-featured__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 5px 2px 12px;
}

.cap-featured.is-ready .cap-featured__track {
  scrollbar-width: none;
}

.cap-featured.is-ready .cap-featured__track::-webkit-scrollbar {
  display: none;
}

/* Cinco tarjetas en escritorio */

.cap-featured .cap-product {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 48px) / 5);
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--cap-border);
  border-radius: 16px;
  background: #fff;
  scroll-snap-align: start;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cap-featured .cap-product:hover {
  border-color: #d9e4cd;
  box-shadow: 0 4px 14px rgb(8 40 75 / 6%);
}

/* Imagen */

.cap-featured .cap-product__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  aspect-ratio: auto;
  padding: 8px;
  overflow: hidden;
}

.cap-featured .cap-product__image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain !important;
  object-position: center;
  transform: none !important;
}
/* Etiquetas */

.cap-product__badge-row {
  min-height: 26px;
  margin-bottom: 4px;
}

.cap-product__badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 20px;
  background: #568523;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.cap-product__badge--muted {
  background: #687383;
}

/* Nombre y precio */

.cap-featured .cap-product__name {
  margin: 0 0 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cap-featured .cap-product__name a {
  color: var(--cap-navy);
  text-decoration: none;
}

.cap-featured .cap-product__name a:hover {
  text-decoration: underline;
}

.cap-product__price {
  margin-top: auto;
  margin-bottom: 12px;
  color: #15191e;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
}

.cap-product__price del {
  color: #687383;
  font-size: 12px;
  font-weight: 400;
}

.cap-product__price ins {
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.cap-product__price .amount {
  white-space: nowrap;
}

/* Cantidad y compra */

.cap-featured .cap-product__buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
}

.cap-product__quantity {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--cap-border);
  border-radius: 11px;
  overflow: hidden;
}

.cap-featured .cap-product__quantity .quantity {
  flex: 1;
  float: none;
  min-width: 0;
  margin: 0;
}

.cap-featured .cap-product__quantity input.qty {
  width: 100%;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: none;
}

.cap-featured.is-ready input.qty {
  appearance: textfield;
  -moz-appearance: textfield;
}

.cap-featured.is-ready input.qty::-webkit-inner-spin-button,
.cap-featured.is-ready input.qty::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.cap-featured .cap-product__quantity button {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cap-navy);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.cap-featured button.cap-product__cart {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--cap-navy);
  color: #fff;
  cursor: pointer;
}

.cap-featured button.cap-product__cart:hover {
  background: #164674;
}

.cap-product__unit {
  font-size: 12px;
}

.cap-featured a.cap-product__options {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px;
  border-radius: 10px;
  background: var(--cap-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

/* Flechas */

.cap-featured button.cap-featured__nav {
  position: absolute;
  top: 45%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--cap-border);
  border-radius: 50%;
  background: #fff;
  color: var(--cap-navy);
  font-size: 32px;
  line-height: 1;
  box-shadow: 0 3px 10px rgb(8 40 75 / 9%);
  transform: translateY(-50%);
  cursor: pointer;
}

.cap-featured__nav--prev {
  left: -22px;
}

.cap-featured__nav--next {
  right: -22px;
}

.cap-featured button.cap-featured__nav:disabled {
  opacity: .35;
  cursor: default;
}

/* Puntos */

.cap-featured__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  margin-top: 4px;
}

.cap-featured .cap-featured__dots button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cap-featured__dots button::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d6dae0;
}

.cap-featured__dots button[aria-current="true"]::before {
  width: 16px;
  border-radius: 8px;
  background: var(--cap-green);
}

/* Foco de teclado */

.cap-featured a:focus-visible,
.cap-featured button:focus-visible,
.cap-featured input:focus-visible,
.cap-featured__track:focus-visible {
  outline: 2px solid var(--cap-navy);
  outline-offset: -2px;
}

/* Tablet */

@media (max-width: 1024px) {
  .cap-featured .cap-product {
    flex-basis: calc((100% - 24px) / 3);
  }
}

/* Móvil: tarjeta siguiente parcialmente visible */

@media (max-width: 600px) {
  .cap-featured {
    padding: 28px 16px;
  }

  .cap-featured__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 14px;
  }

  .cap-featured .cap-product {
    flex-basis: 76%;
  }

  .cap-product__image {
    aspect-ratio: 1 / .75;
  }

  .cap-featured__nav--prev {
    left: -12px;
  }

  .cap-featured__nav--next {
    right: -12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cap-featured .cap-product {
    transition: none;
  }
}

/* PRODUCTOS CON BANNER A LA DERECHA */

/* =====================================
   CAP · Catálogo con pestañas y banner
   ===================================== */

.cap-selection {
  --cap-navy: #08284b;
  --cap-green: #76aa38;
  --cap-border: #edf0f4;

  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr);
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 20px;
  color: var(--cap-navy);
  font-family: inherit;
}

.cap-selection,
.cap-selection * {
  box-sizing: border-box;
}

.cap-selection [hidden] {
  display: none !important;
}

.cap-selection__catalog {
  min-width: 0;
}

/* Título */

.cap-selection .cap-selection__title {
  margin: 0 0 18px;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.cap-selection__title span {
  color: var(--cap-green);
}

/* Pestañas */

.cap-selection__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.cap-selection .cap-selection__tabs button {
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid var(--cap-border);
  border-radius: 9px;
  background: #fff;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.cap-selection .cap-selection__tabs button[aria-selected="true"] {
  border-color: #568523;
  background: #568523;
  color: #fff;
}

.cap-selection__fallback-title {
  margin: 16px 0;
  font-size: 18px;
}

.cap-selection.is-ready .cap-selection__fallback-title {
  display: none;
}

/* Cuadrícula nativa de WooCommerce */

.cap-selection .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.cap-selection .woocommerce ul.products::before,
.cap-selection .woocommerce ul.products::after {
  display: none !important;
}

/* Tarjetas */

.cap-selection .woocommerce ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 10px !important;
  border: 1px solid var(--cap-border);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  box-shadow: 0 3px 12px rgb(8 40 75 / 3%);
}

.cap-selection .woocommerce ul.products li.product
.woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: var(--cap-navy);
  text-decoration: none;
}

/* Imágenes completas */

.cap-selection .woocommerce ul.products li.product a img {
  display: block;
  width: 100% !important;
  height: 140px !important;
  max-width: 100%;
  margin: 0 0 10px !important;
  padding: 4px;
  object-fit: contain !important;
  object-position: center;
  transform: none !important;
}

/* Nombre */

.cap-selection .woocommerce ul.products li.product
.woocommerce-loop-product__title {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Precio */

.cap-selection .woocommerce ul.products li.product .price {
  display: block;
  margin: auto 0 10px !important;
  color: var(--cap-navy);
  font-size: 13px !important;
  font-weight: 750;
  line-height: 1.4;
}

.cap-selection .price del {
  color: #687383;
  font-size: 11px;
}

.cap-selection .price ins {
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.cap-selection .price .amount {
  white-space: nowrap;
}

/* Botones reales de WooCommerce */

.cap-selection .woocommerce ul.products li.product .button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: 100%;
  margin: 0 !important;
  padding: 8px !important;
  border: 0;
  border-radius: 7px;
  background: var(--cap-navy);
  color: #fff;
  font-family: inherit;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.cap-selection .woocommerce ul.products li.product .button:hover {
  background: #164674;
  color: #fff;
}

.cap-selection .woocommerce a.added_to_cart {
  margin-top: 8px;
  color: var(--cap-navy);
  font-size: 12px;
  font-weight: 700;
}

/* Etiqueta de oferta */

.cap-selection .woocommerce ul.products li.product .onsale {
  top: 8px !important;
  right: auto !important;
  left: 8px !important;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 5px 8px;
  border-radius: 20px;
  background: #568523;
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
}

/* Botones principales */

.cap-selection a.cap-selection__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--cap-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.cap-selection__catalog > .cap-selection__cta {
  margin-top: 18px;
}

.cap-selection a.cap-selection__cta:hover {
  background: #164674;
  color: #fff;
}

/* Banner */

.cap-selection__banner {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(145deg, #e3eee7, #dce7ec);
}

.cap-selection .cap-selection__banner-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
}

.cap-selection__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgb(244 248 246 / 95%) 0%,
    rgb(244 248 246 / 85%) 32%,
    rgb(244 248 246 / 8%) 65%,
    transparent 100%
  );
}

.cap-selection__banner-content {
  padding: 30px 24px;
}

.cap-selection .cap-selection__banner-content h3 {
  margin: 0 0 16px;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.cap-selection__banner-content p {
  max-width: 250px;
  margin: 0 0 20px;
  color: var(--cap-navy);
  font-size: 14px;
  line-height: 1.5;
}

.cap-selection__empty {
  padding: 24px;
  border-radius: 12px;
  background: #f5f7f9;
  color: var(--cap-navy);
  font-size: 14px;
}

/* Navegación con teclado */

.cap-selection a:focus-visible,
.cap-selection button:focus-visible,
.cap-selection [role="tabpanel"]:focus-visible {
  outline: 3px solid var(--cap-green);
  outline-offset: 3px;
}

/* Tablet */

@media (max-width: 1024px) {
  .cap-selection {
    grid-template-columns: minmax(0, 1fr);
  }

  .cap-selection__banner {
    min-height: 400px;
  }

  .cap-selection__banner-content {
    max-width: 360px;
  }

  .cap-selection__banner::before {
    background: linear-gradient(
      90deg,
      rgb(244 248 246 / 96%),
      rgb(244 248 246 / 75%) 45%,
      transparent 100%
    );
  }
}

/* Móvil */

@media (max-width: 600px) {
  .cap-selection {
    padding: 28px 16px;
    gap: 24px;
  }

  .cap-selection .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cap-selection .cap-selection__tabs button {
    flex: 1;
    padding: 10px 8px;
    font-size: 11px;
  }

  .cap-selection .woocommerce ul.products li.product a img {
    height: 145px !important;
  }

  .cap-selection__banner {
    min-height: 480px;
  }

  .cap-selection__banner::before {
    background: linear-gradient(
      180deg,
      rgb(244 248 246 / 95%),
      rgb(244 248 246 / 80%) 35%,
      transparent 75%
    );
  }

  .cap-selection__banner-content {
    padding: 26px 22px;
  }
}

/* ------------ PRODUCTOS CON CTA IZQUIERDA ---------------*/

/* ======================================
   CAP · Nuevos productos
   ====================================== */

.cap-new {
  --cap-navy: #08284b;
  --cap-green: #79ad40;
  --cap-border: #edf0f4;

  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 38px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 24px;
  background: #fff;
  color: var(--cap-navy);
  font-family: inherit;
}

.cap-new,
.cap-new * {
  box-sizing: border-box;
}

.cap-new [hidden] {
  display: none !important;
}

/* Introducción */

.cap-new .cap-new__intro h2 {
  margin: 0 0 20px;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: clamp(25px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.cap-new__intro h2 span {
  color: var(--cap-green);
}

.cap-new__intro p {
  max-width: 190px;
  margin: 0 0 20px;
  color: #42546b;
  font-size: 14px;
  line-height: 1.5;
}

.cap-new a.cap-new__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--cap-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.cap-new a.cap-new__cta:hover {
  background: #164674;
}

/* Carrusel */

.cap-new__catalog,
.cap-new__products {
  min-width: 0;
}

.cap-new__carousel {
  position: relative;
}

.cap-new .woocommerce ul.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  margin: 0 !important;
  padding: 6px 2px 12px !important;
  list-style: none;
}

.cap-new .woocommerce ul.products::before,
.cap-new .woocommerce ul.products::after {
  display: none !important;
}

.cap-new.is-ready .woocommerce ul.products {
  scrollbar-width: none;
}

.cap-new.is-ready .woocommerce ul.products::-webkit-scrollbar {
  display: none;
}

/* Cuatro productos visibles */

.cap-new .woocommerce ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 42px) / 4);
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid var(--cap-border);
  border-radius: 13px;
  background: #fff;
  text-align: left;
  scroll-snap-align: start;
  box-shadow: 0 3px 12px rgb(8 40 75 / 3%);
}

.cap-new .woocommerce ul.products li.product
.woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: var(--cap-navy);
  text-decoration: none;
}

/* Imágenes completas */

.cap-new .woocommerce ul.products li.product a img {
  display: block;
  width: 100% !important;
  height: 135px !important;
  max-width: 100%;
  margin: 0 0 12px !important;
  padding: 4px;
  object-fit: contain !important;
  object-position: center;
  transform: none !important;
}

/* Nombre */

.cap-new .woocommerce ul.products li.product
.woocommerce-loop-product__title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* Precio */

.cap-new .woocommerce ul.products li.product .price {
  display: block;
  margin: auto 0 12px !important;
  color: var(--cap-navy);
  font-size: 13px !important;
  font-weight: 750;
  line-height: 1.4;
}

.cap-new .price del {
  color: #687383;
  font-size: 11px;
}

.cap-new .price ins {
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.cap-new .price .amount {
  white-space: nowrap;
}

/* Compra: conserva las acciones de WooCommerce */

.cap-new .woocommerce ul.products li.product .button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 100%;
  margin: 0 !important;
  padding: 8px !important;
  border: 0;
  border-radius: 7px;
  background: var(--cap-navy);
  color: #fff;
  font-family: inherit;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.cap-new .woocommerce ul.products li.product .button:hover {
  background: #164674;
  color: #fff;
}

.cap-new .woocommerce a.added_to_cart {
  margin-top: 8px;
  color: var(--cap-navy);
  font-size: 12px;
  font-weight: 700;
}

/* Ofertas */

.cap-new .woocommerce ul.products li.product .onsale {
  top: 8px !important;
  right: auto !important;
  left: 8px !important;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 5px 8px;
  border-radius: 20px;
  background: #568523;
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
}

/* Flechas */

.cap-new button.cap-new__arrow {
  position: absolute;
  top: 45%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--cap-border);
  border-radius: 50%;
  background: #fff;
  color: var(--cap-navy);
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 3px 10px rgb(8 40 75 / 8%);
  transform: translateY(-50%);
  cursor: pointer;
}

.cap-new__arrow--prev {
  left: -20px;
}

.cap-new__arrow--next {
  right: -20px;
}

.cap-new button.cap-new__arrow:disabled {
  opacity: .35;
  cursor: default;
}

/* Puntos */

.cap-new__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 2px;
}

.cap-new .cap-new__dots button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cap-new__dots button::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d6dae0;
}

.cap-new__dots button[aria-current="true"]::before {
  width: 16px;
  border-radius: 8px;
  background: var(--cap-green);
}

.cap-new__empty {
  padding: 24px;
  border-radius: 12px;
  background: #f5f7f9;
}

/* Accesibilidad */

.cap-new a:focus-visible,
.cap-new button:focus-visible,
.cap-new ul.products:focus-visible {
  outline: 2px solid var(--cap-navy);
  outline-offset: -2px;
}

/* Tablet */

@media (max-width: 1024px) {
  .cap-new {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 28px;
  }

  .cap-new .woocommerce ul.products li.product {
    flex-basis: calc((100% - 14px) / 2);
  }
}

/* Móvil */

@media (max-width: 600px) {
  .cap-new {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 28px 20px;
  }

  .cap-new .cap-new__intro h2 {
    margin-bottom: 10px;
  }

  .cap-new__intro p {
    max-width: 100%;
    margin-bottom: 14px;
  }

  .cap-new .woocommerce ul.products li.product {
    flex-basis: 72%;
  }

  .cap-new .woocommerce ul.products li.product a img {
    height: 155px !important;
  }

  .cap-new__arrow--prev {
    left: -14px;
  }

  .cap-new__arrow--next {
    right: -14px;
  }
}


/* ---------------------- MINI SECCIÓN ------------------------*/

/* CAP · Iconos de sectores, sin fondo */

.cap-sectors {
  --cap-sector-color: #ffffff;

  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 520px;
  padding: 0;
  margin: 0;
  background: transparent;
  color: var(--cap-sector-color);
}

.cap-sectors,
.cap-sectors * {
  box-sizing: border-box;
}

.cap-sectors__item {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 4px 10px;
  text-align: center;
}

/* Separadores discretos */

.cap-sectors__item + .cap-sectors__item::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 1px;
  height: 30px;
  background: currentColor;
  opacity: .15;
}

.cap-sectors .cap-sectors__item svg {
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cap-sectors__item span {
  color: inherit;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 480px) {
  .cap-sectors__item {
    gap: 7px;
    padding: 4px 3px;
  }

  .cap-sectors .cap-sectors__item svg {
    width: 26px;
    height: 26px;
  }

  .cap-sectors__item span {
    font-size: 9px;
  }
}

/*¨----------------------- Variables para productos -----------------------------*/

/* =====================================================
   CAP · Presentaciones, precio y compra
   ===================================================== */

.cap-choice {
  --cap-choice-navy: #08284b;
  --cap-choice-green: #568523;
  --cap-choice-border: #dfe6ed;

  width: 100%;
  min-width: 0;
  margin-top: auto;
  padding-top: 12px;
  color: var(--cap-choice-navy);
  text-align: left;
}

.cap-choice,
.cap-choice * {
  box-sizing: border-box;
}

/* Precio de la presentación seleccionada */

.cap-choice .cap-choice__price {
  margin: 0 0 12px;
  color: var(--cap-choice-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.cap-choice__price .amount {
  white-space: nowrap;
}

.cap-choice__price del {
  display: inline-block;
  margin-right: 6px;
  color: #718096;
  font-size: 12px;
  font-weight: 400;
}

.cap-choice__price ins {
  background: transparent;
  color: var(--cap-choice-green);
  text-decoration: none;
}

.cap-choice .cap-choice__hint {
  margin: 0 0 10px;
  color: #607086;
  font-size: 12px;
  line-height: 1.4;
}

/* Formularios de WooCommerce */

.cap-choice form.cart {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0;
}

.cap-choice table.variations {
  display: block;
  width: 100%;
  margin: 0 0 12px !important;
  border: 0 !important;
  background: transparent;
}

.cap-choice table.variations tbody,
.cap-choice table.variations tr,
.cap-choice table.variations th,
.cap-choice table.variations td {
  display: block;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left;
}

.cap-choice table.variations tr {
  margin-bottom: 12px;
}

.cap-choice table.variations label {
  display: block;
  margin: 0 0 7px;
  color: var(--cap-choice-navy);
  font-size: 12px;
  font-weight: 750;
}

/* Select disponible como respaldo sin el JS adicional */

.cap-choice table.variations select {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 8px;
  border: 1px solid var(--cap-choice-border);
  border-radius: 8px;
  background: #fff;
  color: var(--cap-choice-navy);
}

/* Se oculta únicamente cuando los botones están listos */

.cap-choice .cap-choice__select-hidden {
  display: none !important;
}

/* Botones de presentación */

.cap-choice__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cap-choice .cap-choice__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  max-width: 100%;
  margin: 0;
  padding: 7px 11px;
  border: 1.5px solid var(--cap-choice-navy);
  border-radius: 20px;
  background: #fff;
  color: var(--cap-choice-navy);
  font-family: inherit;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.cap-choice .cap-choice__option[aria-pressed="true"] {
  border-color: var(--cap-choice-green);
  background: var(--cap-choice-green);
  color: #fff;
}

.cap-choice .cap-choice__option:disabled {
  border-color: #cbd2d9;
  background: #f4f5f6;
  color: #7a8795;
  text-decoration: line-through;
  cursor: not-allowed;
}

.cap-choice .reset_variations {
  display: inline-block;
  margin-top: 8px;
  color: #607086;
  font-size: 11px;
  text-decoration: underline;
}

/* El precio actualizado aparece arriba, sin duplicarse */

.cap-choice.cap-choice--enhanced .woocommerce-variation-price {
  display: none;
}

.cap-choice .woocommerce-variation-description {
  color: #607086;
  font-size: 12px;
  line-height: 1.4;
}

.cap-choice .stock {
  margin: 8px 0 !important;
  font-size: 12px !important;
  line-height: 1.4;
}

.cap-choice .stock.in-stock {
  color: var(--cap-choice-green);
}

.cap-choice .stock.out-of-stock {
  color: #a33737;
}

/* Cantidad y botón de compra */

.cap-choice .woocommerce-variation-add-to-cart,
.cap-choice form.cart:not(.variations_form) {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cap-choice .quantity {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  float: none !important;
  max-width: 100%;
  margin: 0 !important;
  border: 1px solid var(--cap-choice-border);
  border-radius: 8px;
  background: #fff;
}

.cap-choice .quantity input.qty {
  width: 52px !important;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 4px !important;
  border: 0 !important;
  border-radius: 8px;
  background: transparent;
  color: var(--cap-choice-navy);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.cap-choice .quantity.cap-choice__quantity-ready input.qty {
  width: 36px !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

.cap-choice .cap-choice__quantity-ready input.qty::-webkit-inner-spin-button,
.cap-choice .cap-choice__quantity-ready input.qty::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.cap-choice .cap-choice__quantity-button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--cap-choice-navy);
  font-size: 18px;
  cursor: pointer;
}

/* Mayor especificidad para superar los estilos anteriores */

.cap-choice.cap-choice .single_add_to_cart_button,
.cap-choice.cap-choice .cap-choice__details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 95px;
  width: auto !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0;
  border-radius: 8px;
  background: var(--cap-choice-navy);
  color: #fff;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
}

.cap-choice.cap-choice .single_add_to_cart_button:hover {
  background: #164674;
}

.cap-choice.cap-choice .single_add_to_cart_button:disabled,
.cap-choice.cap-choice .single_add_to_cart_button.disabled {
  opacity: .45;
  cursor: not-allowed;
}

.cap-choice button:focus-visible,
.cap-choice a:focus-visible,
.cap-choice input:focus-visible,
.cap-choice select:focus-visible {
  outline: 2px solid var(--cap-choice-navy);
  outline-offset: 3px;
}


/* CAP · Selector de presentaciones simplificado */

/* Quitar instrucciones, descripción de variación y Limpiar */
.cap-choice .cap-choice__hint,
.cap-choice .woocommerce-variation-description,
.cap-choice .reset_variations {
  display: none !important;
}

/*
 * Ocultar visualmente el nombre del atributo, por ejemplo Mayoreo.
 * Se conserva para accesibilidad y para identificar los botones.
 */
.cap-choice table.variations th.label,
.cap-choice table.variations td.label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Un solo precio visible */
.cap-choice.cap-choice--enhanced .woocommerce-variation-price {
  display: none !important;
}

.cap-choice .cap-choice__price {
  margin-bottom: 12px;
}

/* Menos separación alrededor de las presentaciones */
.cap-choice table.variations {
  margin-bottom: 10px !important;
}

.cap-choice table.variations tr {
  margin-bottom: 0;
}

.cap-choice .cap-choice__options {
  gap: 6px;
  margin: 0;
}

/* ------------------------------ Productos tienda -----------------------------*/

/* ======================================
   CAP · Página de catálogo
   ====================================== */

.cap-filter,
.cap-store {
  --cap-navy: #08284b;
  --cap-green: #568523;
  --cap-border: #e4eaf0;

  color: var(--cap-navy);
  font-family: inherit;
}

.cap-filter,
.cap-filter *,
.cap-store,
.cap-store * {
  box-sizing: border-box;
}

/* Filtros */

.cap-filter {
  padding: 22px;
  border: 1px solid var(--cap-border);
  border-radius: 16px;
  background: #fff;
}

.cap-filter h2 {
  margin: 0 0 24px;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
}

.cap-filter__field {
  min-width: 0;
  margin: 0 0 20px;
}

.cap-filter .cap-filter__field > label,
.cap-filter legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  color: var(--cap-navy);
  font-size: 13px;
  font-weight: 700;
}

.cap-filter input,
.cap-filter select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  background: #fff;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: 13px;
}

.cap-filter fieldset {
  padding: 0;
  border: 0;
}

.cap-filter__price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cap-filter__price-grid label {
  color: #607086;
  font-size: 12px;
}

.cap-filter__price-grid input {
  margin-top: 6px;
}

.cap-filter button.cap-filter__submit {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--cap-navy);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.cap-filter button.cap-filter__submit:hover {
  background: #164674;
}

.cap-filter a.cap-filter__clear {
  display: block;
  margin-top: 14px;
  color: #607086;
  font-size: 12px;
  text-align: center;
  text-decoration: underline;
}

/* Cabecera del catálogo */

.cap-store {
  min-width: 0;
  scroll-margin-top: 100px;
}

.cap-store__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.cap-store__header h2 {
  margin: 0;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.15;
}

.cap-store__header h2 span {
  color: var(--cap-green);
}

.cap-store__header p {
  margin: 0;
  color: #607086;
  font-size: 13px;
}

/* Tres columnas como la referencia */

.cap-store__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* Tarjeta */

.cap-store-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--cap-border);
  border-radius: 18px;
  background: #fff;
}

.cap-store-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  margin-bottom: 12px;
}

.cap-store .cap-store-card__image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  margin: 0;
  padding: 5px;
  object-fit: contain !important;
  object-position: center;
}

.cap-store-card__badge-row {
  min-height: 24px;
}

.cap-store-card__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--cap-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.cap-store-card__badge--muted {
  background: #718096;
}

.cap-store .cap-store-card__title {
  margin: 5px 0 20px;
  color: var(--cap-navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cap-store .cap-store-card__title a {
  color: inherit;
  text-decoration: none;
}

.cap-store .cap-store-card__title a:hover {
  text-decoration: underline;
}

/* Reutiliza el formulario CAP existente */

.cap-store-card > .cap-choice {
  margin-top: auto;
}

.cap-store .cap-choice__price {
  font-size: 19px;
}

/* Cantidad y compra en la misma línea cuando hay espacio */

.cap-store .cap-choice .single_add_to_cart_button {
  flex: 1 1 90px;
}

/* Sin resultados */

.cap-store__empty {
  padding: 28px;
  border: 1px solid #e4eaf0;
  border-radius: 14px;
  background: #f7f9fb;
  color: #08284b;
}

.cap-store__empty a {
  color: #08284b;
  text-decoration: underline;
}

/* Paginación */

.cap-store__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.cap-store__pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--cap-border);
  border-radius: 8px;
  background: #fff;
  color: var(--cap-navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.cap-store__pagination a:hover {
  background: var(--cap-navy);
  color: #fff;
}

.cap-store__pagination span {
  color: #607086;
  font-size: 12px;
}

.cap-filter :is(input, select, button, a):focus-visible,
.cap-store :is(a, button, input, select):focus-visible {
  outline: 2px solid #08284b;
  outline-offset: 3px;
}

/* Tablet */

@media (max-width: 1024px) {
  .cap-store__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Móvil */

@media (max-width: 600px) {
  .cap-filter {
    padding: 18px;
  }

  .cap-store__grid {
    gap: 10px;
  }

  .cap-store-card {
    padding: 10px;
    border-radius: 14px;
  }

  .cap-store-card__image {
    height: 135px;
  }

  .cap-store .cap-store-card__title {
    font-size: 13px;
  }

  .cap-store .cap-choice__price {
    font-size: 17px;
  }
}

@media (max-width: 350px) {
  .cap-store__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* CAP · Presentaciones en todos los listados */

.cap-choice.cap-choice--enhanced form.variations_form {
  width: 100%;
  margin: 0;
}

.cap-choice.cap-choice--enhanced table.variations,
.cap-choice.cap-choice--enhanced table.variations tbody,
.cap-choice.cap-choice--enhanced table.variations tr,
.cap-choice.cap-choice--enhanced table.variations td.value {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.cap-choice.cap-choice--enhanced table.variations {
  margin-bottom: 12px;
}

/* El grupo de botones conserva el nombre accesible del atributo. */
.cap-choice.cap-choice--enhanced .variations .label {
  display: none;
}

.cap-choice.cap-choice--enhanced .cap-choice__select-hidden,
.cap-choice.cap-choice--enhanced .reset_variations,
.cap-choice.cap-choice--enhanced .woocommerce-variation-description,
.cap-choice.cap-choice--enhanced .woocommerce-variation-price {
  display: none !important;
}

.cap-choice.cap-choice--enhanced .cap-choice__options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}

.cap-choice.cap-choice--enhanced button.cap-choice__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-width: 0;
  min-height: 34px;
  height: auto;
  margin: 0;
  padding: 7px 11px;

  border: 1px solid #08284b;
  border-radius: 999px;
  background: #fff;
  color: #08284b;
  box-shadow: none;

  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
}

.cap-choice.cap-choice--enhanced
button.cap-choice__option[aria-pressed="true"] {
  border-color: #568523;
  background: #568523;
  color: #fff;
}

.cap-choice.cap-choice--enhanced
button.cap-choice__option:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cap-choice.cap-choice--enhanced
button.cap-choice__option:focus-visible {
  outline: 2px solid #568523;
  outline-offset: 3px;
}

/* =========================================
   CAP · Botón de compra con icono de carrito
   ========================================= */

.cap-choice button.single_add_to_cart_button {
  position: relative;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  flex: 0 0 44px !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;

  padding: 0 !important;
  margin: 0;

  border: 1px solid #08284b !important;
  border-radius: 10px !important;
  background: #08284b !important;
  color: #fff !important;

  /* Oculta visualmente el texto sin eliminar su nombre accesible. */
  font-size: 0 !important;
  line-height: 0 !important;

  box-shadow: none !important;
  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

/* Icono */
.cap-choice button.single_add_to_cart_button::before {
  content: "";
  display: block;

  width: 22px;
  height: 22px;

  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h2l2.4 11.4A2 2 0 0 0 9.4 16H18a2 2 0 0 0 2-1.6L21 7H6'/%3E%3Ccircle cx='10' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* Evitar iconos adicionales del tema o WooCommerce */
.cap-choice button.single_add_to_cart_button::after {
  content: none !important;
}

.cap-choice button.single_add_to_cart_button:hover {
  background: #164674 !important;
  border-color: #164674 !important;
}

.cap-choice button.single_add_to_cart_button:focus-visible {
  outline: 3px solid #79ad40;
  outline-offset: 3px;
}

/* Presentación no disponible */
.cap-choice button.single_add_to_cart_button:disabled,
.cap-choice button.single_add_to_cart_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Indicador mientras se agrega al carrito */
.cap-choice form[aria-busy="true"]
button.single_add_to_cart_button {
  cursor: wait;
}

.cap-choice form[aria-busy="true"]
button.single_add_to_cart_button::before {
  width: 20px;
  height: 20px;

  border: 2px solid rgb(255 255 255 / 35%);
  border-top-color: #fff;
  border-radius: 50%;
  background: none;

  animation: cap-cart-loading 0.8s linear infinite;
}

@keyframes cap-cart-loading {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cap-choice button.single_add_to_cart_button {
    transition: none;
  }

  .cap-choice form[aria-busy="true"]
  button.single_add_to_cart_button::before {
    animation: none;
  }
}

/* CAP · Corregir texto superpuesto al icono */

.cap-choice button.single_add_to_cart_button {
  position: relative !important;
  overflow: hidden !important;

  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;

  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}

/* Ocultar también textos o iconos internos agregados por el tema */
.cap-choice button.single_add_to_cart_button > * {
  opacity: 0 !important;
}

/* Centrar el carrito independientemente del texto */
.cap-choice button.single_add_to_cart_button::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  margin: auto !important;

  display: block !important;
  width: 22px;
  height: 22px;

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
}

/* Mantener oculto el texto en todos los estados */
.cap-choice button.single_add_to_cart_button:hover,
.cap-choice button.single_add_to_cart_button:focus,
.cap-choice button.single_add_to_cart_button:active,
.cap-choice button.single_add_to_cart_button:disabled {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}

/* =====================================================
   CAP · Promociones por tipo de contenedor
   ===================================================== */

.cap-container-promos {
  --cap-promo-navy: #08284b;
  --cap-promo-green: #568523;
  --cap-promo-text: #435972;
  --cap-promo-border: #e9eef1;

  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas:
    "principal redondos"
    "principal abatibles";
  gap: 18px;

  width: 100%;
  max-width: 1320px;
  min-width: 0;
  margin-inline: auto;

  color: var(--cap-promo-navy);
  font-family: inherit;
}

.cap-container-promos,
.cap-container-promos * {
  box-sizing: border-box;
}

/* TARJETAS */

.cap-container-promos .cap-container-promos__card {
  position: relative;
  isolation: isolate;

  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;

  min-width: 0;
  min-height: 245px;
  padding: 28px 24px;

  overflow: hidden;
  border: 1px solid var(--cap-promo-border);
  border-radius: 20px;

  background:
    radial-gradient(
      ellipse at 90% 100%,
      rgb(213 221 216 / 30%),
      transparent 65%
    ),
    linear-gradient(125deg, #f5f7f8, #fff 65%, #f2f4f1);
}

.cap-container-promos .cap-container-promos__card--main {
  grid-area: principal;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(200px, 1fr);
  align-items: start;
  gap: 0;

  padding: 36px 32px 18px;
}

.cap-container-promos .cap-container-promos__card--round {
  grid-area: redondos;
}

.cap-container-promos .cap-container-promos__card--hinged {
  grid-area: abatibles;
}

/* TEXTOS */

.cap-container-promos .cap-container-promos__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  text-align: left;
}

.cap-container-promos .cap-container-promos__eyebrow {
  margin: 0 0 16px;
  color: var(--cap-promo-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cap-container-promos .cap-container-promos__title {
  margin: 0 0 12px;
  padding: 0;

  color: var(--cap-promo-navy);
  font-family: inherit;
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

.cap-container-promos .cap-container-promos__title span {
  color: var(--cap-promo-green);
}

.cap-container-promos
.cap-container-promos__card--main
.cap-container-promos__title {
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1.06;
}

.cap-container-promos .cap-container-promos__description {
  max-width: 285px;
  margin: 0 0 20px;

  color: var(--cap-promo-text);
  font-size: 14px;
  line-height: 1.5;
}

.cap-container-promos
.cap-container-promos__card--main
.cap-container-promos__description {
  max-width: 290px;
  font-size: 16px;
}

/* BOTONES */

.cap-container-promos a.cap-container-promos__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 12px 17px;

  border: 1px solid var(--cap-promo-navy);
  border-radius: 8px;
  background: var(--cap-promo-navy);
  color: #fff;

  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.cap-container-promos a.cap-container-promos__button:hover {
  border-color: #164674;
  background: #164674;
  color: #fff;
}

.cap-container-promos
.cap-container-promos__card--main
.cap-container-promos__button {
  min-height: 48px;
  padding: 13px 22px;
  font-size: 14px;
}

.cap-container-promos .cap-container-promos__button span {
  flex: 0 0 auto;
  font-size: 21px;
  line-height: 1;
}

.cap-container-promos a.cap-container-promos__button:focus-visible {
  outline: 3px solid #79ad40;
  outline-offset: 4px;
}

/* IMÁGENES */

.cap-container-promos .cap-container-promos__visual {
  position: relative;
  z-index: 1;

  display: grid;
  place-items: center;

  min-width: 0;
  width: 100%;
  height: 190px;
}

.cap-container-promos img.cap-container-promos__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;

  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;

  object-fit: contain;
  object-position: center;

  /*
   * Integra el blanco de las fotos sobre el fondo claro.
   * También funciona con imágenes transparentes.
   */
  mix-blend-mode: multiply;
}

.cap-container-promos
.cap-container-promos__card--main
.cap-container-promos__visual {
  justify-self: end;
  align-self: end;

  width: 78%;
  height: 265px;
  margin-top: -30px;
}

/* Composición Y-32B + S-20 */

.cap-container-promos .cap-container-promos__visual--pair {
  display: block;
  height: 190px;
}

.cap-container-promos img.cap-container-promos__image--bowl {
  position: absolute;
  top: 0;
  right: 0;

  width: 100%;
  height: 77%;
}

.cap-container-promos img.cap-container-promos__image--soup {
  position: absolute;
  right: 0;
  bottom: 0;

  width: 58%;
  height: 51%;
}

/* TABLET */

@media (max-width: 1100px) {
  .cap-container-promos {
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .cap-container-promos .cap-container-promos__card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 8px;
    padding: 22px 18px;
  }

  .cap-container-promos .cap-container-promos__card--main {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 24px 18px;
  }

  .cap-container-promos .cap-container-promos__title {
    font-size: 22px;
  }

  .cap-container-promos .cap-container-promos__description {
    font-size: 13px;
  }

  .cap-container-promos
  .cap-container-promos__card--main
  .cap-container-promos__visual {
    width: 100%;
    height: 250px;
    margin-top: 8px;
  }

  .cap-container-promos a.cap-container-promos__button {
    gap: 10px;
    padding-inline: 12px;
  }
}

/* MÓVIL: TARJETAS APILADAS */

@media (max-width: 767px) {
  .cap-container-promos {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "principal"
      "redondos"
      "abatibles";
    gap: 14px;
  }

  .cap-container-promos .cap-container-promos__card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    min-height: 225px;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .cap-container-promos .cap-container-promos__card--main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding: 28px 24px 18px;
  }

  .cap-container-promos
  .cap-container-promos__card--main
  .cap-container-promos__title {
    font-size: clamp(34px, 8vw, 44px);
  }

  .cap-container-promos
  .cap-container-promos__card--main
  .cap-container-promos__visual {
    width: 100%;
    height: clamp(200px, 55vw, 300px);
    margin-top: 12px;
  }

  .cap-container-promos .cap-container-promos__visual,
  .cap-container-promos .cap-container-promos__visual--pair {
    height: 175px;
  }
}

/* PANTALLAS MUY ESTRECHAS */

@media (max-width: 380px) {
  .cap-container-promos .cap-container-promos__card {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .cap-container-promos .cap-container-promos__visual {
    justify-self: center;
    max-width: 250px;
  }

  .cap-container-promos .cap-container-promos__title {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cap-container-promos a.cap-container-promos__button {
    transition: none;
  }
}

/* CAP · Separar las imágenes de contenedores redondos */

.cap-container-promos
.cap-container-promos__visual--pair {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

/* Eliminar la posición absoluta y el solapamiento */
.cap-container-promos
.cap-container-promos__visual--pair
img.cap-container-promos__image {
  position: static;
  inset: auto;

  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 175px;
  margin: 0;

  object-fit: contain;
  object-position: center;
}

/* Desfase suave, sin superponer los productos */
.cap-container-promos
.cap-container-promos__visual--pair
img.cap-container-promos__image--soup {
  transform: translateY(18px);
}

@media (max-width: 767px) {
  .cap-container-promos
  .cap-container-promos__visual--pair {
    gap: 8px;
  }

  .cap-container-promos
  .cap-container-promos__visual--pair
  img.cap-container-promos__image--soup {
    transform: translateY(10px);
  }
}

/* --------------------------- arreglo de desfase en movil -------------------------------*/

/* CAP · Corregir desbordamiento de los carruseles */

.cap-featured .cap-featured__track,
.cap-new ul.products {
  position: relative !important;
  min-width: 0;
  max-width: 100%;
}

/* Mantener los elementos internos dentro de cada producto */
.cap-choice {
  position: relative;
  min-width: 0;
}

/* Conservar las etiquetas accesibles sin extender la página */
.cap-featured .screen-reader-text,
.cap-new .screen-reader-text,
.cap-selection .screen-reader-text {
  position: absolute !important;

  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;

  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;

  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}