/* Versión escritorio: Se mantiene la imagen predeterminada */
@media (min-width: 769px) {
  .loop-bundle-image-container.loop-img-fit {
    content: url('https://cdn.shopify.com/s/files/1/0899/0877/3202/files/Diseno_sin_titulo_22.jpg?v=1749628718') !important;
  }
}

/* Otros estilos (sin cambios) */
.loop-text-p1.loop-bundle-total-label-disabled.bundle_total_label {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.loop-display-saved-total {
  background: transparent !important;
}

.faq-with-background {
  background-color: #E6E0DB;
  padding: 20px;
  border-radius: 8px;
}

/* Botón */
.btn.loop-btn.loop-btn-add-product:hover {
  background-color: #c78670 !important;
}

/* 🔹 Mantener el fondo transparente SIEMPRE y el total en negro antes de los 22€ */
.loop-text-p1.m-0.loop-bundle-total-label.bundle_total_label {
    background: transparent !important;
    color: black !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-weight: bold;
    display: block !important;
    opacity: 1 !important;
}

/* 🔹 Cambiar el color a blanco SOLO cuando el total supere los 22€ */
.bundle-total-container.exceeded-limit .loop-text-p1.m-0.loop-bundle-total-label.bundle_total_label {
    color: white !important;
}

/* 🔹 Asegurar que el total del carrito NUNCA esté oculto */
.bundle_total_label {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 🔹 Ocultar el total duplicado en móviles */
.bundle_total_label_mobile {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
}

.loop-category-list {
  display: flex;
  justify-content: space-between;
  max-width: 850px;
  margin: 0 auto;
}

.loop-category-item {
  width: 30%;
  text-align: center;
}

.loop-category-item img {
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.loop-category-item p {
  font-size: 11px;
  font-weight: 500;
  margin-top: 5px;
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .loop-category-item {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .loop-category-item {
  }
}

.carousel-item {
  overflow: hidden;
  position: relative;
}

.carousel-item img {
  transition: transform 0.5s ease, transform-origin 0.5s ease;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.carousel-item:hover img {
  transform: scale(2);
  transform-origin: center;
}

.header-container {
  margin-bottom: 10px;
}

.loop-h2.loop-bundle-select-product-title {
  margin-top: 50px;
  margin-bottom: 20px;
}

.loop-bundle-image-container-wrapper {
  margin-top: 60px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loop-bundle-image-container {
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loop-bundle-image-container img {
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.loop-category-list-container {
  margin-top: 10px;
}

/* Responsivo */
@media (max-width: 768px) {
  .loop-bundle-image-container-wrapper {
    margin-top: 10px;
    margin-bottom: -60px;
    border-radius: 8px;
  }

  .loop-h2.loop-bundle-select-product-title {
    margin-top: 30px;
  }

  .loop-category-list-container {
    margin-top: -5px;
  }
}

@media (max-width: 768px) {
  .loop-bundle-image-container {
    max-width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
  }

  .loop-bundle-image-container img.loop-img-fit {
    height: auto;
    max-height: 500px;
    object-fit: cover;
    content: url('https://cdn.shopify.com/s/files/1/0899/0877/3202/files/Copia_de_tapper_banner_principal_375_x_192_px_375_x_230_px_1320_x_257_px_1140_x_225_px_375_x_230_px.png?v=1740056724');
    border-radius: 8px;
  }
}

/* MARITO CODE */

.loop-img-fit {
  object-fit: cover;
}

@media only screen and (max-width: 600px) {
  .loop-image-product-lg img {
    object-fit: cover !important;
    height: 100% !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .loop-img-fit {
    object-fit: cover !important;
  }

  .btn.loop-btn.loop-btn-add-product.loop-btn-size-md.loop-btn.px-3 {
    width: 90% !important;
    margin-bottom: 10px !important;
  }

  .loop-bundle-product-card {
    padding: 0 !important;
  }

  .loop-bundle-image-container {
    display: none !important; 
  }

  .loop-category-list-container {
    margin-left: 0px !important;
    width: 100% !important;
    margin-top: 5px !important;
  }

  /* Eliminar contenido de arriba */
  .loop-bundle-select-product-title.d-flex.justify-content-center.align-items-center.flex-column.pt-4 {
    display: none !important;
  }

  .loop-bundle-image-container.loop-img-fit {
    display: none !important;
  }

  .loop-bundle-image-container-wrapper.d-flex.justify-content-center.align-items-center.flex-column {
    display: none !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }

  .loop-bundle-image-container-wrapper {
    display: none;
  }

  .loop.d-flex {
    display: flex !important; /* Fixed display value */
  }
}

/* Ocultar la imagen específica del bundle */
img[src*="bundle-images%2F164eb5517d8a0de605f9bf917b105c24"] {
    display: none !important;
}

/* También ocultar el contenedor de la imagen si quieres */
#CartBundleItem-1 > div[style*="display:flex"] > div[style*="text-align:center"] {
    display: none !important;
}

.loop-bundle-select-product-title, .loop-bundle-image-container-wrapper{ display: none } 