.r-sidebar-block { display:none!important; }
.r-headersearch-block { display:none!important; }

.tedipro-toolbar { background: #e00c7a; }



/* .ajax-search div.g-container { padding:40px 0; background: rgb(2,0,36); background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(40,40,40,1) 17%, rgba(27,127,171,1) 100%); } */
/* .ajax-search div.g-container { padding:40px 0; background: rgb(0,131,189); background: linear-gradient(0deg, rgba(0,131,189,1) 0%, rgba(148,0,0,1) 50%, rgba(0,131,189,1) 100%);} */


/* ==========================================================================
   TEDIPRO - STYLES FICHE PRODUIT HIKASHOP
   ========================================================================== */

/* --- BLOC PRIX --- */
.tedipro_price_block {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 15px 0;
}

.tedipro_prices_container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Prix TTC - Principal */
.tedipro_price_ttc {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
    
}

.tedipro_price_ttc .tedipro_price_label {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    margin-left: 5px;
}

/* Prix HT - Secondaire */
.tedipro_price_ht {
    font-size: 2rem;
    font-weight: 700;
    color: #0083bd;
    line-height: 1.2;
}

/* Ancien prix barré (remise) */
.tedipro_old_price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
    margin-right: 10px;
}

/* Badge remise */
.tedipro_discount_badge {
    display: inline-block;
    background: #e00c7a;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 10px;
}

/* Prix par unité */
.tedipro_price_per_unit {
    display: block;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

/* Prix au poids */
.tedipro_price_weight {
    display: block;
    font-size: 0.85rem;
    color: #888;
}

/* CTA Contactez-nous (quand pas de prix) */
.tedipro_cta_contact {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #e00c7a 0%, #c00a68 100%);
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(224, 12, 122, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.tedipro_cta_contact:hover {
    background: linear-gradient(135deg, #c00a68 0%, #a00858 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 12, 122, 0.4);
    color: #fff !important;
}

.tedipro_cta_contact:active {
    transform: translateY(0);
}

.tedipro_cta_icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* --- BLOC QUANTITÉ + BOUTON PANIER --- */
/* Container principal - FLEXBOX pour aligner quantité et bouton côte à côte */
.hikashop_product_quantity_main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

/* Formulaire quantité - aussi en flex pour aligner ses enfants */
.hikashop_product_quantity_main .hikashop_quantity_form {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Div contenant le champ quantité (mode HTML5 et autres) */
.hikashop_product_quantity_main .hikashop_product_quantity_input_div_simplified,
.hikashop_product_quantity_main .hikashop_product_quantity_input_div_default,
.hikashop_product_quantity_main .hikashop_product_quantity_input_div_default_main {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

/* Masquer la div bouton vide dans le form (le vrai bouton est en dehors) */
.hikashop_product_quantity_main .hikashop_product_quantity_add_to_cart_div_simplified:empty {
    display: none;
}

/* --- CHAMP QUANTITÉ HTML5 --- */
.hikashop_product_quantity_main .hikashop_product_quantity_field {
    width: 70px;
    height: 50px;
    text-align: center;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    -moz-appearance: textfield;
}

/* Masquer les spinners natifs sur Chrome/Safari */
.hikashop_product_quantity_main .hikashop_product_quantity_field::-webkit-outer-spin-button,
.hikashop_product_quantity_main .hikashop_product_quantity_field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hikashop_product_quantity_main .hikashop_product_quantity_field:focus {
    border-color: #0083bd;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 131, 189, 0.15);
}

/* --- BOUTON AJOUTER AU PANIER --- */
.hikashop_product_quantity_main .hikabtn.hikacart,
.hikashop_product_quantity_main button.hikabtn.hikacart,
.hikashop_product_quantity_main a.hikabtn.hikacart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0083bd;
    color: #fff !important;
    border: none;
    height: 50px;
    padding: 0 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 131, 189, 0.3);
    white-space: nowrap;
}

.hikashop_product_quantity_main .hikabtn.hikacart:hover,
.hikashop_product_quantity_main button.hikabtn.hikacart:hover,
.hikashop_product_quantity_main a.hikabtn.hikacart:hover {
    background: #006a99;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 131, 189, 0.4);
    color: #fff !important;
    text-decoration: none !important;
}

.hikashop_product_quantity_main .hikabtn.hikacart:active {
    transform: translateY(0);
}

/* Icône panier avant le texte */
.hikashop_product_quantity_main .hikabtn.hikacart::before {
    content: "\f07a";
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
}

/* --- BOUTONS +/- QUANTITÉ (mode default_div) --- */
.hikashop_product_quantity_main .hikashop_product_quantity_change_div_default {
    display: flex;
    flex-direction: column;
    margin-left: 5px;
}

.hikashop_product_quantity_main .hikashop_product_quantity_field_change {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.hikashop_product_quantity_main .hikashop_product_quantity_field_change:hover {
    background: #0083bd;
    border-color: #0083bd;
    color: #fff;
}

/* --- MESSAGE STOCK --- */
/* Masquer le message de stock sur la fiche produit */
.hikashop_product_quantity_main .hikashop_product_stock_count {
    display: none;
}

/* --- TAUX DE FIABILITÉ --- */
.tedipro_fiability_block {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.tedipro_fiability_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tedipro_fiability_label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.tedipro_fiability_percent {
    font-weight: 700;
    color: #2f9e5c;
    font-size: 1.2rem;
}

/* Barre de progression UIkit personnalisée */
.tedipro_fiability_bar {
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background-color: #e3e3e3;
}

.tedipro_fiability_bar::-webkit-progress-bar {
    background-color: #e3e3e3;
    border-radius: 6px;
}

.tedipro_fiability_bar::-webkit-progress-value {
    background-color: #2f9e5c;
    border-radius: 6px;
}

.tedipro_fiability_bar::-moz-progress-bar {
    background-color: #2f9e5c;
    border-radius: 6px;
}

.tedipro_fiability_note {
    margin-top: 8px;
    margin-bottom: 0;
    color: #888;
    font-size: 0.75rem;
}

.tedipro_fiability_nc {
    color: #666;
    margin: 0;
}

/* --- IMPRIMANTES COMPATIBLES --- */
.tedipro_compatible_block {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0083bd;
}

.tedipro_compatible_title {
    margin: 0 0 12px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.tedipro_compatible_list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tedipro_compatible_item {
    display: inline-block;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #555;
    transition: all 0.2s ease;
}

.tedipro_compatible_item:hover {
    background: #0083bd;
    border-color: #0083bd;
    color: #fff;
}

/* --- HEADER PRODUIT (Titre + Logo Fabricant) --- */
.tedipro_product_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

.tedipro_product_header .r_hikashop_product_name {
    flex: 1;
    margin: 0;
}

/* Logo Fabricant */
.tedipro_manufacturer_logo {
    flex-shrink: 0;
    text-align: center;
}

.tedipro_manufacturer_logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.tedipro_manufacturer_logo .tedipro_manufacturer_name {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-top: 5px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    /* Header produit : logo sous le titre sur mobile */
    .tedipro_product_header {
        flex-direction: column;
        gap: 10px;
    }

    .tedipro_manufacturer_logo {
        order: -1;
        align-self: flex-end;
    }

    .tedipro_manufacturer_logo img {
        max-width: 80px;
        max-height: 40px;
    }

    .tedipro_price_ttc {
        font-size: 1.6rem;
    }

    /* Sur mobile : quantité et bouton en colonne */
    .hikashop_product_quantity_main {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hikashop_product_quantity_main .hikashop_quantity_form {
        width: 100%;
    }

    .hikashop_product_quantity_main .hikashop_product_quantity_field {
        width: 100%;
    }

    .hikashop_product_quantity_main .hikabtn.hikacart {
        width: 100%;
        padding: 12px 20px;
        height: auto;
    }

    /* Réorganisation mobile : masquer le bloc compatible dans la colonne gauche */
    .r_hikashop_topleft_part .tedipro_compatible_block {
        display: none !important;
    }

    /* Afficher le bloc compatible en bas sur mobile */
    .tedipro_compatible_mobile {
        display: block !important;
        margin-top: 20px;
    }

    .tedipro_compatible_mobile .tedipro_compatible_block {
        display: block !important;
    }
}

/* Par défaut (desktop) : masquer la version mobile du bloc compatible */
.tedipro_compatible_mobile  {
    display: none;
}


.hikashop_product_vote_mini {
    display:none!important;
}

/* ==========================================================================
   TEDIPRO - MODULE AVIS CLIENTS
   ========================================================================== */

.tedipro_reviews_module {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tedipro_reviews_module_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 5px;
}

.tedipro_reviews_module_count {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.tedipro_reviews_module_average {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tedipro_reviews_module_stars {
    display: flex;
    gap: 2px;
}

.tedipro_reviews_module_stars .tedipro_star {
    font-size: 1.2rem;
}

.tedipro_reviews_module_score {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0083bd;
}

.tedipro_reviews_module_list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tedipro_review_product {
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding: 6px 10px;
    background: #f0f7fb;
    border-radius: 4px;
    display: inline-block;
}

.tedipro_review_product_label {
    color: #666;
    margin-right: 5px;
}

.tedipro_review_product_link {
    color: #0083bd;
    font-weight: 500;
    text-decoration: none;
}

.tedipro_review_product_link:hover {
    text-decoration: underline;
    color: #006a99;
}

.tedipro_review_product_name {
    color: #333;
    font-weight: 500;
}

.tedipro_review_item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.tedipro_review_item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tedipro_review_header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.tedipro_review_author {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.tedipro_review_rating {
    display: flex;
    gap: 2px;
}

.tedipro_star {
    font-size: 1.1rem;
    line-height: 1;
}

.tedipro_star_filled {
    color: #f5a623;
}

.tedipro_star_empty {
    color: #ddd;
}

.tedipro_review_date {
    margin-left: auto;
    font-size: 0.85rem;
    color: #888;
}

.tedipro_review_content {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tedipro_review_content p {
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .tedipro_review_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .tedipro_review_date {
        margin-left: 0;
    }

    .tedipro_review_item {
        padding: 15px;
    }
}

/* ==========================================================================
   TEDIPRO - BOUTON CTA AVIS CLIENT (fiche produit)
   ========================================================================== */

.tedipro_review_cta_block {
    margin: 20px 0;
}

/* Bouton CTA "Donner votre avis" */
.tedipro_review_cta_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f5a623 0%, #e09000 100%);
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.tedipro_review_cta_btn:hover {
    background: linear-gradient(135deg, #e09000 0%, #c87800 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.tedipro_review_cta_btn:active {
    transform: translateY(0);
}

.tedipro_review_cta_icon {
    font-size: 1.2rem;
}

/* --- MODAL AVIS CLIENT --- */
.tedipro_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    animation: tediproFadeIn 0.3s ease;
}

@keyframes tediproFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tedipro_modal_container {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: tediproSlideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes tediproSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tedipro_modal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: linear-gradient(135deg, #0083bd 0%, #006a99 100%);
    color: #fff;
    flex-shrink: 0;
}

.tedipro_modal_header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.tedipro_modal_close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.tedipro_modal_close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.tedipro_modal_content {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.tedipro_review_form_notice {
    color: #666;
    font-style: italic;
    margin: 0;
    text-align: center;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .tedipro_review_cta_btn {
        width: 100%;
        justify-content: center;
    }

    .tedipro_modal_overlay {
        padding: 10px;
    }

    .tedipro_modal_container {
        max-height: 95vh;
        border-radius: 8px;
    }

    .tedipro_modal_header {
        padding: 15px;
    }

    .tedipro_modal_header h4 {
        font-size: 0.95rem;
    }

    .tedipro_modal_content {
        padding: 15px;
    }
}

/* ==========================================================================
   TEDIPRO - AVIS CLIENTS SUR FICHE PRODUIT
   ========================================================================== */

.tedipro_product_reviews_block {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.tedipro_product_reviews_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.tedipro_product_reviews_title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.tedipro_product_reviews_count {
    font-weight: 400;
    color: #888;
    font-size: 1rem;
}

.tedipro_product_reviews_summary {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tedipro_product_reviews_average {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0083bd;
}

.tedipro_product_reviews_stars {
    display: flex;
    gap: 2px;
}

.tedipro_product_reviews_stars .tedipro_star {
    font-size: 1.3rem;
}

.tedipro_star_half {
    color: #f5a623;
    position: relative;
}

/* Liste des avis */
.tedipro_product_reviews_list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tedipro_product_review_item {
    background: #fff;
    padding: 18px;
    border-radius: 8px;
    border-left: 4px solid #0083bd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tedipro_product_review_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.tedipro_product_review_author {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.tedipro_product_review_rating {
    display: flex;
    gap: 2px;
}

.tedipro_product_review_rating .tedipro_star {
    font-size: 1rem;
}

.tedipro_product_review_date {
    margin-left: auto;
    font-size: 0.8rem;
    color: #999;
}

.tedipro_product_review_comment {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .tedipro_product_reviews_block {
        padding: 15px;
        margin: 20px 0;
    }

    .tedipro_product_reviews_header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tedipro_product_reviews_title {
        font-size: 1.1rem;
    }

    .tedipro_product_review_meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .tedipro_product_review_date {
        margin-left: 0;
    }

    .tedipro_product_review_item {
        padding: 12px;
    }
}
