﻿*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
    background:#000;
    color:#fff;
}

a{
    text-decoration:none;
}

/* NAVBAR */

.navbar{
    width:100%;
    background:#111;
    padding:15px 25px;
    position:sticky;
    top:0;
    z-index:1000;
    border-bottom:2px solid #ffcc00;
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    color:#ffcc00;
    font-size:24px;
    font-weight:700;
    letter-spacing:1px;
}

.menu-toggle{
    font-size:28px;
    color:#ffcc00;
    cursor:pointer;
}

.menu{
    position:absolute;
    top:70px;
    right:20px;
    background:#111;
    width:220px;
    border-radius:10px;
    overflow:hidden;
    display:none;
    box-shadow:0 0 15px rgba(255,204,0,0.3);
}

.menu a{
    display:block;
    padding:15px;
    color:#fff;
    border-bottom:1px solid rgba(255,255,255,0.1);
    transition:0.3s;
}

.menu a:hover{
    background:#ffcc00;
    color:#000;
}

.menu.active{
    display:block;
}



/* PRODUCTOS */

.products{
    padding:40px 20px 80px;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    max-width:1300px;
    margin:auto;
}

.product-card{
    background:#111;
    border-radius:18px;
    overflow:hidden;
    transition:0.3s;
    border:1px solid rgba(255,204,0,0.2);
}

.product-card:hover{
    transform:translateY(-5px);
    box-shadow:0 0 20px rgba(255,204,0,0.3);
}

.product-image{
    width:100%;
    height:250px;
    overflow:hidden;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.4s;
}

.product-card:hover img{
    transform:scale(1.05);
}

.product-info{
    padding:20px;
}

.product-info h3{
    font-size:20px;
    margin-bottom:10px;
}

.price{
    color:#ffcc00;
    font-size:22px;
    font-weight:600;
    margin-bottom:18px;
}

.btn{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:#ffcc00;
    color:#000;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
    font-size:15px;
}

.btn:hover{
    background:gold;
}

/* RESPONSIVE */


/* =========================
   MODAL FLOTANTE CENTRADO
========================= */

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    /* Fondo oscuro transparente */
    background: rgba(0, 0, 0, 0.6);

    /* CENTRAR */
    justify-content: center;
    align-items: center;

    padding: 20px;
}

/* CONTENIDO DEL MODAL */
.modal-content {
    background: #fff;
    width: 100%;
    max-width: 850px;

    border-radius: 20px;

    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr 1fr;

    position: relative;

    animation: modalShow 0.3s ease;

    /* estilo tipo tarjeta */
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* IMAGEN */
.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFO */
.modal-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* BOTON CERRAR */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;

    font-size: 32px;
    cursor: pointer;

    color: #333;
}

/* PRECIO */
.modal-price {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin: 15px 0;
}

/* BOTON WHATSAPP */
.whatsapp-btn {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: #25D366;
    color: white;

    padding: 14px 20px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}

/* ANIMACION */
@keyframes modalShow {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* RESPONSIVE */
@media(max-width: 768px){

    .modal-content{
        grid-template-columns: 1fr;
        max-width: 95%;
    }

    .modal-image{
        height: 300px;
    }
}

/* =========================
   MODAL TIENDA MODERNA
========================= */

.modal{
    display:none;
    position:fixed;
    z-index:999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.75);
    justify-content:center;
    align-items:center;
    padding:20px;
}

/* TARJETA PRINCIPAL */
.modal-content{
    background:#111;
    width:100%;
    max-width:900px;
    border-radius:18px;
    overflow:hidden;

    display:grid;
    grid-template-columns: 1fr 1fr;

    box-shadow:0 0 40px rgba(255,204,0,0.15);

    animation:pop .3s ease;
}

/* ANIMACION */
@keyframes pop{
    from{
        transform:scale(0.9);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

/* =========================
   MODAL TIENDA MODERNA
========================= */

.modal{
    display:none;
    position:fixed;
    z-index:999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.75);
    justify-content:center;
    align-items:center;
    padding:20px;
}

/* TARJETA PRINCIPAL */
.modal-content{
    background:#111;
    width:100%;
    max-width:900px;
    border-radius:18px;
    overflow:hidden;

    display:grid;
    grid-template-columns: 1fr 1fr;

    box-shadow:0 0 40px rgba(255,204,0,0.15);

    animation:pop .3s ease;
}

/* ANIMACION */
@keyframes pop{
    from{
        transform:scale(0.9);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

/* IMAGEN */
.modal-image{
    background:#000;
    display:flex;
    align-items:center;
    justify-content:center;
}

.modal-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* INFO DERECHA */
.modal-info{
    padding:30px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:12px;
}

/* TITULO */
#modalName{
    font-size:26px;
    color:#ffcc00;
    margin:0;
}

/* PRECIO */
.modal-price{
    font-size:22px;
    font-weight:700;
    color:#fff;
    background:rgba(255,204,0,0.1);
    padding:10px 15px;
    border-left:4px solid #ffcc00;
    border-radius:8px;
}

/* DESCRIPCION */
#modalDescription{
    color:#ddd;
    line-height:1.5;
    font-size:15px;
}

/* BOTON WHATSAPP */
.whatsapp-btn{
    margin-top:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    background:#25D366;
    color:#fff;
    padding:14px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;

    transition:0.3s;
}

.whatsapp-btn:hover{
    background:#1ebe5d;
}

/* BOTON CERRAR */
.close-btn{
    position:absolute;
    right:25px;
    top:20px;
    font-size:32px;
    color:#ffcc00;
    cursor:pointer;
}

/* RESPONSIVE */
@media(max-width:768px){
    .modal-content{
        grid-template-columns:1fr;
        max-width:95%;
    }

    .modal-image{
        height:300px;
    }
}

/* =========================
   CARRUSEL MODAL
========================= */

.modal-image{
    position:relative;
    overflow:hidden;
}

.carousel-container{
    position:relative;
}

.carousel-main{
    width:100%;
    height:420px;
    overflow:hidden;
    border-radius:16px;
    position:relative;
    cursor:zoom-in;
    background:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px;
}

/* IMAGEN COMPLETA */
.carousel-main img{
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
    transition:transform .2s ease;
    background:#000;
    display:block;
}

/* BOTONES */
.carousel-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,0.5);
    border:none;
    color:#fff;
    width:42px;
    height:42px;
    border-radius:50%;
    cursor:pointer;
    z-index:10;
    font-size:18px;
    transition:0.3s;
}

.carousel-btn:hover{
    background:#ffcc00;
    color:#000;
}

.prev-btn{
    left:10px;
}

.next-btn{
    right:10px;
}

/* MINIATURAS */
.carousel-thumbs{
    display:flex;
    gap:10px;
    margin-top:12px;
    justify-content:center;
    flex-wrap:wrap;
}

.carousel-thumbs img{
    width:70px;
    height:70px;
    object-fit:contain;
    background:#000;
    padding:4px;
    border-radius:10px;
    cursor:pointer;
    border:2px solid transparent;
    transition:0.3s;
}

.carousel-thumbs img:hover{
    border-color:#ffcc00;
    transform:scale(1.05);
}

.carousel-thumbs img.active{
    border-color:#ffcc00;
}

/* EFECTO LUPA */
.zoomed{
    transform:scale(2);
}

/* RESPONSIVE */
@media(max-width:768px){

    .carousel-main{
        height:300px;
    }

    .carousel-thumbs img{
        width:60px;
        height:60px;
    }

}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
    background:#050505;
    color:#fff;
}

a{
    text-decoration:none;
}

/* NAVBAR */

.navbar{
    width:100%;
    background:#111;
    padding:16px 25px;
    position:sticky;
    top:0;
    z-index:1000;
    border-bottom:1px solid rgba(255,204,0,0.15);
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    color:#ffcc00;
    font-size:24px;
    font-weight:700;
}

.menu-toggle{
    font-size:28px;
    color:#ffcc00;
    cursor:pointer;
}

.menu{
    position:absolute;
    top:70px;
    right:20px;
    background:#111;
    width:220px;
    border-radius:14px;
    overflow:hidden;
    display:none;
    box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

.menu a{
    display:block;
    padding:15px;
    color:#fff;
    transition:0.3s;
}

.menu a:hover{
    background:#ffcc00;
    color:#000;
}

.menu.active{
    display:block;
}



/* FILTRO */

.search-section{
    padding:20px;
    display:flex;
    justify-content:center;
}

.search-container{
    width:100%;
    max-width:500px;
}

.category-select{
    width:100%;
    height:60px;
    border:none;
    border-radius:16px;
    background:#111;
    color:#fff;
    padding:0 20px;
    font-size:16px;
    outline:none;
}

/* PRODUCTOS */

.products{
    padding:40px 20px 80px;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:28px;
    max-width:1400px;
    margin:auto;
}

/* TARJETA */

.product-card{
    background:#111;
    border-radius:24px;
    overflow:hidden;
    border:1px solid rgba(255,204,0,0.1);
    transition:0.35s;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,0.4);
}

.product-image{
    width:100%;
    height:280px;
    overflow:hidden;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.5s;
}

.product-card:hover img{
    transform:scale(1.08);
}

.product-info{
    padding:22px;
}

.product-info h3{
    font-size:22px;
    margin-bottom:12px;
}

.price{
    display:inline-block;
    background:#ffcc00;
    color:#000;
    font-size:24px;
    font-weight:700;
    padding:10px 18px;
    border-radius:14px;
    margin-bottom:16px;
}

.product-short-desc{
    color:#bbb;
    font-size:14px;
    line-height:1.7;
    margin-bottom:20px;
}

.btn{
    width:100%;
    padding:14px;
    border:none;
    border-radius:14px;
    background:#ffcc00;
    color:#000;
    font-weight:700;
    cursor:pointer;
    transition:0.3s;
}

.btn:hover{
    background:#ffd633;
}

/* MODAL */

.modal{
    display:none;
    position:fixed;
    z-index:99999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    justify-content:center;
    align-items:center;
    padding:15px;
}

.modal-content{
    background:#111;
    width:100%;
    max-width:1150px;
    border-radius:24px;
    display:flex;
    gap:25px;
    overflow:hidden;
    position:relative;
    animation:showModal .3s ease;
}

@keyframes showModal{

    from{
        opacity:0;
        transform:scale(.95);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

.modal-gallery{
    flex:1;
    padding:22px;
}

.main-image-wrapper{
    width:100%;
    height:520px;
    background:#000;
    border-radius:20px;
    overflow:hidden;
    cursor:zoom-in;
}

.main-image-wrapper img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:0.2s;
}

.thumbnails{
    display:flex;
    gap:12px;
    margin-top:15px;
    flex-wrap:wrap;
}

.thumbnail{
    width:85px;
    height:85px;
    overflow:hidden;
    border-radius:14px;
    cursor:pointer;
    border:2px solid transparent;
}

.thumbnail.active{
    border-color:#ffcc00;
}

.thumbnail img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* INFO MODAL */

.modal-info{
    flex:1;
    background:#161616;
    padding:40px 35px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.modal-info h2{
    font-size:34px;
    margin-bottom:20px;
    color:#fff;
}

.modal-price{
    display:inline-block;
    background:rgba(255,204,0,0.1);
    color:#ffcc00;
    padding:14px 18px;
    border-radius:14px;
    font-size:34px;
    font-weight:700;
    margin-bottom:25px;
}

.modal-info p{
    color:#ccc;
    line-height:1.8;
    margin-bottom:30px;
}

.whatsapp-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:#25D366;
    color:#fff;
    padding:16px 25px;
    border-radius:14px;
    font-weight:700;
    transition:0.3s;
}

.whatsapp-btn:hover{
    background:#20ba5a;
}

.close-btn{
    position:absolute;
    top:15px;
    right:15px;
    width:45px;
    height:45px;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    cursor:pointer;
}

/* RESPONSIVE */

@media(max-width:768px){

 

    .products-grid{
        grid-template-columns:1fr;
    }

    .modal-content{
        flex-direction:column;
    }

    .main-image-wrapper{
        height:320px;
    }

    .modal-info{
        padding:25px 20px;
    }

    .modal-info h2{
        font-size:26px;
    }

    .modal-price{
        font-size:26px;
    }

}



/* LOGO HERO */

.hero-logo{

    width:180px;

    max-width:90%;

    margin-bottom:20px;

    object-fit:contain;

}











/* =========================================
   HERO
========================================= */


.hero{

    position:relative;

    width:100%;

    min-height:650px;

    padding:80px 20px;

    background-size:cover;

    background-position:center center;

    background-repeat:no-repeat;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    overflow:hidden;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,0.45);

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:900px;

    padding:20px;

    color:#fff;

}

.hero-logo{

    width:180px;

    max-width:90%;

    margin-bottom:25px;

    object-fit:contain;

    filter:drop-shadow(0 5px 15px rgba(0,0,0,.3));

}

.hero h1{

    font-size:4rem;

    margin-bottom:20px;

}

.hero p{

    font-size:1.2rem;

    line-height:1.8;

}




