/* =========================================
HERO PREMIUM
========================================= */
/* =========================================
HERO PREMIUM CORREGIDO
========================================= */
.mini-line{
    width:55px;
    height:2px;
    background:#b38b59;
    margin-bottom:10px;
}

.hero-mini{
    font-size:11px;
    letter-spacing:2px;
    color:#8b8b8b;
    display:block;
    margin-bottom:18px;
}
/* =========================================
HERO PREMIUM FULL BACKGROUND
========================================= */
.hero-premium{
    width:100%;
    margin-top: 50px;
    min-height:700px;
    position:relative;
    display:flex;
    align-items:center;
    padding:80px;
    overflow:hidden;

    background:url('../img/hero-producto.jpg') no-repeat center center;
    background-size:cover;
}

/* capa blanca para que el texto se lea */
.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to right,
        rgba(248,246,242,0.98) 0%,
        rgba(248,246,242,0.96) 30%,
        rgba(248,246,242,0.82) 48%,
        rgba(248,246,242,0.40) 65%,
        rgba(248,246,242,0.05) 100%);
    z-index:1;
}

.hero-left{
    width:48%;
    position:relative;
    z-index:2;
}

.subtitulo{
    font-size:18px;
    color:#3b3b3b;
    letter-spacing:2px;
    display:block;
    margin-bottom:20px;
}

.hero-left h1{
    font-weight:300;
    color:#1f1f1f;
    font-family:'Times New Roman', serif;

    font-size:72px;
    line-height:1.05;
    margin-bottom:20px;
}

.hero-left p{
    font-size:20px;
    color:#555;
    line-height:1.6;
    margin-bottom:30px;
    max-width:520px;    padding-top:60px;

}

.hero-buttons{
    display:flex;
    gap:15px;
     margin-top:35px;
    margin-bottom:35px;
    margin-bottom:35px;
}

.hero-icons{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-top:12px;
    max-width:920px;
}

.hero-badge{
    background:rgba(85,107,47,0.08);
    border:1px solid rgba(85,107,47,0.18);
    padding:13px 14px;
    border-radius:10px;
    display:flex;
    align-items:center;
    gap:10px;
    box-shadow:0 5px 12px rgba(0,0,0,0.02);
    transition:.3s;
}

.hero-badge:hover{
    background:rgba(85,107,47,0.13);
    transform:translateY(-2px);
}

.hero-badge span{
    font-size:20px;
    color:#556b2f;
}

.hero-badge strong{
    display:block;
    font-size:13px;
    color:#2b2b2b;
    line-height:1.2;
}

.hero-badge small{
    font-size:11px;
    color:#6e6e6e;
}

.btn-dark,
.btn-light{
    padding:14px 30px;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
    border-radius:4px;
    transition:.3s;
}

.btn-dark{
    background:#556b2f;
    color:#fff;
}

.btn-dark:hover{
    background:#445622;
}

.btn-light{
   background:transparent;
    border:1px solid #7a8d52;
    color:#222;
}

.btn-light:hover{
  background:#7a8d52;
    color:#fff;
    box-shadow:0 10px 20px rgba(85,107,47,0.18);
}

.hero-icons{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    font-size:14px;
    color:#444;
}

.hero-right{
    width:55%;
    text-align:right;
}

.hero-right img{
    width:100%;
    max-width:760px;
        width:110%;
    margin-left:-60px;
    margin-top:-20px;
}
/* =========================================
TITULOS GENERALES
========================================= */
.categorias-home h2,
.productos-home h2,
.testimonios-home h2{
    text-align:center;
    font-size:34px;
    margin-bottom:40px;
    font-family:'Times New Roman', serif;
    font-weight:400;
    color:#222;
    letter-spacing:1px;
}

/* =========================================
CATEGORIAS
========================================= */
.categorias-home{
    padding:70px 60px;
    background:#fff;
}

.cat-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.cat-card{
    position:relative;
    overflow:hidden;
    border-radius:8px;
    height:280px;
    text-decoration:none;
}

.cat-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.cat-card:hover img{
    transform:scale(1.05);
}

.cat-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15));
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:25px;
    color:#fff;
}

.cat-overlay h3{
    font-size:24px;
    margin-bottom:12px;
}

.cat-overlay span{
    border:1px solid #fff;
    width:max-content;
    padding:8px 16px;
    font-size:12px;
}

/* =========================================
PRODUCTOS HOME
========================================= */
.productos-home{
    padding:70px 60px;
    background:#fafafa;
}

.titulo-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
}

.titulo-row h2{
    margin:0;
}

.titulo-row a{
    text-decoration:none;
    color:#444;
    font-weight:600;
}

.productos-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.producto-card{
    background:#fff;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 5px 18px rgba(0,0,0,0.06);
    padding-bottom:20px;
    position:relative;
    transition:.3s;
}

.producto-card:hover{
    transform:translateY(-5px);
}

.producto-card img{
    width:100%;
    height:270px;
    object-fit:cover;
}

.producto-card h4{
    font-size:19px;
    margin:18px 18px 8px;
    color:#222;
}

.producto-card p{
    margin:0 18px;
    font-size:20px;
    color:#556b2f;
    font-weight:bold;
}

.producto-card a{
    position:absolute;
    right:18px;
    bottom:18px;
    background:#556b2f;
    color:#fff;
    text-decoration:none;
    width:38px;
    height:38px;
    text-align:center;
    line-height:38px;
    border-radius:4px;
}

.tag{
    position:absolute;
    top:15px;
    left:15px;
    background:#8a6d3b;
    color:#fff;
    padding:5px 12px;
    font-size:11px;
    border-radius:3px;
    z-index:2;
}

/* =========================================
BENEFICIOS
========================================= */
/* =========================================
   BENEFICIOS HOME ELEGANTE CLARO
========================================= */
.beneficios-home{
    margin-top:70px;
    padding:35px 50px;

    border-top:1px solid #ddd6c7;
    
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.beneficio-item{
    display:flex;
    align-items:flex-start;
    gap:14px;

    padding:10px 15px;
}

.beneficio-icon{
    font-size:24px;
    line-height:1;
    margin-top:4px;
}

.beneficio-text h4{
    margin:0;
    font-size:14px;
    color:#5d6d3d;
    font-weight:700;
    letter-spacing:0.3px;
}

.beneficio-text p{
    margin-top:5px;
    font-size:13px;
    color:#666;
    line-height:1.4;
}

/* =========================================
TESTIMONIOS
========================================= */
.testimonios-home{
    padding:80px 60px;
    background:#fff;
}

.test-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.test-card{
    background:#fafafa;
    border:1px solid #eee;
    border-radius:12px;
    padding:30px;
    text-align:center;
    font-size:16px;
    box-shadow:0 5px 15px rgba(0,0,0,0.04);
}

.test-card p{
    margin:15px 0;
    color:#555;
    line-height:1.6;
}

/* =========================================
INSTAGRAM
========================================= */
.instagram-home{
    background:#f3eee5;
    padding:60px;
    text-align:center;
}

.instagram-home h3{
    font-size:30px;
    margin-bottom:10px;
    font-family:'Times New Roman', serif;
}

.instagram-home p{
    margin-bottom:20px;
    color:#555;
}

.instagram-home a{
    background:#556b2f;
    color:#fff;
    text-decoration:none;
    padding:12px 30px;
    border-radius:4px;
    font-weight:700;
}

/* =========================================
RESPONSIVE HOME
========================================= */
@media(max-width:992px){

    .hero-premium{
        flex-direction:column;
        padding:40px 25px;
        text-align:center;
    }

    .hero-left,
    .hero-right{
        width:100%;
    }

    .hero-left h1{
        font-size:42px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-icons{
        justify-content:center;
    }

    .cat-grid,
    .productos-grid,
    .test-grid,
    .beneficios-home{
        grid-template-columns:1fr;
    }

    .categorias-home,
    .productos-home,
    .testimonios-home,
    .instagram-home{
        padding:40px 20px;
    }

    .titulo-row{
        flex-direction:column;
        gap:10px;
    }
}








.cart-icon{
    position:relative;
    display:inline-block;
}

#cart-count{
    position:absolute;
    top:-8px;
    right:-10px;

    min-width:20px;
    height:20px;

    background:#6f7f46;
    color:#fff;

    border-radius:50px;

    display:none;
    align-items:center;
    justify-content:center;

    font-size:11px;
    font-weight:700;
    line-height:1;

    box-shadow:0 4px 10px rgba(0,0,0,0.18);
}
