/* ============================
   ESTRUCTURA GENERAL DE PÁGINA
   ============================ */
body.page-template-page-distribuidores {
  overflow-x: hidden;
}

body.page-template-page-distribuidores .site,
body.page-template-page-distribuidores .site-content,
body.page-template-page-distribuidores .content-area,
body.page-template-page-distribuidores .site-main {
  display: block !important;
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box;
  overflow: visible !important;
}


/* ============================
   BOTÓN VER TODOS
   ============================ */
.btn-ver-todos {
  display: inline-block;
  background-color: #0055ff;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
  bottom: 8px !important;
}

.btn-ver-todos:hover {
  background-color: #003dcc;
}


/* ============================
   RECIÉN LLEGADOS
   ============================ */

.recien-llegados {
  max-width: 1280px;
  margin: 60px auto;
  padding: 0 10px;
}

.home-section .home-title{
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.productos-swiper {
  position: relative;
  padding: 0 8px 48px 8px;
}

.productos-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.productos-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.ver-todos-recien-llegados {
  margin-top: 30px;
  text-align: center;
}


/* ============================
   FLECHAS UNIFICADAS (TODOS LOS SLIDERS)
   ============================ */

.swiper-button-prev,
.swiper-button-next,
.banner-prev,
.banner-next,
.productos-prev,
.productos-next,
.marcas-prev,
.marcas-next,
.bolsas-prev,
.bolsas-next,
.empresas-relacionadas-prev,
.empresas-relacionadas-next {
  background-color: rgba(255, 255, 255, 0.5) !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(3px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.swiper-button-prev::after,
.swiper-button-next::after,
.banner-prev::after,
.banner-next::after,
.productos-prev::after,
.productos-next::after,
.marcas-prev::after,
.marcas-next::after,
.bolsas-prev::after,
.bolsas-next::after,
.empresas-relacionadas-prev::after,
.empresas-relacionadas-next::after {
  font-size: 16px !important;
  color: #000 !important;
  font-weight: bold !important;
}


/* ============================
   BANNER PRINCIPAL
   ============================ */
.banner-slider {
  max-width: 1280px;
  height: 650px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.banner-swiper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: auto;
}

.banner-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-slide {
  position: relative;
}

.banner-img {
  width: 100%;
  display: block;
  object-fit: cover;
  z-index: 0;
}

.banner-principal-btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: black;
  background: #fff;
  padding: 8px 20px;
  border-radius: 55px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.banner-principal-btn:hover {
  background: black;
  color: white;
}


/* ============================
   PROMOCIONES DEL MES
   ============================ */
.promo-layout {
  max-width: 1280px;
  margin: 60px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
  display: block;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 20px;
}

.promo {
  border-radius: 16px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.promo:hover {
  transform: scale(1.01);
}

.promo img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
  z-index: 0;
}

.promo .promo-btn {
  position: relative;
  z-index: 1;
  color: black;
  background: #fff;
  padding: 8px 20px;
  border-radius: 55px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  display: inline;
  align-items: flex-start;
  transition: 0.3s ease;
}

.promo .promo-btn:hover {
  background: black;
  color: white;
}

.promo-destacada {
  grid-row: span 2;
  grid-column: 1;
  flex-direction: column;
  justify-content: flex-end;
}

.promo-destacada .promo-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  background: rgba(255,255,255,0.88);
  width: 100%;
  border-radius: 0 0 16px 16px;
}

.promo-verde {
  grid-column: 2 / span 2;
  grid-row: 2;
}


/* ============================
   BANNER BOLSAS PROMOCIONALES
   ============================ */
.bolsas-slider {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.bolsas-swiper {
  position: relative;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border-radius: 12px;
}

.bolsas-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* ============================
   BANNERS INFORMATIVOS DOBLES
   ============================ */
.dobles-banners {
  max-width: 1280px;
  margin: 40px auto;
  display: flex;
  gap: 20px;
  padding: 0 20px;
}

.doble-banner {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

.doble-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.doble-banner:hover img {
  transform: scale(1.03);
}


/* ============================
   MARCAS RECONOCIDAS
   ============================ */

.marcas-title {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.marcas-prev,
.marcas-next {
  display: none !important;
}

.marca-img-slice {
  border: none !important;
}

/* ============================
   EMPRESAS RELACIONADAS
   ============================ */
.slider-empresas-relacionadas {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.empresas-relacionadas-swiper {
  position: relative;
  aspect-ratio: 3 / 1;
  max-height: 360px;
  overflow: hidden;
  border-radius: 12px;
}

.empresas-relacionadas-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}
