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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== REDES FLOTANTES ===== */
#btn-mas { display: none; }

.container-redes {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.redes a {
    display: block;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
    transition: all 500ms ease;
    margin-bottom: 5px;
    visibility: visible;
}

.redes img {
    display: block;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
    transition: all 500ms ease;
}

.redes a:hover {
    background: #fff;
}

/* ===== FOOTER ===== */
.copyright li { font-size: 30px; }
.copyright p { color: white; }

.footer {
    padding: 100px 0;
    background-color: #000000;
}

.container-footer {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 3rem;
}

.copyright {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid #d2b495;
}

.copyright p {
    font-weight: 400;
    font-size: 1.6rem;
}

/* ===== HEADER ===== */
.header {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url(Imagenes/Local/Numero\ \(1\).png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #fffdfc;
    font-size: 25px;
    font-weight: 800;
}

.menu .navbar ul li {
    position: relative;
    float: left;
}

.menu .navbar ul li a {
    font-size: 18px;
    padding: 20px;
    color: #fffdfc;
    display: block;
}

.menu .navbar ul li a:hover { color: #ce977b; }

#menu { display: none; }

.menu-icono { margin: 50px; }

.menu label {
    cursor: pointer;
    display: none;
}

.header-content { text-align: center; }

.header-content h1 {
    font-size: 55px;
    line-height: 55px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.header-content p {
    font-size: 16px;
    color: #c5c5c5;
    padding: 0 250px;
    margin-bottom: 25px;
}

/* ===== BOTONES DE CATEGORIA (header) ===== */
.btn-1{
    
    display: inline-block;
    background-color: rgba(103, 65, 226, 0.25);
    color: var(--crema);
    text-decoration: none;
    padding: 10px 18px;
    margin: 6px;
    border-radius: 30px;
    border: 1.5px solid var(--dorado);
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    transition: all 300ms ease;
}

.btn-1:hover{
    background-color:#7270ec;
    color: var(--blanco);
    border-color: var(--vino);
    transform: translateY(-2px);
}

hr { border: 1px solid #7a7b8f16; }

/* ===== SERVICES ===== */
.services {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url(Imagenes/Local/Numero\ \(5\).jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
}

.services-content { text-align: center; }

.services-content h2 {
    font-size: 55px;
    line-height: 70px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.services-content p {
    font-size: 16px;
    color: #c5c5c5;
    margin-bottom: 50px;
    padding: 0 100px;
}

.services-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.services-1 img {
    width: 250px;
    margin: auto;
    margin-bottom: 40px;
}

.services-1 h3 {
    color: #eaccb3;
    font-size: 18px;
}

/* ===== PRODUCTOS ===== */
.top-products {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.container-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 3rem;
}

.card-product {
    background-color: #fff;
    padding: 2rem 3rem;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0,0,0,0.1);
}

.card-product li { font-size: 20px; }

.container-img { position: relative; }

.container-img img {
    width: 100%;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.container-img img:hover { transform: scale(1.02); }

.container-img .discount {
    position: absolute;
    left: 0;
    background-color: #7270ec;
    color: #fff;
    padding: 2px 1.2rem;
    border-radius: 1rem;
    font-size: 1.2rem;
}

.card-product:hover .discount { background-color: #000; }

.content-card-product {
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, min-content);
    row-gap: 1rem;
}

.content-card-product h3 {
    grid-row: 2/3;
    grid-column: 1/-1;
    font-weight: 400;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.add-cart {
    justify-self: start;
    border: 2px solid #7270ec;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-cart:hover { background-color: #7270ec; }

.content-card-product .price {
    justify-self: end;
    align-self: center;
    font-size: 1.7rem;
    font-weight: 600;
}

.content-card-product .price span {
    font-size: 1.5rem;
    font-weight: 400;
    text-decoration: line-through;
    color: #777;
    margin-left: 0.5rem;
}

.heading-1 {
    text-align: center;
    font-weight: 500;
    font-size: 50px;
    color: #ffffff;
    font-style: italic;
}

/* ===== SWIPER ===== */
.swiper-slide {
    padding: 0 80px 50px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-prev::after,
.swiper-button-next::after { font-size: 25px; }

.swiper-button-prev,
.swiper-button-next { color: #ffffff; }

.swiper-pagination-bullet-active {
    background-color: #747474;
    opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 24px;
    font-size: 44px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    font-weight: 300;
    transition: color 0.2s;
    z-index: 10000;
}

.lightbox-close:hover { color: #cc2b2b; }

/* ===== MEDIA QUERIES ===== */
@media (max-width: 991px) {
    .menu {
        margin-top: -5vh;
        margin-left: 15px;
    }

    .menu label { display: initial; }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #181818;
        display: none;
    }

    .menu .navbar ul li { width: 100%; }

    #menu:checked ~ .navbar { display: initial; }

    .swiper-slide { padding: 0 30px 50px 30px; }

    .header-content { padding: 100px 0 50px 0; }

    .btn-1 { margin: 20px 0; }

    .header-content p { padding: 0; }

    .services { padding: 0; }

    .services-content p { padding: 0; }

    .services-group {
        flex-direction: column;
        margin-bottom: 0;
    }

    .services-1 { margin-bottom: 25px; }

    .footer { padding: 30px; }
}

@media (max-width: 768px) {
    .container-products {
        grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    }

    .copyright {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }
}

@media (max-width: 468px) {
    .container-products {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }

    .card-product {
        width: 100%;
    }

    .container-img img {
        max-width: 100%;
    }

    .container-img .discount {
        font-size: 2rem;
    }

    .content-card-product h3 {
        font-size: 1.6rem;
    }
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}