﻿body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #111111;
}


.navbar-brand {
    letter-spacing: 4px;
    font-size: 28px;
}


.nav-link {
    font-size: 16px;
    margin-left: 15px;
}


.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}


    .card:hover {
        transform: translateY(-8px);
    }


    .card img {
        border-bottom: 1px solid #eee;
    }


.btn-dark {
    border-radius: 25px;
    padding: 10px 25px;
}

.producto-card {
    background: white;
}


.producto-imagen {
    height: 230px;
    object-fit: cover;
}


.producto-nombre {
    font-weight: 400;
    letter-spacing: 1px;
}


.precio {
    font-size: 18px;
    font-weight: bold;
}


.producto-card .btn-dark {
    background-color: #1c1c1c;
}

/* Barra búsqueda y filtro */

.barra-busqueda,
.filtro-busqueda {
    width: 100%;
    max-width: 500px;
    height: 48px;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 0 18px;
    transition: .3s;
}


    .barra-busqueda i,
    .filtro-busqueda i {
        color: #777;
        font-size: 18px;
        margin-right: 10px;
    }


    /* Input búsqueda */

    .barra-busqueda input {
        border: none;
        outline: none;
        width: 100%;
        font-size: 16px;
    }


    /* Select */

    .filtro-busqueda select {
        border: none;
        outline: none;
        width: 100%;
        background: transparent;
        font-size: 16px;
        cursor: pointer;
    }


    /* Efecto al seleccionar */

    .barra-busqueda:focus-within,
    .filtro-busqueda:focus-within {
        border-color: #333;
        box-shadow: 0 0 8px rgba(0,0,0,.15);
    }

/* ===========================
   INICIO
=========================== */



    .luna-hero i {
        font-size: 45px;
    }


.producto-card {
    border: none;
    overflow: hidden;
    transition: .3s;
}


    .producto-card:hover {
        transform: translateY(-8px);
    }


.producto-imagen {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.nav-link i {
    margin-right: 5px;
}

.nav-link:hover {
    color: #000 !important;
}

/* ===========================
   WHATSAPP FLOTANTE
=========================== */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    right: 25px;
    bottom: 25px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    z-index: 1000;
    transition: .3s;
}


    .whatsapp-float:hover {
        transform: scale(1.1);
        color: white;
    }


    .whatsapp-float i {
        line-height: 1;
    }

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.navbar-collapse {
    display: flex;
}


.navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
}



@media (max-width: 991px) {

    .navbar-container {
        flex-direction: column;
    }


    .navbar-brand {
        margin: 10px auto;
        text-align: center;
    }


    .navbar-collapse {
        display: block;
        width: 100%;
    }


    .navbar-nav {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 25px;
    }
}

.login-container {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 35px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.10);
}

.login-icon {
    font-size: 45px;
}

.login-card .form-control {
    height: 45px;
}

.login-card .input-group-text {
    border-right: 0;
}

.login-card .input-group .form-control {
    border-left: 0;
}

.login-card .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

/* =========================================
   LUNA - PAGINA DE INICIO
   NEGRO + LILA
   ========================================= */

.luna-hero {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #111111;
    color: white;
    padding: 10px 0;
}


/* ETIQUETA */

.luna-hero-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: #9b7ede;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

    .luna-hero-label span {
        width: 30px;
        height: 1px;
        background: #9b7ede;
    }


/* TITULO */

.luna-hero h1 {
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

    .luna-hero h1 span {
        color: #9b7ede;
    }


/* DESCRIPCION */

.luna-hero p {
    max-width: 560px;
    color: #cfcfcf;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
}


/* BOTONES */

.luna-hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.luna-btn-primary,
.luna-btn-secondary {
    width: 210px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all .25s ease;
}

.luna-btn-primary,
.luna-btn-secondary {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all .25s ease;
}

.luna-btn-primary {
    background: #9b7ede;
    color: white;
    border: 1px solid #9b7ede;
}

    .luna-btn-primary:hover {
        background: #8065c5;
        border-color: #8065c5;
        color: white;
        transform: translateY(-2px);
    }

.luna-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid #555;
}

    .luna-btn-secondary:hover {
        background: white;
        color: #111;
        border-color: white;
        transform: translateY(-2px);
    }


/* =========================================
   ELEMENTO DECORATIVO
   ========================================= */

.luna-hero-decoration {
    position: relative;
    width: 380px;
    height: 380px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.luna-circle {
    position: absolute;
    border-radius: 50%;
}

.luna-circle-one {
    width: 300px;
    height: 300px;
    border: 1px solid rgba(155, 126, 222, .5);
}

.luna-circle-two {
    width: 230px;
    height: 230px;
    background: rgba(155, 126, 222, .08);
    border: 1px solid rgba(155, 126, 222, .25);
}

.luna-hero-icon {
    position: relative;
    z-index: 2;
    width: 125px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #9b7ede;
    box-shadow: 0 0 50px rgba(155, 126, 222, .25);
}

    .luna-hero-icon i {
        font-size: 55px;
        color: white;
    }

.luna-decoration-text {
    position: absolute;
    bottom: 25px;
    color: #555;
    font-size: 12px;
    letter-spacing: 8px;
}


/* =========================================
   INTRO
   ========================================= */

.luna-intro {
    padding: 90px 0;
    background: #faf9fc;
}

.luna-section-label {
    color: #9b7ede;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.luna-intro h2 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 2.4rem;
    font-weight: 700;
}

.luna-intro p {
    color: #777;
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.luna-text-link {
    color: #111;
    font-weight: 600;
    border-bottom: 1px solid #9b7ede;
    padding-bottom: 4px;
    transition: .2s ease;
}

    .luna-text-link i {
        color: #9b7ede;
        margin-left: 5px;
    }

    .luna-text-link:hover {
        color: #9b7ede;
    }


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 991px) {

    .luna-hero {
        min-height: auto;
        padding: 10px 0;
    }

    .luna-hero-label {
        justify-content: center;
    }

    .luna-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .luna-hero-buttons {
        justify-content: center;
    }

    .luna-hero-decoration {
        width: 300px;
        height: 300px;
        margin-top: 60px;
    }

    .luna-circle-one {
        width: 240px;
        height: 240px;
    }

    .luna-circle-two {
        width: 185px;
        height: 185px;
    }
}


@media (max-width: 575px) {

    .luna-hero {
        padding: 15px 20px;
    }

        .luna-hero h1 {
            font-size: 3rem;
        }

        .luna-hero p {
            font-size: 1rem;
        }

    .luna-hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .luna-btn-primary,
    .luna-btn-secondary {
        width: 280px;
        max-width: 100%;
    }

    .luna-hero-decoration {
        width: 260px;
        height: 260px;
    }

    .luna-intro {
        padding: 15px 20px;
    }

        .luna-intro h2 {
            font-size: 2rem;
        }
}

/* =========================================
   CATÁLOGO
   LUNA BOUTIQUE
   NEGRO + LILA
   ========================================= */
.catalogo-page {
    min-height: 100vh;
    background: #111111;
    color: white;
}


/* =========================================
   ENCABEZADO
   ========================================= */

.catalogo-header {
    padding: 55px 0 35px;
    text-align: center;
}

.catalogo-label {
    display: block;
    margin-bottom: 12px;
    color: #9b7ede;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}

.catalogo-header h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 38px;
    font-weight: 700;
}

.catalogo-header p {
    margin: 0;
    color: #888;
    font-size: 15px;
}


/* =========================================
   CONTROLES
   ========================================= */

.catalogo-controles {
    padding: 10px 0 40px;
}

    .catalogo-controles .row {
        max-width: 950px;
        margin: 0 auto;
    }

.barra-busqueda,
.filtro-busqueda {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #151515;
    border: 1px solid #292929;
    border-radius: 10px;
    transition: .2s ease;
}

    .barra-busqueda i,
    .filtro-busqueda i {
        flex-shrink: 0;
        margin-right: 10px;
        color: #9b7ede;
        font-size: 17px;
    }

    .barra-busqueda input {
        width: 100%;
        height: 100%;
        border: none;
        outline: none;
        background: transparent;
        color: #fff;
        font-size: 13px;
    }

        .barra-busqueda input::placeholder {
            color: #666;
        }

    .filtro-busqueda select {
        width: 100%;
        height: 100%;
        border: none;
        outline: none;
        background: transparent;
        color: #ccc;
        font-size: 13px;
        cursor: pointer;
    }

        .filtro-busqueda select option {
            background: #151515;
            color: #fff;
        }

    .barra-busqueda:focus-within,
    .filtro-busqueda:focus-within {
        border-color: #9b7ede;
        box-shadow: 0 0 0 3px rgba(155, 126, 222, .08);
    }


/* =========================================
   PRODUCTOS
   ========================================= */

.catalogo-productos {
    padding: 10px 0 80px;
}


    /* CENTRAR EL CATÁLOGO */

    .catalogo-productos .container {
        max-width: 1200px;
    }

.productos-container {
    justify-content: center;
}


/* =========================================
   TARJETA
   ========================================= */

.producto-card {
    height: 100%;
    background: #151515;
    border: 1px solid #292929 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    transition: .25s ease;
}

    .producto-card:hover {
        transform: translateY(-6px);
        border-color: #4a3860 !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, .4);
    }


/* =========================================
   IMAGEN
   ========================================= */

.producto-imagen-container {
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #0e0e0e;
}

.producto-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.producto-card:hover .producto-imagen {
    transform: scale(1.04);
}

.producto-sin-imagen {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 40px;
}


/* =========================================
   INFORMACIÓN
   ========================================= */

.producto-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.producto-nombre {
    margin-bottom: 7px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .3px;
}

.descripcion-producto {
    min-height: 42px;
    margin-bottom: 20px;
    color: #888;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================
   PRECIO + BOTÓN
   ========================================= */

.producto-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.precio {
    margin: 0;
    color: #a98be8;
    font-size: 17px;
    font-weight: 700;
}

.btn-ver-producto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid #333;
    border-radius: 9px;
    background: #202020;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: .2s ease;
}

    .btn-ver-producto:hover {
        background: #9b7ede;
        border-color: #9b7ede;
        color: #fff;
        transform: translateY(-1px);
    }

    .btn-ver-producto i {
        color: #9b7ede;
        font-size: 12px;
        transition: .2s ease;
    }

    .btn-ver-producto:hover i {
        color: #fff;
        transform: translateX(3px);
    }


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 991px) {

    .catalogo-header {
        padding-top: 45px;
    }

    .catalogo-productos .container {
        max-width: 900px;
    }

    .producto-imagen-container {
        height: 250px;
    }
}


@media (max-width: 767px) {

    .catalogo-header {
        padding: 40px 0 25px;
    }

        .catalogo-header h1 {
            font-size: 30px;
        }

    .catalogo-controles {
        padding-bottom: 30px;
    }

        .catalogo-controles .row {
            max-width: 500px;
        }

    .producto-imagen-container {
        height: 250px;
    }
}


@media (max-width: 575px) {

    .catalogo-header {
        padding: 35px 15px 25px;
    }

        .catalogo-header h1 {
            font-size: 27px;
        }

        .catalogo-header p {
            font-size: 13px;
        }

    .catalogo-controles {
        padding: 5px 15px 25px;
    }

    .catalogo-productos {
        padding: 5px 15px 55px;
    }

    .producto-card .card-body {
        padding: 17px;
    }

    .producto-imagen-container {
        height: 230px;
    }

    .producto-footer {
        align-items: center;
    }

    .precio {
        font-size: 16px;
    }

    .btn-ver-producto {
        padding: 8px 11px;
    }
}


/* =========================================
   DETALLE DEL PRODUCTO
   ========================================= */
.detalle-page {
    min-height: calc(100vh - 85px);
    background: #111111;
    color: white;
    padding: 30px 0 20px;
}


.detalle-producto {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 80px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================
   IMAGEN
   ========================================= */

.detalle-imagen {
    width: 100%;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f3f7;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .30);
}

    .detalle-imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

    .detalle-imagen:hover img {
        transform: scale(1.02);
    }


.detalle-sin-imagen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #aaa;
    font-size: 16px;
}

    .detalle-sin-imagen i {
        font-size: 55px;
    }


/* =========================================
   INFORMACIÓN
   ========================================= */

.detalle-info {
    padding: 20px 0;
}


.detalle-categoria {
    color: #9b7ede;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}


.detalle-info h1 {
    margin-top: 15px;
    margin-bottom: 20px;
    color: white;
    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
}


.detalle-linea {
    width: 55px;
    height: 3px;
    background: #9b7ede;
    margin-bottom: 25px;
}


.detalle-precio {
    color: #9b7ede;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
}


.detalle-descripcion {
    color: #c5c5c5;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 25px;
}


/* =========================================
   STOCK
   ========================================= */

.detalle-stock {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 30px;
    color: #bdbdbd;
    font-size: .95rem;
}

    .detalle-stock i {
        color: #9b7ede;
        font-size: 18px;
    }

    .detalle-stock strong {
        color: white;
        margin-left: 4px;
    }

    .detalle-stock .sin-stock {
        color: #ff7777;
        font-weight: 600;
    }


/* =========================================
   WHATSAPP
   ========================================= */

.detalle-whatsapp {
    width: 100%;
    max-width: 300px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 25px;
    border-radius: 30px;
    background: #25D366;
    color: white;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(37, 211, 102, .15);
    transition: .25s ease;
}

    .detalle-whatsapp:hover {
        background: #1fbd5b;
        color: white;
        transform: translateY(-2px);
    }

    .detalle-whatsapp i {
        font-size: 20px;
    }


/* =========================================
   VOLVER
   ========================================= */

.detalle-volver {
    display: flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: 22px;
    color: #aaa;
    font-size: .9rem;
    transition: .2s ease;
}

    .detalle-volver:hover {
        color: #9b7ede;
    }

    .detalle-volver i {
        transition: transform .2s ease;
    }

    .detalle-volver:hover i {
        transform: translateX(-3px);
    }


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 991px) {

    .detalle-page {
        padding: 50px 0 70px;
    }

    .detalle-producto {
        grid-template-columns: 1fr;
        gap: 45px;
        max-width: 700px;
    }

    .detalle-imagen {
        height: 500px;
    }

    .detalle-info {
        text-align: center;
    }

    .detalle-linea {
        margin-left: auto;
        margin-right: auto;
    }

    .detalle-descripcion {
        margin-left: auto;
        margin-right: auto;
    }

    .detalle-stock {
        justify-content: center;
    }

    .detalle-whatsapp {
        max-width: 320px;
    }

    .detalle-volver {
        margin-left: auto;
        margin-right: auto;
    }
}


@media (max-width: 575px) {

    .detalle-page {
        padding: 15px 15px 25px;
    }

    .detalle-producto {
        gap: 30px;
    }

    .detalle-imagen {
        height: 380px;
        border-radius: 15px;
    }

    .detalle-info h1 {
        font-size: 2.4rem;
    }

    .detalle-precio {
        font-size: 1.7rem;
    }

    .detalle-descripcion {
        font-size: .95rem;
    }

    .detalle-whatsapp {
        max-width: none;
    }
}