html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.cont_drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
	
	border-radius: 20px 0 0 20px;
}

.cont_drawer.abierto {
  transform: translateY(0%);
}

.titulo_drawer {
	display: flex;
	flex-flow: column;
  padding: 60px 60px 0px;
  text-align: center;
	gap: 8px;
}


.titulo_drawer  h2{
   font-family: 'Roboto', sans-serif;
    font-size: 27px;
    line-height: 27px;
    color: #000;
    font-weight: 700;
}

.titulo_drawer  p{
       font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #000;
}

.cerrar_drawer {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Contenedor general del carrusel */
.drawer_carrusel-contenedor {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Dots arriba */
. cont_drawer.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
}

.cont_drawer .dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: #ccc;
  cursor: pointer;
}

.cont_drawer .dots button.activo {
  background: #000;
}

.cont_drawer .dots .dot{
	background: #000;
}

/* Contenedor del carrusel (con scroll) */
.drawer_carrusel-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Carrusel horizontal */
.cont_drawer_carrusel {
  display: flex;
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

/* Slide individual */
.drawer_slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer_slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Flechas */
.cont_drawer .flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  z-index: 2;
}

.cont_drawer .flecha-izquierda {
  left: 0;
}

.cont_drawer .flecha-derecha {
  right: 0;
}

.cont_drawer .flecha:hover {
    color: #817f7f;
}

/* Drawer en desktop */
@media (min-width: 970px) {
  .cont_drawer {
    width: 490px;
    height: 100%;
    right: 0;
    left: auto;
    bottom: 0;
    transform: translateX(100%);
  }

  .cont_drawer.abierto {
    transform: translateX(0%);
  }
	
	.cont_drawer .dots{
		display: none;
	}	
	
}

/* Overlay */
.overlay_drawer {
  display: none;
}

.overlay_drawer.activo {
  display: block;
  position: fixed;
  inset: 0;

  z-index: 999;
	backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(0, 0, 0, 0.6);
}



@media (max-width: 700px) {
	.cont_drawer{
		
		bottom: 0;
		top:auto;
		height: 90%;
		border-radius: 20px 20px 0 0;
	}
	
	
}



