/* ================================================================
   VARIABLES DE COULEURS DE LA MARQUE
   ================================================================ */
:root {
    --devea-blue: #0018a7 !important;
    --devea-blue-dark: #000f6b !important;
    --devea-blue-light: rgba(0, 24, 167, 0.1);
    --devea-blue-glow: rgba(0, 24, 167, 0.25);
}

/* ================================================================
   OVERRIDES GLOBAUX ODOO / BOOTSTRAP
   ================================================================ */

/* Boutons Primaires */
.btn-primary,
.btn-outline-primary:hover,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--devea-blue) !important;
    border-color: var(--devea-blue) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}

#wrapwrap .btn-primary,
#wrapwrap .btn-secondary {
    border-radius: 50px !important;
}

#wrapwrap .card {
    border-radius: 10px !important;
}

.btn-outline-primary {
    color: var(--devea-blue) !important;
    border-color: var(--devea-blue) !important;
}

/* Liens et texte de couleur primaire */
a,
.text-primary {
    color: var(--devea-blue);
}

a:hover {
    color: var(--devea-blue-dark);
}

/* Éléments de sélection et focus */
::selection {
    background: var(--devea-blue);
    color: #fff;
}

/* ================================================================
   NETTOYAGE DES BORDURES PARASITES (Mobile & Desktop)
   ================================================================ */
.mbl-search-box,
.header_searchbar,
.bizople-search,
.mbl-search-bar,
.o_searchbar_form,
.search-category-input-box,
.o_wsale_products_searchbar_form,
.search.bizople-search {
    border: none !important;
    border-width: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

/* Barrettes de recherche - Design Unifié "Premium" */
.mbl-search-bar .input-group,
.header_searchbar .input-group,
.search-category-input-box .input-group {
    background-color: #ffffff !important;
    border-radius: 30px !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 10px 0 !important;
    height: 48px !important;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

/* Interaction au clic */
.input-group:focus-within {
    border-color: var(--devea-blue) !important;
    box-shadow: 0 0 0 3px var(--devea-blue-light) !important;
}

/* Zone de texte */
.search-query-bizople.form-control,
.oe_search_box.form-control {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-left: 20px !important;
    font-size: 0.95rem;
    color: #495057;
    height: 100% !important;
}

/* Bouton Recherche */
.oe_search_button {
    background-color: var(--devea-blue) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px;
    margin-right: 5px;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.oe_search_button:hover {
    background-color: var(--devea-blue-dark) !important;
    transform: scale(1.05);
}

.oe_search_button i {
    font-size: 18px !important;
}

/* Cleanup */
.input-group-append {
    margin-left: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* ================================================================
   MODERNISATION DU MENU DE NAVIGATION (Desktop)
   ================================================================ */

header #bizople-header-4,
.bottom-header,
.bottom_content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#top_menu .nav-item {
    margin: 0 10px;
}

#top_menu .nav-link {
    font-weight: 500 !important;
    font-size: 15px !important;
    color: #333 !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    border: none !important;
}

#top_menu .nav-link:hover,
#top_menu .nav-link:hover span,
#top_menu .nav-link:hover b,
.snazzy_header_four .bottom-header .bottom_content .navbar #top_menu .nav-item>a.nav-link>span:hover {
    color: var(--devea-blue) !important;
}

#top_menu .nav-link:hover {
    background-color: var(--devea-blue-light) !important;
}

/* Pseudo-éléments Snazzy (soulignements animés) */
#top_menu .nav-link::after,
#top_menu .nav-link::before,
#top_menu .nav-link span::after,
#top_menu .nav-link span::before {
    background-color: var(--devea-blue) !important;
    border-color: var(--devea-blue) !important;
}

#top_menu .nav-link.active,
header #top_menu .nav-link.active,
.navbar-nav .nav-link.active,
.o_header_standard .nav-item.active .nav-link,
.snazzy_header_four .bottom-header .bottom_content .navbar #top_menu .nav-item>a.nav-link.active,
.snazzy_header_four #top_menu .nav-item>a.nav-link.active {
    color: #ffffff !important;
    background-color: var(--devea-blue) !important;
    box-shadow: 0 4px 10px var(--devea-blue-glow) !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

/* Forcer couleur blanche sur span actif et supprimer les soulignements Turquoise */
#top_menu .nav-item .nav-link.active span,
#top_menu .nav-item .nav-link.active b,
.snazzy_header_four #top_menu .nav-item>a.nav-link.active>span,
.snazzy_header_four #top_menu .nav-item>a.nav-link.active>b,
.snazzy_header_four .bottom-header .bottom_content .navbar #top_menu .nav-item>a.nav-link.active>span {
    color: #ffffff !important;
    background-color: transparent !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Soulignement spécifique du span (thème Snazzy) */
#top_menu .nav-link span {
    border-color: var(--devea-blue) !important;
}

#top_menu .nav-link.active span {
    border-bottom: none !important;
}

/* Éliminer les bordures/soulignements Turquoise persistants sur tous les liens */
a:focus,
a:active,
.nav-link:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Icônes de recherche et autres éléments de couleur Odoo */
.o_wsale_products_searchbar_form .btn,
.o_searchbar_form .btn,
.oi-search {
    color: var(--devea-blue) !important;
}

.oe_search_button i {
    color: #ffffff !important;
}

/* Pagination et autres badges */
.page-item.active .page-link {
    background-color: var(--devea-blue) !important;
    border-color: var(--devea-blue) !important;
}

#top_menu .nav-link::after,
#top_menu .nav-link::before,
#top_menu .nav-link.active::after,
#top_menu .nav-link.active::before {
    display: none !important;
    content: none !important;
    border: none !important;
}

/* ================================================================
   MODERNISATION PAGE BOUTIQUE /shop
   ================================================================ */

/* Fond général */
body.o_website_sale_shop,
body.blured-bg {
    background-color: #f4f6f9 !important;
}

/* ----------------------------------------------------------------
   GRILLE PRODUITS — Espacement (structure table Odoo)
   ---------------------------------------------------------------- */
.o_wsale_products_grid_table_wrapper table,
#products_grid table.table {
    border-spacing: 14px 14px !important;
    border-collapse: separate !important;
    width: 100% !important;
}

.oe_website_sale td.oe_product {
    padding: 0 !important;
    vertical-align: top !important;
}

/* ----------------------------------------------------------------
   CARTES PRODUITS — .oe_product
   ---------------------------------------------------------------- */
.oe_website_sale .oe_product {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #fff !important;
    margin-bottom: 20px !important;
}

.oe_website_sale .oe_product:hover {
    transform: translateY(-7px) !important;
    box-shadow: 0 18px 45px var(--devea-blue-glow) !important;
}

/* Image produit : forcer l'affichage entier (contain) */
/* Image produit : priorité absolue pour forcer l'affichage entier (contain) */
html body #wrapwrap .o_wsale_products_main_row #products_grid .o_wsale_product_grid_wrapper .oe_product_image img,
html body #wrapwrap .oe_website_sale .oe_product .oe_product_image img {
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

html body #wrapwrap .oe_website_sale .oe_product:hover .oe_product_image img {
    transform: scale(1.05) !important;
}

/* Titre du produit */
.oe_website_sale .oe_product .o_wsale_products_item_title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

.oe_website_sale .oe_product .o_wsale_products_item_title:hover {
    color: var(--devea-blue) !important;
}

/* Prix */
.oe_website_sale .oe_product .product_price {
    color: var(--devea-blue) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

.oe_website_sale .oe_product .product_price .oe_currency_value {
    color: var(--devea-blue) !important;
    font-weight: 700 !important;
}

/* ----------------------------------------------------------------
   BOUTONS GRILLE / LISTE
   ---------------------------------------------------------------- */
.o_wsale_apply_grid,
.o_wsale_apply_list {
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    border: 1px solid #dde3ea !important;
    padding: 5px 10px !important;
    color: #777 !important;
    background: #fff !important;
}

.o_wsale_apply_grid.active,
.o_wsale_apply_list.active,
.o_wsale_apply_grid:has(+ .active),
.o_wsale_apply_list.active {
    background-color: var(--devea-blue) !important;
    color: white !important;
    border-color: var(--devea-blue) !important;
}

.o_wsale_apply_grid:hover,
.o_wsale_apply_list:hover {
    border-color: var(--devea-blue) !important;
    color: var(--devea-blue) !important;
}

/* ----------------------------------------------------------------
   SIDEBAR FILTRES — Design Premium
   ---------------------------------------------------------------- */

#products_grid_before {
    padding-right: 8px !important;
}

#products_grid_before>* {
    background: #ffffff !important;
    padding: 2px 22px 0px 20px !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #eef2f7 !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
}

/* En-têtes sections (Catégories, Filtres...) */
#products_grid_before .h5,
#products_grid_before h5,
#products_grid_before [data-bs-toggle="collapse"],
#products_grid_before button[data-bs-toggle] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #1a1a2e !important;
    background: #fff !important;
    border: none !important;
    width: 100% !important;
    border-bottom: 1px solid #f0f4f8 !important;
}

/* Catégories — Design Moderne & Espacement */
#wsale_products_categories_collapse {
    padding: 16px !important;
}

#wsale_products_categories_collapse ul {
    list-style: none !important;
    padding-left: 0 !important;
}

/* Espacement entre les catégories principales */
#wsale_products_categories_collapse>.nav-item {
    margin-bottom: 12px !important;
}

/* Indentation des sous-catégories */
#wsale_products_categories_collapse .nav-hierarchy {
    margin-left: 28px !important;
    padding-left: 0 !important;
    margin-top: 8px !important;
    margin-bottom: 4px !important;
    border-left: 1px solid #f0f0f0;
    /* Guide visuel léger */
}

#wsale_products_categories_collapse .nav-hierarchy .nav-item {
    margin-bottom: 8px !important;
}

/* Container de l'input radio */
#wsale_products_categories_collapse .custom-control,
#wsale_products_categories_collapse .form-check {
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 24px !important;
}

/* Label & Cercle Custom */
#wsale_products_categories_collapse .custom-control-label,
#wsale_products_categories_collapse .form-check-label {
    font-size: 14px !important;
    padding-left: 32px !important;
    /* Espace pour le bouton radio */
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    cursor: pointer !important;
    color: #444 !important;
    transition: all 0.2s ease;
    font-weight: 500 !important;
    margin: 0 !important;
    width: 100%;
}

#wsale_products_categories_collapse .custom-control-label::before,
#wsale_products_categories_collapse .form-check-label::before {
    content: '' !important;
    position: absolute !important;
    left: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    border: 2px solid #d1d9e6 !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
}

#wsale_products_categories_collapse .custom-control-input:checked~.custom-control-label::before,
#wsale_products_categories_collapse .form-check-input:checked~.form-check-label::before {
    border-color: var(--devea-blue) !important;
    background: var(--devea-blue) !important;
    box-shadow: 0 0 0 3px var(--devea-blue-light) !important;
}

/* Forcer l'écrasement des styles du thème (Spécificité élevée) */
#products_grid_before .products_categories #wsale_products_categories_collapse .nav .nav-item .form-check-label:hover,
#products_grid_before .products_categories #wsale_products_categories_collapse .nav .nav-item .custom-control-label:hover,
.oe_website_sale #products_grid_before #wsale_products_categories_collapse label:hover,
#wsale_products_categories_collapse .custom-control-label:hover,
#wsale_products_categories_collapse .form-check-label:hover {
    color: var(--devea-blue) !important;
    cursor: pointer !important;
}

/* Lien "View more" */
#wsale_products_categories_collapse a.o_wsale_offcanvas_title_alone {
    font-size: 13px !important;
    margin-top: 10px !important;
    display: inline-block !important;
    font-weight: 600 !important;
}

/* Attributs — Checkboxes custom */
.js_attributes .custom-control,
.js_attributes .form-check {
    padding: 4px 0 4px 32px !important;
    /* Augmenté pour éviter chevauchement */
    position: relative !important;
}

.js_attributes .custom-control-label::before,
.js_attributes .form-check-label::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 4px !important;
    border: 2px solid #cdd5e0 !important;
}

.js_attributes .custom-control-input:checked~.custom-control-label::before,
.js_attributes .form-check-input:checked~.form-check-label::before {
    background: var(--devea-blue) !important;
    border-color: var(--devea-blue) !important;
}

/* Boutons Out of Stock */
#stock_filter:checked~label,
.o_wsale_out_of_stock_filter .btn.active {
    background: var(--devea-blue) !important;
    border-color: var(--devea-blue) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px var(--devea-blue-glow) !important;
}

/* ----------------------------------------------------------------
   PAGINATION
   ---------------------------------------------------------------- */
.oe_website_sale .o_portal_pager .page-item.active .page-link {
    background-color: var(--devea-blue) !important;
    border-color: var(--devea-blue) !important;
    box-shadow: 0 4px 10px var(--devea-blue-glow) !important;
}

/* ================================================================
   PAGE DÉTAIL PRODUIT — Design Premium
   ================================================================ */

/* Fond de la page produit */
#product_detail {
    background: #f4f6f9;
    padding-bottom: 48px;
}

/* ----------------------------------------------------------------
   Galerie Image — Carte Blanche
   ---------------------------------------------------------------- */
#product_detail #product-image-wrapper,
#product_detail .product_detail_img {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 32px rgba(0, 24, 167, 0.08) !important;
    padding: 24px !important;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

#product_detail #product-image-wrapper:hover {
    box-shadow: 0 8px 40px rgba(0, 24, 167, 0.14) !important;
}

#product_detail #product_detail_img_1 img,
#product_detail .product_detail_img img,
#product_detail .carousel-item img {
    border-radius: 12px !important;
    object-fit: contain !important;
    max-height: 420px;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#product_detail #product_detail_img_1 img:hover,
#product_detail .carousel-item img:hover {
    transform: scale(1.03);
}

/* ----------------------------------------------------------------
   Colonne Info Produit
   ---------------------------------------------------------------- */
#product_detail #product_detail_main_col {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 32px rgba(0, 24, 167, 0.08) !important;
    padding: 32px !important;
}

/* ----------------------------------------------------------------
   Nom du Produit
   ---------------------------------------------------------------- */
#product_detail h1,
#product_detail #product_name {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #0f1732 !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
}

/* ----------------------------------------------------------------
   Prix
   ---------------------------------------------------------------- */
#product_detail #product_price,
#product_detail .product_price {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: var(--devea-blue) !important;
    margin: 16px 0 !important;
}

#product_detail #product_price .oe_currency_value,
#product_detail #product_price .o_currency {
    color: var(--devea-blue) !important;
    font-weight: 800 !important;
}

#product_detail del,
#product_detail .text-decoration-line-through {
    color: #aab2c0 !important;
    font-size: 1.1rem !important;
}

/* ----------------------------------------------------------------
   Labels des Variants (PIEDS, COULEUR…)
   ---------------------------------------------------------------- */
#product_detail .o_wsale_product_attribute label,
#product_detail .css_attribute_color label,
#product_detail .attribute-name-cell {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #6a7184 !important;
    margin-bottom: 10px !important;
}

/* Boutons de variants (Radio Pills) */
#product_detail input[type="radio"]~label.btn,
#product_detail .js_product input[type="radio"]+label,
#product_detail .variant_attribute_item .btn {
    border: 2px solid #d8dde6 !important;
    border-radius: 10px !important;
    padding: 6px 16px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #444 !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    margin: 3px !important;
}

#product_detail input[type="radio"]:checked~label.btn,
#product_detail .js_product input[type="radio"]:checked+label,
#product_detail .variant_attribute_item input[type="radio"]:checked+label {
    border-color: var(--devea-blue) !important;
    background-color: var(--devea-blue) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px var(--devea-blue-glow) !important;
}

/* Pastilles couleur */
#product_detail .css_attribute_color label span {
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    border: 3px solid #fff !important;
    box-shadow: 0 0 0 2px #d0d5e0 !important;
    transition: box-shadow 0.2s ease !important;
}

#product_detail .css_attribute_color input:checked+label span {
    box-shadow: 0 0 0 3px var(--devea-blue) !important;
}

/* ================================================================
   SÉLECTEUR DE QUANTITÉ - Design Premium & Prioritaire
   ================================================================ */
#wrapwrap .css_quantity,
#wrapwrap .input-group.css_quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #f1f3f7 !important;
    border-radius: 50px !important;
    padding: 4px !important;
    border: 1px solid #e2e8f0 !important;
    width: auto !important;
    min-width: 130px !important;
    max-width: 150px !important;
    height: 48px !important;
    overflow: visible !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03) !important;
}

/* Boutons Moins et Plus */
#wrapwrap .css_quantity .btn,
#wrapwrap .css_quantity .input-group-prepend .btn,
#wrapwrap .css_quantity .input-group-append .btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: none !important;
    color: var(--devea-blue) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
    padding: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 2 !important;
}

#wrapwrap .css_quantity .btn:hover {
    background-color: var(--devea-blue) !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px var(--devea-blue-glow) !important;
}

#wrapwrap .css_quantity .btn i {
    font-size: 14px !important;
}

/* Champ de saisie numérique */
#wrapwrap .css_quantity input.js_quantity,
#wrapwrap .css_quantity input[name="add_qty"] {
    background: transparent !important;
    border: none !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    color: #1a1a2e !important;
    width: 45px !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    flex-grow: 1 !important;
    pointer-events: auto !important;
}

/* Nettoyage des bordures et arrondis Bootstrap hérités */
#wrapwrap .css_quantity .input-group-prepend,
#wrapwrap .css_quantity .input-group-append {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
}

#wrapwrap .css_quantity .btn-link {
    text-decoration: none !important;
}


/* ----------------------------------------------------------------
   Bouton Ajouter au Panier
   ---------------------------------------------------------------- */
#product_detail #add_to_cart,
#product_detail form[action="/shop/cart/update"] .a-submit {
    background: var(--devea-blue) !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 14px 32px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: #fff !important;
    box-shadow: 0 6px 20px var(--devea-blue-glow) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100%;
}

#product_detail #add_to_cart:hover,
#product_detail form[action="/shop/cart/update"] .a-submit:hover {
    background: var(--devea-blue-dark) !important;
    box-shadow: 0 10px 30px rgba(0, 24, 167, 0.35) !important;
    transform: translateY(-2px) !important;
}

/* Bouton Wishlist */
#product_detail button[data-action="o_wishlist"],
#product_detail .o_wsale_product_wishlist {
    border: 2px solid #e0e5ef !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    color: #99a3b4 !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
    margin-left: 8px !important;
}

#product_detail button[data-action="o_wishlist"]:hover,
#product_detail .o_wsale_product_wishlist:hover {
    border-color: #e8234a !important;
    color: #e8234a !important;
    background: #fff0f3 !important;
}

/* ----------------------------------------------------------------
   Métadonnées (SKU, Catégorie…)
   ---------------------------------------------------------------- */
#product_detail #product_details {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 20px;
    border: 1px solid #edf0f7;
    font-size: 0.875rem;
    color: #555;
}

#product_detail #product_details strong {
    color: #1a1a2e;
    font-weight: 600;
}

/* Notes / Conditions */
#product_detail .product_page_description_note {
    border-top: 1px solid #edf0f7;
    margin-top: 20px;
    padding-top: 16px;
    font-size: 0.8rem;
    color: #99a3b4;
}

/* ----------------------------------------------------------------
   Fil d'Ariane (Breadcrumb)
   ---------------------------------------------------------------- */
.o_website_sale .breadcrumb {
    background: transparent;
    padding: 12px 0;
    font-size: 0.85rem;
}

.o_website_sale .breadcrumb-item a {
    color: var(--devea-blue) !important;
    font-weight: 500;
}

.o_website_sale .breadcrumb-item.active {
    color: #1a1a2e;
    font-weight: 600;
}

.o_wsale_product_page #product_detail #product_details .cart_product_sticky_section.open {
    border-radius: 20px !important;
}

/* ================================================================
   SECTION DESCRIPTION / SPECIFICATION — Design Premium
   (sélecteurs corrigés selon le vrai HTML Odoo)
   ================================================================ */

/* Conteneur global de la section */
.product_tabs.s_tabs {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 32px rgba(0, 24, 167, 0.07) !important;
    margin-top: 28px !important;
    overflow: hidden;
    padding: 0 !important;
}

/* ----------------------------------------------------------------
   Barre d'onglets — ul.nav.nav-tabs.tabs
   ---------------------------------------------------------------- */
.product_tabs .s_tabs_nav .nav-tabs {
    background: #f4f6f9 !important;
    border-bottom: 2px solid #e8edf5 !important;
    padding: 0 20px !important;
    display: flex !important;
    gap: 4px !important;
    margin-bottom: 0 !important;
    flex-wrap: nowrap !important;
}

.product_tabs .s_tabs_nav .nav-tabs .nav-item {
    margin-bottom: 0 !important;
}

.product_tabs .s_tabs_nav .nav-tabs .nav-link {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #7b8aa0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    padding: 16px 24px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    margin-bottom: -2px !important;
    letter-spacing: 0.3px !important;
}

.product_tabs .s_tabs_nav .nav-tabs .nav-link:hover {
    color: var(--devea-blue) !important;
    background: rgba(0, 24, 167, 0.04) !important;
    border-bottom-color: rgba(0, 24, 167, 0.25) !important;
}

.product_tabs .s_tabs_nav .nav-tabs .nav-link.active,
.product_tabs .s_tabs_nav .nav-tabs .nav-link.active.show {
    color: var(--devea-blue) !important;
    background: #ffffff !important;
    border-bottom: 3px solid var(--devea-blue) !important;
    box-shadow: none !important;
}

/* ----------------------------------------------------------------
   Zone de contenu — .card-body.tab-content.product-tab
   ---------------------------------------------------------------- */
.product_tabs .s_tabs_content.tab-content {
    background: #ffffff !important;
    padding: 0 !important;
    border: none !important;
}

.product_tabs .s_tabs_content .tab-pane {
    padding: 0 !important;
}

/* ----------------------------------------------------------------
   Titres dans la description (h2, h3 dans les sections)
   ---------------------------------------------------------------- */
.product_tabs .tab-pane h2,
.product_tabs .tab-pane h3 {
    font-weight: 700 !important;
    color: #0f1732 !important;
    margin-bottom: 12px !important;
    padding-left: 14px !important;
    position: relative !important;
    border: none !important;
}

.product_tabs .tab-pane h2::before,
.product_tabs .tab-pane h3::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 5px !important;
    bottom: 5px !important;
    width: 4px !important;
    background: var(--devea-blue) !important;
    border-radius: 4px !important;
}

/* Texte de description */
.product_tabs .tab-pane p,
.product_tabs .tab-pane li {
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    color: #555a6a !important;
}

/* ----------------------------------------------------------------
   Table des Spécifications — #product_specifications table
   ---------------------------------------------------------------- */
#product_specifications {
    padding: 20px 0 !important;
}

#product_specifications .table {
    border-collapse: separate !important;
    border-spacing: 0 6px !important;
    border: none !important;
}

#product_specifications .table thead {
    display: none !important;
}

#product_specifications .table tbody tr {
    border: none !important;
    background: transparent !important;
}

#product_specifications .table tbody tr td:first-child {
    font-weight: 600 !important;
    color: #2c3a54 !important;
    background: #f0f4fb !important;
    padding: 12px 18px !important;
    border-radius: 10px 0 0 10px !important;
    border: none !important;
    width: 35% !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

#product_specifications .table tbody tr td:last-child {
    color: #1a1a2e !important;
    background: #f8faff !important;
    padding: 12px 18px !important;
    border-radius: 0 10px 10px 0 !important;
    border: none !important;
    font-size: 0.875rem !important;
}

#product_specifications .table tbody tr:hover td {
    background: #eef2ff !important;
}

#product_specifications .table tbody tr:hover td:first-child {
    background: #dce6ff !important;
}

/* ================================================================
   PAGE PORTAIL CLIENT /my/home — Design Premium (v2)
   Sélecteurs basés sur le vrai HTML Odoo/Bizople
   ================================================================ */

/* Fond général de la page portail */
body.o_connected_user,
.o_portal_wrap {
    background: #f0f4fb !important;
}

/* ----------------------------------------------------------------
   Carte Détails — .o_portal_my_details
   ---------------------------------------------------------------- */
.o_portal_my_details {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 28px rgba(0, 24, 167, 0.09) !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
    overflow: hidden !important;
}

/* Titre "Details" avec barre bleue gauche */
.o_portal_my_details h4.tital {
    background: linear-gradient(135deg, var(--devea-blue) 0%, #1535d4 100%) !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
    padding: 16px 24px !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Corps de la carte */
.o_portal_my_details>.d-flex,
.o_portal_my_details>div:last-child {
    padding: 24px !important;
}

/* Avatar / photo utilisateur */
.o_portal_my_details img.o_object_fit_cover,
.o_portal_my_details img[width="75"] {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid var(--devea-blue) !important;
    box-shadow: 0 4px 16px rgba(0, 24, 167, 0.18) !important;
    flex-shrink: 0 !important;
    margin-right: 16px !important;
}

/* Nom de l'utilisateur */
.o_portal_my_details address span[itemprop="name"] {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #0f1732 !important;
    display: block !important;
    margin-bottom: 6px !important;
}

/* Infos de contact */
.o_portal_my_details address {
    font-size: 0.875rem !important;
    color: #6a7184 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

.o_portal_my_details address .fa {
    color: var(--devea-blue) !important;
    margin-right: 6px !important;
    width: 14px !important;
}

/* Bouton Edit */
.o_portal_my_details .btn-primary,
.o_portal_my_details a.btn.btn-primary {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 8px !important;
    padding: 6px 16px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    float: none !important;
}

.o_portal_my_details .btn-primary:hover,
.o_portal_my_details a.btn.btn-primary:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    transform: none !important;
}

/* ----------------------------------------------------------------
   Section Sécurité — .o_portal_my_security
   ---------------------------------------------------------------- */
.o_portal_my_security {
    background: #f4f6fb !important;
    border-radius: 14px !important;
    border: 1.5px solid #e2e8f5 !important;
    padding: 18px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.o_portal_my_security h4.security_tital {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #7b8aa0 !important;
    margin: 0 !important;
}

/* Bouton Edit Security Settings */
.o_portal_my_security a.btn.btn-secondary {
    background: var(--devea-blue) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 10px 14px !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.o_portal_my_security a.btn.btn-secondary:hover {
    background: var(--devea-blue-dark) !important;
    box-shadow: 0 4px 14px var(--devea-blue-glow) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

/* ----------------------------------------------------------------
   Section Documents
   ---------------------------------------------------------------- */
.o_portal_my_home h3 {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #9aa3b5 !important;
    margin-bottom: 14px !important;
    margin-top: 4px !important;
}

/* Conteneur liste — réinitialiser le grid cassé */
.o_portal_docs.list-group.biz_portal,
.o_portal_docs {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Chaque ligne de document */
.o_portal_docs a.list-group-item,
.o_portal_docs .list-group-item {
    background: #ffffff !important;
    border: 1.5px solid #edf0f7 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 12px rgba(0, 24, 167, 0.05) !important;
    padding: 16px 20px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: all 0.22s ease !important;
    text-decoration: none !important;
    color: #1a1a2e !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Barre colorée à gauche au survol */
.o_portal_docs a.list-group-item::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background: var(--devea-blue) !important;
    border-radius: 14px 0 0 14px !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
}

.o_portal_docs a.list-group-item:hover {
    border-color: rgba(0, 24, 167, 0.25) !important;
    box-shadow: 0 6px 24px rgba(0, 24, 167, 0.12) !important;
    transform: translateX(4px) !important;
    background: #fafbff !important;
    color: var(--devea-blue) !important;
    text-decoration: none !important;
}

.o_portal_docs a.list-group-item:hover::before {
    opacity: 1 !important;
}

/* Badge compteur (1, 4, 0) */
.o_portal_docs a.list-group-item .badge.badge-pill,
.o_portal_docs .list-group-item .badge {
    background: var(--devea-blue) !important;
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 5px 12px !important;
    min-width: 36px !important;
    text-align: center !important;
}

/* Badge = 0 → discret */
.o_portal_docs a.list-group-item .badge[data-count="0"],
.o_portal_docs .list-group-item .badge:empty {
    background: #e0e5ef !important;
    color: #9aa3b5 !important;
}

/* ================================================================
   PAGE PORTAIL /my/account — Design Premium
   ================================================================ */

/* Fond page */
body.o_connected_user .o_portal {
    background: #f0f4fb !important;
    padding: 32px 0 !important;
}

/* ----------------------------------------------------------------
   Breadcrumb
   ---------------------------------------------------------------- */
body.o_connected_user .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
}

body.o_connected_user .breadcrumb .breadcrumb-item a,
body.o_connected_user .breadcrumb .breadcrumb-item .fa-home {
    color: var(--devea-blue) !important;
    font-size: 0.85rem !important;
}

body.o_connected_user .breadcrumb .breadcrumb-item.active {
    color: #6a7184 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

/* ----------------------------------------------------------------
   Carte principale du formulaire
   ---------------------------------------------------------------- */
form[action="/my/account"] {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 28px rgba(0, 24, 167, 0.09) !important;
    overflow: hidden !important;
    padding: 0 !important;
}

/* En-tête dégradé */
form[action="/my/account"]::before {
    content: 'INFORMATIONS PERSONNELLES' !important;
    display: block !important;
    background: linear-gradient(135deg, var(--devea-blue) 0%, #1535d4 100%) !important;
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    padding: 16px 28px !important;
    border-radius: 20px 20px 0 0 !important;
}

/* Corps du formulaire */
form[action="/my/account"] .o_portal_details {
    padding: 28px 28px 8px !important;
}

/* ----------------------------------------------------------------
   Labels
   ---------------------------------------------------------------- */
form[action="/my/account"] .col-form-label,
form[action="/my/account"] label {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #9aa3b5 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* Label optionnel */
form[action="/my/account"] .label-optional::after {
    content: ' (optionnel)' !important;
    font-size: 0.7rem !important;
    color: #b0bac8 !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* ----------------------------------------------------------------
   Champs de saisie
   ---------------------------------------------------------------- */
form[action="/my/account"] .form-control,
form[action="/my/account"] input.form-control,
form[action="/my/account"] select.form-control {
    border: 1.5px solid #e2e8f5 !important;
    border-radius: 10px !important;
    background: #f8faff !important;
    color: #1a1a2e !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding: 10px 14px !important;
    height: auto !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

form[action="/my/account"] .form-control:focus {
    border-color: var(--devea-blue) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px var(--devea-blue-light) !important;
    outline: none !important;
}

form[action="/my/account"] .form-control::placeholder {
    color: #c0c8d8 !important;
}

form[action="/my/account"] .form-group {
    margin-bottom: 20px !important;
}

/* ----------------------------------------------------------------
   Colonne Avatar (droite)
   ---------------------------------------------------------------- */
form[action="/my/account"] .col-lg-4 {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 12px !important;
}

form[action="/my/account"] .col-lg-4>div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    background: #f4f7fd !important;
    border: 1.5px solid #e2e8f5 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    width: 100% !important;
}

/* Avatar image */
form[action="/my/account"] .col-lg-4 img.rounded-circle,
form[action="/my/account"] .col-lg-4 img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 4px solid var(--devea-blue) !important;
    box-shadow: 0 6px 20px rgba(0, 24, 167, 0.18) !important;
}

/* Champ upload avatar */
form[action="/my/account"] input[type="file"] {
    font-size: 0.78rem !important;
    color: #6a7184 !important;
    width: 100% !important;
}

/* ----------------------------------------------------------------
   Bouton Confirmer
   ---------------------------------------------------------------- */
form[action="/my/account"] .clearfix {
    padding: 8px 28px 28px !important;
}

form[action="/my/account"] button[type="submit"].btn-primary {
    background: var(--devea-blue) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 28px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    box-shadow: 0 4px 16px var(--devea-blue-glow) !important;
    transition: all 0.22s ease !important;
    float: right !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

form[action="/my/account"] button[type="submit"].btn-primary:hover {
    background: var(--devea-blue-dark) !important;
    box-shadow: 0 6px 22px rgba(0, 24, 167, 0.3) !important;
    transform: translateY(-2px) !important;
}

.oe_login_form {
    border-radius: 10px !important;
}

/* ================================================================
   PAGE D'ACCUEIL (LANDING PAGE) — Elite Premium Design
   ================================================================ */

:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --elite-shadow: 0 20px 50px rgba(0, 24, 167, 0.1);
}

.devea-landing-page {
    background: #f4f7fc !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* --- Global Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes slow-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Hero Ultra Modern --- */
.devea-hero-elite {
    min-height: 85vh !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.hero-bg-shapes {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}

.shape-1 {
    position: absolute !important;
    top: -10% !important;
    right: -10% !important;
    width: 600px !important;
    height: 600px !important;
    background: radial-gradient(circle, rgba(0, 24, 167, 0.08) 0%, transparent 70%) !important;
    border-radius: 50% !important;
}

.shape-2 {
    position: absolute !important;
    bottom: -20% !important;
    left: -10% !important;
    width: 800px !important;
    height: 800px !important;
    background: radial-gradient(circle, rgba(0, 24, 167, 0.05) 0%, transparent 70%) !important;
    border-radius: 50% !important;
}

.devea-hero-elite .container {
    padding: 60px 15px !important;
    position: relative !important;
    z-index: 1 !important;
}

.hero-tag {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(0, 24, 167, 0.05) !important;
    padding: 8px 16px !important;
    border-radius: 100px !important;
    color: var(--devea-blue) !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin-bottom: 24px !important;
    border: 1px solid rgba(0, 24, 167, 0.1) !important;
}

.hero-elite-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    font-weight: 900 !important;
    color: #0f1732 !important;
    line-height: 1.1 !important;
    margin-bottom: 24px !important;
    letter-spacing: -2px !important;
}

.hero-elite-desc {
    font-size: 1.25rem !important;
    color: #5a6a85 !important;
    line-height: 1.6 !important;
    margin-bottom: 40px !important;
    max-width: 550px !important;
}

.hero-actions .btn {
    padding: 16px 40px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-elite-primary {
    background: var(--devea-blue) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(0, 24, 167, 0.2) !important;
}

.btn-elite-primary:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0, 24, 167, 0.3) !important;
    background: #001280 !important;
}

/* Glass Card Hero */
.hero-visual {
    position: relative !important;
    animation: float 6s ease-in-out infinite !important;
}

.hero-main-img {
    z-index: 1 !important;
    position: relative !important;
    border-radius: 30px !important;
    border: 12px solid #ffffff !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1) !important;
}

.glass-floating-card {
    position: absolute !important;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
    z-index: 2 !important;
}

.card-top-right {
    top: 10% !important;
    right: -30px !important;
}

.card-bot-left {
    bottom: 10% !important;
    left: -30px !important;
}

/* --- Smart Category Grid --- */
.category-section {
    padding: 100px 0 !important;
    background: #f4f7fc !important;
}

.category-elite-card {
    display: block !important;
    height: 300px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    position: relative !important;
    text-decoration: none !important;
    transition: all 0.5s ease !important;
}

.category-elite-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.8s ease !important;
}

.category-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 60% !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 30px !important;
    transition: all 0.4s ease !important;
}

.category-elite-card:hover img {
    transform: scale(1.1);
}

.category-elite-card:hover .category-overlay {
    height: 100% !important;
    background: rgba(0, 24, 167, 0.6) !important;
}

.category-elite-card h4 {
    color: #ffffff !important;
    font-weight: 800 !important;
    margin: 0 !important;
    font-size: 1.4rem !important;
}

.category-elite-card span {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem !important;
    margin-top: 8px !important;
    display: block !important;
    transform: translateY(20px) !important;
    opacity: 0 !important;
    transition: all 0.4s ease !important;
}

.category-elite-card:hover span {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* --- Elite Product Cards --- */
.product-elite-card {
    background: #ffffff !important;
    border-radius: 28px !important;
    padding: 15px !important;
    height: 100% !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid #edf0f7 !important;
    position: relative !important;
}

.product-elite-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: var(--elite-shadow) !important;
    border-color: rgba(0, 24, 167, 0.1) !important;
}

.p-elite-img {
    background: #f8faff !important;
    border-radius: 20px !important;
    padding: 30px !important;
    height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.p-elite-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    transition: transform 0.6s ease !important;
}

.p-elite-tag {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    background: #ffffff !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: var(--devea-blue) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

.p-elite-info {
    padding: 20px 5px 10px !important;
}

.p-elite-info h4 {
    font-weight: 700 !important;
    color: #0f1732 !important;
    font-size: 1.15rem !important;
    margin-bottom: 12px !important;
}

.p-elite-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.p-elite-price {
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    color: var(--devea-blue) !important;
}

.btn-add-elite {
    width: 48px !important;
    height: 48px !important;
    background: #0f1732 !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.btn-add-elite:hover {
    background: var(--devea-blue) !important;
    transform: rotate(90deg) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* --- Elite Promo Card --- */
.promo-banner-elite {
    background: #0f1732 !important;
    border-radius: 40px !important;
    overflow: hidden !important;
    position: relative !important;
}

.promo-elite-content {
    padding: 80px 60px !important;
    position: relative !important;
    z-index: 1 !important;
}

.promo-tag {
    color: #3b82f6 !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
}

.promo-img-visual {
    background-image: url('/website/static/src/img/snippets_demo/s_text_image.jpg');
    background-size: cover !important;
    background-position: center !important;
    min-height: 500px !important;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .hero-elite-title {
        font-size: 3rem !important;
    }

    .hero-visual {
        margin-top: 50px !important;
    }

    .glass-floating-card {
        display: none !important;
    }

    .promo-elite-content {
        padding: 40px 30px !important;
    }
}

/* ================================================================
   REVOLUTIONARY TECH MODE (E-TECH)
   ================================================================ */

.tech-mode {
    background: #020617 !important;
    color: #e2e8f0 !important;
}

/* --- Hero Tech --- */
.devea-hero-tech {
    min-height: 90vh !important;
    background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%) !important;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.tech-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.9) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.9) 1.5px, transparent 1.5px);
    background-size: 50px 50px;
    z-index: 1;
    opacity: 0.3;
}

.text-glow {
    color: #22d3ee !important;
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.6);
}

.hero-tech-title {
    font-size: clamp(2.5rem, 6vw, 5rem) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.05 !important;
    letter-spacing: -3px !important;
    margin-bottom: 30px;
}

.hero-tech-desc {
    font-size: 1.25rem !important;
    color: #94a3b8 !important;
    max-width: 600px;
    margin-bottom: 45px;
}

.tech-tag {
    background: rgba(34, 211, 238, 0.1) !important;
    color: #22d3ee !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
    padding: 8px 20px !important;
    border-radius: 5px !important;
    font-family: 'Courier New', Courier, monospace;
}

/* --- Tech Cards --- */
.tech-floating-card {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 25px;
    position: absolute;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tech-icon-cyan {
    color: #22d3ee;
    font-size: 1.5rem;
}

.tech-icon-magenta {
    color: #d946ef;
    font-size: 1.5rem;
}

.tech-muted {
    color: #64748b;
}

.tech-visual {
    position: relative;
    z-index: 5;
}

.tech-glow-img {
    border: 2px solid rgba(34, 211, 238, 0.2) !important;
    box-shadow: 0 0 50px rgba(34, 211, 238, 0.1) !important;
    border-radius: 20px !important;
}

/* --- Buttons Tech --- */
.btn-tech-primary {
    background: #22d3ee !important;
    border: none !important;
    color: #020617 !important;
    font-weight: 800 !important;
    padding: 15px 35px !important;
    border-radius: 4px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4) !important;
    transition: all 0.3s ease;
}

.btn-tech-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(34, 211, 238, 0.7) !important;
}

.btn-tech-outline {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    padding: 15px 35px !important;
    border-radius: 4px !important;
}

.btn-tech-outline:hover {
    border-color: #22d3ee !important;
    color: #22d3ee !important;
}

/* --- Categories Tech --- */
.tech-categories {
    background: #020617 !important;
    padding: 120px 0 !important;
}

.tech-title {
    color: #fff !important;
    font-weight: 800 !important;
}

.category-tech-card {
    display: block;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-tech-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #020617 10%, transparent 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-tech-card h4 {
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.tech-link {
    color: #22d3ee !important;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.category-tech-card:hover img {
    transform: scale(1.15);
    opacity: 0.8;
}

.category-tech-card:hover .tech-link {
    opacity: 1;
    transform: translateY(0);
}

/* --- Stats Tech --- */
.stat-tech-item {
    padding: 30px;
}

.stat-count {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
    font-family: 'Courier New', monospace;
}

.stat-label {
    color: #22d3ee;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* --- Promo Tech Banner --- */
.promo-banner-tech {
    background: #0f172a !important;
    border-radius: 0 !important;
    position: relative;
    overflow: hidden;
    border-left: 5px solid #22d3ee;
}

.tech-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 10px #22d3ee;
    animation: scan 4s linear infinite;
    z-index: 5;
}

@keyframes scan {
    0% {
        top: -10%;
    }

    100% {
        top: 110%;
    }
}

.promo-tech-content {
    padding: 80px;
}

.promo-tech-tag {
    color: #d946ef;
    font-weight: 900;
    letter-spacing: 5px;
}

.text-cyan {
    color: #a5f3fc;
}

.btn-tech-glow {
    background: transparent !important;
    border: 2px solid #22d3ee !important;
    color: #22d3ee !important;
    font-weight: 900 !important;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.2) !important;
    border-radius: 0 !important;
}

.btn-tech-glow:hover {
    background: #22d3ee !important;
    color: #020617 !important;
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.6) !important;
}

.promo-tech-visual {
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-circle-orbit {
    width: 250px;
    height: 250px;
    border: 1px dashed rgba(34, 211, 238, 0.4);
    border-radius: 50%;
    animation: slow-spin 10s linear infinite;
}

.tech-circle-orbit::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #22d3ee;
    border-radius: 50%;
    box-shadow: 0 0 15px #22d3ee;
}

/* ================================================================
   SNAZZY E-COMMERCE STYLE (Light & Premium Tech)
   ================================================================ */

.devea-shopify-style {
    background: #ffffff !important;
    color: #1a1a1a !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

/* --- Hero Section Snazzy --- */
.snazzy-hero {
    background: #fdfdfd;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-content-col {
    padding: 100px 80px !important;
}

@media (max-width: 991px) {
    .hero-content-col {
        padding: 60px 20px !important;
        text-align: center;
    }

    .hero-specs-grid {
        justify-items: center;
    }
}

.hero-pre-title {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--devea-blue);
    display: block;
    margin-bottom: 15px;
}

.hero-main-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    margin-bottom: 25px;
}

.text-gradient {
    background: linear-gradient(135deg, #0018a7, #1535d4, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: #666;
    max-width: 500px;
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Specs Icons from the screenshot */
.hero-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 50px;
}

.spec-item {
    display: flex;
    align-items: center;
}

.spec-icon {
    width: 45px;
    height: 45px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--devea-blue);
    font-size: 1.2rem;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(0, 24, 167, 0.1);
}

.spec-info {
    text-align: left;
}

.spec-info strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
}

.spec-info span {
    font-size: 0.8rem;
    color: #888;
}

/* CTA */
.btn-snazzy-dark {
    background: #000;
    color: #fff !important;
    padding: 16px 45px;
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-snazzy-dark:hover {
    background: var(--devea-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 24, 167, 0.25);
}

/* Visual Part */
.hero-image-col {
    background: #f8f9fc;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
}

.blob-bg {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 24, 167, 0.08) 0%, transparent 70%);
}

.hero-product-img {
    position: relative;
    z-index: 2;
    max-height: 550px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.12));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-product-img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* --- Categories Snazzy --- */
.snazzy-title {
    font-weight: 800;
    font-size: 2.5rem;
    color: #000;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--devea-blue);
    margin-top: 15px;
    border-radius: 2px;
}

.snazzy-category-card {
    background: #f9f9fb;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease;
}

.snazzy-category-card.dark-card {
    background: #0a0a0b;
}

.cat-img-box {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 70%;
    height: 60%;
    transition: transform 0.5s ease;
}

.cat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.snazzy-category-card:hover .cat-img-box {
    transform: translateY(-10px) scale(1.05);
}

.cat-content {
    position: relative;
    z-index: 2;
}

.cat-content h3 {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cat-link {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--devea-blue);
}

.cat-link:hover {
    text-decoration: none;
    padding-left: 5px;
}

/* --- Trendy Cards Snazzy --- */
.snazzy-title-xl {
    font-weight: 900;
    font-size: 3rem;
    color: #000;
    margin-bottom: 10px;
}

.btn-pill {
    border-radius: 50px !important;
    font-weight: 700;
}

.snazzy-product-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    text-align: center;
}

.snazzy-product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    border-color: var(--devea-blue-light);
}

.top-header {
    display: none !important;
}

.product-badge {
    position: absolute;
    top: 63px;
    left: 59px;
    background: var(--devea-blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    z-index: 3;
    text-transform: uppercase;
}

.product-img-box {
    background: #f9f9f9;
    border-radius: 12px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.product-img-box img {
    max-height: 75%;
    max-width: 85%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.snazzy-product-card:hover .product-img-box img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}

.snazzy-product-card:hover .product-actions {
    bottom: 0;
}

.action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: var(--devea-blue);
    color: #fff;
    transform: scale(1.1);
}

.product-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

.product-info .price {
    font-weight: 800;
    color: var(--devea-blue);
    font-size: 1.25rem;
}

/* --- Trust Section --- */
.trust-icon {
    font-size: 2.5rem;
    color: var(--devea-blue);
}

.trust-item h5 {
    font-weight: 800;
    margin-bottom: 10px;
}

/* --- Animations & Refinements for Hero --- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes shine {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-pre-title {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-main-title {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-specs-grid {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-cta-group {
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

/* Glass Card for the Phone */
.hero-image-container {
    perspective: 1000px;
    z-index: 5;
}

.hero-product-img {
    animation: float 6s ease-in-out infinite;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    padding: 15px;
    /* Creates a clean border like a physical device skin or card */
}

/* Interactive Spec Items */
.spec-item {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    padding: 10px;
    border-radius: 12px;
}

.spec-item:hover {
    background: rgba(0, 24, 167, 0.04);
    transform: scale(1.05) translateX(10px);
}

.spec-item:hover .spec-icon {
    background: var(--devea-blue);
    color: #fff;
    transform: rotate(15deg);
}

/* Gradient Text Shine Effect */
.text-gradient {
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

/* CTA Refinement */
.btn-snazzy-dark {
    position: relative;
    overflow: hidden;
}

.btn-snazzy-dark::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
}

.btn-snazzy-dark:hover::after {
    left: 120%;
}

.hero-image-col {
    overflow: visible !important;
}

/* Background floating shapes */
.snazzy-hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 24, 167, 0.05) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    z-index: 0;
    animation: float 10s ease-in-out infinite alternate;
}

.snazzy-hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 24, 167, 0.03) 0%, transparent 70%);
    bottom: -200px;
    right: -100px;
    border-radius: 50%;
    z-index: 0;
    animation: float 15s ease-in-out infinite alternate-reverse;
}

/* --- Final Polish & Arrow Animation --- */

.hero-cta-group .btn-link {
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.hero-cta-group .btn-link i {
    transition: transform 0.3s ease;
}

.hero-cta-group .btn-link:hover {
    color: var(--devea-blue) !important;
}

.hero-cta-group .btn-link:hover i {
    transform: translateX(5px);
}

/* Adjusting Spec Grid alignment */
.hero-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Image container refinement */
.hero-image-container {
    padding: 20px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
}

.hero-product-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Better mobile spacing */
@media (max-width: 991px) {
    .hero-specs-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 20px;
    }

    .hero-cta-group .ml-4 {
        margin-left: 0 !important;
    }
}

/* ================================================================
   ULTRA-PREMIUM FUTURISTIC HERO (Galaxy AI Edition)
   ================================================================ */

.futuristic-hero {
    background: transparent !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible !important;
}

/* Halos lumineux bleu électrique */
.tech-halo-1,
.tech-halo-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.tech-halo-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 24, 167, 0.15);
    animation: haloPulse 8s ease-in-out infinite alternate;
}

.tech-halo-2 {
    width: 300px;
    height: 300px;
    background: rgba(0, 210, 255, 0.1);
    animation: haloPulse 6s ease-in-out infinite alternate-reverse;
    top: 20%;
    left: 30%;
}

@keyframes haloPulse {
    from {
        transform: scale(1) translate(-10%, -10%);
        opacity: 0.5;
    }

    to {
        transform: scale(1.3) translate(10%, 10%);
        opacity: 0.8;
    }
}

/* Phone Wrapper & Image */
.phone-wrapper-parallax {
    position: relative;
    z-index: 5;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.hero-product-img-v2 {
    max-height: 650px;
    width: auto;
    background: transparent !important;
    /* On enlève le fond blanc */
    padding: 0 !important;
    border-radius: 0;
    /* box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.3), 
                0 30px 60px -30px rgba(0, 24, 167, 0.2); Ombre portée légère et colorée */
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    animation: slowSwing 12s ease-in-out infinite;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slowSwing {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-20px);
    }
}

/* Rotation au survol */
.phone-wrapper-parallax:hover .hero-product-img-v2 {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
    /* box-shadow: 0 70px 120px -20px rgba(0, 24, 167, 0.25); */
}

/* Galaxy AI Overlay */
.ai-interaction-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.phone-wrapper-parallax:hover .ai-interaction-overlay {
    opacity: 1;
}

.ai-glow-ring {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(0, 210, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
    animation: aiZoom 2s ease-out infinite;
}

@keyframes aiZoom {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.ai-text-pop {
    margin-top: 20px;
    font-weight: 900;
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 0 0 10px #00d2ff;
    letter-spacing: 5px;
    background: rgba(0, 24, 167, 0.6);
    padding: 5px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

/* Reflets de lumière balayant l'écran */
.hero-product-img-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    animation: lightSweep 4s infinite linear;
}

@keyframes lightSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* Parallax subtil basé sur le scroll (via CSS scroll-timeline si supporté, sinon fallback) */
@supports (animation-range: entry exit) {
    .phone-wrapper-parallax {
        animation: parallaxEffect linear;
        animation-timeline: scroll();
        animation-range: start 500px;
    }
}

@keyframes parallaxEffect {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100px);
    }
}

/* --- Screen Reflection Animation Fix --- */
.screen-reflection {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-25deg);
    z-index: 10;
    pointer-events: none;
    animation: lightSweep 5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightSweep {
    0% {
        left: -150%;
    }

    50%,
    100% {
        left: 150%;
    }
}

.phone-wrapper-parallax {
    transform-origin: center center;
}

/* ================================================================
   CYBER-TECH 2026 CATEGORY CARDS
   ================================================================ */

.snazzy-categories {
    background: #050608 !important;
    /* Fond ultra sombre */
}

.cyber-tech-card {
    background: #0f111a;
    border-radius: 20px;
    height: 420px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0, 210, 255, 0.1);
}

/* Background RGB Glow subtil */
.cyber-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
    z-index: 1;
    transition: all 0.6s ease;
}

.cyber-tech-card:hover .cyber-bg-glow {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.3) 0%, transparent 70%);
}

/* Centrage Produit & Zoom */
.cyber-tech-card .cat-img-box {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    /* Reset previous pos */
}

.cyber-product-img {
    max-height: 100%;
    max-width: 80%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cyber-tech-card:hover .cyber-product-img {
    transform: scale(1.15) translateY(-10px);
    filter: drop-shadow(0 0 30px rgba(0, 210, 255, 0.6));
}

/* Effet Particules AI (Pulsation RGB) */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cyber-tech-card:hover .particles-container {
    opacity: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00d2ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00d2ff;
}

.p1 {
    top: 80%;
    left: 20%;
    animation: particleRise 2s infinite;
}

.p2 {
    top: 70%;
    left: 80%;
    animation: particleRise 2.5s infinite 0.5s;
}

.p3 {
    top: 90%;
    left: 50%;
    animation: particleRise 3s infinite 1s;
}

@keyframes particleRise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Titre & Lien */
.cyber-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
    z-index: 5;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.cyber-link {
    color: #00d2ff !important;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.neon-arrow {
    width: 30px;
    height: 2px;
    background: #00d2ff;
    position: relative;
    box-shadow: 0 0 10px #00d2ff;
}

.neon-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #00d2ff;
    border-right: 2px solid #00d2ff;
    transform: rotate(45deg);
}

.cyber-tech-card:hover .cyber-link {
    color: #ffffff !important;
    text-shadow: 0 0 15px #00d2ff;
}

/* Bordure Glow 2026 */
.cyber-border-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    pointer-events: none;
    background: linear-gradient(45deg, #00d2ff, #9d50bb, #ff007f);
    padding: 2px;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.2;
    transition: opacity 0.4s ease;
}

.cyber-tech-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    border-color: transparent;
}

.cyber-tech-card:hover .cyber-border-glow {
    opacity: 1;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

/* --- REGLAGES DE PRECISION "CYBER-TECH" --- */

/* 1. Visibilité du titre de section */
.snazzy-categories .snazzy-title {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 5px;
}

/* 2. Intégration des images (Effacement du fond blanc) */
.cyber-product-img {
    /* Cette propriété aide à fusionner les produits à fond blanc sur le noir */
    mix-blend-mode: lighten;
    filter: contrast(1.1) brightness(1.1);
    max-height: 200px !important;
    width: auto !important;
}

/* 3. Textes des cartes plus percutants */
.cyber-title {
    color: #ffffff !important;
    font-size: 1.8rem !important;
    letter-spacing: 4px !important;
    margin-top: 20px;
    opacity: 0.9;
}

/* 4. Amélioration du Glow de fond pour masquer les bordures d'image */
.cyber-bg-glow {
    width: 250px !important;
    height: 250px !important;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.4) 0%, transparent 75%) !important;
    filter: blur(30px);
}

/* 5. Style du lien plus "Pro" */
.cyber-link {
    font-size: 0.9rem !important;
    color: #00d2ff !important;
    opacity: 0.8;
}

.cyber-tech-card:hover .cyber-title {
    opacity: 1;
    color: #00d2ff !important;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
}

/* 6. Bordure de carte plus fine et élégante */
.cyber-tech-card {
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: linear-gradient(145deg, #0f111a, #050608) !important;
}

/* ==========================================================================
   MODERN USER DROPDOWN (ELITE STYLE)
   ========================================================================== */
.header-myaccount .dropdown-menu.js_usermenu {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 0 !important;
    min-width: 240px !important;
    margin-top: 15px !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.js_usermenu .dropdown-header-elite {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.js_usermenu .user-avatar-elite {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.js_usermenu .user-name-elite {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 2px;
}

.js_usermenu .user-role-elite {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.js_usermenu .dropdown-body-elite {
    padding: 10px;
}

.js_usermenu .dropdown-item {
    border-radius: 10px !important;
    padding: 10px 15px !important;
    margin-bottom: 2px !important;
    font-weight: 500 !important;
    color: #555 !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
    border: none !important;
    text-align: left !important;
    background: transparent !important;
}

.js_usermenu .dropdown-item:hover {
    background: #f0f4ff !important;
    color: var(--devea-blue) !important;
    transform: translateX(5px);
}

.js_usermenu .dropdown-item i {
    width: 24px;
    font-size: 1.1rem;
    margin-right: 12px;
    color: #aaa;
    transition: color 0.2s ease;
}

.js_usermenu .dropdown-item:hover i {
    color: var(--devea-blue);
}

.js_usermenu .logout-item-elite {
    margin-top: 5px !important;
    border-top: 1px solid #eee !important;
    padding-top: 5px !important;
}

.js_usermenu .logout-item-elite .dropdown-item:hover {
    background: #fffafa !important;
    color: #e74c3c !important;
}

.js_usermenu .logout-item-elite .dropdown-item:hover i {
    color: #e74c3c !important;
}

/* Adjusting Header Logo size */
html body #wrapwrap header .navbar-brand.logo img {
    height: 4rem !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* ==========================================================================
   CSS TRANSLATION HACKS (TRADUCTION SANS XML)
   ========================================================================== */
/* Masquer les textes originaux */
.js_usermenu .my-acc,
.js_usermenu a[href="/my-address"],
.js_usermenu #o_logout {
    font-size: 0 !important;
    text-align: center !important;
}

/* Injecter les textes en français */
.js_usermenu .my-acc::before {
    content: "Mon Compte";
    font-size: 14px !important;
    font-weight: 500;
}

.js_usermenu a[href="/my-address"]::before {
    content: "Mes Adresses";
    font-size: 14px !important;
    font-weight: 500;
}

.js_usermenu #o_logout::before {
    content: "Déconnexion";
    font-size: 14px !important;
    font-weight: 500;
}

/* Ajuster le padding des éléments traduits */
.js_usermenu .dropdown-item {
    justify-content: center;
    padding: 12px !important;
}