﻿


/* =========================================
   LAYOUT DESKTOP
========================================= */

.app-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */

.sidebar-desktop {
    position: fixed;
    top: 0;
    left: -290px;
    width: 290px;
    height: 100vh;
    background: #071633;
    z-index: 3000;
    transition: .35s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,.25);
}
/* SIDEBAR ACTIVO */

body.sidebar-open .sidebar-desktop {
    left: 0;
}

/* LOGO */

.sidebar-logo {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-align: center;
}

.logo-sidebar {
    max-width: 180px;
}

/* MENU */

.sidebar-menu {
    padding: 20px 0;
}

/* CONTENIDO */

.desktop-wrapper {
    width: 100%;
    min-height: 100vh;
    transition: .3s ease;
}

/* EMPUJAR CONTENIDO */

body.sidebar-open .desktop-wrapper {
    margin-left: 280px;
}

/* OVERLAY */

.desktop-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 9990;
}

body.sidebar-open .desktop-overlay {
    opacity: 1;
    visibility: visible;
}

/* TOPBAR */

.topbar-desktop {
    height: 72px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* BOTON */

/*.floating-menu-btn {
    position: fixed;
    top: 14px;
    left: 20px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: #0b1b3b;
    color: #fff;
    font-size: 22px;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transition: .3s ease;
}
*/
/* CONTENIDO */

.main-content {
    padding: 30px;
}

/* MOBILE */

@media(max-width:991px) {

    body.sidebar-open .desktop-wrapper {
        margin-left: 0;
    }

    .sidebar-desktop {
        width: 260px;
    }
}


/* TOPBAR */

.topbar-desktop {
    height: 72px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* BOTON MENU */

.desktop-menu-toggle {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: #0b1b46;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s ease;
    margin-right: 18px;
}

    .desktop-menu-toggle:hover {
        background: #173b82;
    }

/* TITULO */

.topbar-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    flex: 1;
}

/* DERECHA */

.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

body.sidebar-open .sidebar-desktop {
    left: 0;
}

.desktop-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 2500;
}

body.sidebar-open .desktop-overlay {
    opacity: 1;
    visibility: visible;
}

@media(max-width:768px) {

    .mobile-topbar,
    .mobile-only,
    #menuOptions,
    .menu-overlay {
        display: block;
    }

    .topbar-desktop {
        display: none;
    }
}


/* SIDEBAR */
.sidebar-desktop {
    position: fixed;
    top: 0;
    left: -290px;
    width: 290px;
    height: 100vh;
    background: #071633;
    z-index: 99999;
    transition: .35s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,.25);
}

/* ABRIR MENU */
body.sidebar-open .sidebar-desktop {
    left: 0;
}


.desktop-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 9990;
}

body.sidebar-open .desktop-overlay {
    opacity: 1;
    visibility: visible;
}

.topbar-desktop {
    z-index: 1000;
}


/* HEADER */

.topbar-desktop {
    height: 72px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 25px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO HEADER */

.topbar-logo img {
    height: 42px;
    width: auto;
}

/* TITULO */

.topbar-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    flex: 1;
}

/* =========================================
   SIDEBAR MENU
========================================= */

.sidebar-menu {
    padding: 20px 0;
}

    /* UL GENERAL */

    .sidebar-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    /* ITEMS */

    .sidebar-menu li {
        position: relative;
    }

    /* LINKS */

    .sidebar-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 14px 24px;
        color: #dbe7ff;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: .2s;
        border-left: 3px solid transparent;
    }

        /* HOVER */

        .sidebar-menu a:hover {
            background: rgba(255,255,255,.06);
            color: #ffffff;
            border-left: 3px solid #1da1ff;
        }

    /* ITEM ACTIVO */

    .sidebar-menu li.active > a {
        background: rgba(29,161,255,.15);
        border-left: 3px solid #1da1ff;
        color: #fff;
    }

    /* SUBMENU */

    .sidebar-menu .submenu {
        background: #08152f;
        margin-left: 18px;
        border-left: 1px solid rgba(255,255,255,.08);
    }

        /* SUBMENU LINKS */

        .sidebar-menu .submenu a {
            font-size: 14px;
            padding: 12px 20px;
            color: #b7c7ea;
        }

        /* TERCER NIVEL */

        .sidebar-menu .submenu .submenu {
            background: #0b1b46;
            margin-left: 14px;
        }

    /* FLECHAS */

    .sidebar-menu .arrow {
        font-size: 11px;
        opacity: .7;
    }

    /* ICONO PERSONALIZADO */

    .sidebar-menu li > a::before {
        content: "•";
        color: #1da1ff;
        font-size: 18px;
        margin-right: 10px;
    }

    /* SUBMENU ICONO */

    .sidebar-menu .submenu li > a::before {
        content: "";
        font-size: 11px;
        color: #7fbfff;
    }

/* SCROLL */

.sidebar-desktop {
    overflow-y: auto;
    scrollbar-width: thin;
}

/* SEPARADOR */

.sidebar-menu li + li {
    margin-top: 2px;
}


/* FLECHA MENU */

.sidebar-menu .arrow {
    margin-left: auto;
    font-size: 13px;
    color: #8fb8ff;
    transition: .3s;
}

/* ROTAR SI TIENE SUBMENU */

.sidebar-menu .has-submenu:hover > a .arrow {
    transform: rotate(90deg);
    color: #ffffff;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    color: #dbe7ff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: .2s;
}


/* =========================
   SUBMENUS
========================= */

.sidebar-menu .submenu {
    display: none;
    animation: fadeMenu .25s ease;
}

/* MOSTRAR */

.sidebar-menu li.open > .submenu {
    display: block;
}

/* ANIMACION */

@keyframes fadeMenu {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   ALINEAR MENU A LA IZQUIERDA
========================================= */

.sidebar-menu a {
    justify-content: flex-start !important;
    text-align: left;
    padding-left: 22px;
}

    /* TEXTO */

    .sidebar-menu a span,
    .sidebar-menu a i,
    .sidebar-menu a {
        text-align: left;
    }

/* FLECHA DERECHA */

.sidebar-menu .arrow {
    margin-left: auto;
}

/* SUBMENUS */

.sidebar-menu .submenu a {
    padding-left: 38px;
}

/* TERCER NIVEL */

.sidebar-menu .submenu .submenu a {
    padding-left: 54px;
}


/* =========================================
   FOOTER
========================================= */

.main-footer {
    background: #0096ff;
    color: #fff;
    margin-top: 60px;
    padding: 40px 20px;
}

/* CONTENEDOR */

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* COLUMNAS */

.footer-box {
    flex: 1;
    min-width: 220px;
}

    /* TITULOS */

    .footer-box h3 {
        font-size: 28px;
        margin-bottom: 18px;
        font-weight: 700;
    }

    /* TEXTO */

    .footer-box p,
    .footer-box a {
        color: #ffffff;
        text-decoration: none;
        display: block;
        margin-bottom: 10px;
        font-size: 16px;
    }

/* LOGO */

.footer-logo {
    text-align: center;
}

    .footer-logo img {
        max-width: 220px;
        width: 100%;
    }

/* RESPONSIVE */

@media(max-width:768px) {

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-box {
        width: 100%;
    }

        .footer-box h3 {
            font-size: 24px;
        }

    .footer-logo img {
        max-width: 160px;
    }
}

/* COPYRIGHT */

.footer-copy {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.25);
    text-align: center;
}

    .footer-copy p {
        margin: 0;
        font-size: 14px;
        color: #fff;
    }
/* =========================================
   CORREGIR SLIDER
========================================= */

.hero-banner,
.carousel,
.carousel-inner,
.carousel-item {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

    /* IMAGENES */

    .carousel img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

/* CONTENEDOR */

.main-content {
    overflow: hidden;
}


/* CONTENIDO PRINCIPAL */

.main-content,
.contenedor,
.container,
main {
    position: relative;
    z-index: 1;
}

/* GALERIA */

.galeria-section,
.carousel,
.owl-carousel {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* FOOTER */

.main-footer {
    position: relative;
    z-index: 10;
    clear: both;
}


.desktop-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

/* =========================================
   CONTENIDO PRINCIPAL
========================================= */

.desktop-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.main-content {
    flex: 1;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 0;
    overflow: visible;
}

/* GALERIA */

.galeria-section,
.carousel,
.carousel-inner,
.carousel-inner .item {
    position: relative;
    z-index: 1;
}

    .carousel-inner .item img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }



/*Contactenos*/
/* =========================================
   CONTACTO PAGE
========================================= */
/* =========================================
   CONTACTO
========================================= */

.contacto-page {
    padding: 10px 20px 70px;
}

/* HERO */

.contacto-hero {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 45px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
}

.img-contacto {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.overlay-contacto {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.badge-contacto {
    display: inline-block;
    background: rgba(255,255,255,.12);
    color: #00c2ff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.overlay-contacto h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 12px;
}

.overlay-contacto p {
    font-size: 20px;
    opacity: .95;
}

/* CARD */

.contacto-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

/* INFO */

.contacto-info {
    background: #071739;
    color: #fff;
    padding: 50px 40px;
}

    .contacto-info h3 {
        font-size: 36px;
        font-weight: 800;
        margin-bottom: 35px;
    }

.info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
    align-items: flex-start;
    font-size: 17px;
    line-height: 1.7;
}

.icono {
    color: #00c2ff;
    font-size: 22px;
    min-width: 24px;
    margin-top: 4px;
}

.contacto-info a {
    color: #fff;
    text-decoration: none;
}

    .contacto-info a:hover {
        color: #00c2ff;
    }

.contacto-info hr {
    border-color: rgba(255,255,255,.15);
    margin: 35px 0;
}

.info-extra p {
    margin-bottom: 15px;
}

/* WHATSAPP */

.btn-whatsapp {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    background: #25D366;
    color: #fff !important;
    padding: 16px 24px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none !important;
    transition: .3s ease;
    box-shadow: 0 10px 25px rgba(37,211,102,.25);
}

    .btn-whatsapp:hover {
        background: #1ebe5d;
        transform: translateY(-2px);
    }

/* MAPA */

.map-container {
    height: 100%;
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        min-height: 620px;
        border: 0;
        display: block;
    }

/* RESPONSIVE */

@media(max-width:992px) {

    .overlay-contacto h1 {
        font-size: 40px;
    }

    .contacto-info {
        padding: 40px 30px;
    }

    .map-container iframe {
        min-height: 420px;
    }
}

@media(max-width:768px) {

    .contacto-page {
        padding: 25px 15px 50px;
    }

    .img-contacto {
        height: 300px;
    }

    .overlay-contacto h1 {
        font-size: 32px;
    }

    .overlay-contacto p {
        font-size: 16px;
    }

    .contacto-info h3 {
        font-size: 28px;
    }

    .btn-whatsapp {
        max-width: 100%;
    }
}
/* Login acceso*/

/* =========================================
   LOGIN
========================================= */

.login-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-wrapper {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: #fff;
    border-radius: 24px;
    padding: 45px 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
    text-align: center;
}

    .login-card h2 {
        font-size: 36px;
        font-weight: 700;
        color: #071739;
        margin-bottom: 10px;
    }

    .login-card p {
        color: #666;
        margin-bottom: 30px;
    }

    .login-card .form-control {
        width: 100%;
        height: 55px;
        border-radius: 14px;
        border: 1px solid #ddd;
        padding: 0 18px;
        margin-bottom: 18px;
        font-size: 16px;
    }

        .login-card .form-control:focus {
            border-color: #0096ff;
            outline: none;
            box-shadow: 0 0 0 4px rgba(0,150,255,.12);
        }

.btn-login {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 14px;
    background: #0096ff;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

    .btn-login:hover {
        background: #0077cc;
        transform: translateY(-2px);
    }

.link-register {
    display: block;
    margin-top: 22px;
    color: #071739;
    font-weight: 600;
    text-decoration: none;
}

    .link-register:hover {
        color: #0096ff;
    }

.msg-login {
    margin-top: 18px;
    color: #ff3b3b;
    font-weight: 600;
    display: none;
}

 MOBILE 

@media(max-width:768px) {

    .login-card {
        padding: 35px 25px;
    }

        .login-card h2 {
            font-size: 30px;
        }
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f3f6fb;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    color: #0a1b4d;
    text-decoration: none;
    font-size: 18px;
    transition: .3s;
    position: relative;
}

    .top-icon:hover {
        background: #0a1b4d;
        color: #fff;
    }

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff3b30;
    color: #fff;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-mini {
    color: #0a1b4d;
    font-size: 16px;
    font-weight: 600;
}

/*NOSOTROS*/
/* =========================================
   LANDING
========================================= */

.landing {
    width: 100%;
}

/* =========================================
   HERO
========================================= */

.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.94)), url('/Images/empresa/contactenos-3.jpg');
    background-size: cover;
    background-position: center;
}

.hero-logo {
    max-width: 520px;
    width: 100%;
    margin-bottom: 25px;
}

.hero-text {
    max-width: 750px;
    font-size: 22px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 35px;
}

.hero-btn {
    background: #0096ff;
    color: #fff !important;
    padding: 16px 34px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    transition: .3s;
}

    .hero-btn:hover {
        background: #0077cc;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,150,255,.25);
    }

/* =========================================
   TITULOS
========================================= */

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #071739;
    margin-bottom: 20px;
}

/* =========================================
   SERVICIOS
========================================= */

.card-servicio {
    background: #fff;
    border-radius: 22px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: .3s;
}

    .card-servicio:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,.12);
    }

    .card-servicio .icon {
        font-size: 52px;
        color: #0096ff;
        margin-bottom: 20px;
    }

    .card-servicio h4 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 18px;
        color: #071739;
    }

    .card-servicio p {
        color: #666;
        line-height: 1.8;
    }

/* =========================================
   VALOR
========================================= */

.valor {
    padding: 90px 20px;
    background: #071739;
    color: #fff;
    margin-top: 80px;
}

    .valor h2 {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 40px;
    }

    .valor .row div {
        font-size: 20px;
        margin-bottom: 20px;
    }

/* =========================================
   NOSOTROS
========================================= */

.nosotros {
    padding: 100px 20px;
}

    .nosotros p {
        font-size: 18px;
        line-height: 1.9;
        color: #555;
    }

.autor {
    font-weight: 700;
    color: #071739;
}

.img-nosotros {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* =========================================
   CTA FINAL
========================================= */

.cta-final {
    padding: 100px 20px;
    background: #0096ff;
    color: #fff;
    margin-top: 60px;
}

    .cta-final h2 {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 35px;
    }

.btn-cta {
    display: inline-block;
    background: #fff;
    color: #0096ff;
    padding: 16px 34px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

    .btn-cta:hover {
        background: #071739;
        color: #fff;
        transform: translateY(-3px);
    }

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:992px) {

    .section-title,
    .valor h2,
    .cta-final h2 {
        font-size: 34px;
    }

    .hero-text {
        font-size: 18px;
    }

    .hero-logo {
        max-width: 360px;
    }

    .nosotros {
        text-align: center;
    }

    .img-nosotros {
        margin-top: 40px;
    }
}

@media(max-width:768px) {

    .hero-section {
        min-height: auto;
        padding: 80px 20px;
    }

    .section-title,
    .valor h2,
    .cta-final h2 {
        font-size: 28px;
    }

    .card-servicio {
        padding: 35px 25px;
    }
}

/*CONTACTENPS*/
/* BADGE */

.badge-contacto {
    display: inline-block;
    background: rgba(255,255,255,.12);
    color: #00c2ff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* HR */

.contacto-info hr {
    border-color: rgba(255,255,255,.15);
    margin: 30px 0;
}

/*PRODUCTO UNO*/

/* =========================================
   DETALLE PRODUCTO
========================================= */

.detalle-page {
    padding: 40px 20px 60px;
}

.detalle-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    overflow: hidden;
}

/* IMAGEN */

.img-box {
    background: #f4f7fb;
    border-radius: 20px;
    padding: 25px;
}

.img-detalle {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: .3s;
}

/* MINI GALERIA */

.mini-galeria {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.img-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: .25s;
    background: #fff;
    padding: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

    .img-thumb:hover {
        transform: translateY(-4px);
        border-color: #0096ff;
    }

.active-thumb {
    border-color: #0096ff;
}

/* INFO */

.badge-producto {
    display: inline-block;
    background: #eaf5ff;
    color: #0096ff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.titulo-producto {
    font-size: 42px;
    font-weight: 800;
    color: #071739;
    margin-bottom: 25px;
}
.subtitulo-producto {
    font-size: 22px;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 25px;
}

.descripcion-producto {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 35px;
}

/* BOTONES */

.acciones-producto {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-volver {
    background: #071739;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    transition: .3s;
}

    .btn-volver:hover {
        background: #0096ff;
        transform: translateY(-2px);
    }

/* MOBILE */

@media(max-width:768px) {

    .detalle-card {
        padding: 25px;
    }

    .titulo-producto {
        font-size: 30px;
        margin-top: 25px;
    }

    .descripcion-producto {
        font-size: 15px;
    }

    .img-thumb {
        width: 70px;
        height: 70px;
    }
}


/*PRODUCTOS*/
/* =========================================
   PRODUCTOS PAGE
========================================= */

.productos-page {
    padding: 40px 20px 60px;
}

/* HEADER */

.productos-header {
    background: linear-gradient(135deg,#071739,#0096ff);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

    .productos-header h1 {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 12px;
    }

    .productos-header p {
        font-size: 18px;
        opacity: .95;
    }

/* GRID */

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
}

/* CARD */

.producto-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: .3s;
}

    .producto-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 35px rgba(0,0,0,.12);
    }

.producto-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* IMAGEN */

.producto-img-box {
    background: #f4f7fb;
    padding: 25px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-producto {
    width: 100%;
    height: 220px;
    object-fit: contain;
    transition: .3s;
}

.producto-card:hover .img-producto {
    transform: scale(1.05);
}

/* INFO */

.producto-info {
    padding: 25px;
}

    .producto-info h3 {
        font-size: 20px;
        font-weight: 700;
        color: #071739;
        margin-bottom: 20px;
        min-height: 60px;
    }

/* LINK */

.ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0096ff;
    font-weight: 700;
    transition: .3s;
}

.producto-card:hover .ver-mas {
    gap: 14px;
}

/* EMPTY */

.empty-productos {
    background: #fff;
    border-radius: 24px;
    padding: 60px 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

    .empty-productos i {
        font-size: 70px;
        color: #0096ff;
        margin-bottom: 20px;
    }

    .empty-productos h3 {
        font-size: 28px;
        margin-bottom: 25px;
        color: #071739;
    }

/* BOTON */

.btn-volver {
    background: #071739;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    transition: .3s;
}

    .btn-volver:hover {
        background: #0096ff;
        transform: translateY(-2px);
    }

/* MOBILE */

@media(max-width:768px) {

    .productos-header {
        padding: 35px 20px;
    }

        .productos-header h1 {
            font-size: 30px;
        }

        .productos-header p {
            font-size: 15px;
        }

    .producto-img-box {
        height: 220px;
    }

    .img-producto {
        height: 180px;
    }

    .producto-info h3 {
        font-size: 18px;
    }
}

/*MENU OPTIMIZADO*/

.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f3f6fb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a1b4d;
    text-decoration: none;
    font-size: 18px;
    transition: .3s;
    position: relative;
}

    .top-icon:hover {
        background: #0a1b4d;
        color: #fff;
    }

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff3b30;
    color: #fff;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-mini {
    color: #0a1b4d;
    font-size: 16px;
    font-weight: 600;
}


.mobile-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* FILA 1 */

.mobile-top {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 16px;
}

.mobile-logo {
    height: 42px;
    width: auto;
}

/* FILA 2 */

.mobile-bottom {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0 16px;
    border-top: 1px solid #f1f1f1;
    background: #fafcff;
}

.mobile-user {
    margin-right: auto;
    color: #0a1b4d;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eef3ff;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    color: #0a1b4d;
    text-decoration: none;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff3b30;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.mobile-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #e5e5e5;
}

/* FILA SUPERIOR */

.mobile-top {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 16px;
    border-bottom: 1px solid #f1f1f1;
}

.mobile-logo {
    height: 44px;
    width: auto;
}

/* FILA INFERIOR */
.mobile-bottom {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 16px;
    border-top: 1px solid #f1f1f1;
    background: #fafcff;
}

/* ACCIONES */

.mobile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
}

/* CONTACTOS */

.header-center {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .header-center a {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: #eef3ff;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0a1b4d;
        text-decoration: none;
        font-size: 15px;
    }

/* ICONOS DERECHA */

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eef3ff;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    color: #0a1b4d;
    text-decoration: none;
    position: relative;
}

/* BADGE */

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff3b30;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-top {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    gap: 12px;
    border-bottom: 1px solid #f1f1f1;
    background: #fff;
}

/* IZQUIERDA */

.mobile-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

/* LOGO */

.mobile-logo {
    height: 46px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

/* CONTACTOS */

.header-center {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

    .header-center a {
        width: 28px;
        height: 28px;
        border-radius: 7px;
        background: #eef3ff;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0a1b4d;
        text-decoration: none;
        font-size: 13px;
        transition: .25s;
    }

        .header-center a:hover {
            background: #0a1b4d;
            color: #fff;
        }


/* FILA INFERIOR */

.mobile-bottom {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 16px;
    border-top: 1px solid #f1f1f1;
    background: #fafcff;
}

/* CONTENEDOR ICONOS */

.mobile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* USUARIO */

.mobile-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0a1b4d;
    font-size: 13px;
    font-weight: 600;
}


/* FILA INFERIOR */

.mobile-bottom {
    min-height: 48px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 14px;
    border-top: 1px solid #f1f1f1;
    background: #fafcff;
}

/* CONTENEDOR DERECHO */

.mobile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
}

/* USUARIO */

.mobile-user {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #0a1b4d;
    white-space: nowrap;
}


/* =========================================
   FILA INFERIOR MOBILE
========================================= */

.mobile-bottom {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 14px;
    background: #fff;
    border-top: 1px solid #ececec;
}

/* CONTENEDOR */

.mobile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
}

/* USUARIO */

.mobile-user-box {
    display: flex;
    align-items: center;
    padding-right: 10px;
    border-right: 1px solid #dcdcdc;
}

.mobile-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0a1b4d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

/* ICONOS */

.mobile-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f4f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a1b4d;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    transition: .25s;
}

    .mobile-icon:hover {
        background: #e8efff;
    }

/* CARRITO */

.cart-mobile {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff3b30;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*SEGUNDA FILA FLOTANTE*/
/* =========================================
   HEADER MOBILE
========================================= */

/*.mobile-header {
    position: relative;
    background: #fff;
    z-index: 9999;
}*/

/* =========================================
   FILA SUPERIOR FIJA
========================================= */

/*.mobile-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: #fff;
    border-bottom: 1px solid #ececec;
    z-index: 9999;
}*/

/* =========================================
   FILA INFERIOR FLOTANTE
========================================= */

/*.mobile-bottom {
    position: absolute;
    top: 82px;
    right: 14px;
    z-index: 9998;
    background: #fff;
    border-radius: 16px;
    padding: 10px 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}*/

/* ESPACIO CONTENIDO */

/*.main-content {
    padding-top: 90px;
}*/

/*AJUSTE SEGUNDA FILA NO FLOTANTE*/
/* =========================================
   HEADER MOBILE
========================================= */

/*.mobile-header {
    background: #fff;
    position: relative;
    z-index: 9999;
}*/

/* =========================================
   FILA SUPERIOR FIJA
========================================= */

/*.mobile-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: #fff;
    border-bottom: 1px solid #ececec;
    z-index: 9999;
}*/

/* =========================================
   FILA INFERIOR NORMAL
========================================= */

/*.mobile-bottom {
    margin-top: 72px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 14px;
    background: #fff;
    border-bottom: 1px solid #ececec;
}*/

/* ACCIONES */

/*.mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}*/

/* USUARIO */

/*.mobile-user-box {
    display: flex;
    align-items: center;
    padding-right: 10px;
    border-right: 1px solid #dcdcdc;
}

.mobile-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0a1b4d;
}*/

/* ICONOS */

/*.mobile-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f4f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a1b4d;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}*/

/* CARRITO */

/*.cart-badge {
    position: absolute;
    top: -5px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff3b30;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}*/

/* CONTENIDO */

/*.main-content {
    padding-top: 0;
}*/

/*AJUSTE SEGUNDA FILA */
/* =========================
   SOLO PRIMERA FILA FIJA
========================= */

/*.mobile-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: #fff;
    border-bottom: 1px solid #ececec;
    z-index: 9999;
}*/

/* =========================
   SEGUNDA FILA NORMAL
========================= */

/*.mobile-bottom {
    margin-top: 72px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 14px;
    background: #fff;
    border-bottom: 1px solid #ececec;
}*/

/* =========================
   PRIMERA FILA FIJA
========================= */

.mobile-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: #fff;
    border-bottom: 1px solid #ececec;
    z-index: 9999;
}

/* =========================
   SEGUNDA FILA NORMAL
========================= */

.mobile-bottom {
    margin-top: 72px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 14px;
    background: #fff;
    border-bottom: 1px solid #ececec;
}

/*AJSUTE SEGUNDA FILA*/

/* =========================
   SEGUNDA FILA COMPACTA
========================= */

.mobile-bottom {
    margin-top: 72px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 4px 12px;
    background: #fff;
    border-bottom: 1px solid #ececec;
}

/* CONTENEDOR */

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* USUARIO */

.mobile-user {
    font-size: 12px;
    font-weight: 600;
    gap: 5px;
}

/* ICONOS */

.mobile-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
}

/* CARRITO */

.cart-badge {
    width: 16px;
    height: 16px;
    font-size: 10px;
    top: -4px;
    right: -4px;
}

/*AJUSTE CONTACTENOS*/
/* ========================================
   MOBILE CONTACTO
======================================== */

/*@media(max-width:768px) {*/

    /* HERO */

    /*.contacto-hero {
        height: 380px;
        border-radius: 22px;
        overflow: hidden;
        margin-top: 10px;
    }

    .img-contacto {
        height: 100%;
        object-fit: cover;
    }

    .overlay-contacto {
        background: rgba(0,0,0,.48);
        padding: 20px;
        text-align: center;
    }

        .overlay-contacto h1 {
            font-size: 48px;
            line-height: 1.05;
            margin: 14px 0;
        }

        .overlay-contacto p {
            font-size: 18px;
            line-height: 1.5;
        }

    .badge-contacto {
        font-size: 11px;
        padding: 8px 16px;
        border-radius: 30px;
    }*/

    /* CARD */

    /*.contacto-card {
        margin-top: 18px;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
    }*/

    /* INFO */

    /*.contacto-info {
        padding: 34px 24px;
    }

        .contacto-info h3 {
            font-size: 30px;
            margin-bottom: 28px;
        }

    .info-item {
        gap: 14px;
        margin-bottom: 22px;
        align-items: flex-start;
    }

        .info-item a,
        .info-item span,
        .info-item div {
            font-size: 15px;
            line-height: 1.6;
        }

    .icono {
        font-size: 20px;
        min-width: 24px;
    }*/

    /* BOTON */

    /*.btn-whatsapp {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 16px;
        border-radius: 16px;
        font-size: 15px;
        margin-top: 28px;
    }*/

    /* MAPA */

    /*.map-container {
        height: 320px;
    }

        .map-container iframe {
            min-height: 320px;
        }
}*/

/* =========================
   CONTACTO COMPACTO
========================= */

/*.contacto-page {
    padding: 14px;
}*/

/* HERO */

/*.contacto-hero {
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 16px;
}

.overlay-contacto {
    padding: 16px;
}

    .overlay-contacto h1 {
        font-size: 38px;
        margin: 8px 0;
    }

    .overlay-contacto p {
        font-size: 16px;
        margin: 0;
    }

.badge-contacto {
    font-size: 10px;
    padding: 6px 14px;
}*/

/* CARD */

/*.contacto-card {
    border-radius: 18px;
    overflow: hidden;
}*/

/* INFO */

/*.contacto-info {
    padding: 24px 22px;
}

    .contacto-info h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }*/

/* ITEMS */

/*.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

    .info-item a,
    .info-item span,
    .info-item div {
        font-size: 14px;
        line-height: 1.4;
    }*/

/* ICONOS */

/*.icono {
    font-size: 18px;
    margin-top: 2px;
}*/

/* EXTRA */

/*.info-extra p {
    margin-bottom: 10px;
}*/

/* BOTON */

/*.btn-whatsapp {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14px;
}*/

/* MAPA */

/*.map-container {
    min-height: 320px;
}

    .map-container iframe {
        min-height: 320px;
    }*/


/* OVERLAY */

/*.overlay-contacto {
    background: rgba(0,0,0,.58);
}*/

/* BADGE */

/*.badge-contacto {
    background: rgba(255,255,255,.16);
    color: #00cfff;
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}*/

/* TITULO */

/*.overlay-contacto h1 {
    color: #fff;
    text-shadow: 0 4px 12px rgba(0,0,0,.45);
    font-weight: 800;
}*/

/* TEXTO */

/*.overlay-contacto p {
    color: #f3f3f3;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.overlay-contacto {
    backdrop-filter: blur(2px);
}

.contacto-card .row {
    display: flex;
    align-items: stretch;
}*/

/* COLUMNA INFO */

/*.contacto-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}*/

/* COLUMNA MAPA */

/*.contacto-card .col-lg-7 {
    padding: 0;
}*/

/* MAPA */

/*.map-container {
    height: 100%;
    min-height: 100%;
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        min-height: 520px;
        display: block;
        border: 0;
    }


@media(max-width:768px) {

    .contacto-card .row {
        display: block;
    }

    .map-container iframe {
        min-height: 320px;
    }
}*/

/* CARD */

.contacto-card {
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
}

    /* ROW */

    .contacto-card .row {
        display: flex;
        align-items: stretch;
        margin: 0;
    }

    /* COLUMNAS */

    .contacto-card .col-lg-5 {
        padding: 0;
    }

    .contacto-card .col-lg-7 {
        padding: 0;
        flex: 1;
    }

/* MAPA */

.map-container {
    width: 100%;
    height: 100%;
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        min-height: 620px;
        border: 0;
        display: block;
    }

@media(max-width:768px) {

    .contacto-card .row {
        display: block;
    }

    .map-container iframe {
        min-height: 320px;
    }
}

/* CONTENEDOR */

.contacto-card {
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
}

    /* ROW PERSONALIZADO */

    .contacto-card .row {
        display: flex;
        margin: 0;
    }

    /* PANEL IZQUIERDO */

    .contacto-card .contacto-info {
        width: 38%;
        min-width: 38%;
        padding: 50px 40px;
    }

    /* MAPA */

    .contacto-card .col-lg-7 {
        width: 62%;
        min-width: 62%;
        padding: 0;
    }

.map-container {
    width: 100%;
    height: 100%;
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        min-height: 620px;
        border: 0;
        display: block;
    }

@media(max-width:768px) {

    .contacto-card .row {
        flex-direction: column;
    }

    .contacto-card .contacto-info,
    .contacto-card .col-lg-7 {
        width: 100%;
        min-width: 100%;
    }

    .map-container iframe {
        min-height: 320px;
    }
}


/*CREATE ITEM*/

/* ========================================
   FORMULARIO PRODUCTOS
======================================== */

.card-form {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    margin-top: 20px;
    margin-bottom: 40px;
}

    /* TITULOS */

    .card-form h4 {
        font-size: 28px;
        font-weight: 700;
        color: #071739;
        margin-bottom: 10px;
    }

    .card-form hr {
        margin-bottom: 30px;
    }

    /* LABELS */

    .card-form label {
        font-weight: 600;
        color: #071739;
        margin-bottom: 8px;
    }

    /* INPUTS */

    .card-form .form-control {
        height: 48px;
        border-radius: 12px;
        border: 1px solid #dfe6ee;
        box-shadow: none;
        padding: 10px 14px;
        transition: .3s;
    }

    .card-form textarea.form-control {
        height: auto;
    }

    .card-form .form-control:focus {
        border-color: #0096ff;
        box-shadow: 0 0 0 3px rgba(0,150,255,.15);
    }

/* GRID PRECIOS */

.precio-costo {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

    .precio-costo > div {
        flex: 1;
    }

/* IMAGEN */

.img-preview {
    width: 100%;
    max-width: 260px;
    margin-top: 16px;
    border-radius: 18px;
    border: 1px solid #eee;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

/* BOTON */

.card-form .btn-primary {
    background: #0096ff;
    border: none;
    border-radius: 14px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    transition: .3s;
}

    .card-form .btn-primary:hover {
        background: #0077cc;
        transform: translateY(-2px);
    }

/* VALIDACIONES */

.text-danger {
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

/* MOBILE */

@media(max-width:768px) {

    .card-form {
        padding: 24px 18px;
    }

    .precio-costo {
        flex-direction: column;
        gap: 18px;
    }

    .card-form h4 {
        font-size: 24px;
    }

    .img-preview {
        max-width: 100%;
    }
}

.page-title{

    font-size:34px;

    font-weight:800;

    color:#071739;

    margin:25px 0;
}

/*DETALLE PRODCUTO*/

/* ========================================
   DETALLE PRODUCTO
======================================== */

.detalle-producto {
    padding: 30px 15px 50px;
}

/* TITULO */

.titulo-detalle {
    font-size: 34px;
    font-weight: 800;
    color: #071739;
    margin-bottom: 25px;
}

/* CARD */

.card-detalle {
    background: #fff;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* IMAGEN */

.img-detalle {
    width: 100%;
    max-width: 320px;
    border-radius: 22px;
    object-fit: cover;
    border: 1px solid #edf2f7;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* GRID */

.grid-detalle {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

    .grid-detalle div {
        background: #f8fbff;
        padding: 16px 18px;
        border-radius: 16px;
        border: 1px solid #eef3f8;
        font-size: 15px;
        line-height: 1.5;
        color: #2b2b2b;
    }

    .grid-detalle strong {
        display: block;
        margin-bottom: 6px;
        color: #071739;
        font-size: 14px;
    }

/* ESTADOS */

.estado {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

    .estado.activo {
        background: #dff8ea;
        color: #11a75c;
    }

    .estado.inactivo {
        background: #ffe5e5;
        color: #d7263d;
    }

/* BOTONES */

.acciones-detalle {
    margin-top: 30px;
    display: flex;
    gap: 14px;
}

.btn-volver {
    background: #071739;
    color: #fff;
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

    .btn-volver:hover {
        background: #0096ff;
        color: #fff;
        text-decoration: none;
    }

/* MOBILE */

@media(max-width:768px) {

    .card-detalle {
        padding: 22px;
    }

    .titulo-detalle {
        font-size: 28px;
    }

    .grid-detalle {
        grid-template-columns: 1fr;
    }

    .img-detalle {
        max-width: 100%;
        margin-bottom: 25px;
    }

    .acciones-detalle {
        flex-direction: column;
    }

    .btn-volver {
        text-align: center;
    }
}

/* ========================================
   DETALLE SIMPLE
======================================== */

.detalle-producto {
    padding: 20px 10px 40px;
}

/* TITULO */

.titulo-detalle {
    font-size: 28px;
    font-weight: 700;
    color: #071739;
    margin-bottom: 20px;
}

/* CARD */

.card-detalle {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,.06);
}

/* IMAGEN */

.img-detalle {
    width: 100%;
    max-width: 260px;
    border-radius: 14px;
    border: 1px solid #e5e5e5;
}

/* GRID */

.grid-detalle {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
}

    .grid-detalle div {
        background: #f7f9fc;
        border: 1px solid #edf1f5;
        border-radius: 12px;
        padding: 12px 14px;
        font-size: 14px;
        line-height: 1.4;
    }

    .grid-detalle strong {
        color: #071739;
        margin-right: 6px;
    }

/* ESTADOS */

.estado {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

    .estado.activo {
        background: #dff5e7;
        color: #0d9b52;
    }

    .estado.inactivo {
        background: #ffe2e2;
        color: #d92d20;
    }

/* BOTONES */

.acciones-detalle {
    margin-top: 18px;
}

.btn-volver {
    background: #071739;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

    .btn-volver:hover {
        background: #0096ff;
        color: #fff;
    }

/* MOBILE */

@media(max-width:768px) {

    .card-detalle {
        padding: 18px;
    }

    .grid-detalle {
        grid-template-columns: 1fr;
    }

    .img-detalle {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/*EDICION DE PRODUCTO*/
.edit-producto {
    padding: 20px;
}

.edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .edit-header h2 {
        font-size: 30px;
        font-weight: 700;
        color: #071739;
    }

.card-edit {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.preview-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #eaeaea;
}

.input-file {
    margin-top: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.full-input {
    margin-bottom: 16px;
}

.form-control {
    height: 44px;
    border-radius: 12px;
    border: 1px solid #dfe5ec;
    box-shadow: none;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #071739;
}

.check-grid {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.edit-actions {
    margin-top: 24px;
}

.btn-save {
    background: #0096ff;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
}

.btn-back {
    background: #f4f6f9;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #071739;
}

/* MOBILE */

@media(max-width:768px) {

    .card-edit {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

.edit-producto {
    padding: 18px 22px;
}

/* CARD */

.card-edit {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

/* IMAGEN */

.edit-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-img {
    width: 100%;
    max-width: 280px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    object-fit: cover;
}

.input-file {
    margin-top: 10px;
    font-size: 12px;
}

/* GRID */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* LABELS */

.edit-form label {
    font-size: 13px;
    font-weight: 700;
    color: #071739;
    margin-bottom: 4px;
}

/* INPUTS */

.form-control {
    height: 42px;
    border-radius: 10px;
    border: 1px solid #d9e0e7;
    box-shadow: none;
    font-size: 14px;
}

    .form-control:focus {
        border-color: #0096ff;
        box-shadow: 0 0 0 3px rgba(0,150,255,.12);
    }

/* PRODUCTO */

.full-input {
    margin-top: 12px;
}

/* CHECKS */

.check-grid {
    display: flex;
    gap: 20px;
    margin-top: 14px;
    align-items: center;
}

/* BOTONES */

.edit-actions {
    margin-top: 18px;
}

.btn-save {
    background: #0096ff;
    border: none;
    color: #fff;
    padding: 10px 26px;
    border-radius: 10px;
    font-weight: 600;
    transition: .2s;
}

    .btn-save:hover {
        background: #0077cc;
    }

.btn-back {
    background: #f3f5f8;
    color: #071739;
    padding: 9px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

/* MOBILE */

@media(max-width:768px) {

    .card-edit {
        padding: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .preview-img {
        max-width: 220px;
    }

    .edit-header h2 {
        font-size: 28px;
    }
}

.edit-form {
    padding-left: 10px;
}

/*LOISTA PRODUCTOS*/
/* ========================================
   ADMIN PRODUCTOS
======================================== */

.admin-productos {
    padding: 20px;
}

/* HEADER */

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

    .admin-header h3 {
        font-size: 30px;
        font-weight: 700;
        color: #071739;
        margin: 0;
    }

/* BOTON */

.btn-crear {
    background: #0096ff;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: .2s;
}

    .btn-crear:hover {
        background: #0077cc;
        color: #fff;
    }

/* TABLA */

.table-modern {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 3px 18px rgba(0,0,0,.05);
    margin: 0;
}

    /* HEAD */

    .table-modern thead {
        background: #071739;
    }

        .table-modern thead th {
            color: #fff;
            border: none !important;
            padding: 16px 14px;
            font-size: 13px;
            font-weight: 600;
            white-space: nowrap;
        }

    /* BODY */

    .table-modern tbody tr {
        transition: .2s;
    }

        .table-modern tbody tr:hover {
            background: #f7fbff;
        }

    .table-modern td {
        padding: 14px;
        vertical-align: middle !important;
        border-top: 1px solid #edf1f5 !important;
        font-size: 13px;
        color: #374151;
    }

    /* NOMBRE */

    .table-modern .nombre {
        font-weight: 600;
        color: #071739;
        min-width: 180px;
    }

/* ESTADOS */

.estado {
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

    .estado.activo {
        background: #dcfce7;
        color: #15803d;
    }

    .estado.inactivo {
        background: #fee2e2;
        color: #b91c1c;
    }

/* ACCIONES */

.acciones {
    white-space: nowrap;
}

.btn-editar,
.btn-detalle {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: .2s;
}

.btn-editar {
    background: #eff6ff;
    color: #2563eb;
}

    .btn-editar:hover {
        background: #dbeafe;
        color: #1d4ed8;
    }

.btn-detalle {
    background: #f3f4f6;
    color: #374151;
    margin-left: 6px;
}

    .btn-detalle:hover {
        background: #e5e7eb;
        color: #111827;
    }

/* RESPONSIVE */

@media(max-width:768px) {

    .admin-productos {
        padding: 14px;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

        .admin-header h3 {
            font-size: 26px;
        }

    .table-modern {
        min-width: 1000px;
    }
}

/*CREACION CUENTA*/
/* ========================================
   REGISTRO
======================================== */

.registro-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 16px;
}

/* CARD */

.registro-card {
    width: 100%;
    max-width: 760px;
    background: #fff;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* HEADER */

.registro-header {
    text-align: center;
    margin-bottom: 28px;
}

    .registro-header h2 {
        font-size: 34px;
        font-weight: 700;
        color: #071739;
        margin-bottom: 8px;
    }

    .registro-header p {
        color: #6b7280;
        font-size: 15px;
    }

/* TITULOS */

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #071739;
    margin: 24px 0 14px;
}

/* GRID */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.full-input {
    margin-bottom: 18px;
}

/* LABELS */

label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #071739;
}

/* INPUTS */

.form-control {
    height: 46px;
    border-radius: 12px;
    border: 1px solid #dbe3ec;
    box-shadow: none;
    font-size: 14px;
}

    .form-control:focus {
        border-color: #0096ff;
        box-shadow: 0 0 0 3px rgba(0,150,255,.10);
    }

/* ERRORES */

.error-label {
    display: none;
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
}

/* BOTONES */

.registro-actions {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-registro,
.btn-recordar {
    border: none;
    border-radius: 12px;
    padding: 13px 26px;
    font-weight: 600;
    transition: .2s;
}

.btn-registro {
    background: #0096ff;
    color: #fff;
}

    .btn-registro:hover {
        background: #0077cc;
    }

.btn-recordar {
    background: #f3f4f6;
    color: #071739;
}

/* MOBILE */

@media(max-width:768px) {

    .registro-card {
        padding: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .registro-header h2 {
        font-size: 28px;
    }
}

/*CATALOGO PRODUCTOS*/
/* ========================================
   PRODUCTOS
======================================== */

.productos-page {
    padding: 24px 20px 40px;
}

/* HEADER */

.productos-header {
    text-align: center;
    margin-bottom: 34px;
}

    .productos-header h2 {
        font-size: 40px;
        font-weight: 700;
        color: #071739;
        margin-bottom: 10px;
    }

    .productos-header p {
        color: #6b7280;
        font-size: 16px;
    }

/* GRID */

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 24px;
}

/* CARD */

.producto-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    transition: .25s;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}

    .producto-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 28px rgba(0,0,0,.10);
    }

/* LINK */

.producto-link {
    text-decoration: none;
}

/* IMAGEN */

.producto-img-box {
    height: 230px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.producto-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: .3s;
}

.producto-card:hover .producto-img {
    transform: scale(1.04);
}

/* INFO */

.producto-info {
    padding: 20px;
}

    .producto-info h4 {
        font-size: 16px;
        font-weight: 700;
        color: #071739;
        margin-bottom: 12px;
        min-height: 46px;
    }

.ver-producto {
    color: #0096ff;
    font-weight: 600;
    font-size: 14px;
}

/* EMPTY */

.empty-productos {
    text-align: center;
    padding: 70px 20px;
}

    .empty-productos i {
        font-size: 70px;
        color: #cbd5e1;
        margin-bottom: 20px;
    }

    .empty-productos h3 {
        margin-bottom: 20px;
        color: #071739;
    }

.btn-back {
    border: none;
    background: #0096ff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
}

/* MOBILE */

@media(max-width:768px) {

    .productos-header h2 {
        font-size: 30px;
    }

    .productos-grid {
        gap: 18px;
    }

    .producto-img-box {
        height: 190px;
    }
}

/*MEJORA PRODCUTOS*/

/* HEADER */

.productos-header {
    background: linear-gradient( 90deg, #041c4a, #1196f5);
    border-radius: 28px;
    padding: 40px 30px;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

    .productos-header h2 {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 10px;
        color: #fff;
    }

    .productos-header p {
        color: rgba(255,255,255,.85);
        font-size: 17px;
        margin: 0;
    }

.producto-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: .25s;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border: 1px solid #eef2f7;
}

.producto-img-box {
    height: 180px;
    padding: 14px;
    background: #f8fafc;
}

.producto-info {
    padding: 16px 18px;
}

    .producto-info h4 {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
        margin-bottom: 10px;
        color: #071739;
        min-height: 42px;
    }

.ver-producto {
    font-size: 14px;
    font-weight: 600;
}

.productos-page {
    padding: 18px 20px 30px;
    background: #f7f9fc;
}

/*MARCAS*/

/* ========================================
   MARCAS
======================================== */

.marcas-page {
    padding: 20px 0 40px;
}

/* HEADER */

.marcas-header {
    background: linear-gradient( 90deg, #041c4a, #1196f5);
    border-radius: 24px;
    padding: 45px 30px;
    text-align: center;
    margin-bottom: 35px;
    color: #fff;
}

    .marcas-header h2 {
        font-size: 38px;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .marcas-header p {
        font-size: 16px;
        opacity: .9;
        margin: 0;
    }

/* CARD */

.marca-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    transition: .25s;
    height: 100%;
    border: 1px solid #edf1f7;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

    .marca-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0,0,0,.10);
    }

/* IMAGEN */

.marca-img-box {
    height: 220px;
    padding: 25px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marca-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* INFO */

.marca-info {
    padding: 18px;
}

    .marca-info h4 {
        font-size: 18px;
        font-weight: 700;
        color: #071739;
        margin-bottom: 10px;
    }

.marca-link {
    color: #1196f5;
    font-weight: 600;
    text-decoration: none;
}

    .marca-link:hover {
        color: #041c4a;
    }

/* MOBILE */

@media(max-width:768px) {

    .marcas-header {
        padding: 30px 20px;
    }

        .marcas-header h2 {
            font-size: 28px;
        }

    .marca-img-box {
        height: 150px;
        padding: 16px;
    }

    .marca-info h4 {
        font-size: 15px;
    }
}


/*PAGE MARCA*/
/* ========================================
   ADMIN MARCAS
======================================== */

.admin-marcas {
    padding: 25px 0 40px;
}

/* HEADER */

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

    .admin-header h2 {
        font-size: 34px;
        font-weight: 800;
        color: #071739;
        margin-bottom: 5px;
    }

    .admin-header p {
        margin: 0;
        color: #6b7280;
    }

/* BOTON */

.btn-crear {
    background: #1196f5;
    color: #fff;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: .25s;
}

    .btn-crear:hover {
        background: #071739;
        color: #fff;
    }

/* TABLA */

.table-marcas {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0,0,0,.05);
}

    .table-marcas thead {
        background: #071739;
        color: #fff;
    }

    .table-marcas th {
        padding: 18px 16px;
        border: none;
        font-size: 14px;
    }

    .table-marcas td {
        padding: 18px 16px;
        vertical-align: middle;
        border-color: #eef2f7;
    }

/* IMAGEN */

.marca-img-admin {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 14px;
    background: #f8fafc;
    padding: 8px;
}

/* NOMBRE */

.marca-nombre {
    font-weight: 700;
    color: #071739;
    margin-bottom: 4px;
}

.marca-link {
    font-size: 13px;
    color: #1196f5;
    text-decoration: none;
}

/* ESTADO */

.estado {
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

    .estado.activo {
        background: #dcfce7;
        color: #166534;
    }

    .estado.inactivo {
        background: #fee2e2;
        color: #991b1b;
    }

/* ACCIONES */

.acciones {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-admin {
    padding: 8px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: .25s;
}

    .btn-admin.editar {
        background: #e0f2fe;
        color: #0369a1;
    }

    .btn-admin.detalle {
        background: #eef2ff;
        color: #3730a3;
    }

/* MOBILE */

@media(max-width:768px) {

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .table-marcas {
        min-width: 750px;
    }
}

/*CREATE MARCA*/
/* ========================================
   CREATE MARCA
======================================== */

.create-marca-page {
    padding: 25px 0 40px;
}

/* HEADER */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

    .page-header h2 {
        font-size: 34px;
        font-weight: 800;
        color: #071739;
        margin-bottom: 5px;
    }

    .page-header p {
        margin: 0;
        color: #6b7280;
    }

/* BOTON VOLVER */

.btn-back {
    background: #eef2f7;
    color: #071739;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

    .btn-back:hover {
        background: #dbe5f0;
        color: #071739;
    }

/* CARD */

.card-form {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 6px 22px rgba(0,0,0,.05);
}

/* GRID */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
}

/* LABELS */

.card-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #071739;
    font-size: 14px;
}

/* INPUTS */

.form-control {
    height: 46px;
    border-radius: 12px;
    border: 1px solid #dbe3ec;
    box-shadow: none;
    font-size: 14px;
}

    .form-control:focus {
        border-color: #1196f5;
        box-shadow: 0 0 0 4px rgba(17,150,245,.12);
    }

/* CHECK */

.check-container {
    margin-top: 24px;
}

.check-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

/* BOTON */

.form-actions {
    margin-top: 30px;
}

.btn-save {
    border: none;
    background: #1196f5;
    color: #fff;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 700;
    transition: .25s;
}

    .btn-save:hover {
        background: #071739;
    }

/* VALIDACIONES */

.text-danger {
    font-size: 13px;
    margin-top: 6px;
}

/* MOBILE */

@media(max-width:768px) {

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .card-form {
        padding: 22px;
    }

    .page-header h2 {
        font-size: 28px;
    }
}

/*FUNCIONALIDAD CARGA IMAGEN*/
/* ========================================
   IMAGEN UPLOAD
======================================== */

.imagen-upload {
    display: flex;
    flex-direction: column;
}

.preview-box {
    width: 100%;
    height: 180px;
    border-radius: 18px;
    overflow: hidden;
    background: #f3f6fa;
    border: 2px dashed #dbe3ec;
    margin-bottom: 14px;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-upload {
    background: #1196f5;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    transition: .25s;
}

    .btn-upload:hover {
        background: #071739;
    }

#fileImagen {
    display: none;
}

/*EDITAR MARCA*/

.img-preview {
    width: 100%;
    max-width: 220px;
    height: 140px;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid #dbe3ef;
    padding: 10px;
    background: #fff;
}

#fileImagen {
    display: block !important;
    width: 100%;
    padding: 10px;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    margin-top: 10px;
    font-size: 14px;
}

#fileImagen {
    width: 100%;
    padding: 10px;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    margin-top: 10px;
}

    #fileImagen::file-selector-button {
        border: none;
        background: #1e88e5;
        color: #fff;
        padding: 10px 16px;
        border-radius: 10px;
        cursor: pointer;
        margin-right: 12px;
        font-weight: 600;
    }

    /*PRODUCTOS LISTADO*/
/* ========================================
   PRODUCTOS ADMIN
======================================== */

.admin-productos {
    padding: 20px 0 40px;
}

/* HEADER */

.edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 15px;
    flex-wrap: wrap;
}

.page-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #071c4d;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .page-title i {
        color: #0096ff;
    }

/* BOTON */

.btn-crear {
    background: linear-gradient(135deg,#0096ff,#0066ff);
    color: #fff;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
    box-shadow: 0 8px 20px rgba(0,150,255,.18);
}

    .btn-crear:hover {
        color: #fff;
        transform: translateY(-2px);
    }

/* TABLA */

.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

    .table-modern thead {
        background: #071c4d;
    }

        .table-modern thead th {
            color: #fff;
            padding: 18px 16px;
            font-size: 14px;
            font-weight: 600;
            border: none;
            white-space: nowrap;
        }

    .table-modern tbody td {
        padding: 16px;
        vertical-align: middle;
        border-bottom: 1px solid #edf2f7;
        font-size: 14px;
        color: #334155;
    }

    .table-modern tbody tr {
        transition: .2s;
    }

        .table-modern tbody tr:hover {
            background: #f8fbff;
        }

/* NOMBRE */

.nombre {
    font-weight: 600;
    color: #071c4d;
}

/* ESTADOS */

.estado {
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

    .estado.activo {
        background: #dcfce7;
        color: #166534;
    }

    .estado.inactivo {
        background: #fee2e2;
        color: #991b1b;
    }

/* ACCIONES */

.acciones {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-editar,
.btn-detalle {
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

.btn-editar {
    background: #eff6ff;
    color: #2563eb;
}

.btn-detalle {
    background: #f1f5f9;
    color: #0f172a;
}

    .btn-editar:hover,
    .btn-detalle:hover {
        transform: translateY(-1px);
    }

/* MOBILE */

@media(max-width:768px) {

    .page-title {
        font-size: 24px;
    }

    .btn-crear {
        width: 100%;
        text-align: center;
    }

    .table-modern thead {
        display: none;
    }

    .table-modern,
    .table-modern tbody,
    .table-modern tr,
    .table-modern td {
        display: block;
        width: 100%;
    }

        .table-modern tr {
            margin-bottom: 18px;
            background: #fff;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 6px 18px rgba(0,0,0,.06);
        }

        .table-modern td {
            border: none;
            padding: 12px 16px;
        }

    .acciones {
        margin-top: 10px;
    }
}

/* IMAGEN PRODUCTO */

.marca-img-admin {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
    transition: .2s;
}

    .marca-img-admin:hover {
        transform: scale(1.05);
    }

/* COLUMNA IMAGEN */

.table-modern td:first-child {
    width: 90px;
}

/* MOBILE */

@media(max-width:768px) {

    .marca-img-admin {
        width: 72px;
        height: 72px;
    }
}

.precio {
    font-weight: 700;
    color: #0096ff;
}

.marca-img-admin {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* FILAS */

.table-modern tbody tr {
    transition: .2s;
}

    .table-modern tbody tr:hover {
        background: #f8fbff;
    }

/* BOTONES */

.btn-editar,
.btn-detalle {
    border: none;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.btn-editar {
    background: #eaf2ff;
    color: #2563eb;
}

.btn-detalle {
    background: #f1f5f9;
    color: #0f172a;
}

/* PRECIO */

.precio {
    font-weight: 700;
    color: #0096ff;
}

/*DETALLE MARCAS*/

/* ========================================
   DETALLE MARCA
======================================== */

.detalle-marca-page {
    padding: 20px 0 50px;
}

/* HEADER */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

    .page-header h2 {
        margin: 0;
        font-size: 42px;
        font-weight: 800;
        color: #071c4d;
    }

    .page-header p {
        margin-top: 8px;
        color: #64748b;
    }

.btn-back {
    background: #f1f5f9;
    color: #071c4d;
    padding: 12px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
}

/* CARD */

.detalle-card {
    background: #fff;
    border-radius: 28px;
    padding: 35px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

/* IMAGEN */

.detalle-imagen {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.img-marca {
    width: 100%;
    max-width: 280px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 10px;
    object-fit: contain;
}

/* INFO */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.info-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px;
}

.label {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}

.info-item strong,
.info-item a {
    font-size: 16px;
    color: #071c4d;
    word-break: break-word;
}

/* ESTADO */

.estado {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

    .estado.activo {
        background: #dcfce7;
        color: #166534;
    }

    .estado.inactivo {
        background: #fee2e2;
        color: #991b1b;
    }

/* BOTONES */

.acciones-detalle {
    margin-top: 30px;
}

.btn-edit {
    background: linear-gradient(135deg,#0096ff,#0066ff);
    color: #fff;
    padding: 14px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

/* MOBILE */

@media(max-width:768px) {

    .detalle-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .page-header h2 {
        font-size: 30px;
    }

    .btn-back {
        width: 100%;
        text-align: center;
    }
}