*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f7fb;
}

header{
    width:100%;
    background:#ffffff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.contenedor{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    font-size:28px;
    font-weight:bold;
    color:#2563EB;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:30px;
}

nav ul li a{
    text-decoration:none;
    color:#333;
    font-weight:bold;
    transition:.3s;
}

nav ul li a:hover{
    color:#2563EB;
}
.footer{

    background:#2563EB;

    color:white;

    text-align:center;

    padding:25px;

    margin-top:0px;

}
/* ==========================
   HERO
========================== */

.hero{
    width: 100%;
    min-height: calc(100vh - 130px);
    padding: 70px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    background: linear-gradient(135deg, #f4f7ff 0%, #eef4ff 55%, #ffffff 100%);
}

.hero-texto{
    width:50%;
}

.hero-texto h1{
    font-size:55px;
    color:#222;
    margin-bottom:20px;
}

.hero-texto p{
    font-size:22px;
    color:#666;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    background:#2563EB;
    color:white;
    padding:15px 35px;
    border-radius:10px;
    text-decoration:none;
    font-size:18px;
    font-weight:bold;
}

.btn:hover{
    background:#1D4ED8;
}

.hero-imagen{
    width:45%;
    text-align:center;
}

.hero-imagen img{
    width:320px;
}
/* ==============================
   PASO 20 - HERO
============================== */

.hero {
    min-height: calc(100vh - 130px);
    padding: 70px 42px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    background: linear-gradient(135deg, #f4f7ff 0%, #eef3ff 50%, #ffffff 100%);
}

.hero-texto {
    max-width: 600px;
}

.etiqueta {
    display: inline-block;
    background: #e4ecff;
    color: #2f64e7;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.1;
    color: #202124;
    margin-bottom: 22px;
}

.hero p {
    font-size: 22px;
    line-height: 1.4;
    color: #555;
    margin-bottom: 32px;
}

.hero-botones {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-principal,
.btn-secundario {
    display: inline-block;
    padding: 15px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-principal {
    background: #2f64e7;
    color: #fff;
    box-shadow: 0 12px 25px rgba(47, 100, 231, 0.25);
}

.btn-principal:hover {
    background: #1f4fc4;
    transform: translateY(-3px);
}

.btn-secundario {
    background: #fff;
    color: #2f64e7;
    border: 2px solid #dce5ff;
}

.btn-secundario:hover {
    border-color: #2f64e7;
    transform: translateY(-3px);
}

/* Tarjeta visual */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.catalogo-mockup {
    width: 360px;
    background: #fff;
    padding: 35px;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
    text-align: center;
}

.catalogo-mockup h3 {
    font-size: 26px;
    color: #202124;
    margin-bottom: 15px;
}

.catalogo-mockup p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.catalogo-mockup strong {
    display: inline-block;
    background: #2f64e7;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 20px;
}

/* Responsive celular */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 55px 25px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-botones {
        justify-content: center;
    }

    .catalogo-mockup {
        width: 100%;
        max-width: 350px;
    }
}
/* ==============================
   PASO 20 - HERO CORREGIDO
============================== */

.hero {
    width: 100%;
    min-height: calc(100vh - 130px);
    padding: 70px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: linear-gradient(135deg, #f4f7ff 0%, #eef4ff 55%, #ffffff 100%);
}

.hero-texto {
    width: 55%;
    max-width: 650px;
}

.etiqueta {
    display: inline-block;
    background: #e4ecff;
    color: #2f64e7;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 46px;
    line-height: 1.15;
    color: #202124;
    margin-bottom: 22px;
}

.hero p {
    font-size: 19px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-botones {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-principal,
.btn-secundario {
    display: inline-block;
    padding: 15px 26px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-principal {
    background: #2f64e7;
    color: #fff;
    box-shadow: 0 12px 25px rgba(47, 100, 231, 0.25);
}

.btn-secundario {
    background: #ffffff;
    color: #2f64e7;
    border: 2px solid #dce5ff;
}

.hero-visual {
    width: 45%;
    display: flex;
    justify-content: center;
}

.catalogo-mockup {
    width: 380px;
    background: #ffffff;
    padding: 38px;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(30, 60, 120, 0.18);
    text-align: center;
}

.catalogo-mockup h3 {
    font-size: 26px;
    color: #202124;
    margin-bottom: 14px;
}

.catalogo-mockup p {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

.catalogo-mockup strong {
    display: inline-block;
    background: #2f64e7;
    color: #fff;
    padding: 13px 22px;
    border-radius: 12px;
    font-size: 20px;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 25px;
    }

    .hero-texto,
    .hero-visual {
        width: 100%;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-botones {
        justify-content: center;
    }

    .catalogo-mockup {
        width: 100%;
        max-width: 350px;
    }
}
/* ==============================
   PASO 21 - PLANES
============================== */

.planes {
    padding: 80px 8%;
    background: #ffffff;
}

.planes-titulo {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.planes-titulo span {
    display: inline-block;
    background: #e4ecff;
    color: #2f64e7;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.planes-titulo h2 {
    font-size: 38px;
    color: #202124;
    margin-bottom: 15px;
}

.planes-titulo p {
    font-size: 18px;
    line-height: 1.5;
    color: #555;
}

.planes-contenedor {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1150px;
    margin: 0 auto;
}

.plan-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 24px;
    border: 1px solid #e3e8f5;
    box-shadow: 0 18px 45px rgba(30, 60, 120, 0.08);
    transition: 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(30, 60, 120, 0.14);
}

.plan-card h3 {
    font-size: 26px;
    color: #202124;
    margin-bottom: 15px;
}

.precio {
    font-size: 32px;
    font-weight: 800;
    color: #2f64e7;
    margin-bottom: 25px;
}

.plan-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.plan-card ul li {
    color: #444;
    font-size: 16px;
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
}

.plan-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2f64e7;
    font-weight: bold;
}

.btn-plan {
    display: block;
    text-align: center;
    background: #2f64e7;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-plan:hover {
    background: #1f4fc4;
}

/* Plan recomendado */

.plan-card.destacado {
    border: 2px solid #2f64e7;
    transform: scale(1.04);
}

.recomendado {
    display: inline-block;
    background: #2f64e7;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

/* Responsive */

@media (max-width: 900px) {
    .planes-contenedor {
        grid-template-columns: 1fr;
    }

    .plan-card.destacado {
        transform: scale(1);
    }

    .planes-titulo h2 {
        font-size: 30px;
    }
}
/* ==============================
   PASO 22 - CONTACTO
============================== */

.contacto {
    padding: 90px 8%;
    background: linear-gradient(135deg, #2f64e7 0%, #1f4fc4 100%);
    text-align: center;
}

.contacto-contenido {
    max-width: 750px;
    margin: 0 auto;
    color: #ffffff;
}

.contacto-contenido > span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contacto-contenido h2 {
    font-size: 42px;
    margin-bottom: 18px;
}

.contacto-contenido p {
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #eef3ff;
}

.btn-contacto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25D366;
    color: #ffffff;
    padding: 16px 30px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.30);
    transition: 0.3s ease;
}

.btn-contacto i {
    .btn-contacto span {
    background: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
    color: #ffffff;
}

.btn-contacto:hover {
    transform: translateY(-3px);
    background: #1ebe5d;
}
}

.btn-contacto:hover {
    transform: translateY(-3px);
    background: #eef3ff;
}

/* Responsive contacto */

@media (max-width: 900px) {
    .contacto {
        padding: 70px 25px;
    }

    .contacto-contenido h2 {
        font-size: 32px;
    }

    .contacto-contenido p {
        font-size: 17px;
    }
}
/* ==============================
   CORRECCIÓN BOTÓN WHATSAPP
============================== */

.contacto-contenido > span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contacto-contenido .btn-contacto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25D366;
    color: #ffffff;
    padding: 16px 30px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.30);
    transition: all 0.3s ease;
}

.contacto-contenido .btn-contacto i {
    font-size: 24px;
    color: #ffffff;
}

.contacto-contenido .btn-contacto span {
    display: inline;
    background: transparent !important;
    color: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    font-size: 16px;
    font-weight: 800;
}

.contacto-contenido .btn-contacto:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
}

.contacto-contenido .btn-contacto:hover span {
    background: transparent !important;
    color: #ffffff !important;
}
/* ==============================
   PASO 27 - IMAGEN DEL HERO
============================== */

.hero-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(30, 60, 120, 0.18);
}
/* ==============================
   PASO 28 - SCROLL SUAVE
============================== */

html {
    scroll-behavior: smooth;
}
/* ==============================
   PASO 29 - LOGIN
============================== */

.login-section {
    min-height: calc(100vh - 130px);
    padding: 80px 8%;
    background: linear-gradient(135deg, #f4f7ff 0%, #eef4ff 55%, #ffffff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    padding: 40px;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(30, 60, 120, 0.15);
}

.login-titulo {
    text-align: center;
    margin-bottom: 30px;
}

.login-titulo span {
    display: inline-block;
    background: #e4ecff;
    color: #2f64e7;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.login-titulo h2 {
    font-size: 34px;
    color: #202124;
    margin-bottom: 10px;
}

.login-titulo p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.login-form {
    width: 100%;
}

.form-grupo {
    margin-bottom: 20px;
}

.form-grupo label {
    display: block;
    margin-bottom: 8px;
    color: #202124;
    font-weight: 700;
    font-size: 15px;
}

.form-grupo input {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #dce5ff;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
}

.form-grupo input:focus {
    border-color: #2f64e7;
    box-shadow: 0 0 0 4px rgba(47, 100, 231, 0.12);
}

.btn-login {
    width: 100%;
    border: none;
    background: #2f64e7;
    color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-login:hover {
    background: #1f4fc4;
    transform: translateY(-2px);
}

.login-extra {
    text-align: center;
    margin-top: 20px;
    color: #555;
    font-size: 15px;
}

.login-extra a {
    color: #2f64e7;
    font-weight: 700;
    text-decoration: none;
}

.login-extra a:hover {
    text-decoration: underline;
}
/* ==============================
   PASO 30 - DASHBOARD
============================== */

.dashboard-section {
    min-height: calc(100vh - 130px);
    padding: 80px 8%;
    background: linear-gradient(135deg, #f4f7ff 0%, #eef4ff 55%, #ffffff 100%);
}

.dashboard-contenedor {
    max-width: 1100px;
    margin: 0 auto;
}

.dashboard-titulo {
    text-align: center;
    margin-bottom: 50px;
}

.dashboard-titulo span {
    display: inline-block;
    background: #e4ecff;
    color: #2f64e7;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.dashboard-titulo h2 {
    font-size: 38px;
    color: #202124;
    margin-bottom: 12px;
}

.dashboard-titulo p {
    font-size: 18px;
    color: #555;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.dashboard-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 24px;
    border: 1px solid #e3e8f5;
    box-shadow: 0 18px 45px rgba(30, 60, 120, 0.08);
    transition: 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(30, 60, 120, 0.14);
}

.dashboard-card h3 {
    font-size: 26px;
    color: #202124;
    margin-bottom: 15px;
}

.dashboard-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 25px;
}

.dashboard-card a {
    display: inline-block;
    background: #2f64e7;
    color: #ffffff;
    padding: 13px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

.dashboard-card a:hover {
    background: #1f4fc4;
}

@media (max-width: 900px) {
    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .dashboard-titulo h2 {
        font-size: 30px;
    }
}
/* ==============================
   PASO 31 - PRODUCTOS
============================== */

.productos-section {
    min-height: calc(100vh - 130px);
    padding: 80px 8%;
    background: linear-gradient(135deg, #f4f7ff 0%, #eef4ff 55%, #ffffff 100%);
}

.productos-contenedor {
    max-width: 1200px;
    margin: 0 auto;
}

.productos-titulo {
    text-align: center;
    margin-bottom: 50px;
}

.productos-titulo span {
    display: inline-block;
    background: #e4ecff;
    color: #2f64e7;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.productos-titulo h2 {
    font-size: 38px;
    color: #202124;
    margin-bottom: 12px;
}

.productos-titulo p {
    font-size: 18px;
    color: #555;
}

.productos-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 30px;
    align-items: start;
}

.producto-form-card,
.productos-lista-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #e3e8f5;
    box-shadow: 0 18px 45px rgba(30, 60, 120, 0.08);
}

.producto-form-card h3,
.productos-lista-card h3 {
    font-size: 26px;
    color: #202124;
    margin-bottom: 25px;
}

.producto-form .form-grupo {
    margin-bottom: 20px;
}

.producto-form label {
    display: block;
    margin-bottom: 8px;
    color: #202124;
    font-weight: 700;
    font-size: 15px;
}

.producto-form input,
.producto-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #dce5ff;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
    font-family: inherit;
}

.producto-form textarea {
    min-height: 120px;
    resize: vertical;
}

.producto-form input:focus,
.producto-form textarea:focus {
    border-color: #2f64e7;
    box-shadow: 0 0 0 4px rgba(47, 100, 231, 0.12);
}

.btn-producto {
    width: 100%;
    border: none;
    background: #2f64e7;
    color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-producto:hover {
    background: #1f4fc4;
    transform: translateY(-2px);
}

/* Tabla productos */

.tabla-productos {
    width: 100%;
    overflow-x: auto;
}

.tabla-header,
.tabla-fila {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
    gap: 15px;
    align-items: center;
    padding: 16px 18px;
}

.tabla-header {
    background: #eef4ff;
    color: #2f64e7;
    font-weight: 800;
    border-radius: 14px;
    margin-bottom: 12px;
}

.tabla-fila {
    background: #ffffff;
    border: 1px solid #e3e8f5;
    border-radius: 14px;
    margin-bottom: 12px;
    color: #444;
}

.btn-editar {
    border: none;
    background: #2f64e7;
    color: #ffffff;
    padding: 9px 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.btn-editar:hover {
    background: #1f4fc4;
}

/* Responsive productos */

@media (max-width: 950px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }

    .productos-titulo h2 {
        font-size: 30px;
    }

    .tabla-header,
    .tabla-fila {
        grid-template-columns: 1fr;
    }
}
/* ==============================
   PASO 32 - CATEGORÍAS
============================== */

.categorias-section {
    min-height: calc(100vh - 130px);
    padding: 80px 8%;
    background: linear-gradient(135deg, #f4f7ff 0%, #eef4ff 55%, #ffffff 100%);
}

.categorias-contenedor {
    max-width: 1200px;
    margin: 0 auto;
}

.categorias-titulo {
    text-align: center;
    margin-bottom: 50px;
}

.categorias-titulo span {
    display: inline-block;
    background: #e4ecff;
    color: #2f64e7;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.categorias-titulo h2 {
    font-size: 38px;
    color: #202124;
    margin-bottom: 12px;
}

.categorias-titulo p {
    font-size: 18px;
    color: #555;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.5;
}

.categorias-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 30px;
    align-items: start;
}

.categoria-form-card,
.categorias-lista-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #e3e8f5;
    box-shadow: 0 18px 45px rgba(30, 60, 120, 0.08);
}

.categoria-form-card h3,
.categorias-lista-card h3 {
    font-size: 26px;
    color: #202124;
    margin-bottom: 25px;
}

.categoria-form .form-grupo {
    margin-bottom: 20px;
}

.categoria-form label {
    display: block;
    margin-bottom: 8px;
    color: #202124;
    font-weight: 700;
    font-size: 15px;
}

.categoria-form input,
.categoria-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #dce5ff;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
    font-family: inherit;
}

.categoria-form textarea {
    min-height: 120px;
    resize: vertical;
}

.categoria-form input:focus,
.categoria-form textarea:focus {
    border-color: #2f64e7;
    box-shadow: 0 0 0 4px rgba(47, 100, 231, 0.12);
}

.btn-categoria {
    width: 100%;
    border: none;
    background: #2f64e7;
    color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-categoria:hover {
    background: #1f4fc4;
    transform: translateY(-2px);
}

/* Tabla categorías */

.tabla-categorias {
    width: 100%;
    overflow-x: auto;
}

.tabla-header-categorias,
.tabla-fila-categorias {
    display: grid;
    grid-template-columns: 1fr 1.8fr 0.7fr;
    gap: 15px;
    align-items: center;
    padding: 16px 18px;
}

.tabla-header-categorias {
    background: #eef4ff;
    color: #2f64e7;
    font-weight: 800;
    border-radius: 14px;
    margin-bottom: 12px;
}

.tabla-fila-categorias {
    background: #ffffff;
    border: 1px solid #e3e8f5;
    border-radius: 14px;
    margin-bottom: 12px;
    color: #444;
}

.tabla-fila-categorias span:first-child {
    font-weight: 700;
    color: #202124;
}

@media (max-width: 950px) {
    .categorias-grid {
        grid-template-columns: 1fr;
    }

    .categorias-titulo h2 {
        font-size: 30px;
    }

    .tabla-header-categorias,
    .tabla-fila-categorias {
        grid-template-columns: 1fr;
    }
}
/* ==============================
   PASO 33 - SELECT CATEGORÍAS
============================== */

.producto-form select {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #dce5ff;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
    font-family: inherit;
    background: #ffffff;
    color: #444;
}

.producto-form select:focus {
    border-color: #2f64e7;
    box-shadow: 0 0 0 4px rgba(47, 100, 231, 0.12);
}

.link-categoria {
    display: inline-block;
    margin-top: 10px;
    color: #2f64e7;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.link-categoria:hover {
    text-decoration: underline;
}
/* ==============================
   PASO 34 - INPUT IMAGEN PRODUCTO
============================== */

.producto-form input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #dce5ff;
    border-radius: 12px;
    background: #ffffff;
    font-size: 14px;
    color: #444;
    cursor: pointer;
}

.producto-form input[type="file"]::file-selector-button {
    border: none;
    background: #2f64e7;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 12px;
}

.producto-form input[type="file"]::file-selector-button:hover {
    background: #1f4fc4;
}/* ==============================
   PASO 34 - INPUT IMAGEN PRODUCTO
============================== */

.producto-form input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #dce5ff;
    border-radius: 12px;
    background: #ffffff;
    font-size: 14px;
    color: #444;
    cursor: pointer;
}

.producto-form input[type="file"]::file-selector-button {
    border: none;
    background: #2f64e7;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 12px;
}

.producto-form input[type="file"]::file-selector-button:hover {
    background: #1f4fc4;
}
/* ==============================
   PASO 34E - INPUT IMAGEN PERSONALIZADO
============================== */

.input-file-real {
    display: none;
}

.input-file-personalizado {
    width: 100%;
    padding: 16px;
    border: 2px dashed #b9caff;
    border-radius: 14px;
    background: #f4f7ff;
    color: #2f64e7;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.input-file-personalizado i {
    font-size: 22px;
}

.input-file-personalizado:hover {
    background: #eaf0ff;
    border-color: #2f64e7;
}

.texto-ayuda-imagen {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 13px;
}
/* ==============================
   PASO 35 - PEDIDOS
============================== */

.pedidos-section {
    min-height: calc(100vh - 130px);
    padding: 80px 8%;
    background: linear-gradient(135deg, #f4f7ff 0%, #eef4ff 55%, #ffffff 100%);
}

.pedidos-contenedor {
    max-width: 1150px;
    margin: 0 auto;
}

.pedidos-titulo {
    text-align: center;
    margin-bottom: 50px;
}

.pedidos-titulo span {
    display: inline-block;
    background: #e4ecff;
    color: #2f64e7;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.pedidos-titulo h2 {
    font-size: 38px;
    color: #202124;
    margin-bottom: 12px;
}

.pedidos-titulo p {
    font-size: 18px;
    color: #555;
}

.pedidos-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #e3e8f5;
    box-shadow: 0 18px 45px rgba(30, 60, 120, 0.08);
}

.tabla-pedidos {
    width: 100%;
    overflow-x: auto;
}

.tabla-header-pedidos,
.tabla-fila-pedidos {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 0.8fr 0.8fr 0.9fr;
    gap: 15px;
    align-items: center;
    padding: 16px 18px;
}

.tabla-header-pedidos {
    background: #eef4ff;
    color: #2f64e7;
    font-weight: 800;
    border-radius: 14px;
    margin-bottom: 12px;
}

.tabla-fila-pedidos {
    background: #ffffff;
    border: 1px solid #e3e8f5;
    border-radius: 14px;
    margin-bottom: 12px;
    color: #444;
}

.estado {
    display: inline-block;
    text-align: center;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
}

.estado.pendiente {
    background: #fff3cd;
    color: #946200;
}

.estado.atendido {
    background: #dff7e8;
    color: #178a45;
}

.btn-ver {
    border: none;
    background: #2f64e7;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.btn-ver:hover {
    background: #1f4fc4;
}

/* Responsive pedidos */

@media (max-width: 950px) {
    .pedidos-titulo h2 {
        font-size: 30px;
    }

    .tabla-header-pedidos,
    .tabla-fila-pedidos {
        grid-template-columns: 1fr;
    }
}
/* ==============================
   PASO 36 - DETALLE PEDIDO
============================== */

.detalle-pedido-section {
    min-height: calc(100vh - 130px);
    padding: 80px 8%;
    background: linear-gradient(135deg, #f4f7ff 0%, #eef4ff 55%, #ffffff 100%);
}

.detalle-pedido-contenedor {
    max-width: 1100px;
    margin: 0 auto;
}

.detalle-pedido-titulo {
    text-align: center;
    margin-bottom: 50px;
}

.detalle-pedido-titulo span {
    display: inline-block;
    background: #e4ecff;
    color: #2f64e7;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.detalle-pedido-titulo h2 {
    font-size: 38px;
    color: #202124;
    margin-bottom: 12px;
}

.detalle-pedido-titulo p {
    font-size: 18px;
    color: #555;
}

.detalle-pedido-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
}

.detalle-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #e3e8f5;
    box-shadow: 0 18px 45px rgba(30, 60, 120, 0.08);
}

.detalle-card h3 {
    font-size: 26px;
    color: #202124;
    margin-bottom: 25px;
}

.detalle-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #edf1fb;
}

.detalle-item strong {
    color: #202124;
}

.detalle-item span {
    color: #555;
    text-align: right;
}

.detalle-total {
    margin-top: 25px;
    padding: 20px;
    background: #eef4ff;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detalle-total strong {
    font-size: 22px;
    color: #202124;
}

.detalle-total span {
    font-size: 24px;
    font-weight: 800;
    color: #2f64e7;
}

.detalle-acciones {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-volver,
.btn-atender {
    display: inline-block;
    border: none;
    padding: 15px 26px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-volver {
    background: #ffffff;
    color: #2f64e7;
    border: 2px solid #dce5ff;
}

.btn-volver:hover {
    border-color: #2f64e7;
    transform: translateY(-2px);
}

.btn-atender {
    background: #2f64e7;
    color: #ffffff;
}

.btn-atender:hover {
    background: #1f4fc4;
    transform: translateY(-2px);
}

/* Responsive detalle pedido */

@media (max-width: 900px) {
    .detalle-pedido-grid {
        grid-template-columns: 1fr;
    }

    .detalle-pedido-titulo h2 {
        font-size: 30px;
    }

    .detalle-item {
        flex-direction: column;
        gap: 6px;
    }

    .detalle-item span {
        text-align: left;
    }
}
/* ==============================
   PASO 36 - DETALLE PEDIDO
============================== */

.detalle-pedido-section {
    min-height: calc(100vh - 130px);
    padding: 80px 8%;
    background: linear-gradient(135deg, #f4f7ff 0%, #eef4ff 55%, #ffffff 100%);
}

.detalle-pedido-contenedor {
    max-width: 1100px;
    margin: 0 auto;
}

.detalle-pedido-titulo {
    text-align: center;
    margin-bottom: 50px;
}

.detalle-pedido-titulo span {
    display: inline-block;
    background: #e4ecff;
    color: #2f64e7;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.detalle-pedido-titulo h2 {
    font-size: 38px;
    color: #202124;
    margin-bottom: 12px;
}

.detalle-pedido-titulo p {
    font-size: 18px;
    color: #555;
}

.detalle-pedido-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
}

.detalle-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #e3e8f5;
    box-shadow: 0 18px 45px rgba(30, 60, 120, 0.08);
}

.detalle-card h3 {
    font-size: 26px;
    color: #202124;
    margin-bottom: 25px;
}

.detalle-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #edf1fb;
}

.detalle-item strong {
    color: #202124;
}

.detalle-item span {
    color: #555;
    text-align: right;
}

.detalle-total {
    margin-top: 25px;
    padding: 20px;
    background: #eef4ff;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detalle-total strong {
    font-size: 22px;
    color: #202124;
}

.detalle-total span {
    font-size: 24px;
    font-weight: 800;
    color: #2f64e7;
}

.detalle-acciones {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-volver,
.btn-atender {
    display: inline-block;
    border: none;
    padding: 15px 26px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-volver {
    background: #ffffff;
    color: #2f64e7;
    border: 2px solid #dce5ff;
}

.btn-volver:hover {
    border-color: #2f64e7;
    transform: translateY(-2px);
}

.btn-atender {
    background: #2f64e7;
    color: #ffffff;
}

.btn-atender:hover {
    background: #1f4fc4;
    transform: translateY(-2px);
}

/* Responsive detalle pedido */

@media (max-width: 900px) {
    .detalle-pedido-grid {
        grid-template-columns: 1fr;
    }

    .detalle-pedido-titulo h2 {
        font-size: 30px;
    }

    .detalle-item {
        flex-direction: column;
        gap: 6px;
    }

    .detalle-item span {
        text-align: left;
    }
}
/* ==============================
   PASO 37 - CATÁLOGO PÚBLICO
============================== */

.catalogo-publico-section {
    min-height: calc(100vh - 130px);
    padding: 80px 8%;
    background: linear-gradient(135deg, #f4f7ff 0%, #eef4ff 55%, #ffffff 100%);
}

.catalogo-publico-contenedor {
    max-width: 1200px;
    margin: 0 auto;
}

.catalogo-publico-titulo {
    text-align: center;
    margin-bottom: 35px;
}

.catalogo-publico-titulo span {
    display: inline-block;
    background: #e4ecff;
    color: #2f64e7;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.catalogo-publico-titulo h2 {
    font-size: 40px;
    color: #202124;
    margin-bottom: 12px;
}

.catalogo-publico-titulo p {
    font-size: 18px;
    color: #555;
}

/* Categorías */

.catalogo-categorias {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.catalogo-categorias button {
    border: 1px solid #dce5ff;
    background: #ffffff;
    color: #2f64e7;
    padding: 11px 20px;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.catalogo-categorias button:hover,
.catalogo-categorias .categoria-activa {
    background: #2f64e7;
    color: #ffffff;
    border-color: #2f64e7;
}

/* Productos */

.catalogo-productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.catalogo-producto-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e3e8f5;
    box-shadow: 0 18px 45px rgba(30, 60, 120, 0.08);
    transition: 0.3s ease;
}

.catalogo-producto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(30, 60, 120, 0.14);
}

.catalogo-producto-img {
    height: 220px;
    background: linear-gradient(135deg, #2f64e7, #7da2ff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalogo-producto-img span {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
}

.catalogo-producto-info {
    padding: 26px;
}

.producto-categoria {
    display: inline-block;
    background: #eef4ff;
    color: #2f64e7;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

.catalogo-producto-info h3 {
    font-size: 24px;
    color: #202124;
    margin-bottom: 10px;
}

.catalogo-producto-info p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 22px;
}

.producto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.producto-footer strong {
    font-size: 24px;
    color: #2f64e7;
}

.producto-footer a {
    background: #25D366;
    color: #ffffff;
    padding: 11px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s ease;
}

.producto-footer a:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

/* Responsive catálogo público */

@media (max-width: 950px) {
    .catalogo-productos-grid {
        grid-template-columns: 1fr;
    }

    .catalogo-publico-titulo h2 {
        font-size: 32px;
    }

    .producto-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .producto-footer a {
        text-align: center;
    }
}
/* ==============================
   PASO 38 - IMÁGENES CATÁLOGO
============================== */

.catalogo-producto-img {
    height: 220px;
    overflow: hidden;
    background: #ffffff;
    padding: 15px;
}

.catalogo-producto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ==============================
   CORRECCIÓN FINAL IMÁGENES CATÁLOGO
============================== */

.catalogo-producto-img {
    height: 240px;
    overflow: hidden;
    background: #ffffff;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalogo-producto-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
/* ==============================
   PASO 39 - BOTÓN VER CATÁLOGO
============================== */

.dashboard-acciones {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-ver-catalogo {
    display: inline-block;
    background: #25D366;
    color: #ffffff;
    padding: 15px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.25);
    transition: 0.3s ease;
}

.btn-ver-catalogo:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
}
/* ==============================
   PASO 43 - MENSAJE EXITO
============================== */

.mensaje-exito {
    background: #dff7e8;
    color: #178a45;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}
/* ==============================
   PASO 49 - PRODUCTO SIN IMAGEN
============================== */

.catalogo-producto-img span {
    color: #2f64e7;
    background: #eef4ff;
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 16px;
    text-align: center;
}
/* ==============================
   PASO 50 - CATÁLOGO VACÍO
============================== */

.catalogo-vacio {
    grid-column: 1 / -1;
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 24px;
    border: 1px solid #e3e8f5;
    box-shadow: 0 18px 45px rgba(30, 60, 120, 0.08);
    text-align: center;
}

.catalogo-vacio h3 {
    font-size: 28px;
    color: #202124;
    margin-bottom: 12px;
}

.catalogo-vacio p {
    font-size: 17px;
    color: #555;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}
/* ==============================
   PASO 51 - MENSAJE ERROR LOGIN
============================== */

.mensaje-error {
    background: #ffe0e0;
    color: #b42318;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}
/* ==============================
   PASO 53 - CERRAR SESIÓN
============================== */

.dashboard-acciones {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-cerrar-sesion {
    display: inline-block;
    background: #ffffff;
    color: #b42318;
    padding: 15px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    border: 2px solid #ffd1d1;
    transition: 0.3s ease;
}

.btn-cerrar-sesion:hover {
    background: #ffe0e0;
    transform: translateY(-3px);
}
/* ==============================
   PASO 53 - BOTÓN CERRAR SESIÓN
============================== */

.dashboard-acciones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-cerrar-sesion {
    display: inline-block;
    background: #ffffff;
    color: #b42318;
    padding: 15px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    border: 2px solid #ffd1d1;
    transition: 0.3s ease;
}

.btn-cerrar-sesion:hover {
    background: #ffe0e0;
    transform: translateY(-3px);
}
/* ==============================
   PASO 53 - BOTÓN CERRAR SESIÓN
============================== */

.dashboard-acciones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-cerrar-sesion {
    display: inline-block;
    background: #ffffff;
    color: #b42318;
    padding: 15px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    border: 2px solid #ffd1d1;
    transition: 0.3s ease;
}

.btn-cerrar-sesion:hover {
    background: #ffe0e0;
    transform: translateY(-3px);
}
/* ==============================
   PASO 58 - ENLACE PÚBLICO
============================== */

.enlace-catalogo-box {
    max-width: 750px;
    margin: 0 auto 40px auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.enlace-catalogo-box h3 {
    font-size: 24px;
    color: #111827;
    margin-bottom: 10px;
}

.enlace-catalogo-box p {
    color: #6b7280;
    margin-bottom: 18px;
}

.enlace-catalogo {
    background: #f3f4f6;
    color: #111827;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    word-break: break-all;
    margin-bottom: 18px;
}

.btn-compartir-whatsapp {
    display: inline-block;
    background: #25D366;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s ease;
}

.btn-compartir-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
}
/* ==============================
   PASO 59 - COPIAR ENLACE
============================== */

.btn-copiar-enlace {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 14px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    margin-right: 10px;
    transition: 0.3s ease;
}

.btn-copiar-enlace:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}
/* ==============================
   PASO 60 - FORMULARIO DE PEDIDO
============================== */

.pedido-producto-section {
    min-height: 80vh;
    background: #eef4ff;
    padding: 70px 20px;
    display: flex;
    justify-content: center;
}

.pedido-producto-card {
    width: 100%;
    max-width: 650px;
    background: #ffffff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.pedido-producto-titulo {
    text-align: center;
    margin-bottom: 25px;
}

.pedido-producto-titulo span {
    display: inline-block;
    background: #e8efff;
    color: #2563eb;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pedido-producto-titulo h2 {
    font-size: 32px;
    color: #111827;
    margin-bottom: 10px;
}

.pedido-producto-titulo p {
    color: #4b5563;
}

.pedido-producto-info {
    background: #f3f4f6;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
}

.pedido-producto-info h3 {
    margin-bottom: 12px;
    color: #111827;
}

.pedido-producto-info p {
    margin-bottom: 8px;
    color: #374151;
}

.pedido-producto-form textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 15px;
}
/* ==============================
   CORRECCIÓN VERSIÓN CELULAR
   Evita espacio blanco lateral
============================== */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

section,
div,
main,
header,
footer {
    max-width: 100%;
}

.enlace-catalogo {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.dashboard-section,
.catalogo-page,
.pedidos-page,
.cotizaciones-page,
.nueva-cotizacion-page,
.detalle-page,
.detalle-cotizacion-page,
.pedido-page {
    width: 100%;
    overflow-x: hidden;
}

.dashboard-cards,
.catalogo-grid {
    width: 100%;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .dashboard-section,
    .catalogo-page,
    .pedidos-page,
    .cotizaciones-page,
    .nueva-cotizacion-page,
    .detalle-page,
    .detalle-cotizacion-page,
    .pedido-page {
        padding-left: 15px;
        padding-right: 15px;
    }

    .dashboard-card,
    .enlace-catalogo-box,
    .cotizaciones-card,
    .nueva-cotizacion-card,
    .detalle-card,
    .detalle-cotizacion-card,
    .pedido-card {
        width: 100%;
        max-width: 100%;
    }

    .dashboard-acciones,
    .enlace-catalogo-acciones,
    .detalle-botones {
        width: 100%;
    }

    .btn-ver-catalogo,
    .btn-cerrar-sesion,
    .btn-copiar-enlace,
    .btn-compartir-whatsapp,
    .btn-whatsapp,
    .btn-volver,
    .btn-pdf {
        max-width: 100%;
        text-align: center;
    }
}
/* ==============================
   IDENTIDAD VISUAL GENERAL
   Cusco Marketing Digital
============================== */

:root {
    --azul-principal: #1F5FAE;
    --celeste-principal: #28A7C7;
    --celeste-fondo: #EAF6FB;
    --azul-oscuro: #12324A;
    --gris-texto: #4b5563;
    --blanco: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--azul-oscuro);
    background: var(--celeste-fondo);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--azul-oscuro);
    letter-spacing: -0.4px;
}

p, span, label, input, textarea, select, button, a {
    font-family: 'Poppins', Arial, sans-serif;
}

p {
    color: var(--gris-texto);
}

a {
    transition: 0.3s ease;
}

button {
    transition: 0.3s ease;
}
/* ==============================
   BOTONES Y TARJETAS GENERALES
============================== */

.btn-login,
.btn-ver-catalogo,
.btn-compartir-whatsapp,
.btn-nueva-cotizacion,
.btn-guardar-cotizacion,
.btn-enviar-pedido,
.btn-whatsapp,
.btn-whatsapp-cliente {
    background: linear-gradient(135deg, var(--azul-principal), var(--celeste-principal)) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 28px rgba(31, 95, 174, 0.22);
}

.btn-login:hover,
.btn-ver-catalogo:hover,
.btn-compartir-whatsapp:hover,
.btn-nueva-cotizacion:hover,
.btn-guardar-cotizacion:hover,
.btn-enviar-pedido:hover,
.btn-whatsapp:hover,
.btn-whatsapp-cliente:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(31, 95, 174, 0.28);
}

.dashboard-card,
.login-card,
.producto-card,
.categoria-card,
.pedidos-tabla,
.cotizaciones-card,
.nueva-cotizacion-card,
.detalle-card,
.detalle-cotizacion-card,
.pedido-card,
.enlace-catalogo-box {
    border-radius: 24px !important;
    box-shadow: 0 18px 45px rgba(31, 95, 174, 0.10) !important;
    border: 1px solid rgba(40, 167, 199, 0.18) !important;
}

.dashboard-card h3,
.login-titulo h2,
.cotizaciones-titulo h2,
.nueva-cotizacion-titulo h2,
.detalle-titulo h2,
.detalle-cotizacion-titulo h2 {
    color: var(--azul-oscuro) !important;
}
/* =========================================
   MENU A LA IZQUIERDA SOLO EN ESCRITORIO
========================================= */
@media screen and (min-width: 1025px) {

    .header-contenedor {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 40px;
    }

    .header-logo {
        flex: 0 0 auto;
    }

    .header-nav {
        flex: 0 0 auto;
        margin-left: 0;
    }

    .header-nav ul {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 28px;
        margin: 0;
        padding: 0;
    }

}