/*
 * Xiaomi Abidjan Store — calque « mi.com/fr »
 * Valeurs relevées sur https://www.mi.com/fr/ le 02/11/2026 (styles calculés du navigateur,
 * écran 1440 px et 375 px). Ce fichier est chargé en dernier : il prime sur store.css et navigation.css.
 * Police : MiSans Latin (identique à mi.com/fr), déjà hébergée dans assets/fonts.
 */

:root{
  --mi-ink:#191919;          /* texte, boutons principaux, pied de page */
  --mi-orange:#ff6900;       /* accent : onglet actif, prix fiche produit, bandeau */
  --mi-page:#f7f7f7;         /* fond de page */
  --mi-pane:#ffffff;         /* panneaux blancs */
  --mi-card:#fafafa;         /* cartes produits */
  --mi-buy-bg:#f7f8fa;       /* fond de la fiche produit (galerie) */
  --mi-grey-1:#474747;       /* « Dès » */
  --mi-grey-2:#5e5e5e;       /* prix barré, liens secondaires */
  --mi-grey-3:#757575;       /* textes d'aide */
  --mi-grey-4:#898989;       /* liens du pied de page, recherche */
  --mi-line:#d1d1d1;         /* bordure des options */
  --mi-content:1180px;       /* largeur du contenu */
  --header-height:48px;
}

/* ---------- Base ---------- */
body{background:var(--mi-page);color:var(--mi-ink);font-family:"MiSans Latin",sans-serif;font-size:16px;line-height:1.25}

/* ---------- En-tête : 48 px, logo 28 px, menu 15 px, icônes 20 px ---------- */
.site-header{background:#fff}
.site-header .header-row{min-height:48px!important;height:48px;padding:0 48px 0 32px!important;max-width:none}
.site-header .custom-logo,.site-header .site-brand img{max-height:28px!important}
@media(min-width:1200px){.site-header .main-navigation .nav-extra-link,.site-header .main-navigation .mega-item>summary,.site-header .header-links a{font-size:15px!important;font-weight:400!important;color:var(--mi-ink)!important}}
.site-header .header-tools{gap:32px!important}
.site-header .header-tools .icon-button{width:20px!important;min-width:20px!important;height:20px;padding:0!important}
.site-header .header-tools .icon-button svg,.site-header .nav-toggle svg{width:20px!important;height:20px!important}
@media(max-width:1199px){
  .site-header .header-row{padding:0 16px!important}
  .site-header .header-tools{gap:24px!important}
  .site-header .header-tools .icon-button,.site-header .header-tools .icon-button svg,.site-header .nav-toggle svg{width:24px!important;min-width:24px!important;height:24px!important}
}

/* ---------- Bandeau d'information : orange, 32 px, texte blanc 12 px ---------- */
.announcement{background:var(--mi-orange)!important;color:#fff!important;font-size:12px!important;line-height:16px!important;min-height:32px!important;padding:8px 48px!important;text-align:center}
.announcement a,.announcement span{color:#fff!important}
.announcement .icon-button{color:#fff!important}
@media(max-width:767px){.announcement{font-size:14px!important;line-height:20px!important;padding:10px 44px!important}}

/* ---------- Bannières : boutons 36 px, rayon 12, 15 px gras ---------- */
.hero .button.hero-btn-primary{background:var(--mi-ink)!important;border-color:var(--mi-ink)!important;color:#fff!important;border-radius:12px!important;min-height:36px!important;height:36px;padding:0 20px!important;font-size:15px!important;font-weight:700!important;display:inline-flex;align-items:center}
.hero .hero-btn-secondary{font-size:15px!important;font-weight:700!important;color:var(--mi-ink)!important;padding:0 20px!important;min-height:36px;display:inline-flex;align-items:center}
.hero.is-dark .hero-btn-primary,.hero-slide.is-dark .hero-btn-primary{background:#fff!important;border-color:#fff!important;color:var(--mi-ink)!important}
.hero-slide.is-dark .hero-btn-secondary{color:#fff!important}
@media(min-width:1024px){.hero.is-ready .hero-slide,.hero-slide{min-height:476px!important;height:476px}}

/* ---------- Sections : 80 px d'espace, titres 30 px gras (18 px mobile) ---------- */
.home-section{padding:80px 32px 0!important;background:transparent}
.home-section:last-of-type{padding-bottom:80px!important}
.home-section>.section-heading,.home-section>.category-tabs,.home-section>.xaci-popular-box,.home-section>.category-products{max-width:var(--mi-content);margin-left:auto;margin-right:auto}
.section-heading{margin-bottom:48px!important}
.section-heading h2,.home-section>h2{font-size:30px!important;line-height:37.5px!important;font-weight:700!important;letter-spacing:0!important;color:var(--mi-ink)}
@media(max-width:767px){
  .home-section{padding:40px 16px 0!important}
  .section-heading{margin-bottom:24px!important}
  .section-heading h2,.home-section>h2{font-size:18px!important;line-height:23px!important}
}

/* ---------- Onglets « Produits populaires » : 16 px, actif orange gras ---------- */
.home-section.popular .category-tabs{gap:0!important;justify-content:center;margin-bottom:24px!important}
.home-section.popular .category-tab{font-size:16px!important;font-weight:400!important;line-height:20px;color:var(--mi-ink)!important;padding:0 28px 20px!important;border-bottom:2px solid transparent!important}
.home-section.popular .category-tab[aria-selected=true],.home-section.popular .category-tab.is-active{color:var(--mi-orange)!important;font-weight:700!important;border-bottom-color:var(--mi-orange)!important}
@media(max-width:767px){
  .home-section.popular .category-tabs{justify-content:flex-start;overflow-x:auto;scrollbar-width:none}
  .home-section.popular .category-tab{font-size:12px!important;padding:0 9px 10px!important;white-space:nowrap}
}

/* Panneau blanc (rayon 10, marge 24) contenant la vedette et 4 cartes grises (#fafafa, rayon 6) */
.home-section.popular .xaci-popular-box{background:var(--mi-pane)!important;border-radius:10px!important;padding:24px!important;box-shadow:none!important}
.xaci-popular-box .xaci-popular-spotlight{background:var(--mi-card)!important;border-radius:6px!important;min-height:348px;margin-bottom:24px;box-shadow:none!important}
.xaci-popular-box .xaci-spotlight-info{padding:12px 66px;text-align:center}
.xaci-popular-box .xaci-spotlight-title{font-size:30px!important;font-weight:700!important;line-height:1.25}
.xaci-popular-box .xaci-spotlight-subtitle{font-size:16px;font-weight:700;line-height:20px;margin:12px 0 16px;color:var(--mi-ink)}
.xaci-popular-box .xaci-spotlight-btn{display:inline-flex;align-items:center;height:32px;padding:0 24px;border-radius:10px;background:var(--mi-ink)!important;color:#fff!important;font-size:16px!important;font-weight:500!important;text-decoration:none}
.xaci-popular-box .product-grid{gap:24px!important}
.xaci-popular-box .product-card,.offers .product-card{background:var(--mi-card)!important;border-radius:6px!important;padding:24px 30px 40px!important;box-shadow:none!important;border:0!important;text-align:center}
.xaci-popular-box .product-card-image{height:136px!important;margin-bottom:24px}
.xaci-popular-box .product-card-image img,.offers .product-card-image img{max-height:136px;object-fit:contain}
body .home-section .xaci-popular-box .product-card h3.product-card-title,body .home-section .xaci-popular-box .product-card .product-card-title,body .offers .product-card .product-card-title{font-size:22px!important;line-height:27.5px!important;font-weight:700!important;min-height:0!important;margin:0 0 8px}
@media(max-width:767px){
  .home-section.popular .xaci-popular-box{padding:12px!important}
  .xaci-popular-box .xaci-popular-spotlight{min-height:0;margin-bottom:12px}
  .xaci-popular-box .xaci-spotlight-info{padding:16px 12px}
  .xaci-popular-box .xaci-spotlight-title{font-size:20px!important}
  .xaci-popular-box .product-grid{gap:11px!important}
  .xaci-popular-box .product-card,.offers .product-card{padding:13px 10px!important}
  .xaci-popular-box .product-card-image{height:96px!important;margin-bottom:10px}
  body .home-section .xaci-popular-box .product-card h3.product-card-title,body .home-section .xaci-popular-box .product-card .product-card-title,body .offers .product-card .product-card-title{font-size:14px!important;line-height:18px!important}
}

/* Prix des cartes : « Dès » 14 px gris, montant 18 px demi-gras, prix barré 14 px gris */
.product-price,.xaci-spotlight-price{font-size:14px;color:var(--mi-ink)}
.product-price .price-from,.xaci-spotlight-price .price-from{font-size:14px;font-weight:400;color:var(--mi-grey-1)}
.product-price ins,.product-price>.woocommerce-Price-amount,.product-price .price-from+.woocommerce-Price-amount,
.xaci-spotlight-price ins,.xaci-spotlight-price>.woocommerce-Price-amount,.xaci-spotlight-price .price-from+.woocommerce-Price-amount{font-size:18px!important;font-weight:600!important;color:var(--mi-ink)!important;text-decoration:none}
.product-price del,.xaci-spotlight-price del{font-size:14px!important;font-weight:400!important;color:var(--mi-grey-2)!important;margin-left:6px}
@media(max-width:767px){.product-price ins,.product-price>.woocommerce-Price-amount,.product-price .price-from+.woocommerce-Price-amount{font-size:14px!important}}

/* ---------- Offres exclusives / Explorer : titres 22 px gras ---------- */
.offers .xaci-popular-box{max-width:var(--mi-content);margin:0 auto}

/* ---------- Assistance Xiaomi : sans cartes, icônes grises, titre 22 px ---------- */
.service-strip{background:transparent!important;border-top:0!important;padding:80px max(32px,calc((100% - var(--mi-content))/2)) 80px!important;gap:24px!important}
.service-strip-card{background:transparent!important;box-shadow:none!important;padding:0 12px!important}
.service-strip-card .xaci-icon{color:var(--mi-grey-4)!important;margin-bottom:24px!important}
.service-strip-card .xaci-icon svg{width:56px;height:56px}
.service-strip-card h3{font-size:22px!important;line-height:27.5px;font-weight:700!important;margin:0 0 12px!important}
.service-strip-card p{font-size:16px!important;line-height:20px!important;color:var(--mi-ink)!important}
@media(max-width:767px){.service-strip{padding:40px 16px!important}.service-strip-card h3{font-size:16px!important}.service-strip-card p{font-size:14px!important}}

/* ---------- Pied de page : noir, titres 16 px blancs, liens 14 px gris ---------- */
.site-footer{background:var(--mi-ink)!important;color:var(--mi-grey-4);padding:64px 32px 40px!important}
.footer-col h2,.footer-col-actions h2,.footer-customer-service h3{font-size:16px!important;line-height:20px;font-weight:700!important;color:#fff!important;letter-spacing:0!important;text-transform:uppercase;margin:0 0 16px!important}
.footer-customer-service h3{text-transform:none}
.footer-links{display:flex;flex-direction:column;gap:15px}
.footer-links a{font-size:14px!important;line-height:18px;color:var(--mi-grey-4)!important}
.footer-links a:hover{color:#fff!important}
.footer-bottom,.footer-bottom-left span{font-size:14px!important;color:#fff}
.service-pill-btn{border:1px solid rgba(255,255,255,.4);background:transparent!important;border-radius:12px!important}
@media(max-width:767px){.site-footer{padding:32px 16px 24px!important}.footer-col h2,.footer-col-actions h2{font-size:12px!important}}

/* ---------- Fiche produit (page /buy/ de mi.com) ---------- */
.single-shell{background:var(--mi-buy-bg)}
.woocommerce .single-shell div.product div.images{background:var(--mi-buy-bg)!important}
.woocommerce .single-shell div.product div.summary{background:#fff!important;padding:48px!important}
.woocommerce .single-shell div.product .summary .product_title{font-size:24px!important;font-weight:600!important;line-height:30px}
.woocommerce .single-shell div.product .summary>p.price,.woocommerce .single-shell div.product .summary>p.price .amount{color:var(--mi-orange)!important;font-size:28px!important;line-height:28px!important;font-weight:700!important}
.woocommerce .single-shell div.product .summary>p.price del,.woocommerce .single-shell div.product .summary>p.price del .amount{color:#8c8c8c!important;font-size:14px!important;font-weight:400!important}
.woocommerce .single-shell div.product .summary>p.price ins{color:var(--mi-orange)!important;text-decoration:none}
.woocommerce .single-shell div.product .summary table.variations th.label,.woocommerce .single-shell div.product .summary table.variations label{font-size:22px!important;line-height:27.5px;font-weight:700!important;color:var(--mi-ink)!important}
.variant-chip{border:1px solid var(--mi-line)!important;border-radius:12px!important;background:#fff!important;font-size:13px!important;font-weight:400!important;color:var(--mi-ink)!important;min-height:60px!important;box-shadow:none!important}
.variant-chip[data-color-swatch]{min-height:84px!important}
.variant-chip[aria-pressed=true]{border:1px solid var(--mi-orange)!important;font-weight:700!important;color:var(--mi-ink)!important;box-shadow:none!important}
.variant-chip:hover:not(:disabled){border-color:#999!important}
.woocommerce .single-shell div.product .summary .single_add_to_cart_button{min-height:40px!important;height:40px;border-radius:14px!important;font-size:16px!important;font-weight:500!important;background:var(--mi-ink)!important;border-color:var(--mi-ink)!important;text-transform:uppercase!important;padding:0 24px!important}
.product-topbar{padding:12px 20px!important;box-shadow:none!important;border-bottom:1px solid #f0f0f0}
.product-topbar>strong,.product-topbar .topbar-title{font-size:24px!important;font-weight:600!important;line-height:30px}
.product-topbar .topbar-price{font-size:16px!important;font-weight:600!important}
.product-topbar .topbar-btn,.xaci-mobile-sticky-btn{background:var(--mi-ink)!important;border-color:var(--mi-ink)!important;color:#fff!important;border-radius:12px!important;min-height:36px!important;height:36px;padding:0 24px!important;font-size:15px!important;font-weight:500!important;text-transform:uppercase}
@media(max-width:767px){
  .woocommerce .single-shell div.product div.summary{padding:24px 16px!important}
  .woocommerce .single-shell div.product .summary>p.price,.woocommerce .single-shell div.product .summary>p.price .amount{font-size:24px!important}
  .product-topbar>strong,.product-topbar .topbar-title{font-size:16px!important}
  .product-topbar .topbar-btn{font-size:12px!important;padding:0 12px!important}
}

/* ---------- Recherche : panneau blanc, champ centré bordé (rayon 14), « Liens rapides » ---------- */
.xaci-search-dialog.xaci-search-dialog--simple{padding:32px 24px 48px!important;border-radius:0!important;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.xaci-search-dialog--simple .xaci-search-dialog-top,.xaci-search-dialog--simple .xaci-search-dialog-body{max-width:780px;margin-left:auto;margin-right:auto}
.xaci-search-dialog--simple .xaci-search-dialog-top{margin-bottom:40px!important}
.xaci-search-dialog--simple .xaci-search-pill{background:#fff!important;border:1px solid #dbdbdb!important;border-radius:14px!important;min-height:42px!important;padding:0 12px!important}
.xaci-search-dialog--simple .xaci-search-pill:focus-within{border-color:var(--mi-ink)!important;box-shadow:none!important}
.xaci-search-dialog--simple .xaci-search-icon svg{width:24px!important;height:24px!important}
.xaci-search-dialog--simple .xaci-search-input{font-size:18px!important}
.xaci-search-dialog--simple .xaci-quick-links-title{font-size:20px!important;font-weight:700!important;color:var(--mi-grey-4)!important;margin:0 0 24px 16px!important}
.xaci-search-dialog--simple .xaci-quick-links-list{gap:8px!important;padding-left:52px!important}
.xaci-search-dialog--simple .xaci-quick-links-list a{font-size:18px!important;line-height:22.5px;color:var(--mi-grey-4)!important;padding:6px 0!important}
.xaci-search-dialog--simple .xaci-quick-links-list a:hover{color:var(--mi-ink)!important}
@media(max-width:767px){
  .xaci-search-dialog.xaci-search-dialog--simple{padding:14px 16px 24px!important}
  .xaci-search-dialog--simple .xaci-search-dialog-top{margin-bottom:24px!important}
  .xaci-search-dialog--simple .xaci-search-input{font-size:16px!important}
  .xaci-search-dialog--simple .xaci-quick-links-title{font-size:16px!important;margin-left:0!important}
  .xaci-search-dialog--simple .xaci-quick-links-list{padding-left:0!important}
  .xaci-search-dialog--simple .xaci-quick-links-list a{font-size:16px!important}
}

/* ---------- Panier : étapes 30 px, panier vide, boutons rayon 8 ---------- */
.xaci-checkout-timeline{max-width:none!important;background:#fff;margin:0 0 32px!important;padding:26px 32px!important;justify-content:space-between}
.timeline-num{width:30px!important;height:30px!important;font-size:16px!important;font-weight:400!important;border-radius:50%;background:#d0d0d0!important;border-color:#d0d0d0!important;color:#fff!important}
.timeline-step.is-active .timeline-num,.timeline-step.is-done .timeline-num{background:var(--mi-ink)!important;border-color:var(--mi-ink)!important}
.timeline-label{font-size:16px!important;color:var(--mi-grey-3)!important}
.timeline-step.is-active .timeline-label{color:var(--mi-ink)!important}
.xaci-empty-cart-title{font-size:18px!important;font-weight:500!important;color:var(--mi-ink)!important;margin:16px 0 8px!important}
.xaci-empty-cart-subtitle{font-size:14px!important;color:var(--mi-grey-3)!important;margin:0 0 24px!important}
.xaci-empty-cart-actions{display:flex;gap:18px;justify-content:center;flex-wrap:wrap}
.xaci-cart-btn{display:inline-flex!important;align-items:center;justify-content:center;min-width:234px;min-height:40px!important;padding:10px 26px!important;border-radius:8px!important;font-size:14px!important;font-weight:400!important;text-decoration:none}
.xaci-cart-btn--buy{background:#fff!important;color:var(--mi-ink)!important;border:1px solid transparent!important}
.xaci-cart-btn--login{background:var(--mi-ink)!important;color:#fff!important;border:1px solid var(--mi-ink)!important}
.xaci-cart-divider span{font-size:12px!important;color:var(--mi-grey-2)!important}
.xaci-cart-products-grid .xaci-shelf-card,.xaci-cart-products-grid>*{background:#fff;border-radius:9px!important}
@media(max-width:767px){.xaci-cart-btn{min-width:0;flex:1}.xaci-checkout-timeline{padding:16px!important}.timeline-num{width:22px!important;height:22px!important;font-size:12px!important}.timeline-label{font-size:12px!important}}

/* ---------- Boutons génériques du thème ---------- */
.button--primary,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce #place_order{background:var(--mi-ink)!important;border-color:var(--mi-ink)!important;color:#fff!important;border-radius:12px!important;font-weight:500!important}

/* Ordre du prix comme mi.com : « Dès » · prix actuel · prix barré */
.product-price,.xaci-spotlight-price,.hero-price{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;column-gap:6px;row-gap:2px}
.hero-price{justify-content:flex-start}
.product-price .price-from,.xaci-spotlight-price .price-from,.hero-price .price-from{order:0}
.product-price ins,.xaci-spotlight-price ins,.hero-price ins{order:1}
.product-price del,.xaci-spotlight-price del,.hero-price del{order:2;margin-left:0!important}
.product-price .screen-reader-text,.xaci-spotlight-price .screen-reader-text,.hero-price .screen-reader-text{position:absolute}
.hero-price del{font-size:14px!important;font-weight:400!important;color:var(--mi-grey-2)!important}
.footer-links li{margin:0!important;padding:0!important}
/* Bannière mobile : texte centré au-dessus du produit, comme mi.com/fr */
@media(max-width:767px){
  .hero-copy{text-align:center}
  .hero-copy h2,.hero-description{margin-left:auto!important;margin-right:auto!important}
  .hero-actions{justify-content:center}
  .hero-price{justify-content:center}
  .hero .hero-copy h2{font-size:28px!important;line-height:1.2}
}

/* ======================= 3.2.0 — compléments mi.com/fr ======================= */

/* ---------- Méga-menu (ordinateur) : colonne 180 px, titres orange, cartes 219 × 311 #f7f8fa rayon 12 ---------- */
@media(min-width:1200px){
  .xaci-desktop-mega .mega-categories{border-right:0!important;padding:0 32px 0 0!important;width:180px;flex:0 0 180px}
  .xaci-desktop-mega .mega-category-parent-title{color:var(--mi-orange)!important;font-size:14px!important;font-weight:700!important;padding:0 10px 12px 0!important;text-transform:none!important}
  .xaci-desktop-mega .mega-category-choice{font-size:14px!important;color:var(--mi-ink)!important;background:transparent!important;padding:8px 0 8px 12px!important;border-radius:0!important;font-weight:400!important}
  .xaci-desktop-mega .mega-category-choice[aria-selected=true],.xaci-desktop-mega .mega-category-choice:hover{color:var(--mi-orange)!important;background:transparent!important}
  .xaci-desktop-mega .mega-grid{grid-template-columns:repeat(auto-fill,219px)!important;gap:20px!important}
  .xaci-desktop-mega .mega-grid .product-card{background:var(--mi-buy-bg)!important;border-radius:12px!important;min-height:311px;padding:0 0 16px!important;transform:none!important}
  .xaci-desktop-mega .mega-grid .product-card:hover{background:#eff1f4!important}
  .xaci-desktop-mega .mega-grid .product-card-image{height:223px!important;padding:40px 30px 24px;margin:0!important;box-sizing:border-box}
  .xaci-desktop-mega .mega-grid .product-card-image img{max-height:159px!important}
  .xaci-desktop-mega .mega-grid .product-card-title{font-size:12px!important;color:var(--mi-ink)!important;padding:0 14px;line-height:24px!important}
  .xaci-desktop-mega .mega-grid .product-price{display:none!important}
  .xaci-desktop-mega .mega-footer-actions{justify-content:flex-end;gap:12px}
  .xaci-desktop-mega .mega-action-link{border:1px solid #e0e0e0;border-radius:8px;padding:8px 16px;font-size:14px!important;color:var(--mi-ink)!important;background:#fff}
}

/* ---------- Bannières : flèches rondes sur les côtés, indicateurs en traits, pause à droite ---------- */
.hero .hero-controls{left:0!important;right:0!important;top:0;bottom:0!important;pointer-events:none;display:block!important}
.hero .hero-controls[hidden]{display:none!important}
.hero .hero-controls>*{pointer-events:auto}
.hero .hero-controls .hero-prev,.hero .hero-controls .hero-next{position:absolute;top:50%;transform:translateY(-50%);width:40px!important;height:40px!important;min-width:40px!important;padding:8px!important;border-radius:50%;background:rgba(0,0,0,.18)!important;color:#fff!important;margin:0!important}
.hero .hero-controls .hero-prev{left:32px}
.hero .hero-controls .hero-next{right:32px}
.hero .hero-controls .hero-prev:hover,.hero .hero-controls .hero-next:hover{background:rgba(0,0,0,.35)!important}
.hero .hero-dots{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);gap:8px!important}
.hero .hero-dots button{width:56px!important;min-height:20px!important;padding:0!important}
.hero .hero-dots button:after{height:3px!important;border-radius:2px;background:rgba(25,25,25,.18)!important}
.hero .hero-dots button[aria-pressed=true]:after{background:var(--mi-ink)!important}
.hero-slide.is-dark~.hero-controls .hero-dots button[aria-pressed=true]:after{background:#fff!important}
.hero .hero-controls [data-pause]{position:absolute;right:32px;bottom:12px;width:36px!important;height:36px!important;min-width:36px!important;background:transparent!important;color:var(--mi-ink)!important}
@media(max-width:767px){
  .hero .hero-controls .hero-prev,.hero .hero-controls .hero-next{display:none!important}
  .hero .hero-dots button{width:30px!important}
  .hero .hero-controls [data-pause]{right:12px}
}

/* ---------- Titres de carrousel : titre centré, flèches grises en haut à droite ---------- */
.mi-carousel-heading{position:relative;max-width:var(--mi-content);margin-left:auto!important;margin-right:auto!important}
.mi-carousel-arrows{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;gap:25px}
.mi-carousel-arrow{width:30px;height:30px;border-radius:50%;border:0;padding:0;display:inline-flex;align-items:center;justify-content:center;background:#d1d1d1;color:#fff;cursor:pointer}
.mi-carousel-arrow svg{width:16px;height:16px}
.mi-carousel-arrow:disabled{background:#e1e1e1;cursor:default}
.mi-carousel-arrow:not(:disabled):hover{background:var(--mi-ink)}
@media(max-width:767px){.mi-carousel-arrows{display:none}}

/* ---------- Offres exclusives : cartes blanches 379 px, rayon 16, image rayon 10 ---------- */
.mi-offers-track,.mi-explore-track{display:grid;grid-auto-flow:column;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;max-width:var(--mi-content);margin:0 auto;padding-bottom:4px}
.mi-offers-track::-webkit-scrollbar,.mi-explore-track::-webkit-scrollbar{display:none}
.mi-offers-track{grid-auto-columns:calc((100% - 40px)/3)}
.mi-offer-card{scroll-snap-align:start;display:flex;flex-direction:column;background:#fff;border-radius:16px;padding:16px 16px 24px;text-decoration:none;color:var(--mi-ink);text-align:center;min-height:396px}
.mi-offer-media{display:block;border-radius:10px;overflow:hidden;aspect-ratio:349/258;background:var(--mi-buy-bg)}
.mi-offer-media img{width:100%;height:100%;object-fit:cover;display:block}
.mi-offer-body{display:flex;flex-direction:column;gap:12px;padding:20px 8px 0}
.mi-offer-title{font-size:22px;line-height:27.5px;font-weight:700}
.mi-offer-text{font-size:16px;line-height:22px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:767px){
  .mi-offers-track{grid-auto-columns:82%;gap:12px}
  .mi-offer-card{min-height:0;padding:12px 12px 16px}
  .mi-offer-title{font-size:16px;line-height:20px}
  .mi-offer-text{font-size:14px;line-height:18px}
}

/* ---------- Explorer Xiaomi : carrousel, titre 18 px gras et sous-titre 16 px sous l'image ---------- */
.explore-section{background:transparent!important}
.mi-explore-track{grid-auto-columns:calc((100% - 40px)/3);max-width:none;padding:0 max(32px,calc((100% - var(--mi-content))/2))}
.mi-explore-card{scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--mi-ink)}
.mi-explore-media{display:block;border-radius:10px;overflow:hidden;aspect-ratio:16/10;background:#e2e2e2}
.mi-explore-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.mi-explore-card:hover .mi-explore-media img{transform:scale(1.03)}
.mi-explore-title{font-size:18px;line-height:23px;font-weight:700;margin-top:16px}
.mi-explore-text{font-size:16px;line-height:24px;color:#000}
@media(max-width:767px){.mi-explore-track{grid-auto-columns:82%;gap:12px;padding:0 16px}.mi-explore-title{font-size:16px}.mi-explore-text{font-size:14px;line-height:20px}}

/* ---------- Étiquette énergie miniature (cartes, vedette, méga-menu) ---------- */
.mi-energy-mini{display:inline-flex;vertical-align:middle;line-height:0;margin-top:6px}
.product-card .mi-energy-mini{display:flex;justify-content:center}
.xaci-spotlight-price .mi-energy-mini{margin:0 0 0 4px;order:3}

/* ---------- Fiche produit : colonne d'achat de 580 px collée à droite, liens de section dans la barre ---------- */
@media(min-width:1024px){
  .xaci-product-top-row{grid-template-columns:minmax(0,1fr) 580px!important;max-width:none!important;gap:0!important;padding:0!important;background:var(--mi-buy-bg)}
  .xaci-product-top-row .xaci-product-gallery-col{max-width:600px!important;margin:48px auto!important}
  .xaci-product-top-row .xaci-product-summary-col,.xaci-product-top-row div.summary{padding:48px!important;background:#fff!important}
}
.product-topbar{gap:32px!important}
.topbar-sections{display:flex;gap:40px;margin-right:auto}
.topbar-sections a{font-size:15px;line-height:18.75px;color:var(--mi-grey-2);text-decoration:none}
.topbar-sections a:hover{color:var(--mi-ink)}
@media(max-width:1023px){.topbar-sections{display:none}}

/* ---------- Pied de page : lettre d'information et plan du site ---------- */
.footer-newsletter{margin-top:24px}
.footer-newsletter h3{font-size:16px;line-height:20px;font-weight:700;color:#fff;margin:0 0 12px}
.footer-newsletter input[type=email],.footer-newsletter input[type=text]{width:100%;height:40px;background:transparent;border:1px solid rgba(255,255,255,.4);border-radius:12px;color:#fff;font-size:14px;padding:0 12px}
.footer-newsletter input::placeholder{color:rgba(255,255,255,.6)}
.footer-newsletter button,.footer-newsletter input[type=submit]{border-radius:12px;background:#fff;color:var(--mi-ink);border:0;height:40px;padding:0 16px;font-size:14px;margin-top:8px}
.footer-sitemap{color:#fff!important;font-size:14px;margin-left:24px;text-decoration:none}
.footer-sitemap:hover{text-decoration:underline}
.home-section.popular>*,.home-section.offers>*{max-width:var(--mi-content)!important}

/* ======================= 3.2.1 — listes de produits (boutique et catégories) façon mi.com/fr/product-list ======================= */
.xaci-shop-archive-shell{background:var(--mi-page)}
.xaci-shop-layout{max-width:none!important;grid-template-columns:320px minmax(0,1fr)!important;gap:16px!important;padding:16px 16px 80px 20px}
.mi-breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;line-height:24px;color:#757575;margin:0 0 16px}
.mi-breadcrumbs a{color:#757575;text-decoration:none}
.mi-breadcrumbs a:hover{color:var(--mi-ink)}
.mi-breadcrumbs [aria-current]{color:var(--mi-ink)}
.xaci-shop-sidebar-title a{font-size:24px!important;font-weight:700!important}
.xaci-shop-filter-summary{font-size:18px!important;line-height:23px;font-weight:700!important;padding:16px 0!important}
.xaci-shop-check-label{font-size:16px!important;line-height:20px;color:var(--mi-ink)}
.xaci-shop-ordering-wrap select,.xaci-shop-orderby-select{font-size:14px!important;color:var(--mi-grey-2)!important}
.xaci-shop-count-box{font-size:14px;color:var(--mi-grey-2)}
.xaci-shop-products-grid{gap:16px!important}
.xaci-shop-product-card{border-radius:12px!important;box-shadow:none!important}
.xaci-shop-product-card:hover{transform:none!important;box-shadow:0 4px 16px rgba(0,0,0,.06)!important}
.xaci-shop-card-info{padding:24px 24px 28px!important}
.xaci-shop-card-title{font-size:20px!important;line-height:25px!important;min-height:0!important}
.xaci-shop-card-price{font-size:14px}
.xaci-shop-card-price ins,.xaci-shop-card-price>.woocommerce-Price-amount,.xaci-shop-card-price .price-from+.woocommerce-Price-amount{font-size:18px;font-weight:600;color:var(--mi-ink);text-decoration:none}
.xaci-shop-card-price del{font-size:14px;color:var(--mi-grey-2)}
.xaci-shop-card-action:not(:has(.is-soldout)){display:none!important}
@media(max-width:1023px){.xaci-shop-layout{padding:12px 16px 48px}.xaci-shop-card-info{padding:16px!important}.xaci-shop-card-title{font-size:16px!important;line-height:20px!important}}

/* ---------- Menu mobile (tiroir) : rubriques 17 px demi-gras, liens 15 px, accordéons 14 px gris ---------- */
@media(max-width:1199px){
  .main-navigation .nav-boutique-link,.main-navigation .mega-item>summary{font-size:17px!important;font-weight:600!important;line-height:21.25px!important;min-height:48px!important;padding:13px 0!important;color:var(--mi-ink)!important}
  .main-navigation .nav-secondary-link,.main-navigation .header-links a{font-size:15px!important;font-weight:400!important;min-height:48px!important;color:var(--mi-ink)!important}
  .xaci-mobile-accordion summary,.xaci-mobile-accordion summary span{font-size:14px!important;font-weight:400!important;color:var(--mi-grey-1)!important;letter-spacing:0!important}
}

/* ---------- Bandeau d'information gris (variante mi.com) ---------- */
.announcement.is-grey{background:#e8e8e8!important;color:var(--mi-grey-2)!important}
.announcement.is-grey a,.announcement.is-grey span,.announcement.is-grey .icon-button{color:var(--mi-grey-2)!important}
@media(min-width:1024px){.xaci-shop-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
.xaci-shop-card-media,.xaci-shop-card-img-wrap{background:#fff!important}
.xaci-shop-card-info{text-align:left!important}
.xaci-shop-card-price{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:6px;justify-content:flex-start}
.xaci-shop-card-price .price-from{order:0;color:var(--mi-grey-1)}
.xaci-shop-card-price ins{order:1}
.xaci-shop-card-price del{order:2}
.xaci-shop-card-energy{margin-top:6px}
.xaci-shop-card-title{text-align:left!important}

/* ======================= 3.4.0 — Mi Exchange et Xiaomi Care (fiche produit, mesures mi.com /buy/) ======================= */
.mi-buy-section{margin:32px 0 0}
.mi-buy-section-title{font-size:22px;line-height:27.5px;font-weight:700;color:var(--mi-ink);margin:0 0 16px}
.mi-buy-section-title a{color:inherit;text-decoration:none}
.mi-service-card,.mi-care-option{display:flex;align-items:flex-start;gap:16px;width:100%;background:#fff;border:0;border-radius:12px;box-shadow:inset 0 0 0 1px var(--mi-line);padding:24px 24px 24px 20px;text-align:left;color:var(--mi-ink);text-decoration:none;cursor:pointer;font:inherit}
.mi-service-card:hover,.mi-care-option:hover{box-shadow:inset 0 0 0 1px #999}
.mi-care-option[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--mi-orange)}
.mi-service-icon{flex:0 0 32px;width:32px;height:32px;color:var(--mi-ink)}
.mi-service-main,.mi-care-main{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.mi-service-header{font-size:15px;font-weight:500}
.mi-service-label{font-size:12px;color:var(--mi-grey-3);line-height:1.4}
.mi-service-arrow{align-self:center;color:var(--mi-grey-4)}
.mi-service-arrow svg{width:16px;height:16px}
.mi-care-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:13px}
.mi-care-name{font-size:15px;font-weight:500;line-height:19px}
.mi-care-period{font-size:12px;color:var(--mi-grey-3)}
.mi-care-price,.mi-care-price .amount{font-size:16px;font-weight:700}
.mi-care-points{display:flex;flex-direction:column;gap:8px;margin-top:10px;padding-top:12px;border-top:1px solid #f0f0f0}
.mi-care-points span{font-size:12px;line-height:18px;position:relative;padding-left:12px}
.mi-care-points span:before{content:"";position:absolute;left:0;top:7px;width:4px;height:4px;border-radius:50%;background:var(--mi-ink)}

/* ======================= 3.4.1 — corrections relevées sur xiaomiabidjan.ci en ligne ======================= */
.hero .hero-controls .hero-prev,.hero .hero-controls .hero-next{height:40px!important;min-height:40px!important;max-height:40px!important}
.xaci-popular-box .xaci-spotlight-btn{min-height:0!important;height:32px!important;line-height:32px}
.offers .xaci-popular-box .product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important}
.offers .xaci-popular-box .product-grid>.product-card{flex:none!important;min-width:0}
@media(max-width:767px){.offers .xaci-popular-box .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}}
.xaci-shop-card-info{align-items:flex-start!important}
.xaci-shop-card-price{justify-content:flex-start!important}
.xaci-shop-filter-link{display:block;font-size:18px;line-height:23px;font-weight:700;color:var(--mi-ink);text-decoration:none;padding:16px 0;border-bottom:1px solid #ececec}
.xaci-shop-filter-link:hover,.xaci-shop-filter-link.is-current{color:var(--mi-orange)}
.xaci-cart-btn{height:40px!important;min-height:40px!important}

/* Options de produit (extension WooCommerce Product Add-Ons) présentées comme les options mi.com */
.single-shell .wc-pao-addon-container{margin:32px 0 0}
.single-shell .wc-pao-addon-name{font-size:22px!important;line-height:27.5px!important;font-weight:700!important;color:var(--mi-ink)!important;margin:0 0 16px!important}
.single-shell .wc-pao-addon-name .required,.single-shell .wc-pao-legend .required{font-size:inherit;color:var(--mi-orange)}
.single-shell .wc-pao-addon-image-swatch{display:inline-flex!important;align-items:center;justify-content:center;width:84px!important;height:84px!important;padding:8px!important;margin:0 12px 12px 0!important;background:#fff!important;border:0!important;border-radius:12px!important;box-shadow:inset 0 0 0 1px var(--mi-line)!important;opacity:1!important}
.single-shell .wc-pao-addon-image-swatch img{max-width:100%;max-height:100%;border-radius:8px;object-fit:contain}
.single-shell .wc-pao-addon-image-swatch.selected{box-shadow:inset 0 0 0 1px var(--mi-orange)!important}
.single-shell .wc-pao-addon-image-swatch-selected-swatch{display:block;font-size:13px;font-weight:700;color:var(--mi-ink)}
.single-shell .product-addon-totals{border:0!important;margin:24px 0 0!important;padding:16px 0 0!important;border-top:1px solid #f0f0f0!important}
.single-shell .product-addon-totals ul{margin:0;padding:0}
.single-shell .product-addon-totals li{font-size:14px!important;line-height:20px;padding:4px 0!important;border:0!important}
.single-shell .product-addon-totals strong,.single-shell .product-addon-totals .amount{font-size:14px!important;font-weight:500!important;color:var(--mi-ink)!important}
.single-shell .product-addon-totals .wc-pao-subtotal-line{padding-top:8px!important}
.single-shell .product-addon-totals .wc-pao-subtotal-line .price,.single-shell .product-addon-totals .wc-pao-subtotal-line .price .amount{font-size:16px!important;font-weight:700!important;color:var(--mi-ink)!important;line-height:20px!important}

/* ======================= 3.4.2 — panier et commande (mesures du panier mi.com/fr) ======================= */
.xaci-cart-select-bar,.xaci-cart-items-list,.xaci-cart-summary-card,.xaci-cart-sidebar>div{border-radius:9px!important}
.xaci-cart-select-bar{font-size:12px!important;color:#8c8c8c!important;padding:9px 18px!important}
.xaci-cart-item-card{padding:18px!important}
.xaci-item-image-col,.xaci-item-thumb-link{width:110px!important;height:110px!important;flex:0 0 110px}
.xaci-cart-thumb-img{border-radius:6px}
.xaci-item-title,.xaci-item-title a{font-size:16px!important;font-weight:400!important;line-height:21px!important;color:var(--mi-ink)!important}
.xaci-cart-summary-card{padding:18px!important}
.xaci-cart-summary-card .xaci-total-row .xaci-row-label{font-size:20px!important;font-weight:500!important}
.xaci-cart-summary-card .xaci-total-val,.xaci-cart-summary-card .xaci-total-val .amount{font-size:20px!important;font-weight:600!important;color:var(--mi-orange)!important}
.xaci-cart-summary-card .xaci-summary-row:not(.xaci-total-row) .xaci-row-label,.xaci-cart-summary-card .xaci-summary-row:not(.xaci-total-row) .xaci-row-value{font-size:16px!important;color:var(--mi-ink)!important}
.xaci-cart-primary-btn{height:40px!important;min-height:40px!important;padding:10px 18px!important;border-radius:8px!important;font-size:14px!important;font-weight:400!important;background:var(--mi-ink)!important;display:flex!important;align-items:center;justify-content:center}
.xaci-mobile-sticky-btn--orange{background:var(--mi-ink)!important}
.xaci-mobile-sticky-price--orange,.xaci-mobile-sticky-price--orange .amount{color:var(--mi-orange)!important}
/* Services sous l'appareil (Mi Exchange, Xiaomi Care) */
.mi-cart-services{margin-top:12px;background:#f7f8fa;border-radius:8px;padding:4px 16px}
.mi-cart-service{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px 0}
.mi-cart-service+.mi-cart-service{border-top:1px solid #eceef1}
.mi-cart-service-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.mi-cart-service-main strong{font-size:14px;font-weight:500;color:var(--mi-ink)}
.mi-cart-service-main span,.mi-cart-service-main .amount{font-size:12px;color:var(--mi-grey-3);line-height:1.4}
.mi-cart-service-action{flex:0 0 auto;font-size:12px;color:var(--mi-ink);text-decoration:none;white-space:nowrap}
.mi-cart-service-action:hover{color:var(--mi-orange)}
/* Commande : séparateur « OU » et bouton WhatsApp (jamais mis en forme auparavant) */
.xaci-wa-separator-row{display:flex!important;align-items:center;gap:12px;margin:16px 0}
.xaci-wa-divider-line{flex:1;height:1px;background:#e0e0e0;display:block!important}
.xaci-wa-divider-text{font-size:12px;color:var(--mi-grey-3);letter-spacing:.5px}
.xaci-btn-whatsapp-order{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%!important;height:40px!important;min-height:40px!important;border-radius:8px!important;background:#fff!important;color:var(--mi-ink)!important;box-shadow:inset 0 0 0 1px var(--mi-ink)!important;border:0!important;font-size:14px!important;font-weight:500!important}
.xaci-btn-whatsapp-order svg{color:#25d366}
.xaci-btn-whatsapp-order:hover{background:#f7f7f7!important}
.woocommerce-checkout #place_order{height:40px!important;min-height:40px!important;border-radius:8px!important;font-size:14px!important;font-weight:500!important}
/* Détails d'article (variantes, cadeaux) : discrets comme sur mi.com */
.xaci-cart-item-card dl.variation,.xaci-cart-item-card .wc-item-meta,.woocommerce-checkout-review-order dl.variation{margin:6px 0 8px!important;font-size:12px!important;line-height:18px;color:var(--mi-grey-3)!important;display:flex;flex-wrap:wrap;gap:0 4px}
.xaci-cart-item-card dl.variation dt,.xaci-cart-item-card dl.variation dd,.woocommerce-checkout-review-order dl.variation dt,.woocommerce-checkout-review-order dl.variation dd{margin:0!important;padding:0!important;font-size:12px!important;font-weight:400!important;float:none!important}
.xaci-cart-item-card dl.variation dd p,.woocommerce-checkout-review-order dl.variation dd p{margin:0!important;display:inline}
.xaci-mobile-sticky-bar--cart .xaci-mobile-sticky-btn{text-transform:none!important;font-size:14px!important}
@media(max-width:767px){
  .xaci-checkout-timeline{gap:6px;padding:12px 10px!important}
  .xaci-checkout-timeline .timeline-line{min-width:12px;flex:1 1 12px}
  .xaci-checkout-timeline .timeline-label{font-size:11px!important;white-space:normal;line-height:1.2;max-width:84px}
  .xaci-item-image-col,.xaci-item-thumb-link{width:80px!important;height:80px!important;flex:0 0 80px}
  .xaci-item-title,.xaci-item-title a{font-size:14px!important;line-height:18px!important}
}
