/* ================================
   KLARA · SECCIÓN MARCAS (FULL WIDTH)
   Desktop: 8 items · Móvil: 4
   ================================ */

/* Franja full width (manteniendo tu técnica 100vw) */
.klara-brand-section-full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background-color: #f8f8f2;
  /* CAMBIO */

  height: auto;
  padding: 18px 0 26px;

  display: flex;
  justify-content: center;
  align-items: center;

  margin-bottom: 60px;
  position: relative;
}

/* Evitar scroll horizontal típico de 100vw + scrollbar */
html,
body {
  overflow-x: clip;
}

/* Contenedor interno del tpl: tw-max-w-[1250px] → lo llevamos a 1350 */
.klara-brand-section-full .tw-max-w-\[1250px\] {
  width: 100%;
  max-width: 1350px;
  height: 100%;
  position: relative;

  display: flex;
  align-items: center;
}

/* Slider */
#splide_dbbrandslide {
  width: 100%;
  max-width: 1350px !important;
  margin: 0 auto;
  padding: 0 16px;
}

/* Quitar el padding inline del track */
#splide_dbbrandslide .splide__track {
  padding: 0 !important;
}

#splide_dbbrandslide .splide__list {
  align-items: center;
  justify-content: flex-start !important;
}

/* Slide centrado */
#splide_dbbrandslide .splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Círculos (base) */
.brand-circle-link {
  width: 118px !important;
  height: 118px !important;

  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;

  display: flex !important;
  align-items: center;
  justify-content: center;

  margin: 0 !important;
  flex-shrink: 0;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Escritorio desde 992px: más grandes */
@media (min-width: 992px) {
  .brand-circle-link {
    width: 130px !important;
    height: 130px !important;
  }
}

.brand-circle-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
}

.brand-circle-link img,
.brand-logo-circle {
  width: 70% !important;
  height: 70% !important;
  object-fit: contain !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

/* “Ver todas” abajo derecha */
.klara-brand-section-full>.tw-w-full>.tw-flex.tw-justify-end {
  position: absolute;
  right: 24px;
  bottom: -18px !important;
  margin: 0 !important;
  z-index: 20;
  width: auto;
}

.klara-brand-section-full>.tw-w-full>.tw-flex.tw-justify-end a {
  text-decoration: underline;
  font-weight: 700;
  color: #38758d;
  font-size: 14px;
}

/* Flechas */
#splide_dbbrandslide .splide__arrow {
  background: transparent !important;
  opacity: 1 !important;
}

#splide_dbbrandslide .splide__arrow svg {
  fill: #b0b0b0 !important;
  width: 2em !important;
  height: 2em !important;
  transition: fill 0.3s ease;
}

#splide_dbbrandslide .splide__arrow:hover svg {
  fill: #38758d !important;
}

/* ================================
   MÓVIL (4 visibles)
   ================================ */
@media (max-width: 575px) {
  .klara-brand-section-full {
    margin-bottom: 30px;
    padding: 14px 0 22px;
  }

  #splide_dbbrandslide {
    padding: 0 10px;
  }

  .brand-circle-link {
    width: 78px !important;
    height: 78px !important;
  }

  .brand-circle-link img,
  .brand-logo-circle {
    width: 72% !important;
    height: 72% !important;
  }

  #splide_dbbrandslide .splide__arrow {
    display: none !important;
  }

  .klara-brand-section-full>.tw-w-full>.tw-flex.tw-justify-end {
    right: 10px;
    bottom: 6px;
  }
}