@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

}

body {
    max-width: 1500px;
    margin: 0 auto;
    font-family: "Poppins", sans-serif;
    background-color: #fff;
}
img {
    max-width: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.header::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(40px);
    z-index: -1;
}

.header::after { 
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
    transition: .5s;
}

.header:hover::after {
    left: 100%;
}

.logo-img {
    height: 100px;
    width: 200px;
}

.navbar a {
    font-size: 1.15rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
}

#check {
    display: none;
}

.icons {
    font-size: 2.8rem;
    right: 5%;
    color: #fff;
    cursor: pointer;
    display: none;
}


@media (max-width: 992px) {
    .header{
        padding: 1.3rem 5%;
    }
}

@media (max-width: 768px) {
    .icons{
        display: inline-flex;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }
    
    .icons #close-icon {
        display: none;
    }

        #check:checked~.icons #close-icon {
        display: block;
        }

    .navbar {
        position: absolute ;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0, 0, 0, .1);
        backdrop-filter: blur(40px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        transition: .3s ease;
        overflow: hidden;
    }
    
    #check:checked~.navbar {
    height: 17.7rem;
    }

    .navbar a {
        display: block;
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: center;
        transform: translateY(-50px);
        transition: .3s ease;
    }
    
    #check:checked~.navbar a {
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
        }
}
/*==========================Cuerpo=========================*/
.container-title{
    padding: 30px;
    background-color: #efefef;
    margin-bottom: 50px;
    margin-top: 100px;
    font-size: 30px;
    color: #222;
}

main {
    display: flex;
    gap: 30px;
    margin-bottom: 80px;
}

.container-img {
    background-color: #f7f7f9;
    flex: 1;
}

.container-info-product {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0px 0px;
    width: 100%;

}
@media(min-width:768px) {

    .container-info-product {
        width: 275px;
    }
    .container-info-product a img {
        width: 250px;
    }
}
@media(min-width:768px) {

    .container-info-product{
        margin: 0px 60px;
    }
}

.container-price {
    padding-bottom: 20px;
    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;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}
.form-group label {
    width: 100px;
    color: #222;
    font-family: 700;

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

.hidden {
    display: none;
}

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

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

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

.text-description {
    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 {
    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: 1pxc 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;
}

/*=================== BOTON CARRITO ===============*/
.cart-button {
	position: relative;
	padding: 10px;
	width: 200px;
	height: 60px;
	border: 0;
	border-radius: 10px;
	background-color: #4834d4;
	outline: none;
	cursor: pointer;
	color: #fff;
	transition: .3s ease-in-out;
	overflow: hidden;
}

.cart-button:hover {
	background-color: #35269b;
}

.cart-button:active {
	transform: scale(.9);
}

.cart-button .fa-shopping-cart {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: -10%;
	font-size: 2em;
	transform: translate(-50%,-50%);
}

.cart-button .fa-box {
	position: absolute;
	z-index: 3;
	top: -20%;
	left: 52%;
	font-size: 1.2em;
	transform: translate(-50%,-50%);
}
.cart-button span {
	position: absolute;
	z-index: 3;
	left: 50%;
	top: 50%;
	font-size: 1.2em;
	color: #fff;
	transform: translate(-50%,-50%);
}
.cart-button span.add-to-cart {
	opacity: 1;
}
.cart-button span.added {
	opacity: 0;
}

.cart-button.clicked .fa-shopping-cart {
	animation: cart 1.5s ease-in-out forwards;
}
.cart-button.clicked .fa-box {
	animation: box 1.5s ease-in-out forwards;
}
.cart-button.clicked span.add-to-cart {
	animation: txt1 1.5s ease-in-out forwards;
}
.cart-button.clicked span.added {
	animation: txt2 1.5s ease-in-out forwards;
}
@keyframes cart {
	0% {
		left: -10%;
	}
	40%, 60% {
		left: 50%;
	}
	100% {
		left: 110%;
	}
}
@keyframes box {
	0%, 40% {
		top: -20%;
	}
	60% {
		top: 40%;
		left: 52%;
	}
	100% {
		top: 40%;
		left: 112%;
	}
}
@keyframes txt1 {
	0% {
		opacity: 1;
	}
	20%, 100% {
		opacity: 0;
	}
}
@keyframes txt2 {
	0%, 80% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/*=================== ALL FOOTER ===================*/
.container {
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    background: none;
    justify-content: center;
}

.iconst {
    background: #ecf0f3;
    box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
    height: 55px;
    width: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.container a {
    text-decoration: none;
}

.iconst:hover {
    background: #ecf0f3;
    box-shadow: inset -3px -3px 7px #ffffff, inset 3px 3px 5px #ceced1;
}

a.container {
    color: none
}

.facebook {
    color: rgb(68, 68, 224);
    font-size: 25px;
}

.instagram {
    color: rgb(126, 51, 145);
    font-size: 25px;
}

.tiktok {
    color: rgb(14, 11, 11);
}

.pie-pagina{
    width: 100%;
    background-color: #000000;
}

.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}

.pie-pagina .grupo-1 .box figure{
    height: 200px;
    width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-pagina .grupo-1 .box h2{
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}

.pie-pagina .grupo-1 .NOSOTROS h2{
    text-align: center;
    width: 200px;
    color: #b28405;
    margin-bottom: 25px;
    font-size: 20px;
}

.pie-pagina .grupo-1 .NOSOTROS p{
    text-align: center;
    width: 200px;
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}


.pie-pagina .grupo-1 .box figure img{
    width: 300px;
    height: 200px;
}
.pie-pagina .grupo-1 .ubicacion h2{
    margin-bottom: 20px;
    color: #b28405;
}

.pie-pagina .grupo-1 .ubicacion p{
    text-align: center;
    color: #fff;
}

.pie-pagina .grupo-1 .box h2{
    color: #b28405;
    margin-bottom: 25px;
    font-size: 20px;
}

.pie-pagina .grupo-1 .box p{
    color: #efefef;
    margin-bottom: 10px;
}

.pie-pagina .grupo-2{
    background-color: #0a1a2a;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}
.pie-pagina .grupo-2 small{
    font-size: 15px;
}

@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}

.footer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}
/*=============================================================*/
