/* ===================================
   BLOOMIX OFICIAL V3
=================================== */

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

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#fff7fb;
    color:#333;
}

/* ===============================
TOP BAR
=============================== */

.topbar{
    background:#ff3f8e;
    color:#fff;
    padding:10px 0;
    font-size:14px;
    font-weight:500;
}

.topbar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* ===============================
HEADER
=============================== */

.header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
    padding:20px 0;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
}

.logo{
    font-size:36px;
    font-weight:800;
    color:#ff3f8e;
    margin:0;
}

.logo span{
    color:#222;
}

/* ===============================
BUSCADOR
=============================== */

.search-box{
    display:flex;
    width:100%;
    max-width:700px;
    margin:auto;
}

.search-box input{

    width:100%;
    height:55px;

    border:2px solid #ffd0e4;

    border-right:none;

    border-radius:50px 0 0 50px;

    padding:0 22px;

    outline:none;

    font-size:16px;

}

.search-box button{

    width:70px;

    border:none;

    background:#ff3f8e;

    color:white;

    border-radius:0 50px 50px 0;

    cursor:pointer;

    font-size:22px;

    transition:.3s;

}

.search-box button:hover{

    background:#ff1f75;

}

/* ===============================
ICONOS
=============================== */

.icon-btn{

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:white;

    margin-left:10px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    cursor:pointer;

    position:relative;

    transition:.3s;

    font-size:22px;

}

.icon-btn:hover{

    transform:translateY(-3px);

}

#contador{

    position:absolute;

    top:-8px;

    right:-8px;

    width:24px;

    height:24px;

    border-radius:50%;

    background:#ff3f8e;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:12px;

    font-weight:bold;

}
/* ===============================
HERO
=============================== */

.hero{

    width:95%;
    max-width:1400px;

    margin:40px auto;

    background:linear-gradient(135deg,#ffe1ee,#ffffff);

    border-radius:30px;

    padding:60px;

    overflow:hidden;

}

.hero h1{

    font-size:60px;

    font-weight:800;

    color:#222;

    line-height:1.1;

    margin:20px 0;

}

.hero p{

    font-size:20px;

    color:#666;

    margin-bottom:35px;

}

.nuevo{

    display:inline-block;

    background:#ff3f8e;

    color:white;

    padding:10px 22px;

    border-radius:40px;

    font-weight:600;

    font-size:15px;

}

.hero-img{

    width:100%;

    max-width:450px;

    border-radius:20px;

    transition:.4s;

}

.hero-img:hover{

    transform:scale(1.05);

}

.btn-comprar{

    background:linear-gradient(45deg,#ff3f8e,#ff7bb4);

    color:white;

    border:none;

    padding:18px 40px;

    border-radius:50px;

    font-size:18px;

    font-weight:600;

    cursor:pointer;

    box-shadow:0 12px 25px rgba(255,63,142,.35);

    transition:.3s;

}

.btn-comprar:hover{

    transform:translateY(-4px);

}

/* ===============================
CATEGORÍAS
=============================== */

.categorias{

    margin:40px auto;

    text-align:center;

}

.categorias button{

    border:none;

    background:white;

    padding:14px 26px;

    margin:8px;

    border-radius:40px;

    cursor:pointer;

    font-weight:600;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.categorias button:hover{

    background:#ff3f8e;

    color:white;

}

.categorias .activo{

    background:#ff3f8e;

    color:white;

}
/* ===============================
PRODUCTOS
=============================== */

.productos{

    padding:20px 0 70px;

}

.card-producto{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    position:relative;

    transition:.35s;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    height:100%;

}

.card-producto:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

.card-producto img{

    width:100%;

    height:280px;

    object-fit:cover;

    display:block;

    position:relative;

    z-index:1;

}

.contenido{

    padding:20px;

}

.contenido small{

    color:#999;

    font-size:14px;

}

.contenido h3{

    font-size:28px;

    margin:10px 0;

    font-weight:700;

    color:#222;

}

.estrellas{

    color:#ffc107;

    font-size:18px;

    margin-bottom:10px;

    letter-spacing:2px;

}

.precio{

    color:#ff2f7f;

    font-size:34px;

    font-weight:800;

    margin-bottom:20px;

}

.badge-producto{

    position:absolute;

    top:15px;

    left:15px;

    background:#ff3f8e;

    color:white;

    padding:8px 18px;

    border-radius:30px;

    font-size:13px;

    font-weight:700;

    z-index:10;

}

.badge-producto.oferta{

    background:#ff9800;

}

.btn-carrito{

    width:100%;

    height:55px;

    border:none;

    border-radius:15px;

    background:linear-gradient(45deg,#25D366,#1db954);

    color:white;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.30s;

}

.btn-carrito:hover{

    transform:scale(1.03);

    box-shadow:0 12px 25px rgba(37,211,102,.35);

}

.btn-carrito i{

    margin-right:8px;

}
/* ===============================
CARRITO LATERAL
=============================== */

.overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    display:none;

    z-index:998;

}

.carrito-panel{

    position:fixed;

    top:0;

    right:-420px;

    width:400px;

    max-width:100%;

    height:100vh;

    background:white;

    box-shadow:-10px 0 30px rgba(0,0,0,.15);

    transition:.35s;

    z-index:999;

    display:flex;

    flex-direction:column;

}

.carrito-panel.activo{

    right:0;

}

.overlay.activo{

    display:block;

}

/* =============================== */

.carrito-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px;

    border-bottom:1px solid #eee;

}

.carrito-header h2{

    font-size:26px;

    font-weight:700;

}

.cerrar-carrito{

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:#f4f4f4;

    cursor:pointer;

    font-size:20px;

    transition:.3s;

}

.cerrar-carrito:hover{

    background:#ff3f8e;

    color:white;

}

/* =============================== */

#carrito{

    flex:1;

    overflow:auto;

    padding:20px;

}

.carrito-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;

    padding-bottom:18px;

    border-bottom:1px solid #eee;

}

.carrito-item h4{

    font-size:18px;

    margin-bottom:6px;

}

.carrito-item p{

    color:#777;

    margin:0;

}

.cantidad{

    display:flex;

    align-items:center;

    gap:10px;

}

.cantidad button{

    width:32px;

    height:32px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    background:#ff3f8e;

    color:white;

    font-weight:bold;

}

/* =============================== */

.carrito-footer{

    border-top:1px solid #eee;

    padding:20px;

}

.total{

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:22px;

    font-weight:700;

    margin-bottom:20px;

}

.btn-whatsapp{

    width:100%;

    height:56px;

    border:none;

    border-radius:14px;

    background:#25D366;

    color:white;

    font-size:18px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.btn-whatsapp:hover{

    background:#1fa855;

}

/* =============================== */

.carrito-vacio{

    text-align:center;

    margin-top:70px;

    color:#999;

}

.carrito-vacio i{

    font-size:60px;

    margin-bottom:15px;

}
/* ===============================
FOOTER
=============================== */

.footer{

    background:#222;

    color:white;

    margin-top:70px;

    padding:60px 0 20px;

}

.footer h3,
.footer h4{

    margin-bottom:20px;

    font-weight:700;

}

.footer p{

    color:#ddd;

    line-height:28px;

}

.redes{

    display:flex;

    gap:15px;

    margin-top:20px;

}

.redes i{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#ff3f8e;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    transition:.3s;

    font-size:18px;

}

.redes i:hover{

    transform:translateY(-4px);

    background:white;

    color:#ff3f8e;

}

.footer hr{

    margin:40px 0 20px;

    border-color:#444;

}

.copyright{

    text-align:center;

    color:#aaa;

    font-size:14px;

}

/* ===============================
BOTÓN WHATSAPP
=============================== */

.whatsapp-float{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#25D366;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    text-decoration:none;

    box-shadow:0 10px 25px rgba(37,211,102,.45);

    z-index:999;

    transition:.3s;

}

.whatsapp-float:hover{

    transform:scale(1.1);

}

/* ===============================
RESPONSIVE
=============================== */

@media (max-width:992px){

.topbar{

    display:none;

}

.header{

    padding:15px 0;

}

.logo{

    text-align:center;

    margin-bottom:15px;

}

.search-box{

    margin-bottom:15px;

}

.hero{

    padding:40px 25px;

    text-align:center;

}

.hero h1{

    font-size:40px;

}

.hero p{

    font-size:18px;

}

.hero-img{

    margin-top:30px;

    max-width:320px;

}

.categorias{

    padding:0 10px;

}

.categorias button{

    margin:6px;

}

.carrito-panel{

    width:100%;

}

}

@media (max-width:576px){

.hero h1{

    font-size:32px;

}

.logo{

    font-size:28px;

}

.search-box input{

    font-size:15px;

}

.btn-comprar{

    width:100%;

}

.btn-carrito{

    font-size:16px;

}

.footer{

    text-align:center;

}

.redes{

    justify-content:center;

}

}
/* ===========================
   PRECIOS EN OFERTA
=========================== */

.precio{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    margin:15px 0;
}

.descuento-badge{
    background:#ff3f8e;
    color:#fff;
    padding:6px 14px;
    border-radius:30px;
    font-size:14px;
    font-weight:700;
    box-shadow:0 6px 15px rgba(255,63,142,.30);
}

.precio-label{
    font-size:12px;
    font-weight:700;
    color:#888;
    letter-spacing:1px;
}

.precio-anterior{
    text-decoration:line-through;
    color:#999;
    font-size:18px;
}

.precio-actual{
    color:#e91e63;
    font-size:32px;
    font-weight:800;
}

.ahorro{
    color:#16a34a;
    font-size:15px;
    font-weight:700;
}
/* ===========================
   QUIÉNES SOMOS
=========================== */

.nosotros{
    padding:80px 0;
    background:linear-gradient(135deg,#fff7fb,#ffe8f3);
}

.nosotros h2{
    font-size:40px;
    font-weight:800;
    color:#ff3f8e;
    margin-bottom:25px;
}

.nosotros p{
    font-size:17px;
    color:#555;
    line-height:1.8;
}

.lista-nosotros{
    list-style:none;
    padding:0;
    margin-top:25px;
}

.lista-nosotros li{
    font-size:17px;
    margin-bottom:14px;
    font-weight:500;
}

.nosotros-card{
    background:#fff;
    border-radius:25px;
    padding:45px;
    box-shadow:0 12px 35px rgba(0,0,0,.10);
    transition:.35s;
}

.nosotros-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(255,63,142,.20);
}

.nosotros-card i{
    font-size:70px;
    color:#ff3f8e;
    margin-bottom:20px;
}

.nosotros-card h3{
    font-size:28px;
    font-weight:700;
    margin-bottom:15px;
}

.nosotros-card p{
    margin:0;
}
.empresa-avala{
    margin-top:20px;
    font-size:18px;
    font-weight:600;
    color:#333;
}

.ruc{
    display:inline-block;
    margin-top:12px;
    padding:8px 18px;
    border-radius:30px;
    background:#16a34a;
    color:white;
    font-weight:700;
    font-size:16px;
}
.ubicacion{
    padding:80px 0;
    background:#fff;
}

.ubicacion h2{
    text-align:center;
    color:#ff3f8e;
    font-size:40px;
    font-weight:800;
    margin-bottom:15px;
}

.ubicacion-texto{
    text-align:center;
    color:#666;
    margin-bottom:45px;
    font-size:18px;
}

.ubicacion-info{
    background:#fff7fb;
    border-radius:25px;
    padding:35px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.ubicacion-info h4{
    color:#ff3f8e;
    margin-bottom:20px;
    font-weight:700;
}

.ubicacion-info p{
    margin-bottom:18px;
    font-size:17px;
}

.ubicacion-info i{
    color:#ff3f8e;
    margin-right:10px;
}
/* ===========================
DESCRIPCIÓN VER MÁS
=========================== */

.descripcion-producto{

    margin:12px 0;

}

.texto-corto{

    display:-webkit-box;

    -webkit-line-clamp:3;

    -webkit-box-orient:vertical;

    overflow:hidden;

    transition:.3s;

    line-height:1.6;

}

.texto-corto.expandido{

    display:block;

}

.ver-mas{

    display:inline-block;

    margin-top:8px;

    color:#ff3f8e;

    font-weight:600;

    text-decoration:none;

    cursor:pointer;

}

.ver-mas:hover{

    text-decoration:underline;

}