
/* Taille du titre des fiches HikaShop */
#hikashop_product_top_part > h1 {
    font-size: 2.5em !important;
    margin-top: 5px;
    margin-bottom: 5px;
}
#hikashop_product_top_part > h1 #hikashop_product_name_main {
    font-size: inherit !important;
}

/* Couleur du titre des fiches HikaShop */
#hikashop_product_top_part > h1,
#hikashop_product_top_part > h1 #hikashop_product_name_main {
    color: #800000 !important;
}

/* SERRE : presentation connexion panier */
#hikashop_checkout h1 {
    font-size: clamp(26px, 3vw, 38px) !important;
    line-height: 1.25 !important;
    margin: 24px 0 !important;
}
#hikashop_checkout h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin: 0 0 20px !important;
}
#hikashop_checkout h3 {
    font-size: 20px !important;
    line-height: 1.4 !important;
}
#hikashop_checkout .hikashop_checkout_login > .hk-container-fluid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
#hikashop_checkout .hikashop_checkout_login > .hk-container-fluid > .hkc-lg-4 {
    float: none;
    width: auto;
    flex: 1 1 220px;
    min-width: 0;
}
#hikashop_checkout .hikashop_checkout_login > .hk-container-fluid > .hkc-lg-8 {
    float: none;
    width: auto;
    flex: 2 1 360px;
    min-width: 0;
}
#hikashop_checkout .hikashop_checkout_login .hkform-group {
    display: flex;
    flex-direction: column;
    margin: 0 0 18px;
}
#hikashop_checkout .hikashop_checkout_login .hkform-group > .hkcontrol-label,
#hikashop_checkout .hikashop_checkout_login .hkform-group > [class*="hkc-"] {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    box-sizing: border-box;
}
#hikashop_checkout .hikashop_checkout_login .hkcontrol-label {
    white-space: normal;
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.5;
}
#hikashop_checkout .hikashop_checkout_login input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
#hikashop_checkout .hikashop_checkout_login select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}
#hikashop_checkout .hikashop_checkout_login a,
#hikashop_checkout .hikashop_checkout_login button {
    font-size: 16px;
}
@media (max-width: 767px) {
    #hikashop_checkout .hikashop_checkout_login > .hk-container-fluid {
        flex-direction: column;
    }
    #hikashop_checkout .hikashop_checkout_login > .hk-container-fluid > .hkc-lg-4,
    #hikashop_checkout .hikashop_checkout_login > .hk-container-fluid > .hkc-lg-8 {
        flex: auto;
        width: 100%;
    }
}

/* Libelles des choix connexion et creation de compte */
#hikashop_checkout .hikashop_checkout_login .btn-group-vertical,
#hikashop_checkout .hikashop_checkout_login .hikaradios {
    width: 100%;
    max-width: 280px;
}
#hikashop_checkout .hikashop_checkout_login .btn-group > label,
#hikashop_checkout .hikashop_checkout_login .btn-group > button {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 52px;
    height: auto !important;
    padding: 14px 12px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    margin: 0 !important;
}
#hikashop_checkout .hikashop_checkout_login .btn-group > label *,
#hikashop_checkout .hikashop_checkout_login .btn-group > button * {
    font-size: inherit !important;
    text-transform: none !important;
}
#hikashop_checkout .hikashop_checkout_login .btn-group br {
    display: none;
}

/* Boutons de connexion identiques */
#hikashop_checkout #hikashop_checkout_login_form .hikabtn_checkout_login_form,
#hikashop_checkout #hikashop_checkout_login_form .form-login__submit button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100% !important;
    min-height: 54px;
    padding: 14px 20px !important;
    margin: 0 !important;
    border: 1px solid #59636b !important;
    border-radius: 5px !important;
    background: #59636b !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    white-space: normal !important;
}

/* Boutons de navigation du panier */
#hikashop_checkout .hikashop_checkout_buttons #hikashop_checkout_shopping_button,
#hikashop_checkout .hikashop_checkout_buttons #hikabtn_checkout_next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 54px;
    padding: 14px 24px !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
    text-transform: none !important;
}

/* Aspect des choix Connexion et Créer un compte */
#hikashop_checkout .hikashop_checkout_login .btn-group > label,
#hikashop_checkout .hikashop_checkout_login .btn-group > button {
    background: #e8f0fe !important;
    color: #263746 !important;
    border: 1px solid #c5d5ed !important;
    border-radius: 5px !important;
    margin: 0 0 6px !important;
}
#hikashop_checkout .hikashop_checkout_login .btn-group > label:hover,
#hikashop_checkout .hikashop_checkout_login .btn-group > button:hover {
    background: #d8e6fc !important;
}
#hikashop_checkout .hikashop_checkout_login .btn-check:checked + label,
#hikashop_checkout .hikashop_checkout_login .btn-group > .active {
    border-color: #3478b8 !important;
    box-shadow: inset 0 0 0 1px #3478b8;
}

/* Code du livre sous le titre de la fiche produit */
#hikashop_product_top_part #hikashop_product_code_main {
    display: block;
    font-size: 50% !important;
    font-weight: normal;
    line-height: 1.4;
    margin-top: 6px;
}
#hikashop_product_code_main::before {
    content: "(";
}
#hikashop_product_code_main::after {
    content: ")";
}

/* Prix agrandi uniquement sur la fiche produit */
#hikashop_product_price_main .hikashop_product_price {
    font-size: 30px !important;
    font-weight: 600;
    line-height: 1.4;
}

/* Masquer le libelle Auteur dans les categories et modules */
.hikashop_products_listing .hikashop_product_custom_auteur_line > td.key {
    display: none !important;
}

/* Libelle Auteur dans les cartes produits HikaShop */
.hikashop_subcontainer .hikashop_product_custom_auteur_line > td.key {
    display: none !important;
}

/* Masquer uniquement le libelle Auteur dans les listes HikaShop */
.hikashop_products_listing .hikashop_product_custom_auteur_line > dt {
    display: none !important;
}

/* Espacement du menu et du decor du footer */
#sp-footer #sppb-addon-wrapper-99bec023-c2ed-418a-a23f-3541692895a0 {
    margin-bottom: 32px !important;
}
#sp-footer .mod-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}

/* Marge interieure du copyright */
#sp-footer .sp-copyright {
    display: block;
    box-sizing: border-box;
    padding: 18px 36px;
    line-height: 1.5;
}

@media (max-width: 767px) {
    #sp-footer .sp-copyright {
        padding: 16px 20px;
    }
}



/* Reduire l'espaceur du footer de 150 a 75 px */
#sp-footer #column-id-06936bc4-71e8-492c-bd6f-4082e08f5ad7 {
    height: 75px !important;
    min-height: 75px !important;
    max-height: 75px !important;
}

/* Stabilisation des logos defilants du footer */
#sp-footer #sppb-addon-50e32d91-9f25-4acf-bfd7-5ec6de731929 {
    align-items: center !important;
    min-height: 46.54px;
}
#sp-footer #sppb-addon-50e32d91-9f25-4acf-bfd7-5ec6de731929 > .sppb-addon-wrapper {
    flex: 0 0 250px !important;
    width: 250px !important;
}
#sp-footer #sppb-addon-50e32d91-9f25-4acf-bfd7-5ec6de731929 img {
    display: block;
    width: 250px !important;
    height: 46.54px !important;
    object-fit: contain !important;
}


/* SERRE : panier valide transfere depuis test-j6 */
/* SERRE : titres des etapes du panier */
#hikashop_checkout h2.serre-checkout-section-title {
    color: #b21212 !important;
    border-bottom: 1px solid #b21212;
    padding-bottom: 8px;
    margin: 28px 0 18px !important;
    font-size: 22px !important;
    line-height: 1.4 !important;
    font-weight: 600;
}
#hikashop_checkout .hikashop_checkout_cart table {
    font-size: 16px;
}
#hikashop_checkout .hikashop_checkout_cart .hikashop_product_name {
    font-size: 16px !important;
    line-height: 1.5;
}

/* Champ de carte Stripe clairement delimite */
#hikashop_checkout [id^="hk_co_p_c_STRIPEC_elements_"] {
    box-sizing: border-box;
    background: #fff !important;
    border: 2px solid #73879a !important;
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
    min-height: 54px;
}
#hikashop_checkout [id^="hk_co_p_c_STRIPEC_elements_"].StripeElement--focus {
    border-color: #3478b8 !important;
    box-shadow: 0 0 0 3px rgba(52, 120, 184, 0.15);
}

/* Espacement du titre uniquement dans le tunnel HikaShop */
body:has(#hikashop_checkout_form) #sp-page-title .sp-page-title {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}
body:has(#hikashop_checkout_form) .sp-page-title-heading {
    font-size: 30px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}
body:has(#hikashop_checkout_form) #sp-main-body {
    padding-top: 24px !important;
}

/* SERRE : titre compact du panier */
body:has(#hikashop_checkout_form) #sp-page-title {
    display: none !important;
}
body:has(#hikashop_checkout_form) #sp-main-body {
    padding-top: 20px !important;
    margin-top: 0 !important;
}
#hikashop_checkout h1.serre-checkout-title {
    font-size: 32px !important;
    line-height: 1.25 !important;
    color: #800000 !important;
    margin: 0 0 24px !important;
}

/* Finition du titre du panier */
#hikashop_checkout h1.serre-checkout-title {
    text-align: center;
    border-bottom: 1px solid #800000;
    padding-bottom: 16px;
    margin-bottom: 36px !important;
}


/* SERRE : bouton Soumettre de Stripe */
#hikashop_checkout button.StripeButton {
    display: block !important;
    width: fit-content !important;
    max-width: 100%;
    min-width: 160px;
    min-height: 50px;
    margin: 20px auto !important;
    padding: 12px 28px !important;
    background: #468847 !important;
    color: #fff !important;
    border: 1px solid #3d773e !important;
    border-radius: 6px !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
    text-align: center;
    text-transform: none !important;
    cursor: pointer;
}
#hikashop_checkout button.StripeButton:hover {
    background: #376d38 !important;
}

/* SERRE : bouton Soumettre du paiement Stripe dans le panier */
#hikashop_checkout .hikashop_checkout_payment_submit {
    text-align: center !important;
}
#hikashop_checkout button.hikabtn_checkout_payment_submit {
    display: block !important;
    width: fit-content !important;
    min-width: 160px;
    min-height: 50px;
    margin: 20px auto !important;
    padding: 12px 28px !important;
    background: #468847 !important;
    color: #fff !important;
    border: 1px solid #3d773e !important;
    border-radius: 6px !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    cursor: pointer;
}
#hikashop_checkout button.hikabtn_checkout_payment_submit:hover {
    background: #376d38 !important;
}

/* SERRE : lisibilite du tableau du panier */
#hikashop_checkout .hikashop_checkout_cart th,
#hikashop_checkout .hikashop_checkout_cart td.hikashop_cart_title {
    font-size: 18px !important;
    line-height: 1.5 !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

#hikashop_checkout .hikashop_checkout_cart .hikashop_cart_product_name,
#hikashop_checkout .hikashop_checkout_cart .hikashop_cart_product_name a {
    font-size: 18px !important;
    line-height: 1.5 !important;
}

/* Montants recapitulatifs : taille harmonisee, couleur conservee */
#hikashop_checkout .hikashop_checkout_cart td[class$="_value"]:not([class*="product"]) ,
#hikashop_checkout .hikashop_checkout_cart td[class$="_value"]:not([class*="product"]) span {
    font-size: 26px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.4 !important;
}

#hikashop_checkout .hikashop_checkout_cart .hikashop_cart_product_total_value .hikashop_product_price {
    font-size: 26px !important;
}

/* SERRE : alignement des montants du panier */
#hikashop_checkout .hikashop_checkout_cart td[class$="_value"]:not([class*="product"]),
#hikashop_checkout .hikashop_checkout_cart .hikashop_cart_product_total_value {
    text-align: right !important;
    padding-right: 12px !important;
}

#hikashop_checkout .hikashop_checkout_cart td[class$="_value"]:not([class*="product"]) span,
#hikashop_checkout .hikashop_checkout_cart .hikashop_cart_product_total_value span {
    text-align: right !important;
}

/* TVA comprise dans les montants affiches */
#hikashop_checkout .hikashop_checkout_cart .hikashop_cart_tax_title::before {
    content: "Dont ";
}

/* SERRE : retrait d'un cadratin des libelles Dont TVA */
#hikashop_checkout .hikashop_checkout_cart td.hikashop_cart_tax_title {
    padding-left: calc(12px + 1em) !important;
}
