/** Home tienda */
.home-shop {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  gap: 4rem;
  max-width: 1536px;
}
.imagen-home {
  width: 100%;
}

.sectionPrincipal {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2rem;
  margin-top: 20px;
}

@media (max-width: 800px) {
  .sectionPrincipal {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
}
@media (min-width: 900px) {
  .home-shop {
    padding-left: 7rem;
    padding-right: 7rem;
  }
  .imagen-home {
    width: 50%;
  }
}

@media (min-width: 1200px) {
  .home-shop {
    padding-left: 12rem;
    padding-right: 12rem;
  }
  .imagen-home {
    width: 50%;
  }
}

.home-shop h1 {
  font-size: 4.5rem /* 72px */;
  line-height: 1;
  font-weight: 800;
  font-family: Barlow, sans-serif;
  text-align: center;
}

/** seccion de productos */
.sectionGDGShop {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
  border-radius: 1.5rem;
}

.productos {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.titleShop {
  font-size: 2.5rem;
  border-bottom: 4px solid #c41212; /* Color corporativos-red */
  font-weight: 800;
  text-transform: uppercase;
  font-family: "Barlow", sans-serif;
  line-height: 1.2;
}

/** caja de producto */

.product-link {
  display: block;
  width: 16rem;
  max-width: 16rem;
  height: 24rem;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  transition: transform 0.3s ease;
  font-family: "DM Sans", sans-serif;
  text-decoration: none !important;
  z-index: 1;
}

@media (max-width: 1200px) {
  .product-link {
    display: block;
    width: 18rem;
    max-width: 18rem;
    height: 16rem;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    font-family: "DM Sans", sans-serif;
    text-decoration: none !important;
    z-index: 1;
  }
}

@media (max-width: 800px) {
  .product-link {
    display: block;
    width: 19rem;
    max-width: 19rem;
    height: 18rem;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    font-family: "DM Sans", sans-serif;
    text-decoration: none !important;
    z-index: 1;
  }
}
.product-link:hover {
  transform: scale(1.05);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.product-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.product-info {
  text-align: center;
  color: white;
}

.product-restaurant {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: bold;
  text-transform: uppercase;
}

.product-city,
.product-name {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: bold;
}

.product-name {
  text-wrap: wrap;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 500;
}

.product-limited-edition {
  background-color: rgba(196, 18, 18, 0.4);
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  margin-top: 1rem;
}

.product-price {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 300;
  color: white;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.5rem;
  background-color: #696151;
  z-index: 2;
  margin: 0px;
}

.product-regular-price {
  font-size: 0.875rem;
  font-weight: 200;
  text-decoration: line-through;
  margin-right: 0.5rem;
}

.product-sale {
  font-size: 1.125rem;
  font-weight: normal;
  color: white;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5rem;
  z-index: 2;
  background-color: #c41212;
}

.productos {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/** Filtros Home **/
/* Estilos para el contenedor principal */
.w-full {
  width: 100%;
}

.max-w-sm {
  max-width: 30%; /* Equivalente a max-w-sm de Tailwind */
}
@media (max-width: 800px) {
  .max-w-sm {
    max-width: 100%; /* Equivalente a max-w-sm de Tailwind */
  }
}
/* Estilos para el componente MyDisclosure */
.my-disclosure {
  margin-bottom: 1.5rem; /* Espacio entre cada componente MyDisclosure */
  font-family: Barlow, sans-serif;
}

/* Estilos para el panel de divulgación */
.overflow-hidden {
  overflow: hidden;
}

.transition {
  transition: all 0.3s ease;
}

/* Estilos para el encabezado del panel de divulgación */
.disclosure-header {
  cursor: pointer;
  user-select: none;
  /* background-color: #f3f3f3; */
  padding: 0rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.875rem !important;
  line-height: 2.25rem;
  font-weight: 400 !important;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
}

/* Estilos para el panel de divulgación interno */
.disclosure-panel {
  display: none;
  flex-direction: column;
  gap: 0.75rem; /* Equivalente a gap-3 de Tailwind */
  transform-origin: top;
}

.disclosure-panel.open {
  display: flex;
}

.only-link {
  cursor: pointer;
  user-select: none;
  /* background-color: #f3f3f3; */
  padding: 0.5rem 0rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.875rem !important;
  line-height: 2.25rem;
  font-weight: 400 !important;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}

.only-link:hover {
  font-weight: 700 !important;
  color: inherit !important;
}

/* Estilos para los enlaces */
.custom-link {
  padding: 0.5rem 1rem; /* Equivalente a px-8 py-1 de Tailwind */
  border-radius: 1rem; /* Equivalente a rounded-2xl de Tailwind */
  font-size: 1.25rem; /* Equivalente a text-2xl de Tailwind */
  font-weight: 300; /* Equivalente a font-light de Tailwind */
  text-decoration: none;
  color: inherit; /* Hereda el color del texto */
  transition: background-color 0.3s, color 0.3s, font-weight 0.3s;
}

.custom-link:hover {
  background-color: #c41212; /* Color de fondo en hover equivalente a hover:bg-[color] de Tailwind */
  color: #f3f4f6; /* Color del texto en hover equivalente a hover:text-[color] de Tailwind */
  font-weight: 700;
  padding: 0.5rem 1rem !important; /* Equivalente a hover:font-bold de Tailwind */
}

/** Favoritos de dani */
.favorites-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  /* padding: 2rem; */
  border-radius: 1rem;
}

.favorites-header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 768px) {
  .favorites-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .filtrosgap {
    gap: 15px;
  }
}
.favorites-title {
  font-size: 2.5rem;
  border-bottom: 4px solid #e53e3e; /* Color corporativos-red */
  font-weight: 800;
  text-transform: uppercase;
}

.favorites-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 2.5rem;
}

.favorite-item {
  max-width: 16rem;
  /* background-color: #96938c; 
  padding: 1rem;
  border-radius: 1rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
  text-align: center;
  font-family: Barlow, sans-serif;
  text-decoration: none !important;
}

.favorite-item:hover {
  transform: translateY(-1rem);
}

.favorite-image {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

.favorite-description {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
  gap: 0.5rem;
  background-color: #96938c;
  padding: 1rem;
  border-radius: 1rem;
  margin-top: -25px;
  z-index: -1;
  min-height: 190px;
}

.favorite-name {
  font-size: 1.5rem /* 24px */ !important;
  line-height: 2rem /* 32px */ !important;
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
  position: relative;
}

.favorite-name::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 2px;
  background-color: #e53e3e;
  bottom: -0.5rem;
  left: 10%;
}

.favorite-location {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  text-align: left;
}

.location-text {
  font-size: 1rem;
  color: #fff;
  font-weight: 300;
  font-style: italic;
  width: 100%;
}

.location-list {
  font-size: 1rem;
  color: #fff;
  font-weight: 900;
  width: 100%;
}
.noUi-connect {
  background: #c41212 !important;
}

.slider-styled,
.slider-styled .noUi-handle {
  box-shadow: none !important;
}

/* Hide markers on slider handles */
.slider-styled .noUi-handle::before,
.slider-styled .noUi-handle::after {
  display: none !important;
}

#price-range .noUi-handle {
  height: 18px !important;
  width: 18px !important;
  top: -2px !important;
  right: -9px !important;
  border-radius: 9px !important;
}

.slider-styled .noUi-handle .noUi-touch-area {
  border: 1px solid transparent !important;
  position: absolute !important;
  top: -10px !important;
  left: -10px !important;
  right: -10px !important;
  bottom: -10px !important;
  width: auto !important;
  height: auto !important;
}

/* Show a border when hovering the area the handle responds to */
.slider-styled .noUi-handle:hover .noUi-touch-area {
  border: 1px dashed #7f7f7f !important;
}

.noUi-target {
  background: #cfcbbe !important;
  box-shadow: none !important;
}
#slider-no-overlap .noUi-handle-lower {
  right: 0;
}
#slider-no-overlap .noUi-handle-upper {
  right: -34px;
}

.noUi-handle:before,
.noUi-handle:after {
  display: none !important;
}

.iconDisclosure {
  margin-right: 10px;
  transition: transform 0.3s;
}

.iconDisclosure.openDisclosure {
  transform: rotate(180deg);
}

.onsale {
  display: none !important;
}

.carousel-inner img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.skeleton-loading {
  background: linear-gradient(90deg, #f4f4f4 25%, #e0e0e0 50%, #f4f4f4 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  height: 200px; /* Ajusta según el tamaño de tus imágenes */
  width: 100%;
  position: relative;
}

.skeleton-loading img {
  visibility: hidden;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
