﻿body{
    font-family: "Poppins", sans-serif;
}

.cabecera-ayuda{
    background-color: #e2bea2;
    height: 220px;
}

header{
    position: absolute;
    top: 0;
    z-index: 1000;
    padding-top: 7px;
    padding-bottom: 12px;

    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
    background-color: #ffffff;  /* blanco */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* sombra opcional */
}

.scrolled .logotipo img{
    width: 60%;
}

.logotipo img{
    width: 100%;

    transition: all 0.4s;
}

nav a{
    color: black;
    text-decoration: none;
}
nav ul{
    list-style: none;
    padding: 0;
}
nav ul li{
    position: relative;
    width: 20%;
    float: left;
}
.menu{
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}





.menuSec{
    position: absolute;
    top: 30px;
    left: 0;
    background: rgb(198, 7, 48, 0.9);
    display: none;

    border-radius: 10px;
}
.menuSec ul li{
    width: 100%;
}

.menuSecundario{
    font-size: 20px;
    color: white;
    text-align: center;
    padding: 12px 0;
}

.menu:hover, .menuSecundario:hover{
    font-weight: bold;
}


nav ul li:hover .menuSec{
    display: block;
}


.carrito{
    text-align: right;
    font-size: 27px;
}


.efecto{
    position: relative;
    padding: 0;
}

.efectoTexto{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    padding-top: 300px;
}

.s{
    width: 100%;
    display: inline-block;
}

.s1{
    font-size: 58px;
    font-weight: bold;
}

.s2{
    font-size: 50px;
    line-height: 55px;
    font-family: "Playfair Display", serif;
}

.s3{
    font-size: 26px;
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 20px;
}


.btn-ver-productos {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #000000, #3a3a3a);
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.btn-ver-productos:hover {
    background: linear-gradient(135deg, #3a3a3a, #000000);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}


.contenido{
    padding-top: 50px;
    padding-bottom: 50px;
}


.titulo{
    text-align: center;
    color: #c60730;
    font-size: 33px;
    font-weight: bold;
    margin-bottom: 30px;
}


.nosotros{
    background: url(../images/fondoNosotros.jpg) no-repeat center center;
    background-size: cover;
    padding-top: 120px;
    padding-bottom: 120px;
}


.rojo{
    background: rgba(198, 7, 48, 0.8);
    color: white;
    font-size: 20px;
    padding: 30px;

    border-radius: 20px;
}


@media screen and (max-width:1400px){

}

@media screen and (max-width:1200px){

}

@media screen and (max-width:992px){

}

@media screen and (max-width:768px){

}

@media screen and (max-width:576px){
    
}




.wrap{ max-width:var(--maxw); margin:32px auto 56px; padding:0 16px; }

.grid{
    display:grid;
    grid-template-columns:1fr;
    gap:28px;
}
@media (min-width:640px){ .grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .grid{ grid-template-columns:repeat(4,1fr); } }

/* Tarjeta sin bordes ni sombra */
.card{
    background:var(--card);
    border:none;
    overflow:hidden;
}

.card__media{ aspect-ratio:4/3; overflow:hidden; }
.card__media img{ width:100%; height:100%; object-fit:contain; display:block; }

.card__body{ padding:16px 18px 18px; }
.title{ 
    min-height: 50px;
    font-size:1.25rem; font-weight:700; margin:10px 0; }
.price{ font-weight:800; color:var(--price); font-size:1.05rem; margin:0 0 8px; }
.meta{ color:var(--muted); font-size:.97rem; margin:0 0 14px; }

.controls{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap; /* asegura que el botón no se salga */
}

.qty{
    display:flex;
    align-items:center;
    gap:6px;
}
.qty button{
    width:36px; height:44px;
    border:1px solid #ccc;
    background:#fff;
    color:#000;
    font-size:22px;
    border-radius:9px;
    cursor:pointer;
}
.qty input{
    width:48px; height:44px;
    text-align:center;
    border:1px solid #ccc;
    border-radius:9px;
    font-size:1rem;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

.btn{
    margin-left:auto;
    border:none;
    height:44px;
    padding:0 18px;
    border-radius:10px;
    font-weight:700;
    background:#c60730;
    color:white;
    cursor:pointer;
    flex:1 1 220px;
    max-width:100%;
}
.btn:hover{ background:black; color: white;}

.note{
    max-width:var(--maxw);
    margin:28px auto 0;
    padding:0 16px;
    font-size:1.1rem;
    color:var(--note);
    line-height:1.5;
}





.chat{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #24d366;
    font-weight: bold;
    font-size: 20px;
    color: white;
    padding: 6px 17px;
    border-radius: 20px;

    animation-name: pulse;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0s;
    animation-iteration-count: 100;
}
@keyframes pulse {
    from,to {
        transform: scale3d(1,1,1)
    }

    50% {
        transform: scale3d(1.05,1.05,1.05)
    }
}

.pulse {
    animation-name: pulse
}





.footer-nd{
    background: #3c4948;
    color: #ffffff;
    padding-top: 50px;
    padding-bottom: 30px;
    font-size: 15px;
}

.footer-logo{
    font-size: 50px;
    font-weight: bold;
}
.footer-logo img{
    max-width: 70%;
    height: auto;
    margin-bottom: 15px;
}

.footer-text{
    color: #dddddd;
    line-height: 1.6;
    margin: 0;
}

.footer-title{
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links,
.footer-contact{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li{
    margin-bottom: 7px;
}

.footer-links a{
    text-decoration: none;
    color: #cccccc;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover{
    color: #c60730;
    padding-left: 4px;
}

.footer-contact li b{
    margin-right: 6px;
    font-size: 18px;
    vertical-align: middle;
}

.footer-contact li{
    color: #cccccc;
}

.footer-social a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    margin-right: 8px;
    background: #222;
    color: #ffffff;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 18px;
}

.footer-social a:hover{
    background: #c60730;
    transform: translateY(-3px);
}

.footer-social img{
    width: 35px;
}

.footer-bottom{
    border-top: 1px solid #333333;
    margin-top: 30px;
    padding-top: 15px;
}

.footer-copy{
    color: #888888;
    font-size: 14px;
    margin: 0;
}

/* Responsivo */
@media screen and (max-width:768px){
    .footer-nd{
        text-align: center;
    }

    .footer-logo img{
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social a{
        margin-bottom: 6px;
    }
}


.buscar{
    margin-bottom: 22px;
}

.search-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.search-bar {
    background: rgba(255, 255, 255, 0); /* transparente */
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
}

.search-icon {
    background: transparent;
    border: none;
    color: #fff;
    padding-left: 1.2rem;
}

.search-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 16px 0;
    color: #fff;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Cuando hace focus no cambia el fondo ni agrega borde */
.search-input:focus {
    background: transparent !important;
    color: #fff;
    border: none;
    outline: none;
    box-shadow: none !important;
}

/* Botón más pequeño y fondo negro */
.search-btn {
    background: #000 !important;
    width: 120px !important;
    color: #fff;
    padding: 0.3rem 0.9rem; /* más pequeño */
    font-size: 0.85rem;
    border-radius: 999px;
    margin: 0.25rem;
    border: none;
}

/* Enfocar grupo completo */
.search-bar:focus-within {
    border-color: rgba(255, 255, 255, 0.9);
}