/* Wrapper general del carousel de promociones */
.promotion-carousel-wrapper {
  width: 100%;
  margin: 37px auto 40px;
  font-family: "Helvetica Neue", sans-serif;
  text-align: center;
  background-color: #f4f4f4;
}

/* Limitar ancho en desktop */
@media (min-width: 1024px) {
  .promotion-carousel-wrapper {
    max-width: 80vw;
  }
}

/* Header */
.promotion-header {
  margin-bottom: 40px;
}

.promotion-title {
  font-size: 2rem;
  font-weight: 600;
  color: #303b92;
  margin-bottom: 20px;
}

/* Contador regresivo */
.contador-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 37px;
  @media (max-width:768px) {
    display: none;
    
  }
}

.contador-circle-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #303b92;
}

.contador-circle-group .circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: bold;
  color: #f4f4f4;
}

.contador-circle-group .circle.blue {
  background: #203a8f;
}
.contador-circle-group .circle.red {
  background: #e30613;
}

.circle.blue span,
.circle.red span {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0.03em;
  text-align: center;
}

.contador-circle-group .label {
  margin-top: 8px;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: #383f45;
  text-align: center;
}

/* Contenedor del carousel */
.promotion-carousel-container {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
  padding-bottom: 50px;
}

/* Swiper */
.promotion-carousel,
.promotion-carousel .swiper-wrapper,
.promotion-carousel .swiper-slide {
  padding-bottom: 50px;
}

.promotion-carousel .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 10px;
}

/* Card de producto */
.product-card {
  background: #FFF;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  width: 100%;
  max-width: 340px;
  height: 416px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 20px;
}

.product-image {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-image img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

.product-info {
  padding: 10px 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 5px;
}

.product-tags .marca-vehiculo {
  background: #203a8f;
  color: #fff;
  padding: 2px 15px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
}
.product-tags .tipo-producto {
  background: #e30613;
  color: #fff;
  padding: 2px 15px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
}

.product-cod {
  font-size: 0.85rem;
  color: #383f45;
  margin-bottom: 5px;
}
.product-title {
  font-family: "Helvetica Neue";
  font-weight: 700;
  font-size: 16px;
  color: #383f45;
}
.product-price {
  font-size: 1.5rem;
  color: #303b92;
  margin: 5px 0;
}
.product-detail-btn {
  font-size: 0.9rem;
  color: #666;
  text-decoration: underline;
  margin-top: 5px;
  display: inline-block;
}

.add-to-cart-fab {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  border: none;
  background: none;
  transition: background 0.3s;
}
.add-to-cart-fab:hover {
  background-color: #003bb3;
}

/* Botones personalizados */
.custom-swiper-button {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.promotion-prev {
  left: -55px;
}
.promotion-next {
  right: -55px;
}

.custom-swiper-button,
.custom-swiper-button:focus,
.custom-swiper-button:active,
.custom-swiper-button:hover {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: 1 !important;
  filter: none !important;
}

@media (max-width: 1024px) {
  .promotion-prev {
    left: -15px;
  }
  .promotion-next {
    right: -15px;
  }
}

@media (max-width: 768px) {
  .custom-swiper-button {
    display: none;
  }
  .contador-container {
    flex-wrap: wrap;
    gap: 15px;
  }
  .contador-circle-group .circle {
    width: 60px;
    height: 60px;
    font-size: 18px;
  }
  .promotion-carousel .swiper-slide {
    flex-direction: column;
    align-items: center;
    padding: 0 5px;
  }
  .product-card {
    max-width: 90%;
    height: auto;
    margin-bottom: 15px;
  }
  .product-info {
    padding: 10px;
  }
  .product-detail-btn {
    font-size: 0.85rem;
  }
  .promotion-title {
    font-size: 1.5rem;
  }
  .custom-swiper-button {
    width: 35px;
    height: 35px;
  }
  .promotion-prev {
    left: -30px;
  }
  .promotion-next {
    right: -30px;
  }
}

/* Paginación */
.promotion-carousel .swiper-pagination-bullet {
  width: 10.83px;
  height: 10.83px;
  background-color: transparent;
  border: 1px solid #203a8f;
  border-radius: 50%;
  margin: 0 4px;
  transition:
    background-color 0.3s,
    transform 0.3s;
}
.promotion-carousel .swiper-pagination-bullet-active {
  background-color: #203a8f;
  border: 1px solid #203a8f;
}
.promotion-carousel .swiper-pagination-bullet:hover {
  background-color: #203a8f;
  transform: scale(1.2);
  cursor: pointer;
}
