p{font-size: 1em;
margin-top: 0px;}

header .logo{
    color: goldenrod;
    font-size: 1.55em;
    font-weight: bold;
    padding: 25px 30px;
    text-shadow: 1px 1px 1px rgba(27,21, 0, 0.5);
    margin: 0
    ;
    /* display: flex; */
}
html, body{
    scroll-behavior: smooth;
}

body{
    color: white;
    background-color: black;
    font-family: 'Roboto', sans-serif;
}

.container{
    max-width: 1400px;
    margin: auto;
}


header .container{
    display: flex;
    flex-direction: column;
    text-align: center;
}
header nav{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 15px;

}
header a{
    padding: 5px 12px;
    text-decoration: none;
    font-weight: bold;
    color: white;
}
header a:hover{
    color: goldenrod;

}

#main{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    background-image: linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("asd.jpeg");
    height: 90vh;
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#main h1{
 color: rgb(189, 186, 186);
}

/* Card */
.card {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 30px;

    background: #0e0e0e;
    border-radius: 12px;
    padding: 18px;

    border: 1px solid rgba(212,175,55,0.15);
    text-decoration: none;
    color: inherit;
}

/* Imagen */
.card-img {
    flex: 0 0 160px;
}

.card-img img {
    width: 100%;
    height: 130px;
    object-fit: contain;
}

/* Texto */
.card-content h2 {
    margin: 0 0 6px;
    color: #d4af37; /* dorado */
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.card-content p {
    margin: 0 0 10px;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.4;
}
/* COLOR DEL PRECIO */
.card-content h3 {
    color: green; /* gris premium */
    font-weight: 400;
    letter-spacing: 0.5px;
    font-weight: bold;
}

.color-precio{
    color: #cfcfcf;
}

/* Botón */
.btn-detalle {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 20px;

    border: 1px solid #d4af37;
    color: #d4af37;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    font-weight: bold;

    background: transparent;
    transition: all .2s ease;
}

.btn-detalle:hover {
    background: #d4af37;
    color: #000;
}
@media (max-width: 640px) {
    .card {
        flex-direction: column;
        text-align: center;
    }

    .card-img {
        flex: none;
        width: 100%;
    }
    .features {
        grid-template-columns: 1fr;
    }
}
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    margin: 12px 0 18px;
}

.features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features li {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.4;
    position: relative;
    padding-left: 14px;
}

.features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d4af37;
}


/* SOBRENOSOTROS */
#sobreNosotros{
     display: flex;
    flex-direction: column;
    text-align: center;
}
#sobreNosotros h2{
    color: white;
    font-size: 1.75em;
}

.colorido{
    color: goldenrod;
}
#contacto{
    display: flex;
    flex-direction: column;
    text-align: center;
}
/* CONTACTO */
#contacto h4{
    font-size: 1.75em;
}
#contacto {
    padding: 60px 0;
}

.contacto-botones {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.contacto-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(212,175,55,0.5);
    color: #d4af37;

    font-size: 1.4rem;
    text-decoration: none;

    transition: all .25s ease;
    background: transparent;
}

.contacto-btn:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-2px);
}

footer{
    justify-content: right;
}


/* resenias */
#resenas {
    padding: 60px 20px;
    text-align: center;
}

#resenas h2 {
    color: #d4af37;
    margin-bottom: 30px;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.carousel-track {
    width: 100%;
    max-width: 420px;
    position: relative;
}

.resena {
    display: none;
    background: #0e0e0e;
    border: 1px solid rgba(212,175,55,0.15);
    padding: 22px;
    border-radius: 12px;
}

.resena.active {
    display: block;
}

.resena .texto {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.resena .autor {
    display: block;
    color: #777;
    font-size: 0.8rem;
}

.resena .estrellas {
    display: block;
    margin-top: 8px;
    color: #d4af37;
}

/* Flechas */
.arrow {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    font-size: 1.6rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s ease;
}

.arrow:hover {
    background: #d4af37;
    color: #000;
}

/* Mobile */
@media (max-width: 640px) {
    .carousel {
        gap: 8px;
    }

    .carousel-track {
        max-width: 100%;
    }
}
.resena {
    position: relative;
}

.resena .fuente {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 0.65rem;
    color: #555;
    letter-spacing: 0.4px;
}
.resena .producto {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #888;
    font-style: italic;
}

.product-gallery {
    display: flex;
    gap: 10px;
}

.product-gallery img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid rgba(212,175,55,0.2);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.lightbox img {
    max-width: 85%;
    max-height: 80%;
    border-radius: 12px;
}

/* Botones */
.lightbox .nav {
    position: absolute;
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    font-size: 2rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
}

.lightbox .left {
    left: 30px;
}

.lightbox .right {
    right: 30px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: #d4af37;
    cursor: pointer;
}

/* deslizamiento pro */
