



/* ARCHIVO COMPLETO ESTILO CLARO PREMIUM - REJAS ZM - AJUSTADO PARA DISPLAYNAV */

#left_column #cart_block, #right_column #cart_block {
    background: #f9f9f9 !important;
    color: #333 !important;
}

/* 1. CABECERA Y TÍTULOS (ESTILO LIMPIO Y CLARO) */
#header #cart_block .title_block, 
#header #cart_block h4 {
    display: block !important;
    color: #333333 !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 15px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 2. CAJA PRINCIPAL (AJUSTADO PARA EL MENÚ SUPERIOR) */
#header #cart_block {
    z-index: 999999 !important;
    display: block !important;
    visibility: visible !important;
    /* CORRECCIÓN: relative para que se quede dentro de la barra negra */
    position: relative !important; 
    right: 0 !important;
    top: 0 !important; 
    height: auto !important;
    width: 280px !important;
    padding: 15px !important;
    background: #ffffff !important; 
    color: #333333 !important;
    border: 1.5px solid #FFD700 !important; 
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    /* Alineación para que no descuadre el menú */
    margin: 5px auto !important;
}

#cart_block.cart_block_hover { display: block !important; }

/* ICONO DE LA CESTA */
#cart_block .title_block span, #header #cart_block h4 {
    float: none;
    padding-left: 35px !important;
    text-transform: none;
    cursor: pointer;
    color: #B8860B !important; 
    background: url(../../img/modules/blockcart/icon/basket.png) no-repeat left center !important;
}

#cart_block .block_content { 
    display: block !important;
    padding: 10px 5px; 
}

/* 3. RESUMEN Y PRODUCTOS */
#cart_block #cart_block_summary { 
    display: block !important; 
    color: #333333 !important; 
}

#cart_block .quantity-formated {
    display: inline-block;
    padding-right: 8px;
    color: #B8860B !important;
    font-weight: bold;
}

#cart_block .cart_block_product_name { 
    font-weight: 500; 
    color: #333333 !important; 
}

#cart_block .remove_link, #cart_block .deleteCustomizableProduct {
    float: right;
    margin: 2px 0 0 8px;
}

/* ICONO DE BORRAR */
#cart_block .remove_link a, #cart_block .ajax_cart_block_remove_link {
    display: inline-block;
    height: 14px;
    width: 14px;
    background: url(../../img/modules/blockcart/icon/delete.gif) no-repeat center !important;
    filter: brightness(0.5); 
}

#cart_block .price {
    float: right;
    color: #B8860B !important;
    font-weight: bold;
}

#cart_block #cart_block_list dt { padding: 8px 0; border-bottom: 1px solid #eeeeee; }
#cart_block #cart_block_list dt a { 
    font-weight: 400; 
    color: #333333 !important; 
    text-decoration: none;
}
#cart_block #cart_block_list dd { margin-left: 20px; color: #666 !important; }

/* 4. TOTALES Y PRECIOS FINALES */
#cart_block #cart-prices {
    padding: 15px 5px;
    line-height: 28px;
    border-top: 1px solid #dddddd;
    color: #333333 !important;
}

#cart_block #cart_block_shipping_cost, 
#cart_block #cart_block_total {
    float: right;
    color: #B8860B !important;
    font-size: 16px;
    font-weight: bold;
}

/* 5. BOTÓN DE PEDIDO */
#cart_block #button_order_cart {
    background: #cc0000 !important;
    color: #FFFFFF !important;
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 14px 0;
    border-radius: 2px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 15px;
    transition: background 0.3s;
}

#cart_block #button_order_cart:hover { background: #e60000 !important; }

/* 7. VENTANA EMERGENTE */
#layer_cart {
    background-color: #ffffff !important;
    border: 1px solid #FFD700 !important;
    padding: 25px;
    position: fixed !important;
    top: 25% !important;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 1000000;
    color: #333333 !important;
    box-shadow: 0 0 50px rgba(0,0,0,0.2);
    border-radius: 4px;
}

.layer_cart_overlay {
    background-color: #ffffff;
    opacity: .7 !important;
}

#layer_cart .continue { color: #B8860B !important; font-weight: bold; text-transform: uppercase; font-size: 12px; }

/* 8. AJUSTES FINALES */
#blockcart_list { width: 100%; overflow: hidden; }
#blockcart_list ul { display: block; padding: 0; margin: 0; list-style: none; }
#blockcart_list li { float: left; width: 58px; padding: 2px; }
/* CIERRE FINAL REVISADO */
/* ESTA LLAVE CIERRA EL ARCHIVO - NO LA OLVIDES */
}