@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;500;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Ubuntu';
	max-width: 100%;
	margin: 0 auto;
}

img {
	max-width: 100%;
}

header{
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #FF0099, #00D4FF); /* Fucsia a Azul Neón */
}
h3{ 
    text-align: center;
}
.ir,button{
    background-color: black; 
    color: white; 
    padding: 15px 10px; 
    cursor: pointer; 
    border: none; 
    border-radius: 5px;
}
.menu{
    z-index: 1000;
    position:relative;
    display: flex;
    align-items: center;
}
.usuario{
    position:relative;
    display: flex;
    align-items: center;
}
.usuario img{
    margin: 20 auto 20px;
    height:50px;
    width: 55px;
    max-width: 90px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.usuario img:hover {
    transform: scale(1.1);
}
.menuBar{
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #fff;
    width: 180px;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.20);
    border-radius: 10px;
}
.menuBar button{
    padding: 5px 5px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    margin: 5px;
    width: 150px;
}
.icon-cart{
    width: 40px;
    height: 40px;
    stroke: #000;
    cursor: pointer;              /* Cambia el cursor al de 'mano' */
    transition: background 0.2s; 
}

.carrito{
    position: relative;
    z-index: 1000; /* Asegura que esté sobre el carrusel */
    
}

.count-products{
    position: absolute;
    top: 55%;
    right: 0;
    background-color: #000;
    color: #fff;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;              /* Cambia el cursor al de 'mano' */
    transition: background 0.2s; 
}
.clickeable:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
    transform: scale(1.05);
}
.clickeable:active {
    transform: scale(0.95);
}

#contador-productos{
    font-size: 12px;
}

.container-cart-products{
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #fff;
    width: 400px;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.20);
    border-radius: 10px;
    
}

.cart-product{
    display: flex;
    flex-direction: column; /* Acomoda los elementos en columna (de arriba hacia abajo) */
    gap: 10px; /* Espacio entre los elementos */
    padding: 10px;
    max-width: 400px; /* Ajusta el ancho si es necesario */
    border-bottom: 1px solid rgba(0, 0, 0, 0.20);

}

.info-cart-product{
    display: flex;
    justify-content: space-between;
    flex: 0.8;
}

#carrito-productos{
    font-weight: 700;
    font-size: 20px;
    margin-left: 10px;
}

.cantidad-producto-carrito{
    font-weight: 400;
    font-size: 20px;
}

.closed{
    padding: 5px 9px;
    border: none;
    cursor: pointer;
    margin: 20px;
    width: 50px;
    height: 50px;
}

.icon-close:hover{
    stroke: red;
    cursor: pointer;
}

.cart-total{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    font-size: 20px;
    font-weight: 900;
}
.carrito button{
    padding: 5px 9px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    margin: 20px;
    width: 350px;
}

.hidden-cart{
    display: none;
}

.carrito button:hover{
    background-color: #FF0099; /* Cambia a Fucsia Neón */
    box-shadow: 0px 6px 15px rgba(255, 0, 153, 0.6);
}
/* Contenedor del carrito */
.carrito {
    position: relative;
    z-index: 1000;
}

/* Contador de productos en el carrito */
.count-products {
    position: absolute;
    top: 50%;
    right: -10px;
    background: linear-gradient(45deg, #FF0099, #007bff);
    color: white;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 0, 153, 0.4);
}

/* Contenedor del carrito flotante */
.container-cart-products {
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #fff;
    width: 400px;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.20);
    border-radius: 10px;
}
/* Mostrar carrito cuando esté activo */


/* Productos en el carrito */
.cart-product {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    max-width: 400px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

/* Información de cada producto */
.info-cart-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Texto del carrito */
#carrito-productos {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

/* Cantidad del producto */
.cantidad-producto-carrito {
    font-weight: 500;
    font-size: 18px;
    color: #555;
}

/* Botón de cerrar carrito */
.closed {
    padding: 5px;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: transparent;
    transition: transform 0.2s ease;
}

.closed:hover {
    transform: rotate(90deg);
}

.icon-close {
    width: 30px;
    height: 30px;
    stroke: #FF0099;
    transition: stroke 0.2s ease;
}

.icon-close:hover {
    stroke: red;
}

/* Total del carrito */
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 20px;
    font-weight: 900;
    color: #333;
}

/* Botones del carrito */
.carrito button {
    padding: 12px 15px;
    background: linear-gradient(90deg, #007bff, #FF0099);
    color: white;
    border: none;
    cursor: pointer;
    width: 300px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0px 4px 10px rgba(255, 0, 153, 0.3);
}

/* Efecto hover en botones */
.carrito button:hover {
    background: linear-gradient(90deg, #FF0099, #007bff);
    transform: scale(1.05);
}

/* Efecto de botón presionado */
.carrito button:active {
    transform: scale(0.98);
}

/* Contenedor del menú */
.menu-lateral {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    background-color: #333;
    padding: 10px 0;
    border-radius: 0 10px 10px 0;
    z-index: 1000;
}

/* Estilo de los ítems del menú */
.menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    color: white;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.menu-item:hover {
    background-color: #555;
}

/* Tooltip (Texto lateral) */
.tooltip {
    position: absolute;
    left: 100%;
    background-color: #333;
    color: white;
    padding: 10px;
    white-space: nowrap;
    border-radius: 5px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(10px);
}

.menu-item:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
.container-title {
	color: #222;
	padding-bottom: 45px;
}

main {
	display: flex;
	padding: 5%;
	gap: 30px;
	margin-bottom: 80px;
    height: 900px;
}






.container-info-product {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.container-price {
	padding-bottom: 20px;
	border-bottom: 1px solid #e4e4e4;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.container-price span {
	font-size: 24px;
	font-weight: 300;
}

.container-details-product {
	padding: 30px 0;
}

.form-group {
	display: flex;
	gap: 20px;
	margin-bottom: 15px;
	flex-direction: column;
}

.form-group label {
	width: 100px;
	color: #222;
	font-weight: 700;
}

.form-group select {
	width: 300px;
	border: none;
	padding: 12px 15px;
	background-color: #f7f7f7;
	outline: none;
	color: #666;
}

.btn-clean {
	border: none;
	background: none;
	color: #666;
	margin-left: 120px;
	cursor: pointer;
}

.btn-clean:hover {
	color: #1bbeb4;
}

.container-add-cart {
	display: flex;
	gap: 20px;
	padding-bottom: 30px;
	border-bottom: 1px solid #e4e4e4;
}

.container-quantity {
	position: relative;
}

.input-quantity {
	background-color: #f7f7f7;
	border: none;
	padding: 10px;
	width: 60px;
	height: 100%;
	color: #666;
	font-weight: 500;
	line-height: 0;
}

.input-quantity:focus {
	outline: none;
}

.input-quantity::-webkit-inner-spin-button,
.input-quantity::-webkit-outer-spin-button {
	-webkit-appearance: none;
	appearance: none;
}

.btn-increment-decrement {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 7px;
	right: 7px;
}

.btn-increment-decrement i {
	font-size: 11px;
	color: #666;
	cursor: pointer;
}

.fa-chevron-down:hover {
	color: #1bbeb4;
}

.fa-chevron-up:hover {
	color: #1bbeb4;
}

.agregar-carrito {
	border: none;
	background-color: #252525;
	padding: 10px;
	color: #f7f7f7;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-weight: 700;
	cursor: pointer;
}

.agregar-carrito:hover {
	color: #1bbeb4;
}

.hidden {
	display: none;
}

.container-description,
.container-additional-information,
.container-reviews {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid #e4e4e4;
	padding: 10px 0;
}

.title-description,
.title-additional-information,
.title-reviews {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}

.title-description h4,
.title-additional-information h4,
.title-reviews h4 {
	font-weight: 300;
	color: #666;
	font-size: 14px;
}

.text-description,
.text-additional-information,
.text-reviews {
	font-size: 13px;
	color: #252525;
	line-height: 22px;
	margin-top: 25px;
}

.container-social {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	align-items: center;
	border-bottom: 1px solid #e4e4e4;
}

.container-social span {
	font-weight: 300;
	color: #252525;
}

.container-buttons-social {
	display: flex;
	gap: 15px;
	align-items: center;
}

.container-buttons-social a:link,
.container-buttons-social a:visited {
	color: #666;
	font-size: 15px;
}

.container-buttons-social a:hover {
	color: #1bbeb4;
}

.container-related-products h2 {
	text-align: center;
	margin-bottom: 30px;
}

.card-list-products {
	padding: 5%;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}

.card {
	cursor: pointer;
}

.card-img {
	background: transparent;
	margin-bottom: 15px;
}

.card-img img {
	height: 400px;
	object-fit: cover;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.info-card {
	display: flex;
	justify-content: space-between;
}

.text-product {
	color: #252525;
	font-weight: 300;
	line-height: 1.4;
}

.text-product h3{
    color: inherit;
    font-weight: inherit;
    font-size: 15px;
}

.text-product h3:hover{
    color: #1bbeb4;
}

.text-product p{
    color: #666;
    font-size: 13px;
}

.text-product p:hover{
    color: #1bbeb4;
}
.carousel-container {
    position: relative;
    width: 670px;
    max-width: 80vh;
    height: 650px;
    max-height: 80vh;
    margin: auto;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    display: none;
    justify-content: center;
    align-items: center;
}

.carousel-item.active {
    display: block;
}

.carousel-img {
    height: 650px;
    max-height: 80vh;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    z-index: 1000;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.zoom-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.zoom-img {
  
    object-fit: cover;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
}

footer {
	background-color: black;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;

}

