/* --- HARMONISATION HIKASHOP / A4JOOMLA DARK --- */

/* 1. TEXTES ET TITRES (Pour le blanc pur du thème Dark) */
#hikashop_checkout_page legend, 
.hikashop_checkout_shipping_name, 
.hikashop_checkout_payment_name,
.hikashop_checkout_login_p_out,
.hikashop_checkout_footer,
#hikashop_checkout_page label {
    color: #FFFFFF !important;
}

/* 2. TON BLEU SIGNATURE (#2C8296) */
/* Appliqué uniquement aux montants pour qu'ils ressortent sur le noir */
.hikashop_checkout_shipping_method_cost, 
.hikashop_checkout_payment_method_cost,
.hikashop_checkout_cart_shipping, 
.hikashop_checkout_cart_payment,
.hikashop_checkout_cart_taxes,
.hikashop_checkout_cart_final_total,
.hikashop_product_price_full {
    color: #2C8296 !important;
    font-weight: bold !important;
}

/* 3. LISIBILITÉ DES DESCRIPTIONS (PayPal / Mondial Relay) */
/* Le thème par défaut met souvent ça en gris foncé, on passe en gris clair */
.hikashop_checkout_payment_description,
.hikashop_checkout_shipping_price_full,
.hikashop_checkout_payment_method_description {
    color: #BBBBBB !important;
}

/* 4. NETTOYAGE DES BORDURES ET TABLEAUX */
/* On remplace les bordures grises par des bordures plus discrètes */
.hikashop_checkout_cart, 
.hikashop_checkout_shipping_methods_table, 
.hikashop_checkout_payment_methods_table {
    border: 1px solid #444 !important;
    background: transparent !important;
}

.hikashop_checkout_cart thead tr th {
    background-color: #222 !important;
    color: #FFF !important;
    border-bottom: 2px solid #2C8296 !important; /* Petit rappel de ton bleu */
}

/* 5. CHAMPS DE FORMULAIRE (Pour éviter le blanc flash) */
#hikashop_checkout_page input, 
#hikashop_checkout_page select, 
#hikashop_checkout_page textarea {
    background-color: #111 !important;
    color: #FFF !important;
    border: 1px solid #555 !important;
}

/* Supprime le bandeau blanc derrière l'adresse de facturation */
.hikashop_checkout_address_container,
.hikashop_checkout_address_container_billing,
#hikashop_checkout_address_1_1,
.hikashop_address_select {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Force l'adresse en blanc au cas où elle deviendrait sombre */
.hikashop_checkout_address_item, 
.hikashop_checkout_address_item span {
    color: #FFFFFF !important;
}

/* Supprime le fond blanc de la barre de sélection d'adresse (mode connecté) */
.address_selection, 
.hikashop_checkout_address_selector,
#hikashop_checkout_address_billing_selector,
.hikashop_checkout_address_container {
    background-color: transparent !important;
    background-image: none !important;
    border: 1px solid #444 !important; /* Une bordure discrète pour délimiter la zone */
    color: #FFFFFF !important;
}

/* Assure que l'icône de modification (le crayon) reste visible */
.hika_edit span, .hika_edit a {
    color: #2C8296 !important; /* On utilise ton bleu pour l'icône */
}
/* Supprime définitivement le bandeau blanc de sélection d'adresse */
.address_selection, 
#hikashop_checkout_address_billing_selector,
.hikashop_checkout_address_selector,
.hikashop_checkout_address_container {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Garde le texte de l'adresse en blanc pour qu'il ne disparaisse pas */
.hikashop_checkout_address_item, 
.hikashop_checkout_address_item span {
    color: #FFFFFF !important;
}

/* Met le crayon en bleu #2C8296 pour qu'il soit bien visible sur le noir */
.hika_edit span:before, .hika_edit a:before {
    color: #2C8296 !important;
}
/* Supprime le bandeau blanc derrière l'adresse */
.address_selection, 
.hikashop_checkout_address_selector, 
#hikashop_checkout_address_billing_selector,
#hikashop_checkout_address_1_1,
.hikashop_checkout_address_container {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Force l'affichage du texte de l'adresse en blanc pour le fond noir */
.hikashop_checkout_address_item, 
.hikashop_checkout_address_item * {
    color: #FFFFFF !important;
}
/* Rend le bloc d'adresse transparent tout en préservant le contenu */
#hikashop_checkout_address_1_1,
.hikashop_checkout_address_container,
.address_selection {
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #444 !important; /* Bordure grise pour délimiter sans être blanche */
    box-shadow: none !important;
}

/* Force l'affichage du crayon de modification en bleu #2C8296 */
.hika_edit, .hika_edit a, .hika_edit span {
    display: inline-block !important;
    visibility: visible !important;
    color: #2C8296 !important;
}

/* Assure que le texte de l'adresse reste bien en blanc */
.hikashop_checkout_address_item, 
.hikashop_checkout_address_item * {
    color: #FFFFFF !important;
}
/* Rend le bouton éditer discret : texte bleu sur fond transparent */
.hika_edit, 
a.hika_edit, 
.hikashop_checkout_address_edit {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #2C8296 !important; /* Ton bleu signature */
    padding: 0 !important;
    font-weight: bold;
    text-decoration: none;
}

/* Change la couleur de l'icône du crayon en bleu également */
.hika_edit:before, 
.hika_edit .icon-edit {
    color: #2C8296 !important;
    margin-right: 5px;
}