/* ===========================================================================
   STYLE — Mobikes
   Composants réutilisables + styles spécifiques aux pages.

   TABLE DES MATIÈRES
     1. COMPOSANTS (réutilisés partout)
        1.1  Header / navigation desktop
        1.2  Menu mobile (volet overlay)
        1.3  Liens sociaux
        1.4  Boutons
        1.5  Cartes / thumbnails produits
        1.6  Menu de catégories
        1.7  Footer
        1.8  Intro de page
     2. PAGES (spécifique à un template)
        2.1  Home (front) — hero
        2.2  Produits — grille
        2.3  Fiche produit — galerie + infos
        2.4  Carrousel produit
        2.5  Détail produit — zone grise + onglets
   =========================================================================== */


/* ###########################################################################
   1. COMPOSANTS
   ######################################################################### */

/* ---------------------------------------------------------------------------
   1.1  HEADER / NAVIGATION DESKTOP
--------------------------------------------------------------------------- */
.mobikes-theme .navbar {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-block: 1.25rem;
    padding-inline: var(--site-outer-margin);   /* pleine largeur, contenu inséré */
    background: var(--green);                    /* barre verte pleine largeur */
    color: #fff;
    position: relative;
    z-index: var(--z-header);
}
.mobikes-theme .navbar__logo {
    margin-right: auto;
    display: inline-flex;
    align-items: center;
}
.mobikes-theme .navbar__logo img { height: 2.75rem; width: auto; display: block; }

/* Liens de nav en blanc par-dessus le vert */
.mobikes-theme .navbar__nav a { color: #fff; }
.mobikes-theme .navbar :focus-visible { outline-color: #fff; }

.mobikes-theme .navbar__nav ul {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobikes-theme .navbar__nav a {
    display: inline-grid;
    font-size: 1.125rem;        
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.2;
    transition: font-weight 0.15s ease;
}
.mobikes-theme .navbar__nav a > span { grid-area: 1 / 1; }
.mobikes-theme .navbar__nav a::after {
    content: attr(data-label);
    grid-area: 1 / 1;
    font-weight: 700;
    visibility: hidden;
}
.mobikes-theme .navbar__nav a:hover,
.mobikes-theme .navbar__nav a:focus-visible,
.mobikes-theme .navbar__nav li.active > a { font-weight: 700; }
.mobikes-theme .navbar__nav .submenu { display: none; }


.mobikes-theme .navbar__social { margin-left: 1.75rem; }
.mobikes-theme .navbar__social .social-links__link { color: #fff; }

/* Bouton MENU / FERMER — masqué en desktop, affiché sous 992px */
.mobikes-theme .navbar__toggle {
    display: none;
    margin-left: auto;
    background: none;
    border: none;
    padding: 0.25rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    z-index: var(--z-header);
}

/* ---------------------------------------------------------------------------
   1.2  MENU MOBILE (volet overlay)
--------------------------------------------------------------------------- */
.mobikes-theme .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: var(--z-menu-overlay);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: calc(var(--section-py) + 4rem) var(--site-outer-margin) var(--section-py);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12%);
    pointer-events: none;
    background: var(--green);
    color: #fff;
    transition: transform 0.3s var(--ease-out), opacity 0.2s ease-out,
                visibility 0s linear 0.3s;
}
.mobikes-theme .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: transform 0.35s var(--ease-out), opacity 0.2s ease-out,
                visibility 0s linear 0s;
}

/* La nav occupe l'espace disponible et centre ses liens verticalement ;
   le switch langue reste en bas. */
.mobikes-theme .mobile-menu__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mobikes-theme .mobile-menu__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.mobikes-theme .mobile-menu__nav li { border-top: 1px solid rgba(255, 255, 255, 0.22); }
.mobikes-theme .mobile-menu__nav li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.mobikes-theme .mobile-menu__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 7vw, 2.75rem);
    line-height: 1.1;
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity 0.25s ease, transform 0.3s var(--ease-out);
}
.mobikes-theme .mobile-menu__nav .submenu { display: none; }

/* Révélation en cascade quand le volet s'ouvre */
.mobikes-theme .mobile-menu.is-open .mobile-menu__nav a {
    opacity: 1;
    transform: translateY(0);
}
.mobikes-theme .mobile-menu.is-open li:nth-child(1) a { transition-delay: 0.06s; }
.mobikes-theme .mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.10s; }
.mobikes-theme .mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.14s; }
.mobikes-theme .mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.18s; }
.mobikes-theme .mobile-menu.is-open li:nth-child(5) a { transition-delay: 0.22s; }
.mobikes-theme .mobile-menu.is-open li:nth-child(6) a { transition-delay: 0.26s; }

.mobikes-theme .mobile-menu__social { padding-top: 1rem; }
.mobikes-theme .mobile-menu__social .social-links__link { color: #fff; }

/* Verrou de défilement quand le volet est ouvert (global fonctionnel) */
body.menu-open { overflow: hidden; }

/* Bascule desktop ⇄ mobile à 992px */
@media (max-width: 992px) {
    .mobikes-theme .navbar { grid-template-columns: 1fr auto; }
    .mobikes-theme .navbar__nav,
    .mobikes-theme .navbar__social { display: none; }
    .mobikes-theme .navbar__toggle { display: inline-block; }
}
@media (min-width: 993px) {
    .mobikes-theme .mobile-menu { display: none; }
}

/* ---------------------------------------------------------------------------
   1.3  LIENS SOCIAUX  (bloc social_links, gabarit "nav_inline")
--------------------------------------------------------------------------- */
.mobikes-theme .social-links {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobikes-theme .social-links__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    opacity: 0.65;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobikes-theme .social-links__link:hover,
.mobikes-theme .social-links__link:focus-visible { opacity: 1; transform: translateY(-2px); }
.mobikes-theme .social-links__icon {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    fill: currentColor;
}
/* Repli texte quand l'icône n'existe pas pour un service */
.mobikes-theme .social-links__label { font-size: var(--fs-100); letter-spacing: 0.04em; }

/* Version agrandie dans le volet mobile */
.mobikes-theme .mobile-menu__social .social-links { gap: 1.25rem; }
.mobikes-theme .mobile-menu__social .social-links__icon { width: 1.5rem; height: 1.5rem; }

/* ---------------------------------------------------------------------------
   1.4  BOUTONS
--------------------------------------------------------------------------- */
.mobikes-theme .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    font-size: var(--fs-100);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--green);
    background: var(--green);
    color: #fff;
    cursor: pointer;
    /* translate3d dès l'état de repos → couche de composition stable, évite le
       recalcul d'antialiasing (décalage ~1px du texte) au survol. */
    transform: translate3d(0, 0, 0);
    transition: transform 0.25s var(--ease-out), background 0.25s ease,
                border-color 0.25s ease, color 0.25s ease;
}
.mobikes-theme .btn:hover {
    transform: translate3d(0, -2px, 0);
    background: var(--green-dark);
    border-color: var(--green-dark);
}
.mobikes-theme .btn--ghost {
    background: transparent;
    color: var(--ink);
}
.mobikes-theme .btn--ghost:hover { background: var(--ink); color: var(--bg); }

/* Primary — bouton plein (vert de marque) */
.mobikes-theme .btn--primary {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}
.mobikes-theme .btn--primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

/* Secondary — bouton contour (couleur héritée du contexte : encre sur clair).
   SOURCE UNIQUE du rendu contour : couvre à la fois notre classe BEM .btn--outline
   ET les classes du bloc bouton du core (façon Bootstrap : btn-outline, btn-outline-,
   btn-outline-primary…, via [class*="btn-outline"]). Les deux sont donc identiques
   par construction, jamais par coïncidence. */
.mobikes-theme .btn--outline,
.mobikes-theme [class*="btn-outline"] {
    background: transparent;
    border-color: currentColor;
    color: var(--ink);
}
.mobikes-theme .btn--outline:hover,
.mobikes-theme [class*="btn-outline"]:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
}

/* ---------------------------------------------------------------------------
   1.5  CARTES / THUMBNAILS PRODUITS
   Style portfolio : vignette + zoom léger au survol.
--------------------------------------------------------------------------- */
.mobikes-theme .produit-card { display: block; }
.mobikes-theme .produit-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--surface);
}
.mobikes-theme .produit-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.mobikes-theme .produit-card:hover .produit-card__media img { transform: scale(1.05); }
.mobikes-theme .produit-card__body {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-top: 1rem;
}
.mobikes-theme .produit-card__title { font-size: var(--fs-400); }
.mobikes-theme .produit-card__meta { font-size: var(--fs-100); color: var(--muted); }

/* ---------------------------------------------------------------------------
   1.6  MENU DE CATÉGORIES
   Filtres en pastilles (pills) contournées — remplissage au survol / actif.
--------------------------------------------------------------------------- */
.mobikes-theme .category-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobikes-theme .category-menu__header { display: none; } /* titre du block masqué */
.mobikes-theme .category-menu__link {
    display: inline-block;
    padding: 0.4rem 1.4rem;
    font-family: var(--font-body);   /* Teachers (comme la maquette) */
    font-size: var(--fs-100);        /* 14px */
    font-weight: 400;
    letter-spacing: 0.03em;          /* 3% */
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}
.mobikes-theme .category-menu__link:hover,
.mobikes-theme .category-menu__link:focus-visible,
.mobikes-theme .category-menu__link.active {
    background: var(--ink);
    color: var(--bg);
}

/* ---------------------------------------------------------------------------
   1.7  FOOTER
--------------------------------------------------------------------------- */

.mobikes-theme .pre__footer {
    margin-top: 80px;
}
.front .mobikes-theme .pre__footer,
.produits .mobikes-theme .pre__footer {
    margin-top: 0;
}
.mobikes-theme .footer {
    background: var(--green);
    color: var(--bg);
    padding: clamp(3rem, 5vw, 5rem) var(--site-outer-margin) 1.5rem;
}
.mobikes-theme .footer__top {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(2rem, 3vw, 3rem);
    border-bottom: 1px solid rgba(244, 241, 234, 0.12);
}
.mobikes-theme .footer__col p + ul { margin-top: 1rem; }
.mobikes-theme .footer__hours {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.mobikes-theme .footer__hours li {
    display: flex;
    gap: 0.75rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.94);
}
.mobikes-theme .footer__hours li span:first-child { min-width: 5.5rem; }
.mobikes-theme .footer__hours li span:last-child { white-space: nowrap; }
.mobikes-theme .footer__logo { display: inline-flex; }
.mobikes-theme .footer__logo img { height: 3.5rem; width: auto; display: block; }
.mobikes-theme .footer__brand p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    max-width: 290px;
    margin-top: 1.2rem;
}
.mobikes-theme .footer__col h4 {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 1.2rem;
}
.mobikes-theme .footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.mobikes-theme .footer__col a,
.mobikes-theme .footer__col p {
    font-size: 1rem;
    color: #fff;
    margin: 0;
}
.mobikes-theme .footer__col a { transition: color 0.2s ease; }
.mobikes-theme .footer__col a:hover { color: var(--bg); }
.mobikes-theme .footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.94);
}
.mobikes-theme .footer__contact-item svg { flex-shrink: 0; opacity: 0.7; }
.mobikes-theme .footer__contact-item a:hover { color: var(--bg); }
.mobikes-theme .footer__bottom {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.94);
    flex-wrap: wrap;
    gap: 1rem;
}
.mobikes-theme .footer__bottom a { color: rgba(255, 255, 255, 0.94); transition: color 0.2s ease; }
.mobikes-theme .footer__bottom a:hover { color: var(--bg); }
.mobikes-theme .footer__bottom-links { display: flex; gap: 1.5rem; align-items: center; }
.mobikes-theme .oxicopywrite { display: inline-flex; align-items: center; gap: 0.4rem; }
.mobikes-theme .oxicopywrite img { height: 0.85rem; width: auto; margin-top: -3px; }

@media (max-width: 760px) {
    .mobikes-theme .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
    .mobikes-theme .footer__bottom { flex-direction: column; align-items: flex-start; }
    .mobikes-theme .footer__bottom-links { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

/* ---------------------------------------------------------------------------
   1.8  INTRO DE PAGE (description)
--------------------------------------------------------------------------- */
.mobikes-theme .page-intro {
    padding-block: 2rem;
    font-size: var(--fs-400);
    color: var(--muted);
    max-width: 65ch;
}


/* ###########################################################################
   2. PAGES
   ######################################################################### */

/* ---------------------------------------------------------------------------
   2.0  ESPACE HAUT DE CONTENU
   Toutes les pages SAUF la home ont un espace entre la nav et le contenu
   (le hero de la home gère son propre haut, à ras).
--------------------------------------------------------------------------- */
.mobikes-theme #main { padding-top: clamp(3.5rem, 6vw, 6rem); }
body.front .mobikes-theme #main { padding-top: 0; }

/* ---------------------------------------------------------------------------
   2.1  HOME (front) — HERO plein cadre
   Zone image éditable ("Home hero slider") en fond + overlay dégradé + texte
   de description (champ Page) par-dessus, ancré en bas.
--------------------------------------------------------------------------- */
.mobikes-theme .home-hero {
    position: relative;
    display: grid;
    align-content: end;
    min-height: min(85vh, 760px);
    overflow: hidden;
}
.mobikes-theme .home-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--surface);
}
/* Le bloc Image (ou Slider) Concrete remplit toute la zone */
.mobikes-theme .home-hero-image > div,
.mobikes-theme .home-hero-image figure,
.mobikes-theme .home-hero-image picture {
    position: absolute;
    inset: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}
.mobikes-theme .home-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mobikes-theme .home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.30) 0%,
        rgba(0, 0, 0, 0.10) 45%,
        rgba(0, 0, 0, 0.60) 100%);
}
.mobikes-theme .home-hero-content {
    position: relative;
    z-index: 3;
    padding-block: clamp(2rem, 7vw, 8rem);
    color: #fff;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
/* Contenu libre du hero (bloc CKEditor : titre + texte + boutons), tout en blanc */
.mobikes-theme .home-hero-content :where(h1, h2, h3, h4, p, ul, li, a:not(.btn)) { color: #fff; }
.mobikes-theme .home-hero-content :where(h1, h2, h3) {
    max-width: 20ch;
    line-height: 1.08;
    text-wrap: balance;
}
/* Taille + marge bas du titre hero = celles du .lead d'origine (avant, via champ description) */
.mobikes-theme .home-hero-content h1 {
    font-size: clamp(1.9rem, 4.2vw, 3.5rem);
    letter-spacing: 0.01em;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.mobikes-theme .home-hero-content p { max-width: 46ch; }
/* Boutons CTA ajoutés dans le CKEditor du hero */
.mobikes-theme .home-hero-content .btn {
    margin: 0.4rem 0.75rem 0.4rem 0;
    text-shadow: none;
    vertical-align: middle;
}
.mobikes-theme .home-hero-content .btn--outline,
.mobikes-theme .home-hero-content [class*="btn-outline"] { color: #fff; border-color: #fff; }
.mobikes-theme .home-hero-content .btn--outline:hover,
.mobikes-theme .home-hero-content [class*="btn-outline"]:hover {
    background: #fff;
    border-color: #fff;
    color: var(--green);
}

@media (max-width: 768px) {
    .mobikes-theme .home-hero { min-height: 70vh; }
}

/* ---------------------------------------------------------------------------
   2.2  PRODUITS — LISTE (bloc page_list, gabarit "produits_grid")
--------------------------------------------------------------------------- */
.mobikes-theme .produits-list {
    --produits-cols: 4;
    --produits-gap: clamp(1rem, 2.5vw, 2.5rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;           
    gap: var(--produits-gap);
}
/* Fondu léger pendant le remplacement AJAX (filtre catégories) */
.mobikes-theme .produits-list.is-loading { opacity: 0.45; transition: opacity 0.15s ease; }
.mobikes-theme .produit-thumb {
    flex: 0 0 calc((100% - (var(--produits-cols) - 1) * var(--produits-gap)) / var(--produits-cols));
    max-width: calc((100% - (var(--produits-cols) - 1) * var(--produits-gap)) / var(--produits-cols));
}
.mobikes-theme .produit-thumb__media {
    display: block;
    overflow: hidden;
    background: var(--surface);
    /* Boîte à ratio déterministe (= ratio du thumbnail 1000×680) : évite la
       hauteur sous-pixel de height:auto qui faisait vibrer le scale sur Firefox. */
    aspect-ratio: 1000 / 680;
    isolation: isolate;             /* contexte de composition stable pour le clip */
}
.mobikes-theme .produit-thumb__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transform-origin: center;
    /* Courbe douce et symétrique (entrée = sortie), sans à-coup. will-change +
       boîte à ratio fixe → Firefox compose une couche GPU (scale fluide, plus de
       re-rastérisation « crispée »). */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    backface-visibility: hidden;
}
/* Léger zoom au survol (clippé par overflow:hidden du média). */
.mobikes-theme .produit-thumb:hover .produit-thumb__media img,
.mobikes-theme .produit-thumb:focus-visible .produit-thumb__media img {
    transform: scale(1.02);
}
.mobikes-theme .produit-thumb__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding-top: 0.85rem;
    text-align: center;
    line-height: 1.3;
}
.mobikes-theme .produit-thumb__title { font-size: var(--fs-200); font-weight: 500; }
.mobikes-theme .produit-thumb__meta { font-size: var(--fs-100); color: var(--muted); }

/* Colonnes responsives */
@media (max-width: 992px) { .mobikes-theme .produits-list { --produits-cols: 3; } }
@media (max-width: 680px) { .mobikes-theme .produits-list { --produits-cols: 2; } }
@media (max-width: 420px) { .mobikes-theme .produits-list { --produits-cols: 1; } }

/* ---------------------------------------------------------------------------
   2.3  FICHE PRODUIT — haut de page (galerie + infos)
--------------------------------------------------------------------------- */
.mobikes-theme .produit-fiche {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
@media (max-width: 860px) {
    .mobikes-theme .produit-fiche { grid-template-columns: 1fr; gap: 2rem; }
}

/* Colonne droite : infos */
.mobikes-theme .produit-fiche__infos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.mobikes-theme .produit-fiche__cats {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    font-family: var(--font-body);
    font-size: var(--fs-100);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.mobikes-theme .produit-fiche__cat { display: inline; }
.mobikes-theme .produit-fiche__cat:not(:last-child)::after { content: " · "; }
.mobikes-theme .produit-fiche__title {
    font-size: var(--fs-600);
    line-height: 1.02;
    letter-spacing: 0.01em;
    text-wrap: balance;
}
.mobikes-theme .produit-fiche__subtitle {
    margin-top: 0.35rem;
    margin-bottom: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-500);
    line-height: 1.1;
    color: var(--ink);
    text-wrap: balance;
}
.mobikes-theme .produit-fiche__prix {
    margin-top: 0.9rem;
    margin-bottom: 0;
    font-family: var(--font-display);
    font-size: var(--fs-500);
    color: var(--ink);
}
.mobikes-theme .produit-fiche__intro {
    margin-top: 1.25rem;
    max-width: 46ch;
}
.mobikes-theme .produit-fiche__intro > *:first-child { margin-top: 0; }

/* Avantages répétés (✓) — zone globale */
.mobikes-theme .produit-fiche__avantages { margin-top: 1.5rem; width: 100%; }
.mobikes-theme .produit-fiche__avantages ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.mobikes-theme .produit-fiche__avantages li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--ink);
}
.mobikes-theme .produit-fiche__avantages li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 1.1rem;
    height: 1.1rem;
    background: var(--ink);
    -webkit-mask: no-repeat center / 0.7rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    mask: no-repeat center / 0.7rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.mobikes-theme .produit-fiche__cta {
    margin-top: 2rem;
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}
.mobikes-theme .produit-fiche__cta:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}
@media (max-width: 860px) {
    .mobikes-theme .produit-fiche__cta { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------------------
   2.4  CARROUSEL PRODUIT (bloc Image Slider, gabarit "produit_carousel")
--------------------------------------------------------------------------- */
.mobikes-theme .produit-carousel__viewport {
    position: relative;
    overflow: hidden;
    background: var(--surface);
}
.mobikes-theme .produit-carousel__track {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.45s var(--ease-out);
    will-change: transform;
}
.mobikes-theme .produit-carousel__slide {
    flex: 0 0 100%;
    min-width: 0;
}
.mobikes-theme .produit-carousel__slide img {
    width: 100%;
    height: auto;
    display: block;
}
.mobikes-theme .produit-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--bg);
    color: var(--ink);
    box-shadow: 0 2px 10px rgba(22, 19, 15, 0.12);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.mobikes-theme .produit-carousel__arrow:hover { transform: translateY(-50%) scale(1.06); }
.mobikes-theme .produit-carousel__arrow--prev { left: 0.75rem; }
.mobikes-theme .produit-carousel__arrow--next { right: 0.75rem; }
.mobikes-theme .produit-carousel__arrow svg { width: 1.25rem; height: 1.25rem; }

.mobikes-theme .produit-carousel__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}
.mobikes-theme .produit-carousel__thumb {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}
.mobikes-theme .produit-carousel__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mobikes-theme .produit-carousel__thumb:hover { opacity: 0.85; }
.mobikes-theme .produit-carousel__thumb.is-active {
    opacity: 1;
    border-color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
    .mobikes-theme .produit-carousel__track { transition: none; }
    .mobikes-theme .produit-carousel__arrow { transition: none; }
    .mobikes-theme .produit-carousel__arrow:hover { transform: translateY(-50%); }
}

/* ---------------------------------------------------------------------------
   2.5  DÉTAIL PRODUIT — zone grise + onglets (Description / Caractéristiques)
   Barre d'onglets adaptée de transitions.dev (tabs sliding) aux tokens du thème.
--------------------------------------------------------------------------- */
.mobikes-theme .produit-detail { background: var(--surface); }

.mobikes-theme .produit-tabs__bar {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(22, 19, 15, 0.06);
}
.mobikes-theme .produit-tabs__tab {
    position: relative;
    z-index: 1;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0.55rem 1.4rem;
    font-family: var(--font-display);
    font-size: var(--fs-200);
    color: var(--muted);
    cursor: pointer;
    border-radius: 999px;
    transition: color 0.25s var(--ease-out);
}
.mobikes-theme .produit-tabs__tab:hover,
.mobikes-theme .produit-tabs__tab[aria-selected="true"] { color: var(--ink); }
.mobikes-theme .t-tabs-pill {
    position: absolute;
    top: 4px;
    left: 0;
    height: calc(100% - 8px);
    width: 0;
    background: var(--bg);
    border-radius: 999px;
    transform: translateX(0);
    transition: transform 0.25s var(--ease-out), width 0.25s var(--ease-out);
    will-change: transform, width;
    z-index: 0;
    pointer-events: none;
}

.mobikes-theme .produit-tabs__panels { margin-top: 2rem; }
.mobikes-theme .produit-tabs__panel[hidden] { display: none; }
.mobikes-theme .produit-tabs__cols {
    column-count: 2;
    column-gap: clamp(2rem, 5vw, 4rem);
}
.mobikes-theme .produit-tabs__cols > * { break-inside: avoid; }
.mobikes-theme .produit-tabs__cols > *:first-child { margin-top: 0; }
.mobikes-theme .produit-tabs__cols p { margin-bottom: 15px; }
@media (max-width: 720px) {
    .mobikes-theme .produit-tabs__cols { column-count: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .mobikes-theme .t-tabs-pill,
    .mobikes-theme .produit-tabs__tab { transition: none; }
}
