/* ==========================================================================
   assets/css/style.css - E-commerce Alternativa Dolores Premium (Estilo Ego)
   ========================================================================== */

:root {
    --bg-color: #fdfbfc;
    --text-color: #212529;
    --accent: #db1484;        /* 🔥 NUEVO FUCSIA OFICIAL CALIBRADO */
    --accent-light: #fbe6f2;  
    --white: #ffffff;
    --gray-muted: #6c757d;
    --border-color: #eaeaea;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Global */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }
body { background-color: var(--bg-color); color: var(--text-color); overflow-x: hidden; width: 100%; }

/* Contenedores */
.container { max-width: 600px; margin: 0 auto; padding: 0 1rem; }
.container-tienda-wide { max-width: 1350px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }

/* Helper Ocultar Elementos */
.mobile-only { display: none !important; }

/* ==========================================================================
   A. COMPONENTES LANDING (index.php) - Navbar Flotante Glassmorphism
   ========================================================================== */
.navbar {
    position: fixed; top: 12px; left: 12px; width: calc(100% - 24px);   
    display: flex; justify-content: space-between; align-items: center; 
    padding: 0.8rem 1.5rem; border-radius: 40px; z-index: 100;
    background: rgba(253, 251, 252, 0.2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);   
    border: 1px solid rgba(208, 19, 125, 0.12); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);  
}
.navbar-left, .navbar-right { width: 40px; display: flex; align-items: center; }
.navbar-right { justify-content: flex-end; }
.logo-container-centered { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.2rem; }
.logo-img-large { height: 140px; width: auto; object-fit: contain; }
.logo-text { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.5px; line-height: 1; }
.logo-text span { color: var(--accent); }

/* HERO SLIDER - AJUSTE DE CONTENIDO EN ZONA BAJA (ANTI-TAPADO DE IMAGEN) */
.hero-slider-wrapper {  width: 100%; height: 100vh;  background: #000; }
.slider-container { width: 100%; height: 100%; position: relative; }

.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex; flex-direction: column; align-items: center; 
    justify-content: flex-end; 
    text-align: center; padding: 0 1.5rem; background-size: cover; background-position: center; background-repeat: no-repeat;
}
.slide.active { opacity: 1; visibility: visible; }
.slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100__); z-index: 1; }

.slide-content {  
    position: relative; z-index: 2; max-width: 500px; width: 100%;
    margin-top: auto;  
    margin-bottom: 7.5rem; /* SUBE UN POCO EL CONTENEDOR EN ESCRITORIO */
    animation: fadeInUp 0.8s var(--transition);  
}
.slide-content h1 {  
    font-size: 2.6rem; font-weight: 800; color: var(--white); margin-bottom: 0.6rem; letter-spacing: -0.5px; line-height: 1.1;  
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);  
}
.slide-content p {  
    font-size: 1rem; color: rgba(255, 255, 255, 0.95); margin-bottom: 1.8rem; line-height: 1.4;  
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);  
}

.btn-slider-cta {  
    background: var(--accent); color: var(--white); border: none; padding: 1rem 2.4rem; border-radius: 50px; font-size: 1.05rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 22px rgba(208, 19, 125, 0.4);  
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn-slider-cta:hover { background-color: #b30f6a; transform: translateY(-2px); }

/* Dots Slider */
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.dot { width: 8px; height: 8px; background: rgba(255, 255, 255, 0.35); border-radius: 50%; cursor: pointer; }
.dot.active { background: var(--white); width: 24px; border-radius: 10px; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   B. CABECERA CENTRADA SIMÉTRICA ESTILO EGO (tienda.php / producto.php)
   ========================================================================== */
.tienda-header-minimal {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 1.5rem; 
    background: var(--accent); /* 🔥 BARRA COMPLETA DEL NUEVO COLOR DEL LOGO #d0137d */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    height: 110px; 
}
.tienda-header-left, .tienda-header-right {  
    width: 20%;  
    display: flex;  
    align-items: center;  
}
.tienda-header-right { justify-content: flex-end; }

/* Botón de retorno blanco para excelente contraste sobre fucsia */
.btn-back-home { 
    color: var(--white); 
    text-decoration: none; 
    font-size: 0.95rem; 
    font-weight: 600; 
    font-family: 'Urbanist', sans-serif;
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    transition: opacity 0.2s ease;
}
.btn-back-home:hover { opacity: 0.85; }

.tienda-header-minimal .logo-container-centered {
    display: flex; flex-direction: column; align-items: center; text-align: center; width: 60%; height: 100%; justify-content: center;
}
.tienda-header-minimal .logo-img-large {  
    height: 100%;  
    max-height: 95px; 
    width: auto;  
    object-fit: contain;  
    display: block;
}
.tienda-header-minimal .logo-text { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.5px; line-height: 1; color: var(--white); }
.tienda-header-minimal .logo-text span { color: var(--white); }

.resultados-header-text { margin-bottom: 1.2rem; }
.resultados-header-text h2 { font-size: 1.6rem; font-weight: 700; color: #111; letter-spacing: -0.5px; }
.resultados-header-text p { font-size: 0.85rem; color: var(--gray-muted); margin-top: 0.2rem; }

/* Burbuja Flotante Carrito */
.floating-cart {
    position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px;
    background: var(--white); border: 1px solid rgba(0,0,0,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem; z-index: 150;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); transition: transform 0.2s ease;
}
.floating-cart .cart-count { position: absolute; top: 2px; right: 2px; background: var(--accent); color: var(--white); font-size: 0.7rem; padding: 2px 6px; border-radius: 50%; font-weight: 700; }

/* Buscador Sólido con despeje calibrado */
.search-wrapper {  
    position: sticky; top: 0px; background-color: var(--bg-color); padding: 1.2rem 0; z-index: 85; border-bottom: 1px solid var(--border-color); margin-top: 5px;
}
.search-flex-row { display: flex; gap: 0.5rem; width: 100%; align-items: center; }
.search-container { position: relative; flex: 1; }
.search-input {
    width: 100%; padding: 0.75rem 1rem 0.75rem 2.6rem; border: 1px solid #ced4da; border-radius: 8px; font-size: 0.95rem; background: var(--white); outline: none; transition: 0.2s;
}
.search-input:focus { border-color: #495057; box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
.search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #6c757d; font-size: 1.1rem; }
.btn-filter-trigger {
    background: var(--white); border: 1px solid #ced4da; color: var(--text-color); padding: 0.75rem 1.2rem; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px;
}

/* ==========================================================================
   C. ARQUITECTURA MAESTRA DOS COLUMNAS TIENDA (DESKTOP FLEX)
   ========================================================================== */
.layout-tienda-split {
    display: flex !important;
    flex-direction: row !important;
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: flex-start;
}

/* COLUMNA 1: BARRA LATERAL FIJA */
.tienda-sidebar-filters {
    display: block !important;
    width: 260px;
    min-width: 260px;
    position: sticky;
    top: 90px;
    background: transparent;
}

/* Bloques Acordeón */
.filter-accordion-block { border-bottom: 1px solid var(--border-color); padding: 1.1rem 0; }
.filter-accordion-title { font-size: 0.82rem; font-weight: 700; color: #111; display: flex; justify-content: space-between; align-items: center; cursor: pointer; letter-spacing: 0.6px; }
.filter-accordion-title i { transition: transform 0.25s ease; }
.filter-accordion-title.active i { transform: rotate(180deg); }
.filter-accordion-content { display: none; margin-top: 0.9rem; }
.filter-accordion-content.active { display: block; }

/* Checkboxes y Mapeos */
.filter-checkbox-list { display: flex; flex-direction: column; gap: 0.65rem; }
.filter-check-label { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: #495057; cursor: pointer; user-select: none; }
.filter-checkbox-list input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.filter-qty-counter { color: var(--gray-muted); font-size: 0.75rem; margin-left: auto; font-weight: 500; }

/* COLUMNA 2: SECCIÓN MAIN CATÁLOGO */
.tienda-main-products { flex: 1; min-width: 0; } 

/* GRILLA PREMIUM DE PRODUCTOS */
.products-grid-ego { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    align-items: stretch;
    width: 100%;
}

.product-card {
    background: var(--white); border: 1px solid var(--border-color); border-radius: 8px; padding: 16px;
    display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-width: 0; overflow: hidden;
}
.product-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.06); }

.product-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    width: 100%;
}

.img-container { 
    width: 100%; 
    height: 160px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 1rem; 
    background: #fff;
}
.prod-img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain;
}

.product-info { margin-bottom: 12px; flex-grow: 1; min-width: 0; width: 100%; }
.product-info h3 { 
    font-size: 0.82rem; 
    font-weight: 600; 
    color: #212529; 
    text-transform: uppercase; 
    line-height: 1.4; 
    letter-spacing: 0.2px;
    word-wrap: break-word; 
    overflow-wrap: break-word;
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

.product-meta { 
    display: flex; 
    flex-direction: column; 
    gap: 4px; 
    border-top: 1px solid #f8f9fa; 
    padding-top: 10px;
    margin-top: auto;
    width: 100%;
}
.precio { font-size: 1.25rem; font-weight: 700; color: #111; }
.precio::after { content: " con Transferencia o depósito"; display: block; font-size: 0.68rem; font-weight: 600; color: #28a745; margin-top: 2px; }

.btn-add {
    width: 100%; background: var(--white); border: 1px solid var(--accent); color: var(--accent); padding: 0.55rem;
    border-radius: 6px; font-weight: 700; font-size: 0.8rem; cursor: pointer; margin-top: 6px; text-align: center; transition: 0.15s;
}
.btn-add:hover { background: var(--accent); color: var(--white); }

/* ==========================================================================
   D. FICHA DE DETALLE DE PRODUCTO PREMIUM (producto.php) y RECOMENDADOS
   ========================================================================== */
.layout-detalle-producto { margin-top: 2rem; padding-bottom: 4rem; }
.product-detalle-flex { display: flex; gap: 3rem; align-items: flex-start; background: #fff; border: 1px solid var(--border-color); padding: 2rem; border-radius: 12px; }
.detalle-col-img { width: 45%; display: flex; justify-content: center; }
.detalle-img-wrapper { width: 100%; height: 380px; display: flex; align-items: center; justify-content: center; background: #fff; }
.detalle-img-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; }

.detalle-col-info { width: 55%; }
.detalle-title { font-size: 1.8rem; font-weight: 700; color: #111; text-transform: uppercase; line-height: 1.2; margin-bottom: 0.5rem; }
.detalle-short-desc { font-size: 0.95rem; color: var(--gray-muted); line-height: 1.4; margin-bottom: 1.5rem; }

.detalle-tags-container { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.5rem; }
.detalle-tag { background: #f8f9fa; border: 1px solid var(--border-color); font-size: 0.75rem; padding: 4px 10px; border-radius: 4px; color: #495057; }

.detalle-price-box { margin-bottom: 1.5rem; border-top: 1px solid #f8f9fa; padding-top: 1rem; }
.precio-grande { font-size: 2.2rem; font-weight: 800; color: #111; display: block; }
.precio-leyenda { font-size: 0.85rem; font-weight: 600; color: #28a745; margin-top: 2px; display: block; }

.btn-detalle-buy { width: 100%; background: var(--accent); color: #fff; border: none; padding: 1rem; border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 15px rgba(208, 19, 125, 0.2); transition: 0.2s; margin-bottom: 2rem; }
.btn-detalle-buy:hover { background: #b30f6a; }

.text-block-detalle { font-size: 0.9rem; color: #495057; line-height: 1.6; }

/* Sección de Recomendados Abajo */
.relacionados-wrapper-section { margin-top: 4rem; border-top: 1px solid var(--border-color); padding-top: 2rem; }
.relacionados-section-title { font-size: 1.5rem; font-weight: 700; color: #111; margin-bottom: 1.5rem; letter-spacing: -0.5px; }

/* ==========================================================================
   E. INTERFAZ INTEGRADA DEL CHECKOUT INTERNO (CARRITO SIDEBAR)
   ========================================================================== */
.cart-sidebar { 
    position: fixed; top: 0; right: -100%; width: 100%; max-width: 360px; height: 100%; background: var(--white); z-index: 200; transition: right 0.3s var(--transition); display: flex; flex-direction: column; padding: 1.2rem; box-shadow: -4px 0 20px rgba(0,0,0,0.05); 
    font-family: 'Urbanist', sans-serif;
    border-left: 1px solid rgba(208, 19, 125, 0.1);
}
.cart-sidebar.active { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.cart-header h3 { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.4rem; }
.cart-items { flex: 1; overflow-y: auto; transition: max-height 0.3s ease; }
.cart-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; padding-bottom: 0.6rem; border-bottom: 1px solid #f9f1f5; font-size: 0.9rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.2rem; }
.btn-qty { background: var(--accent-light); border: none; color: var(--accent); width: 20px; height: 20px; border-radius: 4px; font-weight: bold; cursor: pointer; }
.btn-qty:hover { background: var(--accent); color: var(--white); }
.cart-sidebar .cart-footer { padding-top: 0.8rem; border-top: 1px solid #f9f1f5; }
.total-row { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 0.8rem; }
.btn-checkout { width: 100%; background: var(--accent); color: var(--white); border: none; padding: 0.7rem; border-radius: 50px; font-weight: 600; cursor: pointer; font-family: 'Urbanist', sans-serif; text-transform: uppercase; letter-spacing: 1px; }

/* Estructura Formulario Interno */
.checkout-interno-form {
    margin-top: 15px; padding-top: 15px; border-top: 1px dashed var(--border-color);
    animation: fadeInInternal 0.3s ease forwards;
}
.checkout-interno-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text-color); margin-bottom: 12px; text-align: left; }
.form-group-interno { display: flex; flex-direction: column; margin-bottom: 0.8rem; text-align: left; }
.form-group-interno label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; letter-spacing: 0.5px; }
.form-group-interno input, .form-group-interno select { font-family: 'Urbanist', sans-serif; font-size: 0.9rem; padding: 0.6rem 0.8rem; border: 1px solid rgba(208, 19, 125, 0.2); border-radius: 8px; background: #fff; outline: none; color: #334155; }
.form-group-interno input:focus, .form-group-interno select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(208, 19, 125, 0.05); }

/* Alertas Dinámicas de Destino */
.envio-alerta-text { font-size: 0.8rem; font-weight: 600; margin-bottom: 10px; padding: 6px 10px; border-radius: 6px; display: none; text-align: left; }
.envio-alerta-text.gratis { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.envio-alerta-text.cargo { background: #fff7ed; color: #ea580c; border: 1px solid #ffedd5; }

.checkout-botones-flex { display: flex; gap: 10px; margin-top: 15px; }
.btn-volver-carrito { background: #f1f5f9; border: none; color: #475569; padding: 0.75rem 1rem; border-radius: 30px; font-weight: 600; cursor: pointer; font-size: 0.85rem; }
.btn-confirmar-interno { flex: 1; background: var(--accent); color: #fff; border: none; padding: 0.75rem; border-radius: 30px; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; }
.btn-confirmar-interno.btn-mp-disabled { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; border: 1px dashed #cbd5e1; box-shadow: none; }
.total-final-row { border-top: 1px solid #f1f5f9; padding-top: 10px; margin-top: 10px; font-size: 1.1rem; font-weight: 800; }

@keyframes fadeInInternal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.modal { position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.4); display:none; justify-content:center; align-items:center; z-index:300; padding: 1rem; backdrop-filter: blur(4px); }
.modal.active { display: flex; }
.modal-content { background: var(--white); padding: 1.5rem; border-radius: 16px; width: 100%; max-width: 400px; }
.form-group { margin-bottom: 0.8rem; display: flex; flex-direction: column; }
.form-group label { font-size: 0.75rem; font-weight: 600; margin-bottom: 0.2rem; }
.form-group input, .form-group select { padding: 0.55rem; border: 1px solid #e5dee2; border-radius: 6px; font-size: 0.9rem; outline: none; }
.form-group input:focus, .form-group select:focus { border-color: var(--accent); }
.btn-confirm { width:100%; background: var(--text-color); color:var(--white); border:none; padding:0.7rem; border-radius:6px; font-weight:600; margin-top:0.4rem; cursor: pointer; }
.d-none { display: none !important; }
.flying-img { position: fixed; z-index: 9999; pointer-events: none; object-fit: cover; border-radius: 50%; transition: all 0.6s var(--transition); }

/* ==========================================================================
   F. GLOBO NOTIFICACIÓN DE AGREGADO TOAST (ESTILO EGO)
   ========================================================================== */
.toast-cart-wrapper {
    position: fixed; top: 90px; right: 20px; z-index: 99999;
    max-width: 340px; width: calc(100% - 40px);
    display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast-cart-item {
    background: var(--white); border: 1px solid var(--border-color); border-radius: 8px; padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); display: flex; gap: 14px; position: relative;
    pointer-events: auto; animation: toastFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.toast-cart-item.fade-out { opacity: 0; transform: translateY(-10px); transition: 0.3s ease; }
.toast-img-box { width: 60px; height: 60px; min-width: 60px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 4px; overflow: hidden; }
.toast-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.toast-content-box { flex: 1; padding-right: 15px; }
.toast-title { font-size: 0.85rem; font-weight: 700; color: #212529; line-height: 1.3; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
.toast-meta-price { font-size: 0.82rem; color: #495057; font-weight: 600; margin-bottom: 4px; }
.toast-status-text { font-size: 0.85rem; font-weight: 800; color: var(--text-color); }
.toast-close-btn { position: absolute; top: 10px; right: 12px; background: none; border: none; font-size: 1.1rem; color: #adb5bd; cursor: pointer; }
.toast-close-btn:hover { color: #212529; }

@keyframes toastFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   G. RESPONSIVIDAD DINÁMICA (MOBILE ADAPTATION CALIBRADA)
   ========================================================================== */
@media (max-width: 991px) {
    .mobile-only { display: flex !important; }
    .layout-tienda-split { flex-direction: column !important; gap: 0; padding: 0 1rem; width: 100%; }

    .tienda-sidebar-filters {
        position: fixed; top: 0; left: -100%; width: 290px; height: 100%;
        background: var(--white); z-index: 250; padding: 1.5rem;
        box-shadow: 4px 0 20px rgba(0,0,0,0.1); transition: left 0.3s ease;
    }
    .tienda-sidebar-filters.active { left: 0 !important; }

    .sidebar-filters-header {
        display: flex; justify-content: space-between; align-items: center;
        margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.8rem;
    }

    .products-grid-ego { 
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
        gap: 12px; 
        width: 100%;
    }
    
    .img-container { height: 140px; }
    .product-detalle-flex { flex-direction: column; gap: 1.5rem; padding: 1rem; }
    .detalle-col-img, .detalle-col-info { width: 100%; }
    .detalle-img-wrapper { height: 260px; }
    .detalle-title { font-size: 1.4rem; }
    .precio-grande { font-size: 1.8rem; }
    
    .toast-cart-wrapper { top: 20px; right: 20px; }

    /* SUBE EL GLOBO DE TEXTO DEL HERO SLIDER EN CELULARES */
    .slide-content {
        margin-bottom: 9.5rem !important; 
    }
}

/* ==========================================================================
   H. ESTILOS PREMIUM ADICIONALES MODAL CHECKOUT COMPATIBILIDAD
   ========================================================================== */
.modal-content {
    background: #fff;
    padding: 2.2rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(208, 19, 125, 0.15);
    box-shadow: 0 15px 40px rgba(208, 19, 125, 0.08);
    font-family: 'Urbanist', sans-serif;
}
.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.5px;
}
.modal-content .form-group { margin-bottom: 1.1rem; }
.modal-content .form-group label {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 5px;
}
.modal-content .form-group input, 
.modal-content .form-group select {
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: #fdfbfc;
    color: #334155;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.modal-content .form-group input:focus, 
.modal-content .form-select:focus,
.modal-content .form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(208, 19, 125, 0.08);
    background-color: #fff;
}
.envio-badge-info {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: -5px;
    margin-bottom: 1rem;
    display: none;
}
.envio-badge-info.gratis { background-color: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.envio-badge-info.cargo { background-color: #fff7ed; color: #ea580c; border: 1px solid #ffedd5; }
.modal-content .btn-confirm {
    width: 100%; background: var(--accent); color: #fff; border: none; padding: 1rem; border-radius: 50px;
    font-family: 'Urbanist', sans-serif; font-weight: 700; font-size: 1rem; text-transform: uppercase;
    letter-spacing: 1.5px; cursor: pointer; box-shadow: 0 4px 15px rgba(208, 19, 125, 0.2); transition: all 0.2s ease; margin-top: 0.5rem;
}
.modal-content .btn-confirm:hover:not(:disabled) { background: #b30f6a; transform: translateY(-1px); }
.modal-content .btn-confirm.btn-mp { background: #e2e8f0; color: #94a3b8; box-shadow: none; cursor: not-allowed; border: 1px dashed #cbd5e1; }
/* Checkout Progress Bar - Estilo EGO */

    /* Estructura de pasos */
    .checkout-steps { display: flex; justify-content: space-between; margin: 2rem auto 3rem; position: relative; max-width: 500px; }
    .checkout-steps::before { content: ''; position: absolute; top: 20px; left: 0; right: 0; height: 2px; background: #e2e8f0; z-index: 1; }
    
    .step { position: relative; z-index: 2; text-align: center; font-size: 0.8rem; font-weight: 600; color: #94a3b8; }
    
    /* El círculo del icono */
    .step-icon { 
        display: flex; align-items: center; justify-content: center;
        width: 45px; height: 45px;
        background: #fff; border: 2px solid #e2e8f0;
        border-radius: 50%; margin: 0 auto 8px auto;
        font-size: 1.2rem; transition: all 0.3s ease;
    }
    
    .step.active { color: #d0137d; }
    .step.active .step-icon { border-color: #d0137d; background: #d0137d; color: #fff; }

