/* ===========================================
   LUNÁTICA SHOP - MERCADO DE LAS PULGAS
=========================================== */

:root{

    --morado:#6A00F4;
    --morado2:#8B2CFF;
    --rosa:#FF4FD8;
    --verde:#00C853;

    --oscuro:#1E1E1E;
    --gris:#F5F6FA;

    --radio:20px;

}

/* ===========================================
   FONDO
=========================================== */

body.pagina-pulgas{

    background:
    linear-gradient(
        180deg,
        #7b18ff 0%,
        #5d12d2 35%,
        #2b0048 70%,
        #180020 100%
    );

    background-attachment:fixed;

}

/* ===========================================
   HERO
=========================================== */

.hero-pulgas{

    max-width:1200px;

    margin:15px auto;

    padding:18px 20px;

    text-align:center;

    color:white;

}

.hero-badge{

    display:inline-block;

    padding:6px 14px;

    border-radius:50px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

    font-size:12px;

    letter-spacing:1px;

    margin-bottom:10px;

}

.hero-pulgas h2{

    font-size:35px;

    font-weight:900;

    margin-bottom:10px;

}

.hero-pulgas p{

    font-size:15px;

    max-width:800px;

    margin:0 auto;

    line-height:1.4;

    opacity:.95;

}

/* ===========================================
   BOTÓN PUBLICAR
=========================================== */

.btn-publicar{

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin-top:18px;

    padding:12px 28px;

    border-radius:50px;

    text-decoration:none;

    background:
    linear-gradient(
        90deg,
        var(--verde),
        #00E676
    );

    color:white;

    font-weight:bold;

    font-size:16px;

    transition:.3s;

    box-shadow:
    0 15px 35px rgba(0,0,0,.25);

}

.btn-publicar:hover{

    transform:translateY(-4px);

}

/* ===========================================
   BUSCADOR
=========================================== */

.buscador-pulgas{

    max-width:1300px;

    margin:10 auto 20px;

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:20px;

    padding:0 20px;

}

.buscador-pulgas input,
.buscador-pulgas select{

    border:none;

    outline:none;

    padding:18px 22px;

    border-radius:16px;

    font-size:16px;

    background:white;

    box-shadow:
    0 10px 25px rgba(0,0,0,.18);

}
/* ===========================================
   MARKETPLACE
=========================================== */

.contenedor-market{

    max-width:1450px;

    margin:auto;

    padding:20px;

}

.titulo-seccion{

    text-align:center;

    color:white;

    margin-bottom:35px;

}

.titulo-seccion h2{

    font-size:36px;

    margin-bottom:10px;

}

.titulo-seccion p{

    opacity:.9;

    font-size:18px;

}

/* ===========================================
   GRID
=========================================== */

.productos-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fill,minmax(320px,1fr));

    gap:30px;

    align-items:start;

}

/* ===========================================
   TARJETAS
=========================================== */

body.pagina-pulgas .card-producto{

    width:300px;

    margin:auto;

    border-radius:18px;

    overflow:hidden;

    background:white;

    display:flex;

    flex-direction:column;

}

body.pagina-pulgas .card-producto:hover{

    transform:translateY(-8px);

    box-shadow:
    0 25px 60px rgba(0,0,0,.30);

}

/* ===========================================
   IMÁGENES
=========================================== */

.carrusel{

    height:150px;

}

.carrusel-imagen{

    width:100%;

    height:100%;

    object-fit:cover;

}

/* ===========================================
   BOTONES DEL CARRUSEL
=========================================== */

.carrusel button{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:rgba(0,0,0,.45);

    color:white;

    cursor:pointer;

}

.carrusel-anterior{

    left:12px;

}

.carrusel-siguiente{

    right:12px;

}

/* ===========================================
   CONTENIDO
=========================================== */

.card-producto h3{

    color:#222;

    font-size:18px;

    font-weight:700;

    margin:0;

}

.card-producto p{

    margin:0 18px 6px;

    font-size:14px;

}

.card-producto strong{

    color:#222;

}

.precio{

    color:#00B74A;

    font-size:30px;

    font-weight:800;

}

/* ===========================================
   BOTÓN
=========================================== */

.card-producto .btn-principal{

    margin-top:8px;

    padding:10px;

    font-size:15px;

}
.card-producto .btn-principal:hover{

    transform:scale(1.03);

}
/* ===========================================
   PLANES
=========================================== */

.planes-pulgas{

    max-width:1400px;

    margin:70px auto;

    padding:20px;

}

.planes-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    margin-top:35px;

}

.plan-card{

    background:white;

    border-radius:22px;

    padding:35px;

    text-align:center;

    box-shadow:
    0 15px 35px rgba(0,0,0,.20);

    transition:.35s;

}

.plan-card:hover{

    transform:translateY(-8px);

}

.plan-card h3{

    font-size:28px;

    margin-bottom:15px;

    color:#222;

}

.precio-plan{

    font-size:42px;

    font-weight:900;

    color:var(--morado);

    margin:20px 0;

}

.precio-plan span{

    font-size:18px;

    color:#666;

}

.plan-card ul{

    list-style:none;

    padding:0;

    margin:25px 0;

}

.plan-card li{

    padding:10px 0;

    border-bottom:1px solid #eee;

}

.btn-plan{

    width:100%;

    padding:15px;

    border:none;

    border-radius:14px;

    cursor:pointer;

    color:white;

    font-size:17px;

    font-weight:bold;

    background:
    linear-gradient(
        90deg,
        var(--morado),
        var(--rosa)
    );

    transition:.3s;

}

.btn-plan:hover{

    transform:scale(1.03);

}

/* ===========================================
   FOOTER
=========================================== */

footer{

    margin-top:70px;

    padding:30px;

    text-align:center;

    color:white;

    background:rgba(0,0,0,.25);

    backdrop-filter:blur(8px);

}

/* ===========================================
   RESPONSIVE
=========================================== */

@media(max-width:992px){

    .hero-pulgas h2{

        font-size:38px;

    }

    .hero-pulgas p{

        font-size:18px;

    }

    .buscador-pulgas{

        grid-template-columns:1fr;

    }

   .productos-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));

    gap:22px;

      }

}

@media(max-width:768px){

    .hero-pulgas{

        padding:25px 20px;

    }

    .hero-pulgas h2{

        font-size:32px;

    }

    .titulo-seccion h2{

        font-size:28px;

    }

    .precio{

        font-size:30px;

    }

    .precio-plan{

        font-size:34px;

    }

}

@media(max-width:480px){

    .productos-grid{

        grid-template-columns:1fr;

    }

   .card-producto{

    background:#ffffff;

    }

    .hero-pulgas h2{

        font-size:28px;

    }

    .hero-pulgas p{

        font-size:16px;

    }

}
/* CONTENIDO TARJETA */

.contenido-card{

    display:flex;

    flex-direction:column;

    gap:8px;

    padding:16px;

}

.datos-producto{

    display:flex;

    justify-content:space-between;

    align-items:center;

    color:#444;

    font-size:14px;

}

.datos-producto i{

    color:#6A00F4;

}

.datos-producto span{

    display:flex;

    align-items:center;

    gap:6px;

}

.card-producto .descripcion{

    color:#555 !important;

    font-size:14px;

    line-height:1.5;

    margin-top:4px;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

}
/* ====== TARJETAS MERCADO ====== */

.card-producto h3{
    color:#222 !important;
    font-size:30px;
    font-weight:700;
}

.card-producto .precio{
    color:#00a651 !important;
    font-size:24px;
    font-weight:800;
}

.card-producto .descripcion{
    color:#555 !important;
    font-size:15px;
    line-height:1.5;
}

.card-producto .datos-producto{
    color:#444 !important;
}

.card-producto .datos-producto i{
    color:#6a00f4 !important;
}

.card-producto .estado{
    color:#444 !important;
}