@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap'); /*Api de fuentes*/

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {

    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    color: #1f2937;
    line-height: 1.5;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.max-w-6xl{

    flex:1;
}


img {

    max-width: 100%;
    display: block;

}


.primary-color {

    color: #00D1FF;

}

.primary-bg {

    background-color: #00D1FF;
    color: white;

}


.max-w-6xl {

    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;

}

section {

    padding: 5rem 0;

}

/* Navvv */
header {

    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    position: sticky;
    top: 0;
    z-index: 100;

}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');/*La otra fuente*/

:root {/*Se guarda epicamente en todo el css para usarse despues*/
    
    --primary:  #8A2BE2; /*creamos la variable con la paleta de coloresss*/
    --primary-dark: #5f2694;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --shadow: 0 4px 6px rgba(0,0,0,0.25);
}

*{

    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

body {

    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;

}

.max-w-6xl {

    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;

}

section {

    padding: 4rem 0;

}

h1, h2, h3 { 

    font-weight: 800; 
    line-height: 1.2; 
    margin-bottom: 1rem; 

}

.text-3xl { 

    font-size: clamp(1.8rem, 5vw, 2.5rem); 
    padding-left: 60px;

}

.text-xl { 

    font-size: 1.25rem; 

}

.text-sm { 

    font-size: 0.875rem; color: var(--text-muted); 

}

.text-center { 

    text-align: center; 

}

/* Navvvv*/
header {

    background: var(--bg-card);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
    

}

#nav2{

    display: flex;
    padding-top: 1rem;
    gap: 20px;
    justify-content: center;
    align-items: center;

}

nav {

    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;

}

.nav-links {

    display: flex;
    gap: 2rem;

}

.nav-links a {

    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;

}

.nav-links a:hover { 

    color: var(--primary); 

}

#promociones {

    background-color: #eef2ff;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 5vw, 3rem);
    border-left: 6px solid var(--primary);
    margin: 2rem 0;

}

.promo-grid, .contact-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;

}

#catalog-grid {

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;

}

.simple-card {

    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;

}

.simple-card:hover {

    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.25);

}

.card-header, .card-content, .card-footer { 
    
    padding: 1.5rem; 

}

.card-footer { 

    background: #fafafa; 
    border-top: 1px dashed var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;

}

/* Botones god */
.btn {

    display: inline-block;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.2s;

}

.primary-bg { 
    
    background: var(--primary); color: white; 
}

.primary-bg:hover { 
    
    background: var(--primary-dark); transform: translateY(-2px); 

}

.category-tag {

    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.35rem 0.7rem;
    border-radius: 0.5rem;
    color: white;
    text-transform: uppercase;

}

.primary-color { 
    
    color: var(--primary);
}

.bg-orange-500 { 
    
    background: #f97316; 

}

.bg-indigo-500 { 
    
    background: #6366f1; 

}

.bg-teal-500 { 
    
    background: #14b8a6; 

}

.mt-4 { 
    
    margin-top: 1rem; 

}

.mb-6 { 
    
    margin-bottom: 1.5rem; 

}

/* Empiezado */
footer {

    background: #111827;
    color: #9ca3af;
    padding: 3rem 1rem;
    text-align: center;
    margin-top: 4rem;

}

nav {

    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 5rem;
    flex-wrap: wrap; 

}

.nav-links {

    display: flex;
    gap: 2rem;
    flex-wrap: wrap; 

}

.nav-links a {

    text-decoration: none;
    color: #4b5563;
    font-weight: 600;
    transition: color 0.2s;

}

.nav-links a:hover {

    color: #8A2BE2;

}

/* Promo */
#promociones {

    background-color: #eef2ff;
    border-radius: 1.5rem;
    padding: 3rem;
    border-left: 6px solid #8A2BE2;
    margin-top: 2rem;

}

.promo-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;

}

.promo-item {

    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e0e7ff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.25);

}

/* Carrito */

#carron {

    background-color: #eef2ff;
    border-radius: 1.5rem;
    padding: 3rem;
    border-left: 6px solid #8A2BE2;
    margin-top: 2rem;

}

.carro-grid {

    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;

}

.carro-item {

    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e0e7ff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.25);

    display: flex;
    align-items: center;
    gap: 20px;

}

.img-carrito{

    max-width: 150px;
    height: auto;
    border-radius: 5px;

}

.contenedor-texto{

    margin: 0 120px 10px 0; 
    font-size: 1.25rem;
    max-width: 120px;

}

.contenedor-texto2{

    margin: 0 120px 10px 0; 
    font-size: 1.25rem;
    padding-left: 50px;

}

.texto-carro {
    
    font-size: 1.5rem;

}

.btn-grid{

    display: flex;
    align-items: center;
    gap: 20px;

}

.bai-grid{

    margin-left: 70px;

}

.btn-cantidad{

    background-color: rgb(222, 222, 222);

}

.btn-cantidad:hover{

    transform: scale(1.05);
    background-color: rgb(193, 193, 193);

}

.btn-bai{

    background-color: #d70000;
    color : white;

}

.btn-bai:hover{

    transform: scale(1.05);
    background-color: #9e0000;

}

.carro-precio{

    margin-left: 70px;
    max-width: 80px;

}

.zona-pago{

    display: flex;
    align-items: center;
    gap: 200px;

}

.imagen-pago{

    display: flex;
    gap: 100px;

}

.img-pago{

    height: 250px;
    width: auto;
    max-height: 250px;
    display: inline-block; 
    padding-right: 30px;

}


.img-pago2{

    height: 200px;
    width: auto;
    max-height: 200px;
    display: inline-block; 
    padding-right: 0px;

}


/*Display para esconderrr todo esta linea es la mejor :D */

.hidden {

    display: none !important;

}

/* Catálogo */

#catalogo{

    padding-bottom: 3rem;
    padding-top: 3rem;

}

#catalog-grid {

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 2rem;
    margin-top: 2rem;

}

#contacto{

    padding-bottom: 3rem;
    padding-top: 3rem;

}

.simple-card {

    background: white;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;

}

.simple-card:hover {

    transform: translateY(-5px);
    box-shadow: 0 15px 20px rgba(0,0,0,0.25);

}

/* Tarjeta :D*/

.card-header {

    padding: 1.5rem 1.5rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap; 

}

.card-content {

    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;

}

.card-footer {

    padding: 1.5rem;
    border-top: 1px dashed #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
    flex-wrap: wrap; 
    gap: 1rem;

}

/* Categorías */

.category-tag {

    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    color: white;
    white-space: nowrap;

}

/* Colores etiquetas de catalogooo */

.bg-red-500 { 
    
    background-color: #ef4444; 

}

.bg-cyan-500 { 
    
    background-color: #4de2e0; 

}

.bg-pink-500 { 
    
    background-color: #ec4899; 

}

.bg-indigo-500 { 
    
    background-color: #6366f1; 

}

.bg-green-500 { 
    
    background-color: #22c55e; 

}

.bg-blue-500 { 
    
    background-color: #3b82f6;

}

.bg-teal-500 { 
    
    background-color: #14b8a6; 

}

.bg-black-500 { 
    
    background-color: #000000; 

}

.bg-yellow-500 { 
    
    background-color: #eab308; 

}

.bg-orange-500 { 
    
    background-color: #f97316; 

}

.bg-gray-500 { 
    
    background-color: #6b7280; 

}

.bg-brown-500 { 
    
    background-color: #a67b5b; 

}

.bg-white-500 { 
    
    background-color: #c1c1c1; 
}

/* letras */
h1, h2, h3 {

    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;

}

.text-3xl { 
    
    font-size: 2.5rem; 
}

.text-xl { 
    
    font-size: 1.25rem; color: #111827;
}

.text-xl-promo { 
    
    font-size: 1.25rem; color: #5b0000; text-decoration: line-through; 
}

.text-sm { 
    
    font-size: 0.875rem; color: #6b7280; 

}

.list-sm { 
    
    font-size: 0.875rem; color: #6b7280; margin-left: 10px; 

}

.text-center { 
    
    text-align: center; 

}

/* Masss Botones */
button, .btn {

    cursor: pointer;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.2s;

}

.primary-bg:hover {

    background-color: #8A2BE2;
    transform: scale(1.05);

}

/* Contacto */
.contact-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;

}

.contact-info, .location-info {

    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.25);
    border: 1px solid #f1f5f9;

}

.contact-item {

    margin-bottom: 1.5rem;

}

.flex { 
    
    display: flex; 

}

.justify-between { 
    
    justify-content: space-between; 

}

.items-center { 
    
    align-items: center; 

}

.mt-4 { 
    
    margin-top: 1rem; 

}

.mb-6 { 
    
    margin-bottom: 1.5rem; 

}

/* Otro Footer XD */

footer {

    background: #111827;
    color: #9ca3af;
    padding: 4rem 1rem;
    text-align: center;

}

body{

    font-family: 'Poppins', sans-serif;

}

h1, h2, h3{

    font-family: 'Orbitron', sans-serif;

}

#titulo{

    padding-bottom: 0.5rem;
    padding-top: 3rem;

}

.map-cont {

    background: #eee;
    height: 200px;         
    border-radius: 10px;
    overflow: hidden;      
    display: flex;
    align-items: center;
    justify-content: center;

}

.map-img {

    width: 100%;
    height: 100%;
    object-fit: cover;     
    object-position: center; 

}

#txt-btn{

    display: flex;
    padding-top: 1rem;
    gap: 20px;
    justify-content: center;
    align-items: center;

}

#txt-btn h3{

    margin: 0;

}

.nav-links a {

    position: relative;
    text-decoration: none;
    color: rgb(0, 0, 0); 
    padding: 5px 0;

}

.nav-links a::before {

    content: ''; 
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #b47dcd, #e878a2, #eb85ab);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;

}


.nav-links a:hover::before {

    transform: scaleX(1);

}


.nav-links[data-animation="to-left"] a::before {

    transform-origin: right;

}

.nav-links[data-animation="center"] a::before {

    transform-origin: center;

}

.nav-links a.active {

    color: #b47dcd; 

}

.nav-links a.active::before {

    transform: scaleX(1);
    transform-origin: center; 

}

.sub-nosotros .nav-links a[href="Nosotros.html"]::before {

    transform: scaleX(1);
}

.sub-nosotros .nav-links a[href="Nosotros.html"] {
    color: #b47dcd; 
}

.elemento-visual {

    position: relative; 
    z-index: 10;

}

/* Form */

.caja-form {

    max-width: 100%;
    margin: 2rem auto;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid var(--border-color);

}

.caja-boton {

    display: flex;
    background: #f1f5f9;

}

.boton-form {

    flex: 1;
    padding: 1rem;
    border: none;
    background: none;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.3s;

}

.activo {

    background: var(--bg-card);
    color: var(--primary);
    border-bottom: 3px solid var(--primary);

}

.boton-form-bai{

    color: #ef4444;

}

.boton-form-bai:hover {

    background: rgba(239, 68, 68, 0.05);
    border-bottom-color: #ef4444;
    text-decoration-color: #ef4444 ;

}

.w-full {

    width: 100%;

}

.block {

    display: block;

}

/* Formulario y Panel de Autenticación */

.seccion-ingreso {

    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; 
    padding: 2rem 0;

}

.caja-boton {

    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border-color);

}

.boton-form {

    flex: 1;
    padding: 1.2rem 0.5rem;
    border: none;
    background: none;
    font-family: 'Orbitron', sans-serif; 
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;

}

.boton-form:hover {

    color: var(--primary);
    background: rgba(138, 43, 226, 0.05);

}

.boton-form.activo {

    background: var(--bg-card);
    color: var(--primary);
    border-bottom: 3px solid var(--primary);

}

.boton-form-bai {

    color: #ef4444;

}

.boton-form-bai:hover {

    background: rgba(239, 68, 68, 0.05);
    border-bottom-color: #ef4444;

}

.contenido-form {

    padding: 5rem;
    padding-bottom: 3rem;

}

.contenido-form h2 {

    font-size: 1.5rem;
    margin-bottom: 0.5rem;

}

.contenido-form .btn {

    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);

}

.form-group {

    margin-bottom: 1.5rem;

}

.form-group label {

    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;

}

.form-group input {

    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;

}

.form-group input:focus {

    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.25);

}

/*Panelll*/

.auth-section {

    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; 
    padding: 2rem 0;

}

.auth-container {

    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); 
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;

}

.auth-tabs {

    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);

}

.auth-tab {

    flex: 1;
    padding: 1.2rem 0.5rem;
    border: none;
    background: none;
    font-family: 'Orbitron', sans-serif; 
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;

}

.auth-tab.active {

    background: var(--bg-card);
    color: var(--primary);
    border-bottom: 3px solid var(--primary);

}

.auth-form {

    padding: 2.5rem;
    
}

.auth-form h2 {

    font-size: 1.5rem;
    margin-bottom: 0.5rem;

}

.form-group {

    margin-bottom: 1.5rem;

}

.form-group label {

    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;

}

select {

    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    background-color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none; /*Se elimina la felcha anterior para agregar una nueva pqq se ve fea*/
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='purple' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); /*Se busca un iconito para evitar que el select se vea feito ;-;*/
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;

}

select:focus {

    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.25);

}

.auth-form .btn {

    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);

}

#mensaje, #mensaje2, #mensaje-P, #mensaje-P2, #mensaje-P3 {

    margin-top: 1.5rem;
    font-weight: 600;
    min-height: 1.2rem;
    font-size: 0.9rem;
    color: var(--primary);

}


.auth-tab[onclick*="Volver"] {

    color: #ef4444;

}

.auth-tab[onclick*="Volver"]:hover {

    background: rgba(239, 68, 68, 0.05);
    border-bottom-color: #ef4444;

}

/* Carritooo */

.btn-flotante {

    position: fixed;
    bottom: 30px;      
    right: 30px;       
    width: 65px;
    height: 65px;
    background-color: #6366f1; 
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.54);
    z-index: 1000;      
    transition: all 0.3s ease;

}

.texto-flotante{

    position: fixed;
    bottom: -40px;      
    right: 20px;      
    width: 65px;
    height: 65px;
    font-size: 10px;
    color: black;
    text-shadow: 0px 0px 0px #000000;
    text-shadow: 2px 2px 0px #FFFFFF, 5px 4px 0px rgba(0,0,0,0.15);
    text-shadow: 0.5px 0.5px 0 #FFF, 0.5px -0.5px 0 #FFFFFF, -0.5px 0.5px 0 #FFF, -0.5px -0.5px 0 #FFFFFF, 0.5px 0px 0 #FFFF, 0px 0.5px 0 #FFF, -0.5px 0px 0 #FFF, 0px -0.5px 0 #FFF;
    z-index: 1000;

}


.btn-flotante:hover {

    transform: scale(1.05); 
    background-color: #4f46e5;
    box-shadow: 0px 6px 20px rgba(99, 102, 241, 0.5);

}


.icono-carrito {

    font-size: 30px;
    
}

#carrito-texto{

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;


}


.img-catalogo{

    width: 100%;      
    height: 100%;     
    object-fit: cover; 
    object-position: center;
    border-radius: 10px;

}

.imagen-cont{

    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px; 
    width: 100%;  
    overflow: hidden;
    background-color: #f0f0f0;

}

.card-text{

    padding-top: 8px;
    padding-left: 24px;
    padding-bottom: 8px;
    padding-right: 24px;

}

.contador-carrito {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #f97316;  
    color: white;
    font-size: 15px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.caja-pagar{

    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: flex-start;

}


/*PAGOOOOOOOOOOOOOOOOOOO*/

.fondo-pago{

    padding-top: 0px;
    margin-top: 60px;
    width: 70%;
    max-width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); 
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    align-items: center;

}

.fondo-detalles{

    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    align-items: center;
    gap: 50px;

}

/*Tablaasss*/

/* Estilos para la tabla de Inventario */
.tabla-datos {
    width: 100%;
    border-collapse: collapse; /* Crucial para que no se vea desordenado */
    margin-top: 20px;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden; /* Para que los bordes redondeados funcionen */
    box-shadow: var(--shadow);
}

/* Encabezados */
.tabla-datos th {
    background-color: #f1f5f9;
    color: var(--text-main);
    padding: 18px 15px;
    text-align: left;
    font-family: 'Orbitron', sans-serif; /* Tu fuente de títulos */
    font-size: 0.85rem;
    border-bottom: 2px solid var(--border-color);
}

/* Celdas de datos */
.tabla-datos td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    vertical-align: middle;
}

/* Clases específicas del PHP */
.negrita {
    font-weight: 700;
}

.color-morado {
    color: var(--primary); /* Usa tu #8A2BE2 */
    font-weight: 800;
}

.etiqueta {
    display: inline-block;
    background: rgba(138, 43, 226, 0.1); /* Morado muy suave de fondo */
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

/* Efecto hover para las filas */
.tabla-datos tr:hover {
    background-color: rgba(138, 43, 226, 0.03);
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px); 
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main.max-w-6xl#pago-formulario{

    margin-left: 50px; margin-right: 50px; display: flex; justify-content: center;

}

@media screen and (max-width: 820px) {
    

    .max-w-6xl {
        padding: 0 1.25rem;
    }

    main.max-w-6xl#pago-formulario{

        margin-left:0px;

    }

    section {
        padding: 3rem 0;
    }

    /* Navegación */
    nav {
        height: auto;
        padding: 1rem 0;
        flex-direction: column;
        gap: 1rem;
        padding-top: 50px;
    }

    .nav-links {
        justify-content: center;
        gap: 1.5rem;
    }

    .carro-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .contenedor-texto, 
    .contenedor-texto2 {
        margin: 0 auto; 
        max-width: 100%;
    }

    .contenedor-texto2{

        padding-left: 0px;
    }

    .btn-grid, 
    .bai-grid {
        margin-left: 0; 
        justify-content: center;
    }

    .carro-precio {
        margin-left: 0;
        max-width: 100%;
        text-align: center;
    }

    .zona-pago {
        flex-direction: column;
        gap: 2rem; 
        text-align: center;
    }

    .imagen-pago {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .caja-pagar {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .fondo-pago {
        width: 75%;
        margin-top: 2rem;
        margin-left:0px;
    }

    .fondo-detalles {
        flex-direction: column;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        gap: 1.5rem;
    }

    .contenido-form {
        padding: 2.5rem; 
    }

    .tabla-datos {
        display: block;
        overflow-x: auto; 
        white-space: nowrap;
    }

    section#carrito-texto.textos{

        display: none !important;

    }

    .text-3xl{
        font-size: clamp(1.5rem, 4vw, 2.8rem); 
        padding-left: 0px;
    }

}

@media screen and (min-width: 821px) and (max-width: 1180px) {
    
    .max-w-6xl {
        max-width: 95%;
    }





    .contenedor-texto, 
    .contenedor-texto2 {
        margin-right: 40px; 
    }

    .auth-container {

        width: 100%;
        max-width: 70%;
        max-height: 100%;

    }

    section#carrito-texto.textos{

        display: none !important;

    }

    .auth-section {

        min-height: 80vh; 
        padding: 2rem 0;

    }

    .zona-pago {
        gap: 50px; 
    }

    .imagen-pago {
        gap: 30px;
    }

    .fondo-pago {
        width: 85%;
    }

    .img-pago{

        height:200px;

    }

    footer.anti-volador{

        padding-bottom: 500px;

    }
}

header{

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.277);

}

/*Banner */

.seccion{

    background-attachment: fixed;
    margin: 0;
    padding: 0;
    height: 65vh; /* Cuanto contenido quieres */
    display: flex;
    justify-content: center;
    align-items: center;

}

.slider{

    width: 1200px;  /* Altura del banner */
    height: 400px;
    border-radius: 10px;
    overflow: hidden;


}

.slide{

    width: 500%;
    height: 500px;
    display: flex;

}

.slide input{ /* Hitbox botones */

    display: none;
    /*margin-top: 65hv;*/

}

.st{

    width: 20%;
    transition: 3s; /* velocidad de cambio de imagen*/
}

.st img{

    width: 1200px; /* Altura del banner */
    height: 400px;

}

.nav-m{

    position: absolute;
    width: 1200px;
    margin-top: -140px; /* botones tipo radio altura*/
    justify-content: center;
    display: flex;

}

.m-btn{

    border: 2px solid var(--primary);
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s; /* Velocidad cambio de color botones */ 

}

.m-btn:not(:last-child){

    margin-right: 30px;

}

/*
.m-btn:hover{

background-color: #9ed8c7;

}*/

#radio1:checked ~.first{

    margin-left: 0;

}

#radio2:checked ~.first{

    margin-left: -20%;

}

#radio3:checked ~.first{

    margin-left: -40%;

}

#radio4:checked ~.first{

    margin-left: -60%;

}

.nav-auto{

    position: absolute;
    width: 1200px;
    margin-top: 360px; /* botones tipo radio altura*/
    display: flex;
    justify-content: center;

}

.nav-auto div{

    border: 2px solid var(--primary);
    padding: 5px;
    border-radius: 10px;
    transition: 1s; /* Duracion del color botones */

}

.nav-auto div:not(:last-child){

    margin-right: 30px;
    justify-content: center;

}

#radio1:checked ~ .nav-auto .a-b1{

   background-color: var(--primary); 
   

}

#radio2:checked ~ .nav-auto .a-b2{

    background-color: var(--primary); 
 
}

#radio3:checked ~ .nav-auto .a-b3{

    background-color: var(--primary); 
 
}

#radio4:checked ~ .nav-auto .a-b4{

    background-color: var(--primary); 
 
}

