/* 
   BASE 1.2: DISEÑO BOUTIQUE PREMIUM - ACAMPANDO JA 
   Inspiración: Minimalismo High-End / Shopify Modern
   Actualización: Rediseño Premium de Producto Individual + Correcciones Previas
*/

:root {
    --p-blue: #003366;       /* Azul Institucional */
    --p-gold: #ffcc00;       /* Oro Clubes */
    --black: #121212;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --text-main: #121212;
    --text-muted: #666666;
    --accent-orange: #f38230;
    
    /* Variables de Fuente (Se cargan desde functions.php) */
    --f-heading: var(--font-headings), 'Montserrat', sans-serif;
    --f-body: var(--font-body), 'Outfit', sans-serif;
    
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: var(--f-body); 
    background-color: var(--white); 
    color: var(--text-main); 
    line-height: 1.4; 
    overflow-x: hidden;
}

.container { max-width: 1440px; margin: 0 auto; padding: 0 50px; }

/* --- BARRA DE ANUNCIOS --- */
.top-announcement-bar {
    background-color: var(--black);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- HEADER (3 COLUMNAS) --- */
.main-header {
    background: var(--white);
    padding: 25px 0;
    border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 1000;
}
.header-flex { 
    display: grid; 
    grid-template-columns: 1fr 1.5fr 1.5fr; 
    align-items: center; 
}

.logo img { max-height: 50px; width: auto; }
.logo-text { font-family: var(--f-heading); font-weight: 900; color: var(--p-blue); font-size: 1.6rem; text-decoration: none; }

.header-center { display: flex; justify-content: center; }
.main-nav ul { list-style: none; display: flex; gap: 40px; }
.main-nav a { text-decoration: none; color: var(--black); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; transition: var(--transition); }
.main-nav a:hover { color: var(--p-blue); }

.header-right { display: flex; align-items: center; gap: 20px; justify-content: flex-end; }

/* Buscador */
.header-search-form {
    background: var(--gray-100); border-radius: 4px; padding: 8px 15px; display: flex; align-items: center; width: 240px;
    border: 1px solid transparent; transition: 0.3s;
}
.header-search-form:focus-within { background: white; border-color: var(--p-blue); }
.header-search-form input { background: transparent; border: none; outline: none; padding: 5px; font-size: 0.85rem; width: 100%; color: var(--text-main); }
.header-search-form button { background: none; border: none; cursor: pointer; color: var(--text-muted); }

.nav-icons { display: flex; gap: 20px; align-items: center; }
.nav-icons a, .cart-trigger { color: var(--black); font-size: 1.3rem; text-decoration: none; cursor: pointer; transition: 0.2s; }
.cart-trigger { position: relative; color: var(--p-blue); }
.cart-count { 
    position: absolute; top: -10px; right: -12px; background: var(--p-gold); color: var(--p-blue); 
    font-size: 0.65rem; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 900; 
}

/* --- HERO SECTION --- */
.hero-premium {
    padding: 180px 0; background: var(--gray-100); text-align: center; border-radius: 0 0 40px 40px;
}
.hero-premium span { font-weight: 800; font-size: 0.8rem; letter-spacing: 4px; color: var(--text-muted); display: block; margin-bottom: 20px; }
.hero-premium h1 { 
    font-family: var(--f-heading); font-size: 5.5rem; line-height: 0.85; letter-spacing: -5px; text-transform: uppercase; margin-bottom: 35px;
}
.btn-main { 
    background: var(--black); color: white; padding: 22px 60px; border-radius: 4px;
    text-decoration: none; font-weight: 800; font-size: 0.9rem; transition: 0.3s; display: inline-block;
}
.btn-main:hover { background: var(--p-blue); transform: translateY(-3px); }

/* --- PRODUCTOS (GRID) --- */
.section-title { font-family: var(--f-heading); font-size: 2.5rem; margin: 80px 0 50px; letter-spacing: -2px; text-transform: uppercase; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 35px; }

.p-card-wrap { position: relative; }
.p-card { text-decoration: none; color: inherit; transition: 0.3s; display: block; }
.p-img-box { background: var(--gray-100); height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 8px; }
.p-img-box img { max-width: 85%; max-height: 85%; object-fit: contain; transition: 0.6s; }
.p-card:hover img { transform: scale(1.08); }

.btn-plus-abs {
    position: absolute; top: 20px; right: 20px; background: var(--white); color: var(--p-blue); border: none;
    width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center;
    justify-content: center; transition: 0.3s; opacity: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 10;
}
.p-card-wrap:hover .btn-plus-abs { opacity: 1; transform: scale(1.1); }

.p-info { padding: 25px 0; }
.p-cat { color: var(--p-gold); font-weight: 800; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 5px; display: block; }
.p-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; display: block; }
.p-price { font-size: 1.1rem; color: var(--text-muted); }

/* --- SIDE CART (SIDEBAR) --- */
#cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 1001; visibility: hidden; opacity: 0; transition: 0.3s; backdrop-filter: blur(4px); }
#cart-overlay.active { visibility: visible; opacity: 1; }

.side-cart {
    position: fixed; top: 0; right: -500px; width: 450px; height: 100vh;
    background: white; z-index: 1002; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px; display: flex; flex-direction: column; box-shadow: -10px 0 50px rgba(0,0,0,0.1);
}
.side-cart.open { right: 0; }
.side-cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 2px solid var(--black); padding-bottom: 15px; }
.side-cart-header h2 { font-family: var(--f-heading); font-size: 1.4rem; font-weight: 900; }
.close-btn-cart { background: none; border: none; font-size: 2rem; cursor: pointer; line-height: 1; }

.side-cart-body { padding: 10px 0; }

.side-cart-item {
    display: flex; align-items: center; gap: 15px; padding: 15px 0;
    border-bottom: 1px solid var(--gray-200); position: relative;
}
.side-cart-img-box {
    width: 80px; height: 80px; background: var(--gray-100); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
}
.side-cart-img-box img { max-width: 90%; max-height: 90%; object-fit: contain; }

.side-cart-details { flex: 1; }
.side-cart-item-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; display: block; color: var(--black); }
.side-cart-vars { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; font-weight: 600; }
.side-cart-qty-price { display: flex; justify-content: space-between; align-items: center; }
.side-cart-qty-price .qty { font-size: 0.8rem; color: var(--text-muted); }
.side-cart-qty-price .price { font-weight: 800; font-size: 0.95rem; color: var(--p-blue); }

.side-cart-remove { color: #ccc; transition: 0.3s; font-size: 1rem; cursor: pointer; }
.side-cart-remove:hover { color: #ef4444; }

.side-cart-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.side-cart-empty i { font-size: 3.5rem; color: var(--gray-200); margin-bottom: 15px; display: block; }
.side-cart-empty p { font-size: 0.9rem; font-weight: 600; line-height: 1.5; }

/* --- PÁGINA DE CARRITO PRINCIPAL (Bolsa de Equipo) --- */
.cart-premium-page { padding: 60px 0 120px; background: #fafafa; min-height: 80vh; }

.cart-header-section { margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.cart-header-section h1 { font-family: var(--f-heading); font-size: 2.5rem; text-transform: uppercase; letter-spacing: -1px; }

.cart-main-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }

.cart-list-side { display: flex; flex-direction: column; gap: 20px; }

.cart-item-modern {
    display: flex; background: white; padding: 25px; border-radius: 15px;
    border: 1px solid #f0f0f0; gap: 25px; align-items: center; transition: 0.3s;
}

.item-img {
    width: 160px; height: 160px; background: #f9f9f9; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
}
.item-img img { max-width: 90%; max-height: 90%; object-fit: contain; }

.item-info { flex: 1; }
.item-sku { font-size: 0.7rem; font-weight: 800; color: #aaa; text-transform: uppercase; display: block; margin-bottom: 5px; }
.item-title { font-size: 1.2rem; font-weight: 800; text-decoration: none; color: var(--black); display: block; margin-bottom: 10px; }

.item-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.meta-tag { font-size: 0.75rem; background: #f0f4f8; padding: 4px 10px; border-radius: 5px; color: #444; }

.item-controls { display: flex; align-items: center; gap: 25px; }
.qty-stepper { display: flex; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.qty-stepper button { background: white; border: none; padding: 8px 15px; cursor: pointer; font-weight: bold; }
.qty-stepper input { width: 40px; border: none; text-align: center; font-weight: 800; border-left: 1px solid #ddd; border-right: 1px solid #ddd; outline: none; }

.btn-remove-item { color: #ff4d4d; text-decoration: none; font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; gap: 5px; }

.item-price-side { text-align: right; min-width: 120px; }
.total-price { font-size: 1.3rem; font-weight: 900; color: var(--p-blue); }

.summary-card-premium { background: white; padding: 35px; border-radius: 20px; border: 1px solid #eee; position: sticky; top: 120px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 0.95rem; font-weight: 600; }

.btn-checkout-premium {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--accent-orange); color: white !important; padding: 20px;
    border-radius: 12px; text-decoration: none; font-weight: 800; text-transform: uppercase;
    margin-top: 25px; transition: 0.3s; box-shadow: 0 10px 20px rgba(243, 130, 48, 0.2);
}
.btn-checkout-premium:hover { transform: translateY(-3px); background: var(--black); }

/* --- PÁGINA DE PRODUCTO INDIVIDUAL (REDESIGN) --- */
.product-premium-container { padding: 40px 0 100px; background: #fff; }

.breadcrumb-new { margin-bottom: 30px; display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; color: #bbb; text-transform: uppercase; }
.breadcrumb-new a { text-decoration: none; color: inherit; transition: 0.3s; }
.breadcrumb-new a:hover { color: var(--p-blue); }

.product-layout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }

.product-visuals { position: sticky; top: 120px; }
.main-image-stage { 
    background: #fdfdfd; border-radius: 20px; overflow: hidden; height: 600px; 
    display: flex; align-items: center; justify-content: center; position: relative;
    border: 1px solid #f0f0f0;
}
.main-image-stage img { max-width: 85%; max-height: 85%; object-fit: contain; }
.promo-tag { position: absolute; top: 20px; left: 20px; background: #ef4444; color: white; padding: 5px 15px; border-radius: 50px; font-weight: 900; font-size: 0.7rem; }

.gallery-thumbs-new { display: flex; gap: 15px; margin-top: 20px; justify-content: center; }
.thumb-box { width: 80px; height: 80px; border: 2px solid #eee; border-radius: 10px; cursor: pointer; padding: 5px; transition: 0.3s; }
.thumb-box img { width: 100%; height: 100%; object-fit: contain; }
.thumb-box.active { border-color: var(--p-blue); }

.category-pill { background: #f0f4f8; color: var(--p-blue); padding: 4px 12px; border-radius: 50px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.product-main-title { font-family: var(--f-heading); font-size: 3rem; font-weight: 900; margin: 15px 0 5px; line-height: 1.1; letter-spacing: -2px; }
.sku-text { font-size: 0.8rem; font-weight: 700; color: #aaa; margin-bottom: 30px; }

.price-box-new { margin-bottom: 40px; }
.price-current { font-size: 2.5rem; font-weight: 900; color: var(--black); }
.price-old { font-size: 1.4rem; color: #bbb; text-decoration: line-through; margin-left: 15px; }

.variations-section-new { margin-bottom: 30px; }
.var-group { margin-bottom: 25px; }
.var-label { font-size: 0.75rem; font-weight: 900; color: #aaa; text-transform: uppercase; display: block; margin-bottom: 12px; }
.var-options { display: flex; flex-wrap: wrap; gap: 10px; }

.var-chip { cursor: pointer; position: relative; }
.var-chip input { position: absolute; opacity: 0; }
.chip-content { 
    border: 2px solid #eee; padding: 12px 20px; border-radius: 12px; transition: 0.3s; text-align: center;
    min-width: 80px;
}
.chip-content span { display: block; font-weight: 800; font-size: 0.9rem; }
.chip-content small { font-size: 0.65rem; color: #888; }
.var-chip input:checked + .chip-content { border-color: var(--p-blue); background: #f0f7ff; }

.custom-input-box { margin-bottom: 40px; }
.custom-input-box input { width: 100%; padding: 15px; border-radius: 12px; border: 2px solid #eee; font-family: inherit; font-weight: 700; outline: none; transition: 0.3s; }
.custom-input-box input:focus { border-color: var(--accent-orange); }
.custom-input-box small { font-size: 0.75rem; color: #999; margin-top: 8px; display: block; }

.purchase-actions { display: flex; gap: 15px; margin-bottom: 30px; }
.qty-selector-new { display: flex; border: 2px solid #eee; border-radius: 12px; overflow: hidden; }
.qty-selector-new button { background: white; border: none; width: 50px; cursor: pointer; font-size: 1.2rem; font-weight: 900; }
.qty-selector-new input { width: 60px; border: none; text-align: center; font-weight: 900; font-size: 1.1rem; outline: none; }

.btn-buy-now { 
    flex: 1; background: var(--accent-orange); color: white; border: none; border-radius: 12px;
    font-weight: 900; font-size: 1rem; cursor: pointer; transition: 0.3s;
    box-shadow: 0 10px 20px rgba(243, 130, 48, 0.2);
}
.btn-buy-now:hover { background: var(--black); transform: translateY(-3px); }

.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 30px; border-top: 1px solid #eee; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 700; color: #555; }
.trust-item i { font-size: 1.2rem; color: var(--p-blue); }

.details-tabs-new { margin-top: 80px; border-top: 1px solid #eee; padding-top: 60px; }
.tabs-header { display: flex; gap: 40px; margin-bottom: 40px; justify-content: center; }
.tab-link { background: none; border: none; font-size: 0.9rem; font-weight: 900; color: #ccc; cursor: pointer; position: relative; padding-bottom: 10px; }
.tab-link.active { color: var(--black); }
.tab-link.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--p-gold); }

.tab-panel { display: none; max-width: 800px; margin: 0 auto; line-height: 1.8; color: #444; }
.tab-panel.active { display: block; }
.specs-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.specs-grid li { border-bottom: 1px solid #eee; padding-bottom: 10px; font-size: 0.9rem; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .header-flex { grid-template-columns: 1fr 1fr; }
    .header-center { display: none; }
    .hero-premium h1 { font-size: 3rem; }
    .container { padding: 0 25px; }
    .side-cart { width: 100%; max-width: 400px; }
    
    .cart-main-grid { grid-template-columns: 1fr; }
    .item-img { width: 100px; height: 100px; }

    .product-layout-grid { grid-template-columns: 1fr; gap: 40px; }
    .product-visuals { position: relative; top: 0; }
    .main-image-stage { height: 400px; }
    .product-main-title { font-size: 2.2rem; }
}

/* --- CHECKOUT PREMIUM STYLE --- */
.checkout-premium-container { padding: 60px 0; background: #f8fafc; min-height: 100vh; }
.checkout-grid { display: grid; grid-template-columns: 1fr 420px; gap: 50px; align-items: start; }

.checkout-section { background: white; border-radius: 16px; padding: 30px; margin-bottom: 25px; border: 1px solid #e2e8f0; }
.section-num-title { font-family: var(--f-heading); font-size: 1.2rem; margin-bottom: 25px; display: flex; align-items: center; gap: 15px; }
.section-num-title span { background: var(--p-blue); color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }

.input-group-row { display: flex; gap: 20px; margin-bottom: 20px; }
.f-field { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-bottom: 15px; }
.f-field label { font-size: 0.75rem; font-weight: 800; color: #64748b; text-transform: uppercase; }
.f-field input { padding: 14px; border: 2px solid #f1f5f9; border-radius: 10px; font-family: inherit; font-weight: 600; outline: none; transition: 0.3s; }
.f-field input:focus { border-color: var(--accent-orange); background: #fff; }

.payment-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.payment-card { cursor: pointer; }
.payment-card input { display: none; }
.p-card-content { border: 2px solid #f1f5f9; padding: 20px; border-radius: 12px; text-align: center; transition: 0.3s; }
.p-card-content img { height: 25px; margin-bottom: 10px; grayscale: 100%; opacity: 0.6; }
.payment-card input:checked + .p-card-content { border-color: var(--p-blue); background: #f0f7ff; }
.payment-card input:checked + .p-card-content img { grayscale: 0; opacity: 1; }
.p-card-content span { display: block; font-size: 0.8rem; font-weight: 700; color: #64748b; }

.btn-complete-order { width: 100%; padding: 22px; background: var(--black); color: white; border: none; border-radius: 14px; font-weight: 900; font-size: 1.1rem; cursor: pointer; transition: 0.3s; box-shadow: 0 10px 25px rgba(0,0,0,0.1); margin-top: 20px; }
.btn-complete-order:hover { background: var(--accent-orange); transform: translateY(-3px); }

/* Resumen Checkout */
.summary-sticky-box { position: sticky; top: 100px; background: white; border-radius: 20px; padding: 30px; border: 1px solid #e2e8f0; }
.checkout-items-list { margin: 20px 0; max-height: 300px; overflow-y: auto; }
.c-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.c-item-img { position: relative; width: 60px; height: 60px; background: #f8fafc; border-radius: 10px; display: flex; align-items: center; justify-content: center; border: 1px solid #e2e8f0; }
.c-item-img img { max-width: 80%; max-height: 80%; object-fit: contain; }
.c-item-qty { position: absolute; top: -8px; right: -8px; background: #64748b; color: white; font-size: 0.7rem; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.c-item-info { flex: 1; }
.c-item-name { font-size: 0.85rem; font-weight: 700; color: #1e293b; display: block; }
.c-item-price { font-weight: 800; font-size: 0.9rem; color: #1e293b; }

.summary-totals { border-top: 1px solid #f1f5f9; padding-top: 20px; margin-top: 20px; }
.s-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; font-weight: 600; color: #64748b; }
.total-big { font-size: 1.5rem; color: var(--black); font-weight: 900; margin-top: 10px; }

@media (max-width: 1024px) {
    .checkout-grid { grid-template-columns: 1fr; }
}

/* --- PAYMENT PROCESSING PAGE --- */
.payment-processing-page {
    padding: 100px 0;
    background: #fdfdfd;
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.processing-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.spinner-adventure {
    width: 80px;
    height: 80px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid var(--accent-orange);
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.processing-card h1 {
    font-family: var(--f-heading);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--black);
}

.processing-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

.payment-secure-badge {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ecfdf5;
    color: #10b981;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.loading-text {
    font-weight: 700;
    color: var(--p-blue);
    margin-top: 20px;
    letter-spacing: 1px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* --- REDISEÑO COMPLETO DE LOGIN/REGISTRO --- */
.auth-page-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcfcfc; /* Fondo casi blanco premium */
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    padding: 60px 50px;
    border-radius: 30px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.04);
    text-align: center;
}

.auth-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.auth-header h1 {
    font-family: var(--f-heading);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 10px;
    color: var(--black);
}

.auth-header p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 40px;
}

.auth-form {
    text-align: left;
}

.auth-field {
    margin-bottom: 25px;
}

.auth-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 900;
    color: #64748b;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.label-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label-flex a {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--accent-orange);
    text-decoration: none;
}

.auth-field input {
    width: 100%;
    padding: 16px 20px;
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    border-radius: 15px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.auth-field input:focus {
    border-color: var(--p-blue);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.btn-auth-submit {
    width: 100%;
    padding: 20px;
    background: var(--black);
    color: #fff;
    border: none;
    border-radius: 15px;
    font-weight: 900;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: 0.3s;
    margin-top: 10px;
    text-transform: uppercase;
}

.btn-auth-submit:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 130, 48, 0.2);
}

.auth-alert-error {
    background: #fff1f2;
    color: #e11d48;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid #ffe4e6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
}

.auth-footer p {
    font-size: 0.9rem;
    color: #64748b;
}

.auth-footer a {
    color: var(--p-blue);
    text-decoration: none;
    font-weight: 900;
}

/* --- FOOTER PREMIUM REDESIGN --- */
.site-footer {
    background-color: var(--black);
    color: #ffffff;
    padding: 80px 0 30px;
    margin-top: 80px;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    color: #ffffff !important;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-socials a:hover {
    background: var(--p-gold);
    color: var(--black);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--f-heading);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: var(--p-gold);
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-info {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-badges-footer {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

/* Ajustes Responsive */
@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-socials {
        justify-content: center;
    }
    .contact-info {
        justify-content: center;
    }
    .payment-badges-footer {
        justify-content: center;
    }
}