/* ==========================================================================
   BMD — tokens Figma (DESIGN.md) + composants
   ========================================================================== */
:root {
  --navy: #00306A;
  --yellow: #F0B303;
  --fluo: #FFFE02;
  --ink: #2C3337;
  --grey: #6C7275;
  --line: #DDDDDD;
  --bg: #F9F9F9;
  --white: #FFFFFF;
  --blue-light: #5B82B2;
  --green: #8BBD06;
  --red: #A90F14;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,48,106,.08);
  --shadow-hover: 0 8px 24px rgba(0,48,106,.14);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-title: "Roboto Slab", Georgia, serif;
  --container: 1120px;
  --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 14px/20px var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
.shop-layout > *, .products-grid > li, .cart-layout > *, .checkout-layout > *, .product-top > *, .product-details > * { min-width: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 24px; line-height: 32px; } h2 { font-size: 24px; line-height: 32px; } h3 { font-size: 18px; } h4 { font-size: 16px; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--grey); }
.small { font-size: 12px; line-height: 14px; }

/* Boutons */
.btn, .button, button.button, input[type=submit], .wc-block-components-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 24px; height: 50px; border-radius: var(--radius); border: 1px solid transparent; font: 700 14px/17px var(--font); cursor: pointer; text-decoration: none !important; transition: .15s; }
.btn-primary, .button:not(.btn-secondary):not(.btn-yellow), button.button, input[type=submit] { background: var(--navy); color: #fff; }
.btn-primary:hover, .button:hover, button.button:hover { background: #002451; color: #fff; }
.btn-yellow { background: var(--fluo); color: var(--ink); }
.btn-yellow:hover { background: #e6e500; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--bg); }
.btn-sm { padding: 0 15px; height: 37px; font-size: 14px; font-weight: 400; }
.btn-link { background: none; padding: 0; color: var(--navy); text-decoration: underline; }

/* Formulaires */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font: 400 14px/17px var(--font); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue-light); outline-offset: 1px; }
label { font-size: 13px; color: var(--grey); }
.form-row { margin-bottom: 14px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header > .container, .site-header .main-nav > .container { max-width: none; padding-inline: 30px; }
/* Accueil : header transparent par-dessus le hero (maquette 03) */
.hero-header .site-header { position: absolute; left: 0; right: 0; background: transparent; }
.hero-header .main-nav { border-top-color: transparent; }
.home .hero { padding-top: 112px; min-height: 580px; }
.hero-header .blog-hero, .hero-header .article-hero { padding-top: 216px; min-height: 412px; align-items: flex-start; }
.hero-header .blog-hero { padding-bottom: 64px; }
.hero-header .article-hero { height: 500px; min-height: 0; padding-bottom: 0; background-image: none !important; }
.article-hero::before { display: none; }
.hero-header .page-hero { height: 510px; }
.site-header a { color: #fff; }
.header-top { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; color: #fff; line-height: 1; }
.logo-svg { display: inline-flex; }
.logo-svg svg { display: block; }
.search-form { flex: 1; position: relative; max-width: 560px; margin-inline: auto; }
.search-form input { padding-left: 42px; border-radius: 40px; height: 42px; }
.search-form .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.search-suggest { position: absolute; left: 0; right: 0; top: 48px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-hover); overflow: hidden; display: none; }
.search-suggest.open { display: block; }
.search-suggest a { display: block; padding: 10px 16px; color: var(--ink); font-size: 14px; }
.search-suggest a:hover { background: var(--bg); text-decoration: none; }
.search-suggest .heading { padding: 10px 16px 4px; font-size: 12px; color: var(--grey); }
.header-actions { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.header-actions a { display: inline-flex; align-items: center; gap: 6px; }
.cart-link { background: var(--fluo); color: var(--ink) !important; border-radius: 6px; padding: 0 14px; height: 40px; font-size: 16px; font-weight: 700; }
.main-nav { border-top: 1px solid rgba(255,255,255,.12); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li a { display: block; padding: 12px 14px; font-size: 14px; font-weight: 700; }
.main-nav li a { position: relative; }
.main-nav li a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--fluo); transform: scaleX(0); transition: transform .15s; }
.main-nav li a:hover { text-decoration: none; }
.main-nav li a:hover::after, .main-nav .current-menu-item > a::after { transform: scaleX(1); }
.main-nav .all-batteries { display: flex; gap: 8px; align-items: center; }
.burger { display: none; background: none; border: 0; color: #fff; padding: 8px; }
.mobile-menu { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; margin-top: 64px; padding-block: 48px 24px; font-size: 12px; line-height: 24px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.1fr 1.1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font: 500 14px/17px var(--font); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom a { color: var(--blue-light); }
.stars { color: var(--yellow); letter-spacing: 2px; display: inline-flex; gap: 2px; }
.stars svg { display: block; }
.social { display: flex; gap: 10px; }
.social a { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; transition: .15s; }
.social a:hover { background: var(--fluo); }
.payment-logos { display: flex; gap: 6px; flex-wrap: wrap; }
.payment-logos svg { height: 26px; width: auto; border-radius: 4px; }

/* ---------- Composants ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.reassurance { display: flex; justify-content: space-around; gap: 12px 16px; flex-wrap: wrap; padding: 18px 24px; font-size: 14px; }
.reassurance div { flex: 1 1 200px; }
.reassurance div { display: flex; align-items: center; gap: 10px; }
.reassurance svg { flex: none; }
.breadcrumb { font-size: 14px; color: var(--ink); padding-block: 16px; font-weight: 500; }
.breadcrumb a { color: var(--grey); font-weight: 400; }
.breadcrumb .sep { color: var(--grey); font-weight: 400; margin: 0 4px; }
.section { margin-top: 48px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-family: var(--font); font-size: 16px; line-height: 20px; font-weight: 700; color: var(--ink); }
.section-head a { font-size: 14px; text-decoration: underline; }
.badge { display: inline-block; padding: 5px 5px; border-radius: 4px; font-size: 14px; line-height: 17px; font-weight: 500; background: #F2F2F2; color: var(--ink); }
.badge-promo { background: #FFE0E0; color: var(--red); } .badge-green { background: #E9F5D0; color: #4a6b00; }

/* Cartes produit */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; list-style: none; margin: 0; padding: 0; }
.products-grid.cols-3 { grid-template-columns: repeat(3, 258px); justify-content: space-between; }
.product-card { background: #fff; border-radius: var(--radius); padding: 48px 20px 20px; display: flex; flex-direction: column; position: relative; transition: .15s; min-height: 351px; }
.product-card:hover { box-shadow: var(--shadow-hover); }
.product-card .badge { position: absolute; top: 10px; left: 20px; }
.product-card .thumb { height: 163px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.product-card .thumb img { width: auto; max-width: 100%; max-height: 163px; object-fit: contain; }
.product-card h3 { font: 500 16px/20px var(--font); color: var(--ink); margin: 0 0 10px; }
.product-card h3 a { color: inherit; }
.product-card .sub { font-size: 14px; line-height: 17px; color: var(--ink); margin-bottom: 10px; flex: 1; }
.price { font-weight: 700; color: var(--ink); }
.product-card .price { font-weight: 400; font-size: 14px; line-height: 17px; }
.product-card .price ins { font-weight: 700; }
.price del { color: var(--grey); font-weight: 400; font-size: 12px; margin-left: 6px; }
.price ins { text-decoration: none; }
.price .tag { font-size: 11px; color: var(--grey); font-weight: 400; }

/* ---------- Accueil ---------- */
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0 !important; }
.hero { position: relative; overflow: hidden; min-height: 480px; display: flex; align-items: center; color: #fff; background: var(--navy) center/cover; }
.hero > div { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,48,106,.7), rgba(0,48,106,.05)); }
.hero > div { position: relative; }
.hero h1 { color: #fff; font-size: 44px; line-height: 58px; margin-bottom: 8px; }
.hero p { font-size: 20px; line-height: 24px; margin-bottom: 24px; }
.logos-strip { text-align: center; }
.logos-strip .title { font-size: 12px; color: var(--grey); margin-bottom: 12px; }
.logos-strip .marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-strip ul { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; width: max-content; animation: marquee 30s linear infinite; }
.logos-strip .marquee:hover ul { animation-play-state: paused; }
.logos-strip li { flex: 0 0 160px; background: #fff; border-radius: var(--radius); height: 64px; display: flex; align-items: center; justify-content: center; padding: 10px 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos-strip ul { animation: none; } }
.logos-strip img { max-height: 40px; max-width: 120px; width: auto; }
.apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.app-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 200px; display: flex; align-items: flex-end; color: #fff; background: var(--blue-light) center/cover; }
.app-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,48,106,.8), transparent 60%); }
.app-tile > div { position: relative; padding: 20px; }
.app-tile h3 { color: #fff; font-size: 24px; line-height: 32px; margin: 0; }
.app-tile p { font-size: 14px; margin: 4px 0 0; }
.banner-navy { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.banner-navy h2, .banner-navy h3 { color: #fff; }
.banner-navy .btn-yellow { margin-top: 12px; }
.pack-banner { position: relative; background: linear-gradient(90deg, #002a5e, #00306A 40%, #003b80); border-radius: var(--radius); color: #fff; height: 272px; margin: 24px 0 100px; }
/* Positions relatives au bandeau 1120×272, relevées dans Figma */
.pack-banner .pack-text { position: absolute; left: 50%; transform: translateX(-50%); top: 50px; width: 460px; text-align: center; z-index: 1; }
.pack-banner h3 { color: #fff; font-size: 24px; line-height: 32px; margin: 0 0 10px; white-space: nowrap; }
.pack-banner p { font-size: 13px; line-height: 20px; margin: 0 0 20px; opacity: .95; }
.pack-banner img { position: absolute; width: auto; }
.pack-battery { left: -35px; top: -1px; width: 289px; height: 260px; }
.pack-monitor { left: 880px; top: -37px; width: 155px; height: 160px; }
.pack-panel { left: 913px; top: -2px; width: 289px; height: 355px; }
.pack-next { position: absolute; left: 1080px; top: 116px; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 2; }
@media (max-width: 1240px) { .pack-panel { left: auto; right: 0; } .pack-monitor { left: auto; right: 140px; } .pack-next { left: auto; right: 8px; } }
@media (max-width: 960px) { .pack-banner { height: auto; display: flex; flex-direction: column; overflow: hidden; padding: 24px 16px; margin-bottom: 40px; } .pack-banner .pack-text { position: static; transform: none; width: auto; } .pack-banner h3 { white-space: normal; } .pack-banner img { position: static; width: auto; height: 140px; margin: 8px auto; } .pack-monitor, .pack-next { display: none; } }
.cta-card { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: center; padding: 24px 0 24px 34px; overflow: hidden; }
.cta-card h2 { font-size: 24px; margin: 4px 0 16px; max-width: 480px; }
.cta-illustration { width: 319px; height: auto; justify-self: end; }
.welcome { background: var(--navy); color: #fff; border-radius: var(--radius); min-height: 382px; padding: 50px 60px; display: grid; grid-template-columns: 443px 1fr; gap: 40px; align-items: start; }
.welcome h2 { color: #fff; font-size: 24px; line-height: 32px; margin: 0; }
.welcome-grid { display: grid; grid-template-columns: 180px 180px; gap: 45px 50px; justify-content: end; }
.welcome-grid div { text-align: center; font-size: 14px; line-height: 20px; }
.welcome-grid .circle { width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; }
.welcome-grid strong { display: block; }
.carousel { position: relative; }
.reviews { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 12px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 256px; scroll-snap-align: start; padding: 20px; font: 500 14px/20px var(--font); display: flex; flex-direction: column; }
.review .muted { font-weight: 400; }
.review > .stars { margin-top: auto; padding-top: 10px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-hover); z-index: 2; }
.carousel-btn.prev { left: -20px; } .carousel-btn.prev svg { transform: rotate(180deg); }
.carousel-btn.next { right: -20px; }
.review .stars { display: block; margin: 10px 0 6px; }
.expert { display: grid; grid-template-columns: 370px 1fr; gap: 50px; align-items: center; background: var(--navy); border-radius: var(--radius); color: #fff; min-height: 350px; padding: 50px 53px; }
.expert img { width: 370px; height: 250px; object-fit: cover; border-radius: 4px; }
.expert h2 { color: #fff; font-size: 24px; line-height: 32px; margin: 0 0 20px; }
.expert p { margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.expert .btn-sm { padding: 10px 15px; font-size: 14px; font-weight: 400; }
.btn-outline-yellow { background: transparent; color: var(--fluo); border-color: var(--fluo); }
.btn-outline-yellow:hover { background: var(--fluo); color: var(--ink); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; font-size: 14px; }
.faq h3 { font: 500 14px/1.3 var(--font); color: var(--ink); }

/* ---------- Listing ---------- */
.cat-banner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 200px; display: flex; align-items: flex-end; color: #fff; background: var(--navy) center/cover; }
.cat-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,48,106,.85), transparent); }
.cat-banner > div { position: relative; padding: 24px; }
.cat-banner { min-height: 263px; }
.cat-banner > div { padding: 30px; }
.cat-banner h1 { color: #fff; font-size: 24px; margin: 0 0 10px; }
.cat-banner p { font-size: 14px; margin: 0; }
.cat-intro { font-size: 14px; line-height: 20px; margin-top: 20px; }
.shop-layout { display: grid; grid-template-columns: 255px 1fr; gap: 30px; margin-top: 30px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.shop-toolbar h2 { margin: 0; font-family: var(--font); font-weight: 500; font-size: 24px; color: var(--ink); }
.woocommerce-ordering { position: relative; background: #fff; border-radius: var(--radius); width: 189px; height: 52px; padding: 8px 15px 0; }
.woocommerce-ordering::before { content: "Trier par"; font-size: 11px; color: var(--grey); display: block; line-height: 1; }
.woocommerce-ordering select { width: 100%; border: 0; padding: 2px 20px 0 0; font-size: 14px; background: transparent; appearance: none; -webkit-appearance: none; }
.woocommerce-ordering::after { content: ""; position: absolute; right: 14px; top: 24px; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.filters { font-size: 14px; line-height: 36px; }
.filters h4 { font: 500 16px/20px var(--font); color: var(--ink); margin: 30px 0 10px; }
.filters .count-title { font: 500 16px/20px var(--font); margin: 30px 0 12px; }
.filters ul { list-style: none; margin: 0; padding: 0; }
.filters li { margin: 0; }
.filters label { display: flex; align-items: center; gap: 8px; color: var(--ink); cursor: pointer; }
.filters input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--navy); margin: 0; }
.filters .count { color: var(--grey); }
.filters .btn-reset { height: 37px; padding: 0 15px; font-weight: 400; font-size: 14px; }
.filters .active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.filters .chip { background: var(--navy); color: #fff; border-radius: 4px; padding: 4px 8px; font-size: 12px; }
.filters .chip:hover { text-decoration: none; background: var(--red); }
.range label { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); width: 80px; height: 52px; padding: 8px 10px 0; font-size: 11px; line-height: 1.2; color: var(--grey); }
.range input { border: 0; padding: 0; font-size: 14px; background: transparent; width: 100%; color: var(--ink); -moz-appearance: textfield; }
.range input::-webkit-outer-spin-button, .range input::-webkit-inner-spin-button { -webkit-appearance: none; }
.range input:focus { outline: none; }
.filters .more { color: var(--navy); text-decoration: underline; font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer; }
.filters li.hidden-more { display: none; }
.price-filter { width: 255px; }
.price-histogram { display: flex; align-items: flex-end; gap: 4px; height: 100px; margin: 10px 0 0; padding: 0 36px 0 37px; }
.price-histogram span { width: 8px; background: var(--line); min-height: 2px; }
.price-histogram span.in { background: var(--navy); }
.dual-range { position: relative; height: 24px; margin: 12px 0 10px; }
.price-histogram + .dual-range { margin-top: 0; }
.dual-range .track { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.dual-range .fill { position: absolute; top: 0; height: 2px; background: var(--ink); }
.dual-range input[type=range] { position: absolute; left: 0; top: 0; width: 100%; height: 24px; margin: 0; padding: 0; background: none; border: 0; -webkit-appearance: none; appearance: none; pointer-events: none; }
.dual-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath d='M1 1l3 3 3-3' fill='none' stroke='%232C3337' stroke-width='1.5'/%3E%3C/svg%3E") center no-repeat; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.2); cursor: pointer; pointer-events: auto; }
.dual-range input[type=range]::-moz-range-thumb { width: 24px; height: 24px; background: #fff; border: 0; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.2); cursor: pointer; pointer-events: auto; }
.dual-range input[type=range]:focus { outline: none; }
.range { display: flex; gap: 15px; justify-content: space-between; }
.filters-toggle, .filters [data-close-filters] { display: none; }
.woocommerce-pagination ul { display: flex; gap: 6px; list-style: none; padding: 0; justify-content: center; margin-top: 32px; }
.woocommerce-pagination a, .woocommerce-pagination span { display: block; padding: 8px 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.woocommerce-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.no-results { padding: 40px; text-align: center; }

/* ---------- Fiche produit (Figma Desktop-2) ---------- */
.product-hero { background: #fff; padding-bottom: 40px; }
.h-small { font: 700 16px/20px var(--font); color: var(--ink); margin: 0 0 16px; }
.product-top { display: grid; grid-template-columns: 368px 560px; justify-content: space-between; gap: 32px; }
.gallery-main { width: 368px; height: 368px; display: flex; align-items: center; justify-content: center; }
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery-thumbs button { width: 60px; height: 60px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px; cursor: pointer; }
.gallery-thumbs button.active { border-color: var(--navy); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.summary-head { display: flex; justify-content: space-between; gap: 24px; }
.summary-head > div:first-child { flex: 1; max-width: 300px; }
.product-summary h1 { font: 500 24px/29px var(--font); color: var(--ink); margin: 0 0 8px; }
.product-summary .sub { font-size: 14px; margin-bottom: 10px; }
.product-summary .ref { font-size: 14px; margin-bottom: 10px; }
.alma { display: flex; align-items: center; gap: 8px; margin: 0; }
.alma-badge { background: #8BBD06; color: #fff; font-weight: 700; font-size: 11px; padding: 3px 6px; border-radius: 4px; }
.summary-buy { text-align: right; flex: none; }
.summary-buy .price { font: 500 22px/27px var(--font); color: var(--ink); margin-bottom: 20px; }
.summary-buy .price del { font-size: 14px; color: var(--grey); }
.summary-buy .price del::after { content: " Prix magasin"; font-size: 12px; text-decoration: none; display: inline-block; }
.summary-buy form.cart { margin: 0; justify-content: flex-end; }
.summary-buy form.cart .quantity { display: none; }
.summary-buy .single_add_to_cart_button { width: 175px; height: 50px; font-weight: 700; flex: none; }
.summary-buy .stock { font-size: 12px; margin-top: 8px; }
.stock .in-stock { color: #4a6b00; }
.short-desc { font-size: 14px; margin: 24px 0; }
.conditions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; font-size: 14px; line-height: 17px; margin: 0 0 24px; }
.conditions > div { display: flex; align-items: flex-start; gap: 10px; }
.conditions svg { flex: none; }
.expert-box { background: var(--bg); border-radius: var(--radius); padding: 20px; display: flex; align-items: center; gap: 20px; font-size: 16px; font-weight: 500; }
.expert-box img { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; }
.expert-box .phone { margin-left: auto; font-weight: 500; color: var(--ink); white-space: nowrap; }
.product-details { display: grid; grid-template-columns: 560px 560px; justify-content: space-between; gap: 32px; margin-top: 60px; }
.specs { display: grid; grid-template-columns: 184px 1fr; gap: 0 40px; font-size: 14px; line-height: 30px; margin: 0; }
.specs dt { font-weight: 500; }
.specs dd { margin: 0; }
.datasheets { margin: 32px 0; }
.datasheets .btn { height: 37px; padding: 0 16px; font-weight: 400; }
.qty-table { width: 345px; padding: 15px 20px; }
.qty-table table { border-collapse: collapse; font-size: 14px; width: 100%; }
.qty-table th { text-align: left; font-weight: 400; padding-bottom: 6px; }
.qty-table td { padding: 2px 0; }
.expert-radar { display: block; margin: 0 0 32px; }
.product-details .entry-content { font-size: 14px; }
.product-details .h-small { margin-top: 32px; }
.product-details > div > .h-small:first-child { margin-top: 0; }
.attributes-chips { margin: 12px 0; }
.pack-items { margin-top: 48px; }
.pack-items .qty-badge { position: absolute; top: 12px; left: 12px; background: var(--fluo); color: var(--ink); border-radius: 4px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.woocommerce-variation-price .price { font-size: 20px; }
table.variations { text-align: left; font-size: 14px; }
table.variations td { padding: 4px 0; }
.reviews-product .review { flex-basis: 256px; }
form.cart table.variations, form.cart .woocommerce-variation-add-to-cart { width: 100%; display: flex; gap: 12px; align-items: center; justify-content: flex-end; }
form.cart table.variations { display: table; }

/* Popup ajout panier */
.cart-toast { position: fixed; top: 0; right: 0; width: 320px; max-width: 100%; height: 100vh; background: var(--fluo); color: var(--ink); padding: 40px 24px; z-index: 100; transform: translateX(100%); transition: .25s; }
.cart-toast.open { transform: none; }
.cart-toast .close { position: absolute; top: 12px; right: 12px; background: none; border: 0; font-size: 24px; cursor: pointer; }
.cart-toast .check { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--fluo); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.cart-toast p { text-align: center; }
.cart-toast .btn { width: 100%; margin-top: 8px; }

/* ---------- Panier / Commande (Figma 07 → 16) ---------- */
.checkout-page { background: var(--bg); }
.checkout-header { position: static; }
.checkout-header .header-top { height: 76px; justify-content: space-between; }
.checkout-header .secure { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 14px; font-weight: 500; }
.checkout-header .secure .payment-logos svg { height: 20px; }
.checkout-main { max-width: none; padding: 0; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; min-height: calc(100vh - 76px); }
.checkout-left { width: min(820px, 100% - 120px); margin: 0 0 0 max(30px, min(90px, 100% - 850px)); padding: 30px 0 60px; }
.checkout-right { padding: 50px 30px; }
.steps-bar { margin-bottom: 40px; position: relative; }
.step-back { position: absolute; left: 0; top: -6px; font-size: 24px; line-height: 1; color: var(--ink); }
.step-label { display: block; text-align: center; font-size: 14px; margin-bottom: 30px; }
.progress { height: 3px; background: var(--line); }
.progress > div { height: 3px; background: var(--ink); width: 20%; transition: width .3s; }
.step-title { font: 500 16px/20px var(--font); color: var(--ink); margin: 0 0 20px; }
.step-card { padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,.06); margin-bottom: 30px; }
.step-card .form-row { margin: 0 0 10px; }
.step-card label { display: block; font-size: 12px; color: var(--grey); margin-bottom: 0; }
.step-card .input-text, .step-card select, .step-card input[type=text], .step-card input[type=email], .step-card input[type=tel], .step-card input[type=password] { height: 52px; border-color: #E5E5E3; }
.step-card .two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.step-card .checkbox-row label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.step-card .checkbox-row input { width: 18px; height: 18px; accent-color: var(--navy); }
.step-actions { display: flex; justify-content: flex-end; align-items: center; gap: 20px; margin: 20px 0 0; }
.btn-continue { height: 50px; padding: 0 30px; font-weight: 700; }
.summary-title { font: 500 16px/20px var(--font); color: var(--ink); margin: 0 0 20px; }
.summary-card { padding: 20px 30px; box-shadow: 0 2px 10px rgba(0,0,0,.06); margin-bottom: 16px; }
.summary-table { width: 100%; font-size: 14px; border-collapse: collapse; }
.summary-table td { padding: 0; line-height: 40px; vertical-align: top; }
.summary-table td:last-child { text-align: right; white-space: nowrap; }
.summary-table tr.total td { border-top: 1px solid var(--line); padding-top: 10px; font-size: 16px; font-weight: 500; }
.summary-shipping { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; font-size: 13px; }
.summary-shipping strong { display: block; margin-bottom: 6px; }
.woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.woocommerce-shipping-methods li { margin-bottom: 4px; }
.summary-card .checkout-button { width: 100%; height: 50px; margin-top: 20px; font-weight: 700; }
.summary-legal { font-size: 12px; margin: 0 0 20px; }
.address-card { font-size: 13px; }
.address-card .btn { float: right; }
/* Panier */
.cart-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 30px; align-items: center; padding: 30px; margin-bottom: 30px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.checkout-left .sep { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.cart-cross .products-grid, .cart-cross .products-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.cart-cross .product-card { box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.cart-conditions { margin: 0; }
.cart-item .quantity { position: relative; }
.cart-item .quantity::after { content: ""; position: absolute; right: 12px; top: 13px; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.cart-item .quantity input { -moz-appearance: textfield; }
.cart-item .quantity input::-webkit-outer-spin-button, .cart-item .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-item img { width: 120px; height: 120px; object-fit: contain; }
.cart-item-info { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.cart-item-info strong { font-size: 16px; font-weight: 500; }
.cart-item-actions { display: flex; gap: 10px; align-items: center; }
.cart-item .quantity input { width: 68px; height: 37px; text-align: left; padding: 0 0 0 14px; border-color: #E5E5E3; }
.cart-item .remove { height: 37px; padding: 0 15px; display: inline-flex; align-items: center; color: var(--red); border: 1px solid var(--red); border-radius: var(--radius); background: #fff; font-size: 14px; }
.cart-update { display: none; }
/* Paiement */
#payment .wc_payment_methods { list-style: none; padding: 0; margin: 0; }
#payment .wc_payment_method { border-bottom: 1px solid var(--line); padding: 20px 0; }
#payment .wc_payment_method:last-child { border-bottom: 0; }
#payment .wc_payment_method > label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer; }
#payment .wc_payment_method > input[type=radio] { display: none; }
#payment .wc_payment_method > label::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--grey); flex: none; }
#payment .wc_payment_method > input:checked + label::before { border-color: var(--navy); background: radial-gradient(var(--navy) 45%, #fff 50%); }
#payment .wc_payment_method label img { max-height: 24px; margin-left: auto; }
#payment .payment_box { font-size: 13px; color: var(--grey); margin: 12px 0 0 28px; }
#payment .payment_box p:last-child { margin: 0; }
.place-order { margin-top: 20px; text-align: right; }
.btn-pay { height: 50px; padding: 0 30px; font-weight: 700; }
.coupon-card label { font-size: 14px; color: var(--ink); display: block; margin-bottom: 8px; }
.coupon-row { display: flex; gap: 10px; }
.coupon-row input { height: 52px; border-color: #E5E5E3; }
.coupon-row .btn { height: 50px; flex: none; font-weight: 700; border-color: #E5E5E3; color: var(--ink); }
.coupon-msg.ok { color: #4a6b00; } .coupon-msg.ko { color: var(--red); }
/* Confirmation */
.confirmation { width: 820px; max-width: 100%; margin: 30px auto 80px; }
.confirm-card { text-align: center; padding: 60px 30px; font-size: 16px; font-weight: 500; }
.confirm-card .check { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: #fff; align-items: center; justify-content: center; margin-bottom: 20px; }
.confirm-card .btn { margin-top: 10px; }
.gateway-instructions { font-weight: 400; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); text-align: left; }
.gateway-instructions h2 { font: 700 14px var(--font); color: var(--ink); }
.checkout-footer { border-top: 1px solid var(--line); padding: 16px 0; text-align: center; }
.checkout-footer a { color: var(--grey); }
.woocommerce-NoticeGroup, .woocommerce-notices-wrapper { margin: 0 0 20px; }
@media (max-width: 1240px) { .checkout-left { width: auto; margin-left: 30px; padding-right: 30px; } }
@media (max-width: 960px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-left { margin: 0; padding: 20px 16px; }
  .checkout-right { padding: 30px 16px; }
  .checkout-header .secure span { display: none; }
  .cart-item { grid-template-columns: 80px 1fr; padding: 16px; }
  .cart-item-actions { grid-column: 2; }
  .step-card .two-cols { grid-template-columns: 1fr; }
}

.account-head { display: flex; align-items: baseline; gap: 16px; margin: 8px 0 24px; }
.account-head h1 { margin: 0; }
.account-layout { display: grid; grid-template-columns: 255px 1fr; gap: 30px; align-items: start; margin-bottom: 40px; }
.account-nav { padding: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-radius: var(--radius); color: var(--ink); font-weight: 500; }
.woocommerce-MyAccount-navigation a:hover { background: var(--bg); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--navy); color: #fff; }
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--red); }
.account-content { padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.account-content h2, .account-content h3, .account-content legend { font: 700 16px/20px var(--font); color: var(--ink); margin: 0 0 16px; }
.account-content .form-row { margin-bottom: 12px; }
.account-content label { display: block; font-size: 12px; color: var(--grey); margin-bottom: 4px; }
.account-content .input-text, .account-content select { height: 52px; border-color: #E5E5E3; }
.account-content form.edit-account, .account-content .woocommerce-address-fields__field-wrapper { display: flex; flex-wrap: wrap; gap: 0 12px; }
.account-content form.edit-account > *, .account-content .woocommerce-address-fields__field-wrapper > * { flex: 0 0 100%; min-width: 0; }
.account-content form > .form-row-first, .account-content form > .form-row-last, .account-content .woocommerce-address-fields__field-wrapper > .form-row-first, .account-content .woocommerce-address-fields__field-wrapper > .form-row-last { flex: 0 0 calc(50% - 6px); }
.account-content form.edit-account fieldset { display: flex; flex-wrap: wrap; gap: 0 12px; }
.account-content form.edit-account fieldset > * { flex: 0 0 100%; }
.account-content .input-text, .account-content select { width: 100%; }
.account-content fieldset { border: 0; padding: 0; margin: 24px 0 0; }
.account-content .woocommerce-Button, .account-content button[type=submit] { margin-top: 8px; }
.account-content table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.account-content table.shop_table th { background: var(--bg); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--grey); }
.account-content .woocommerce-Address { background: var(--bg); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.account-content .woocommerce-Address-title { display: contents; } /* titre en haut, adresse, bouton en bas — aligné entre les deux blocs */
.account-content .woocommerce-Address-title h2, .account-content .woocommerce-Address-title h3 { order: 0; margin: 0; }
.account-content .woocommerce-Address address { order: 1; }
.account-content .woocommerce-Address .edit { order: 2; align-self: flex-start; margin-top: auto; }
.account-content .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.account-content address { font-style: normal; line-height: 20px; }
.account-content .woocommerce-orders-table__cell-order-actions .button { margin-right: 6px; }
.account-content .order-again, .account-content mark { background: none; }
.account-help { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 960px; margin: 8px auto 40px; align-items: start; }
@media (max-width: 760px) { .login-layout { grid-template-columns: 1fr; } }
.account-content .woocommerce-notices-wrapper { margin-bottom: 16px; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); font-size: 14px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: #fff; border-left: 4px solid var(--navy); padding: 12px 16px; border-radius: var(--radius); margin: 16px 0; list-style: none; }
.woocommerce-error { border-color: var(--red); }
.woocommerce-message { border-color: var(--green); }
.page-content { padding: 32px 40px; font-size: 14px; }
.page-content h1 { font-size: 24px; }
.page-content h2, .page-content h3 { font: 500 15px var(--font); color: var(--ink); margin-top: 24px; }

/* ---------- Pages / Blog (Figma 21, 22, 24, 23) ---------- */
.page-hero { height: 510px; background: var(--navy) center/cover; }
.entry-column { max-width: 700px; margin: 0 auto; }
.entry-column h1 { font-size: 24px; margin: 60px 0 30px; }
.entry-column .entry { font-size: 15px; line-height: 23px; }
.entry img { border-radius: var(--radius); }
.article-hero { display: block; }
.article-hero > .entry-column { display: block; width: auto; max-width: 700px; margin: 0 auto; padding: 0 var(--gutter); }
.article-hero .entry-column h1 { margin: 0 0 10px; }
.article-hero .entry-column p { font-size: 14px; margin: 0; max-width: 700px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.single-post .article-cover { width: 700px; max-width: 100%; height: 297px; object-fit: cover; border-radius: var(--radius); margin: -140px 0 24px; position: relative; }
.contact-card { width: 820px; max-width: 100%; margin: 40px auto; padding: 30px; }
.contact-card .illu { width: 218px; height: 180px; margin-bottom: 28px; }
.contact-card h1 { font-size: 24px; margin-bottom: 20px; }
.contact-card .form-row { margin-bottom: 10px; }
.contact-card label { font-size: 14px; color: var(--ink); }
.contact-card input[type=text], .contact-card input[type=email], .contact-card input[type=tel], .contact-card select { height: 52px; }
.dropzone { display: flex; align-items: center; justify-content: center; text-align: center; background: var(--bg); border-radius: var(--radius); padding: 10px; min-height: 52px; font-size: 14px; cursor: pointer; margin-top: 14px; }
.dropzone input { display: none; }
.dropzone.has-file { outline: 2px solid var(--navy); }
.btn-send { width: 114px; height: 50px; font-weight: 700; }

.blog-hero { position: relative; background: var(--navy) center/cover; color: #fff; padding: 64px 0; overflow: hidden; min-height: 412px; display: flex; align-items: center; }
.blog-hero > * { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.blog-hero h1 { font-size: 24px; margin-bottom: 8px; }
.blog-hero p { font-size: 14px; max-width: 410px; margin: 0; }
.blog-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,48,106,.6); }
.blog-hero > * { position: relative; }
.blog-hero h1 { color: #fff; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.post-card img { border-radius: var(--radius) var(--radius) 0 0; height: 220px; object-fit: cover; width: 100%; }
.post-card > div { padding: 30px; font-size: 14px; line-height: 20px; }
.post-card h2 { font-size: 24px; line-height: 32px; margin-bottom: 20px; }

/* Marques */
.brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-tile { padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; }
.brand-tile img { max-height: 48px; width: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .products-grid, .products-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-card { min-height: 0; padding: 40px 12px 16px; }
  .footer-grid, .faq, .product-top, .product-details, .banner-navy, .welcome, .expert, .cart-layout, .checkout-layout, .account-layout, .account-content .woocommerce-Addresses { grid-template-columns: 1fr; }
  .gallery-main { width: 100%; height: auto; aspect-ratio: 1; }
  .summary-head { flex-direction: column; }
  .summary-buy { text-align: left; }
  .summary-buy form.cart { justify-content: flex-start; }
  .qty-table { width: 100%; }
  .welcome { padding: 32px 24px; }
  .expert { padding: 24px; }
  .expert img { width: 100%; height: auto; }
  .welcome-grid { justify-content: center; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.open [data-close-filters] { display: inline-flex; }
  .filters.open { display: block; position: fixed; inset: 0; background: #fff; z-index: 90; overflow: auto; padding: 24px; }
  .filters-toggle { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px; justify-content: space-around; z-index: 40; }
  .main-nav { display: none; }
  .burger { display: block; }
  .search-form { order: 3; flex-basis: 100%; }
  .header-top { flex-wrap: wrap; height: auto; padding-block: 10px; }
  .site-header > .container, .site-header .main-nav > .container { padding-inline: var(--gutter); }
  .hero h1 { font-size: 32px; }
  .posts-grid, .brands-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { height: 240px; }
  .single-post .article-cover { height: auto; margin-top: 0; }
  .mobile-menu.open { display: block; position: fixed; inset: 0; background: var(--navy); color: #fff; z-index: 100; padding: 24px; overflow: auto; }
  .mobile-menu ul { list-style: none; padding: 0; margin: 0; }
  .mobile-menu li a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 16px; }
  .mobile-menu .close { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff; font-size: 28px; }
  .cta-card { grid-template-columns: 1fr; padding: 24px; }
  .cta-illustration { justify-self: center; max-width: 240px; }
  .cart-item { grid-template-columns: 72px 1fr; }
}
@media (max-width: 560px) {
  .products-grid, .products-grid.cols-3, .posts-grid, .brands-grid, .apps-grid, .conditions { grid-template-columns: 1fr 1fr; }
  .welcome-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .posts-grid, .apps-grid { grid-template-columns: 1fr; }
  .hero { min-height: 420px; }
  .home .hero { padding-top: 140px; }
  .hero-header .blog-hero, .hero-header .article-hero { padding-top: 150px; min-height: 320px; }
  .banner-navy, .expert > div, .page-content { padding: 24px; }
  .sticky-buy { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.1); padding: 12px 16px; display: flex; align-items: center; gap: 12px; z-index: 40; }
}

/* Devis */
.quote-item { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 14px; align-items: center; padding: 10px 14px; margin-bottom: 10px; box-shadow: none; border: 1px solid var(--line); }
.quote-item img { width: 56px; height: 56px; object-fit: contain; }
.quote-item label { display: flex; align-items: center; gap: 6px; }
.quote-item input[type=number] { width: 64px; padding: 6px; }
.quote-item .remove { background: none; border: 1px solid var(--red); color: var(--red); border-radius: 4px; padding: 6px 10px; cursor: pointer; font-size: 12px; }
.quote-add { position: relative; margin-top: 8px; }
.quote-add .search-suggest { top: 48px; }
.quote-link { display: inline-block; margin-top: 10px; }

/* Espace pro */
.pro-grid { grid-template-columns: repeat(4, 1fr); justify-content: stretch; gap: 30px; }
.pro-grid div { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px 20px; }
.pro-grid .circle { background: #fff; color: var(--navy); }
@media (max-width: 960px) { .pro-grid { grid-template-columns: 1fr 1fr; } }
/* FAQ */
.faq-list details { background: #fff; border-radius: var(--radius); padding: 0 24px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq-list summary { cursor: pointer; padding: 18px 0; font-weight: 500; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-list summary::after { content: "+"; font-size: 22px; color: var(--navy); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details > div { padding: 0 0 18px; font-size: 14px; color: var(--ink); }
.faq-list h2 { font: 700 16px var(--font); color: var(--ink); margin: 32px 0 12px; }

/* Remplacer ma batterie */
.match-card { width: 1000px; }
.match-card .products-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.match-card .product-card { box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.match-card .h-small { margin: 24px 0 12px; }

/* Mon compte : conteneur (page.php contourne le gabarit page-hero) */
.account-wrap { padding-top: 8px; }
.account-wrap .breadcrumb { margin-bottom: 8px; }
.account-wrap .woocommerce-notices-wrapper:empty { display: none; }
.account-content .woocommerce-orders-table__cell-order-number a { font-weight: 700; }
.account-content .woocommerce-pagination { margin-top: 16px; }
.account-content .woocommerce-pagination .page-numbers { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius); margin-right: 4px; }
.account-content .woocommerce-pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.account-content .woocommerce-table--order-details tfoot th, .account-content .woocommerce-table--order-details tfoot td { font-weight: 500; }
.account-content .woocommerce-order-details__title, .account-content .woocommerce-column__title { font: 700 16px/20px var(--font); margin: 24px 0 12px; }
.account-content .woocommerce-customer-details .woocommerce-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.account-content .woocommerce-customer-details address { background: var(--bg); border-radius: var(--radius); padding: 16px; }
.account-content .woocommerce-orders-table__cell-order-status { font-weight: 500; }
.account-content .woocommerce-orders-table__cell-order-status .status-completed { color: var(--green, #1a8a4a); }
.account-content .shop_table td, .account-content .shop_table th { padding: 12px 14px; }
.account-content .shop_table tr:nth-child(even) td { background: #FCFCFC; }
.account-content .woocommerce-Button.button, .account-content .button { display: inline-block; }
.account-content .button.view, .account-content .button.pay, .account-content .button.invoice, .account-content .button.order-again, .account-content .edit { display: inline-block; padding: 6px 12px; border: 1px solid var(--navy); border-radius: var(--radius); color: var(--navy); font-size: 13px; font-weight: 500; background: #fff; }
.account-content .button.pay { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* Champs mot de passe Woo : œil « afficher le mot de passe » dans le champ (le CSS Woo n'est pas chargé) */
.password-input { position: relative; display: block; }
.password-input .input-text { padding-right: 44px; }
.show-password-input { position: absolute; right: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; cursor: pointer; opacity: .55; background: center / 22px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C3337' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.show-password-input:hover { opacity: 1; }
.show-password-input.display-password { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C3337' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E"); }
.account-content .form-row .description { display: block; font-size: 12px; color: var(--grey); font-style: normal; margin-top: 4px; }
