@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
/* Importa Roboto desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
/* Importa Open Sans desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
/* Importa Lato desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,400;1,100;1,400;1,900&family=Oswald:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&family=Sometype+Mono&display=swap');


/*
font-family: 'Montserrat', sans-serif;
font-family: 'Roboto', sans-serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Lato', sans-serif;
font-family: 'Sometype Mono', monospace;
font-family: 'Heaters', sans-serif;
font-family: 'Helvetica', 'Arial', sans-serif;
*/


/* ================ variables =====================*/
:root {
    --header-height:3.5rem;

/* colors */
    --first-color: #229954;
    --second-color: #145A32;
    --black-color: #000;
    --secondary-black-color: #111;
    --black-color-light: hsl(0, 0%, 40%);
    --white-color: #fff;
    --title-color: #000;
    --text-color: hsl(0, 0%, 35%);
    --text-color-light: hsl(0, 0%, 64%);
    --body-color: #f5f5f5;
    --container-color: #ddd;

    /* ================font and tipografi=====================*/
    --body-font: 'Montserrat', sans-serif;
    --biggest-fony-size: 2.5rem;
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

/* ================ font weigt =================*/
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /* ================ z-index =================*/
    --z-tooltip: 10;
    --z-fixed: 100;

}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
    :root {
        --biggest-font-size: 4.5rem;
        --h1-font-size: 3rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*=============== BASE ===============*/
  * {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    transition: background-color .4s;
    margin: 0;
}

h1, h2, h3, h4 {
    color: var(--title-color);
    font-weight: var(--font-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.main {
    overflow: hidden; /* For animation ScrollReveal */
}

/* Animate scroll icon */
@keyframes scroll-down{
    0%{
        transform: translateY(-1rem);
        opacity: 0;
    }
    50%{
        transform: translateY(0);
        opacity: 1;
    }
    100%{
        transform: translateY(.6rem);
        opacity: 0;
    }
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
    width: 0.6rem;
    border-radius: .5rem;
    background-color: hsl(0, 0%, 65%);
}

::-webkit-scrollbar-thumb {
    border-radius: .5rem;
    background-color: hsl(0, 0%, 55%);
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(0, 0%, 45%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -50%;
    background-color: var(--black-color);
    display: inline-flex;
    padding: 8px;
    font-size: 1.25rem;
    color: var(--white-color);
    z-index: var(--z-tooltip);
    transition: bottom .4s, transform .4s, background-color .4s;
}

.scrollup:hover {
    transform: translateY(-.5rem);
}

/* Show Scroll Up */
.show-scroll {
    bottom: 3rem;
}

/*=============== REUSABLE CSS CLASSES ===============*/

.btn {
    padding: .75rem 2rem;
    font-size: 0.8rem;
    outline: none;
    border: none;
    cursor: pointer;
}

img {
    width: 100%;
    display: block;
}

.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding-block: 4rem 2rem;
}

.section__title-1, 
.section__title-2 {
    position: relative;
    font-size: var(--h1-font-size);
    width: max-content;
    font-family: 'Sometype Mono', monospace;
    margin: .75rem auto 2rem;
    color: var(--black-color);
}

.section__title-1 span, 
.section__title-2 span {
    z-index: 5;
    position: relative;
}

.section__title-2::after {
    top: initial;
    bottom: -4px;
}

.main {
    overflow: hidden; /* For animation ScrollReveal */
}

.section__container {
    max-width: 1200px;
    margin: auto;
}

/* ================ header y nav ===================*/

@media screen and (max-width:1150px) {
    .nav__menu {
        position: fixed;
        top: -100%;
        left: 0;
        background-color: hsl(0, 0%, 0%, .75);
        width: 100%;
        padding-block: 1.8rem 5rem;
        text-align: center;
        backdrop-filter: blur(8px);
        transition: top .4s;
    }
}

.header {
    position: sticky;
    width: 100%;
    top: 0;
    background-color: var(--white-color); /* Cambia el valor a var(--body-color) */
    z-index: var(--z-fixed);
    transition: box-shadow .4s, background-color .4s;
}

.nav {
    height: var(--header-height);
    justify-content: space-between;
}

marquee {
    background-color: #000;
}

.header__bar {
    padding: 1rem;
    font-size: 1rem;
    text-align: center;
    background-color: var(--black-color);
    color: var(--white-color);
    font-family: 'Lato', sans-serif;
}

.nav__container {
    width: 100%;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
}

.nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    margin: auto; /* Centrar horizontalmente */
    gap: 2rem;
    justify-content: center;
    padding: .5rem;
}

.nav__logo img {
    position: absolute;
    justify-content: center;
    align-items: center;
    left: 2rem;
}

.nav__logo img {
    display: grid;
    font-size: 1.5rem;
    width: 6rem; /* Establecer el ancho deseado para la imagen */
    height: auto; 
    top: -0.6rem;
}

.nav__item {
    display: flex;
    align-items: center;
}

.nav__item a {
    padding: 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.nav__item a:hover {
    color: var(--first-color);
    background-color: var(--black-color);
}

.lk{
    right: 3rem;
    position: absolute;
    right: 3.4rem;
    top: 0.3rem;
    font-size: .7rem;
    font-family: 'Helvetica', 'Arial', sans-serif;
    padding: 5px;
    display: flex;
    gap: 1rem;
}

.nav__link-extra p a:hover {
    text-decoration: underline;
}

.lk p a {
    color: var(--black-color);
}

.nav__iconos {
    position: absolute;
    display: flex;
    gap: 1.5rem;
    right: 4rem;
    align-items: center; /* Alinear verticalmente */
}

.nav__icons span {
    font-size: 1.4rem;
    cursor: pointer;
    color: #000;
}

.nav__icons:hover i {
    color: var(--first-color);
}


/*---------------- home ----------------*/

.home {
    background-color: var(--black-color);
    display: flex;
}

.home__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.home__cont {
    width: 90%;
}

.home__content {
    justify-content: center;
    position: absolute;
    left: 4rem;
    top: 40%;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.home__content p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
}

.home__content h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white-color);
}

.home__content .btn {
    background-color: var(--white-color);
    color: var(--black-color);
}

.home__content .btn:hover {
    color: var(--white-color);
    background-color: var(--second-color);
}

.home__slider {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
}

.slider img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.slider img:hover {
    transform: scale(1.01);
}

.slider {
    display: flex;
    overflow: hidden;
    top: 0;
}

.home__text {
    position: absolute;
    display: grid;
    background-color: #111;
    width: auto;
    top: auto;
    padding: 1rem;
    color: var(--white-color);
}

/*--------- SALE --------*/
/* Estilos para el título */
.descuentos__tittle-2 {
    font-size: var(--h2-font-size);
    color: var(--black-color);
    background-color: var(--body-color);
    text-align: center;
    padding: 1.5rem 0;
}

.descuentos__tittle-2 h2 {
    background-color: var(--body-color);
    color: var(--black-color);
    padding: 1.5rem;
    text-decoration: underline;
}

/* Contenedor principal */
.sale__container {
    background-color: var(--body-color);
    width: 80%;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Grid de tarjetas */
.sale__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Tarjeta de descuento */
.sale__card {
    position: relative;
    overflow: hidden;
    background-color: var(--black-color);
    color: var(--white-color);
    transition: background-color 0.3s, color 0.3s;
}

.sale__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.sale__title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sale__title span {
    font-size: 2.5rem;
    color: var(--white-color);
}

.sale__card p {
    font-weight: 600;
}

.sale__subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 200;
}

.sale__btn {
    color: var(--white-color);
    background-color: var(--black-color);
    padding: 0.5rem 1rem;
    text-transform: uppercase;
}

.sale__btn:hover {
    background-color: var(--white-color);
    color: var(--black-color);
}

/* Se agregan nuevas reglas para hover en la tarjeta */
.sale__card:hover {
    scale: 1px;
    color: var(--black-color);
    border: 1px solid var(--black-color);
}

.sale__card::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-100%);
    transition: transform 0.5s;  /* Agregado: especifica la propiedad a animar y la duración de la transición */
}

.sale__card:hover::before {
    transform: translateY(0);
}


/*------- carrusel -------*/
.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
  padding-bottom: 20px; /* Espacio para los controles de scroll */
}

.product-card {
    flex: 0 0 auto;
    margin-right: 20px;
    /* El resto de los estilos de la tarjeta de producto */
}


/*------------ productos card -------------*/

.title-popular {
    font-size: 0.5rem;
    color: var(--black-color);
    background-color: var(--body-color);
    text-align: center;
}

.product-card-container {
    display: flex;
    grid-template-columns: (4, 1 fr);
    justify-content: center;
    align-items: center;
    width: auto;
    gap: 2rem;
    padding: 4rem;
}

.product-card {
    width: 300px;
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
}

.product-card {
    transition: box-shadow 0.3s; /* Agrega transición para suavizar el efecto */
}

.product-card:hover {
    border: 1px solid #000; /* Agrega borde al hacer hover */
}

.product-image {
    flex: 1;
    position: relative;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.fav-but {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
}

.fav-but:hover {
    color: var(--white-color);
}

.price-box {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    color: var(--text-color);
}

.product-price {
    font-weight: bold;
    margin: 0;
}

.product-info {
    flex: 1;
    padding: 20px;
}

.product-name {
    font-weight: 1;
    margin: 0;
    font-size: 18px;
}

.product-description {
    font-size: 16px;
    color: var(--text-color);
    padding: 1rem 0;
}

.product-price {
    font-weight: bold;
    margin: 10px 0;
}

.product-button {
    position: absolute;
    right: 0;
    top: 5rem;
    padding: 10px 15px;
    background-color: red;
    color: var(--white-color);
    border: none;
    cursor: pointer;
}

.product-button:hover {
    background-color: var(--black-color);
}

.envio-d {
    font-weight: 16px;
    font-size: 14px;
    text-decoration: underline;
}


    /* ===================  about    =======================*/

.info__container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background-color: var(--white-color);
}

.info {
    max-width: 1250px;
    width: 100%;
}

.section__title-2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    text-decoration: underline;
}

.about-container {
    display: flex;
    gap: 20px; /* Espacio entre las secciones */
}

.about {
    flex: 1;
    background-color: var(--body-color);
    padding: 20px;
}

.about p {
    margin: 0;
    line-height: 1.6;
    color: #333;
}


/*------------ extra           ----------*/
.extra__about {
    background-color: var(--black-color);
    display: flex;
}

.extra__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.extra-cont {
    width: 90%;
}

.extra__content {
    justify-content: center;
    position: relative;
    top: 30%;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.extra__content p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
}

.extra__content h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white-color);
}

.extra__content .btn {
    background-color: purple;
    color: var(--white-color);
}

.extra__content .btn:hover {
    color: purple;
    background-color: var(--white-color);
}

.extra__slider {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
}

.slider-x img {
    width: 100%;
    height: auto;
}

.slider-x {
    display: flex;
    overflow: hidden;
    top: 0;
}

.extra__text {
    position: absolute;
    display: grid;
    background-color: #111;
    width: auto;
    top: auto;
    padding: 1rem;
    color: var(--white-color);
}


/*------------ footer ---------------**/
/* Estilos generales del footer */
.footer {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer__section {
    margin-bottom: 20px;
}

.footer__title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__link {
    color: var(--white-color);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--green-color); /* Cambia al color verde cuando se pasa el ratón por encima */
}

.footer__copy {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.footer__copy a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer__copy a:hover {
    color: var(--green-color); /* Cambia al color verde cuando se pasa el ratón por encima */
}


/*--------------- extra -------------------*/
.home-h {
    background-color: rgb(255, 208, 122);
    display: flex;
}

.home__container-h {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.home__cont-h {
    width: 90%;
}

.home__content-h {
    justify-content: center;
    position: absolute;
    left: 4rem;
    top: 40%;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.home__content-h p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.home__content-h h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--second-color);
}

.home__slider-h {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
}

.slider-h img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.slider-h img:hover {
    transform: scale(1.01);
}

.slider-h {
    display: flex;
    overflow: hidden;
    top: 0;
}


.home-m {
    background-color: rgb(255, 30, 30);
    display: flex;
}

.home__container-m {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.home__cont-m {
    width: 90%;
}

.home__content-m {
    justify-content: center;
    position: absolute;
    left: 4rem;
    top: 40%;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.home__content-m p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--black-color);
    margin-bottom: 0.5rem;
}

.home__content-m h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white-color);
}

.home__slider-m {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
}

.slider-m img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.slider-m img:hover {
    transform: scale(1.01);
}

.slider-m {
    display: flex;
    overflow: hidden;
    top: 0;
}


.home-a {
    background-color: #f44500;
    display: flex;
}

.home__container-a {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.home__cont-a {
    width: 90%;
}

.home__content-a {
    justify-content: center;
    position: absolute;
    left: 38rem;
    top: 40%;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.home__content-a p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--black-color);
    margin-bottom: 0.5rem;
}

.home__content-a h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white-color);
}

.home__slider-a {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
}

.slider-a img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.slider-a img:hover {
    transform: scale(1.01);
}

.slider-a {
    display: flex;
    overflow: hidden;
    top: 0;
}

/*------------ productos card -------------*/

.productos-hombre {
    text-align: center; /* Centrar el texto del título */
}

.title-h-m {
    margin-bottom: 20px;
    padding: 4rem; /* Espacio entre el título y las tarjetas */
}

.title-h-m h2 {
    text-decoration: underline;
    color: #000;
}

.pruducttos-h-m-container {
    display: flex;
    flex-wrap: wrap; /* Permite que las tarjetas se envuelvan cuando no hay suficiente espacio */
    justify-content: center; /* Centrar las tarjetas horizontalmente */
}

.product-card-h-m {
    width: calc(25% - 20px); /* Ancho del 25% para que las cuatro tarjetas se ajusten */
    margin: 25px; /* Espacio entre las tarjetas */
    /* Otros estilos de la tarjeta... */
}


.title-h-m {
    justify-content: center;
    align-items: center;
}

.pruducttos-h-m-container {
    background-color: var(--body-color);
    width: 100%;
    margin: 0 auto;
    padding: 1px 0;
}

.title-popular-h-m {
    font-size: 0.5rem;
    color: var(--black-color);
    background-color: var(--body-color);
    text-align: center;
}

.product-card-container-h-m {
    display: flex;
    grid-template-columns: (4, 1 fr);
    justify-content: center;
    align-items: center;
    width: auto;
    gap: 4rem;
    padding: 8rem;
}

.product-card-h-m {
    width: 260px;
    background-color: var(--white-color);
    overflow: hidden;
}

.product-card-h-m {
    transition: box-shadow 0.3s; /* Agrega transición para suavizar el efecto */
}

.product-card-h-m:hover {
    border: 1px solid #000; /* Agrega borde al hacer hover */
}

.product-image-h-m {
    flex: 1;
    position: relative;
}

.product-image-h-m img {
    width: 100%;
    height: auto;
    display: block;
}

.fav-but-h-m {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
}

.fav-but-h-m:hover {
    color: var(--white-color);
}

.price-box-h-m {
    position: absolute;
    top: 14.5rem;
    left: 5px;
    background-color: var(--white-color);
    padding: 5px 10px;
    color: var(--text-color);
}



.product-price-h-m {
    font-weight: bold;
    margin: 0;
}

.product-info-h-m {
    flex: 1;
    padding: 20px;
}

.product-name-h-m {
    font-weight: 1;
    margin: 0;
    font-size: 18px;
}

.product-description-h-m {
    font-size: 16px;
    color: var(--text-color);
    padding: 1rem 0;
}

.product-price-h-m {
    font-weight: bold;
    margin: 10px 0;
}

.product-button-h-m {
    position: absolute;
    right: 0;
    top: 5rem;
    padding: 10px 15px;
    background-color: red;
    color: var(--white-color);
    border: none;
    cursor: pointer;
}

.product-button-h-m:hover {
    background-color: var(--black-color);
}

.envio-d-h-m {
    font-weight: 16px;
    font-size: 14px;
    text-decoration: underline;
}


/* ------------    NEWS     ----------------*/
.news {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: 40px;
    padding: 2rem;
}

.card-news {
    width: 280px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card-news:hover {
    border: 1px solid var(--black-color);
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-info {
    padding: 15px;
}

.news-name {
    font-size: 18px;
    margin: 0;
}

.news-description {
    font-size: 14px;
    color: #555;
}

.news-d {
    margin-top: 10px;
    font-size: 12px;
    color: green;
}


@media screen and (max-width: 340px) {
    

}

@media screen and (min-width: 576px) {

}

@media screen and (min-width: 768px) {

}

/* For large devices */
@media screen and (min-width: 1150px) {

}