@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;900&display=swap');

/* Al inicio de tu style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Media queries básicas */
@media screen and (max-width: 768px) {
    .container {
        width: 90%;
        margin: 0 auto;
    }
    
    .grid {
        grid-template-columns: 1fr !important;
    }
    
    .homecont {
        flex-direction: column;
    }
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}


html {
    scroll-behavior: smooth;
}

body {
    margin: 3.5rem 0 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: .938rem;
    background: #171717;
    color: #fff;
}

h1, h2, h3, h4 {
    color: #fff;
    font-weight: 600;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input {
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: .938rem;
}

.section {
    padding: 4.5rem 0 2rem;
}

.stitle {
    font-size: 2.25rem !important;
    margin-bottom: 2rem;
    text-align: center;
}

.container {
    max-width: 968px;
    margin: 0 1.5rem;
}

.grid {
    display: grid;
}

.main {
    overflow: hidden;
}


.header {
    width: 100%;
    background: #171717;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.nav {
    height: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navL {
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-weight: 500;
}

.navL-img {
    width: 1.25rem;
}

.navLink ,
.navL ,
.navToggle,
.navClose {
    color: #fff;
}

.navToggle {
    font-size: 1.25rem;
    cursor: pointer;
}


@media screen and ( max-width: 767px) {
       .navM {
           position: fixed;
           width: 100%;
           background: #0c0b0b;
           top: -150%;
           left: 0;
           padding: 3.5rem 0;
           transition: .4s;
           z-index: 100;
           border-radius: 0 0 1.5rem 1.5rem;
       } 
}

.navClose {
    font-size: 1.8rem;
    position: absolute;
    top: .5rem;
    right: .7rem;
    cursor: pointer;
}

.navList {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1.5rem;
}

.navLink {
    text-transform: uppercase;
    font-weight: 600;
    transition: .4s;
}

.navLink:hover {
    color: #fff;
}

.show-menu {
    top: 0;
}
.scroll-header {
    background: #0c0b0b;
}

.active-link {
    position: relative;
}

.active-link::before {
    content: '';
    position: absolute;
    bottom: -.75rem;
    left: 45%;
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
}

.home {
    position: relative;
    isolation: auto;
    width: 100%;
    overflow: hidden;
    padding: 4rem 0; /* Agrega padding vertical */
}

/* Fondo que cubre TODA la sección (borde a borde) */
.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/WhatsApp Image 2026-05-05 at 8.24.18 PM.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: -1;
}

/* El contenido sigue centrado por container */
.home .container {
    position: relative;
    z-index: 1;
}

.homecont {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas en desktop */
    align-items: center;
    gap: 2rem;
}

.homeg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.homeimg {
    width: 100%; /* Cambiado de 200% a 100% */
    max-width: 500px; /* Tamaño máximo */
    height: auto;
    object-fit: contain; /* Cambiado de cover a contain */
}

.homet {
    font-size: 4rem;
    font-weight: 900;
    line-height: 109%;
    margin-bottom: 1rem;
}

.homedes {
    margin-bottom: 1rem;
}

.homebut {
    display: flex;
    gap: 10px; /* Mejor que margin-right */
    flex-wrap: wrap; /* Para que los botones se acomoden en móvil */
}

/* Media queries para responsividad */
@media screen and (max-width: 992px) {
    .homet {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .home {
        padding: 2rem 0;
    }
    
    .homecont {
        grid-template-columns: 1fr; /* Una columna en móvil */
        text-align: center;
    }
    
    /* Invertir orden: imagen primero, texto después */
    .homeg {
        order: -1; /* Imagen aparece primero */
    }
    
    .homedata {
        order: 1; /* Texto después */
    }
    
    .homeimg {
        width: 70%; /* Tamaño más pequeño para móvil */
        max-width: 350px;
        margin: 0 auto;
    }
    
    .homet {
        font-size: 2.5rem;
    }
    
    .homebut {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .homeimg {
        width: 80%;
        max-width: 280px;
    }
    
    .homet {
        font-size: 2rem;
    }
    
    .homebut {
        flex-direction: column;
        align-items: center;
    }
    
    .homebut a {
        width: 100%;
        text-align: center;
    }
}

.button {
    display: inline-block;
    background-color: #C9A24A;
    color: #fff;
    padding: 1rem 1.75rem;
    border-radius: .5rem;
    font-weight: 500;
    transition: .3s;
}

.button:hover {
    background-color: #C9A24A;
}

.buttonicon {
    font-size: 1.25rem;
}

.catcontainer {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
}

.catdata {
    text-align: center;
}

.catimg {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 1rem;   /* Esquinas redondeadas suaves */
    margin-bottom: .75rem;
    transition: .3s;
}

.cattitle {
    margin-bottom: .25rem;
}

.catdata:hover .catimg {
    transform: translateY(-.5rem);
}

.abcontainer {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

.abdata {
    text-align: center;
}

.abdes {
    margin-bottom: 2rem;
}

.aboutimg {
    width: 100%;
    height: 700px; /* 🔥 clave */
    object-fit: cover;
    object-position: top;
    border-radius: 16px;
}

/* Estilos para igualar tamaño de imágenes en Nuevos Productos */
.newcontent img {
    width: 100%;
    height: 350px; /* Mismo alto que .productimg-wide */
    object-fit: cover; /* Mantiene proporción sin deformar */
    border-radius: 1.5rem;
    background-color: #0c0b0b;
    padding: 0.5rem;
    transition: .3s;
}

/* Hover opcional para mantener consistencia */
.newcontent:hover img {
    transform: scale(1.02);
}

/* Ajustes para tablet (mismo que productos) */
@media screen and (min-width: 768px) {
    .newcontent img {
        height: 320px;
    }
}

/* Ajustes para desktop (mismo que productos) */
@media screen and (min-width: 1200px) {
    .newcontent img {
        height: 360px;
    }
}

/* Ajustes para móviles pequeños (mismo que productos) */
@media screen and (max-width: 576px) {
    .newcontent img {
        height: 280px;
    }
}

/* Clases personalizadas para la sección de productos - Tamaño ancho */

/* Contenedor principal más ancho */
.pdcontainer-wide {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-top: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Marco/tarjeta más ancho y alto */
.pdcontent-wide {
    position: relative;
    background: #0c0b0b;
    border-radius: 2rem;
    padding: 1rem 0 1rem 0;
    text-align: center;
    overflow: visible;
    min-height: 480px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Imagen más grande y completamente visible */
.productimg-wide {
    width: 100%;
    height: 350px;
    transition: .3s;
    object-fit: cover;
    border-radius: 1.5rem;
    margin-bottom: 1rem;
    background-color: #0c0b0b;
    padding: 0.5rem;
}



/* Versión aún más grande para desktop */
@media screen and (min-width: 768px) {
    .pdcontainer-wide {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .pdcontent-wide {
        max-width: 380px;
        min-height: 460px;
    }
    
    .productimg-wide {
        height: 320px;
    }
}

@media screen and (min-width: 1200px) {
    .pdcontainer-wide {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        max-width: 1300px;
    }
    
    .pdcontent-wide {
        max-width: 380px;
        min-height: 480px;
    }
    
    .productimg-wide {
        height: 360px;
    }
}

/* Opcional: Efecto hover manteniendo la imagen visible */
.pdcontent-wide:hover .productimg-wide {
    transform: scale(1.02);
    transition: .3s;
}

/* Ajustes para móviles pequeños */
@media screen and (max-width: 576px) {
    .pdcontainer-wide {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pdcontent-wide {
        max-width: 320px;
        min-height: 440px;
    }
    
    .productimg-wide {
        height: 280px;
    }
}

.dscont {
    background: #0c0b0b;
    border-radius: 1rem;
    padding: 2.5rem 0 1.5rem;
    row-gap: .75rem;
}

.disdata {
    text-align: center;

}

.distitle {
    font-size: 2.rem;
    margin-bottom: 3rem;
}

.disimg {
    width: 200px;
    justify-self: center;
}

.newcont {
    padding-top: 1rem;
}

.newimg {
    width: 120px;
    margin-bottom: .5rem;
    transition: .3s;
}

.newcontent {
    position: relative;
    background: #0c0b0b;
    width: 242px;
    padding: 2rem 0 1.5rem 0;
    border-radius: .75rem;
    text-align: center;
    overflow: hidden;
}

.newtag {
    position: absolute;
    top: 8%;
    left: 8%;
    background-color: #C9A24A;
    color: #fff;
    font-size: .813rem;
    padding: .25rem .5rem;
    border-radius: .25rem;
}

.newti {
    font-size: .938rem;
    font-weight: 500;

}

.newsub {
    display: block;
    font-size: .813rem;
    margin-bottom: .5rem;
}

.newps {
    display: inline-flex;
    align-items: center;
    column-gap: .5rem;
}

.newpri {
    font-weight: 500;
    color: #fff;
}

.newdis {
    color: #8C6A2A;
    font-size: .75rem;
    text-decoration: line-through;
    font-weight: 500;
}

.newbu {
    display: inline-flex;
    padding: .5rem;
    border-radius: .25rem .25rem .75rem .25rem;
    position: absolute;
    bottom: 0;
    right: -3rem;
}

.newicon {
font-size: 1.25rem;
}

.newcontent:hover .newimg {
    transform: translateY(-.5rem);
}

.newcontent:hover .newbu {
    right: 0;
}

.newsld {
    text-align: center;
    margin-bottom: 1.5rem;
}

.newslf {
    background: #C9A24A;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    border-radius: .75rem;
}

.newslin {
    width: 70%;
    padding: 0 .5rem;
    background: none;
    color: #fff;
}

.button2 {
    display: inline-block;
    background: #8C6A2A;
    color: #fff;
    padding: 1rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: .3s;
}

.newslin::placeholder {
    color: #fff;
}

.footer {
    position: relative;
    overflow: hidden;

}

.ftcontainer {
    row-gap: 2rem;
}

.footerL
{
    display: flex;
    align-items: center;
    column-gap: .5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #fff;
}

.footerL-img {
    width: 20px;
}

.footerdescription {
    margin-bottom: 2.5rem;
}

.footersocial {
    display: flex;
    column-gap: .75rem;
}

.footersocial-link{
    display: inline-flex;
    background: #0c0b0b;
    padding: .25rem;
    border-radius: .25rem;
    color: #fff;
    font-size: 1rem;
}
.footersocial-link:hover {
    background-color: #C9A24A;
}
.ftti {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.ftli{
    display: grid;
    row-gap: .35rem;
}

.ftrli {
    font-size: .813rem;
    color: #fff;
    transition: .3s;
}
.ftrli:hover {
    color: #C9A24A;

}

.footercopy {
    display: block;
    text-align: center;
    font-size: .75rem;
    margin-top: 4.5rem;
}

.scrollup {
    position: fixed;
    background: #0c0b0b;
    right: 1rem;
    bottom: -20%;
    display: inline-flex;
    padding: .3rem;
    border-radius: .25rem;
    z-index: 10;
    opacity: .8;
    transition: .4s;
}

.scrollupicon{
    font-size: 1.25rem;
    color: #fff;
}

.scrollup:hover {
    background: #f9580e;
    opacity: 1;
}

.show-scroll {
    bottom: 3rem;
}


::-webkit-scrollbar {
    width: 0.6rem;
}
::-webkit-scrollbar-thumb {
    background: #272525;
    border-radius: .5rem;
}

/*BREAKPOINTS*/

@media screen and (max-width: 320px) {
    .container {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .homeimg{
        height: 200px;
    }
    .homebut {
        flex-direction: column;
        width: max-content;
        row-gap: 1rem;
    }
    .catcontainer,
    .pdcontainer
    {
        grid-template-columns: .8fr;
        justify-content: center;

    }
}

@media screen and (min-width: 576px) {
    .abcontainer{
        grid-template-columns: .8fr;
        justify-content: center;
    }
    .newslc {
        display: grid;
        grid-template-columns: .7fr;
        justify-content: center;
    }
    .newld {
        padding: 0 3rem;
    }
}

@media screen and (min-width: 767px)  {
    body {
        margin: 0;
    }

    .section {
        padding: 7rem 0 2rem;
    }

    .nav {
        height: calc(3.5rem + 1.5rem);
    }
    .navClose,
    .navToggle {
        display: none;
    }
    .navList {
        flex-direction: row;
        column-gap: 3rem;
    }
    .navLink {
        text-transform: initial;
        font-weight: initial;
    }

    .homecont {
        padding: 8rem 0 2rem;
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }

    .homeimg {
        height: 300px;
    }
    .catcontainer {
        grid-template-columns: repeat(3, 200px);
        justify-content: center;

    }
    .abcontainer {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .abti,
    .abdata
    {
        text-align: initial;

    }

    .aboutimg {
        width: 250px;
    }

    .pdcontainer{
        grid-template-columns: repeat(3, 200px);
        justify-content: center;
        gap: 2rem;
    }

    .dscont {
        grid-template-columns: repeat(2, max-content);
        justify-content: center;
        align-items: center;
        column-gap: 3rem;
        padding: 3rem 0;
        border-radius: 3rem;
    }

    .disimg {
        width: 350px;
        order: -1;
    }
    .disdata {
        padding-right: 6rem;

    }
    .newslc {
        grid-template-columns: .5fr;
    }
    .ftcontainer {
        grid-template-columns: repeat(4, 1fr);
        justify-items: center;
        column-gap: 1rem;
    }

}

@media screen and (min-width: 992px) {

    .container{
        margin-left: auto;
        margin-right: auto;
    }

    .stitle {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }
    .homecont {
        padding-top: 9rem;
        gap: 3rem;
    }
    .homeg{
        padding-top: 50px;
    }
    .homeimg {
        height: 300px;
        transform: translateY(-3rem);
    }
    .homet{
        margin-bottom: 1.5rem;
    }
    .homedes {
        margin-bottom: 2.5rem;
        padding-right: 2rem;
    }
    .catcontainer{
        column-gap: 8rem;
    }
    .catimg {
        width: 200px;
    }
    .abcontainer {
        column-gap: 7rem;
    }
    .aboutimg {
        width: 350px;
    }
    .abdes {
        padding-right: 2rem;

    }

    .pdcontainer {
        gap: 3.5rem;
    }
    .pdcontent {
        border-radius: 1.5rem;
    }
    .productimg {
        width: 110px;
    }
    .pdtitle {
        font-size: 1rem;
    }

    .dscont {
        column-gap: 7rem;
    }
    .newcontent {
        width: 310px;
        border-radius: 1rem;
        padding: 2rem 0;
    }
    .newimg {
        width: 150px;
    }
    .newimg,
    .newsub {
        margin-bottom: 1rem;
    }
    .newti {
        font-size: 1rem;
    }
    .footercopy {
        margin-top: 6rem;
    }
}

@media screen and (min-width: 1200px)  {

    .homeimg {
        height: 420px;
    }
    

}

.footer {
    padding: 100px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Contenedor del formulario */
.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Inputs y textarea */
.campo {
    width: 300px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #2a2a2a;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.campo::placeholder {
    color: #aaa;
}

/* Inputs en fila (nombre + email) */
.form-group > div {
    display: flex;
    gap: 1rem;
}

/* Textarea más ancho */
textarea.campo {
    width: 100%;
    max-width: 620px;
}

/* Botón estilo igual a newsletter */
.btn-1 {
    margin-top: 20px;
    background-color: #C9A24A;
    color: #fff;
    padding: 14px 40px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.btn-1:hover {
    background-color: #d93b00;
}

.fooster h2{
    color: #fff;
}

/* Sección about con fondo de borde a borde */
.about {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Contenedor del fondo (borde a borde) */
.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/Mariposas en un arbol.jpg'); /* ← Cambia por tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px); /* Borroso solo en el fondo */
}

/* El contenido se mantiene centrado y legible */
.about .container {
    position: relative;
    z-index: 1;
}

/* Ajuste para que la imagen no pierda contraste */
.aboutimg {
    position: relative;
    z-index: 1;
}

