/* Pièce Malin — refonte fidèle à la maquette du 03/11/2026. Chargée seulement en aperçu (?apercu=refonte) tant que Vincent n'a pas validé. */
:root{--r-bg:#e5e9eb;--r-paper:#fdfbf7;--r-soft:#dfe7eb;--r-ink:#273846;--r-sub:#586d7a;--r-line:#cdd8de;--r-blue:#2d5f80;--r-blue-d:#234c68;--r-green:#587963;--r-muted:#4f7189;--r-pale:#e4ebef;--r-bsoft:#e1e8ec;--r-shadow:0 18px 46px #2539481e;--r-tex:repeating-linear-gradient(0deg,rgba(42,71,91,.018) 0 1px,transparent 1px 8px),repeating-linear-gradient(90deg,rgba(42,71,91,.009) 0 1px,transparent 1px 13px)}
body,#wrapper{background-color:var(--r-bg)!important;background-image:var(--r-tex)!important}
body,body p,body a,body input,body button,body h1,body h2,body h3,.h1,.h2,.h3{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
body{color:var(--r-ink)}
/* bandeau service + en-tête */
.pm-service{background:#20343a!important;color:#eef7f2!important}
#header .header-top{background:var(--r-paper)!important}
#header .top-menu a[data-depth="0"]{color:var(--r-sub)!important;border-bottom:2px solid transparent;padding-bottom:10px}
#header .top-menu a[data-depth="0"]:hover,#header .top-menu .current>a{color:var(--r-blue-d)!important;border-bottom-color:var(--r-blue)}
#header #search_widget form{background:var(--r-bg)!important;border:1px solid var(--r-line)!important;border-radius:12px!important;overflow:visible}
#header #search_widget form input[type=text]{background:transparent!important;border:0!important;min-height:46px}
#header #search_widget i.search{color:var(--r-blue)}
@media (min-width:768px){#header .blockcart{background:var(--r-soft)!important;border-radius:10px;padding:8px 12px}}
#header .blockcart,#header .blockcart *,#header .user-info a{color:var(--r-ink)!important}
.pm-bandeau{background:var(--r-soft)!important;color:var(--r-sub)!important;font-size:12px;text-align:center;padding:10px 20px}
.pm-bandeau,.pm-bandeau .pm-bandeau__texte{display:block!important}
.pm-bandeau a{color:var(--r-ink)!important;font-weight:700;white-space:nowrap}
/* boutons et liens génériques */
.btn-primary{background:var(--r-blue)!important;border-color:var(--r-blue)!important;border-radius:9px!important;font-weight:700;text-transform:none!important}
.btn-primary:hover{background:var(--r-blue-d)!important}
a{color:var(--r-blue)}
.breadcrumb{background:transparent!important;color:var(--r-sub);font-size:12px}
.breadcrumb a{color:var(--r-sub)!important}
/* pied de page */
#footer{background:#223b50!important;color:#f1f5f7}
#footer a,#footer p,#footer h4,#footer .h4,#footer .h3,#footer li{color:#f1f5f7!important}

/* ===== ACCUEIL ===== */
body:has(#pmr-accueil) .pm-reassurance{display:none!important}
body:has(#pmr-accueil) section#main,body:has(#pmr-accueil) #content,body:has(#pmr-accueil) #main .page-content,body:has(#pmr-accueil) .page-home{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.pmr{color:var(--r-ink);font-size:15px;line-height:1.55;margin:0 auto;max-width:1180px}
.pmr *{box-sizing:border-box}
.pmr-hero{align-items:center;background-color:var(--r-paper);background-image:radial-gradient(ellipse at 94% 7%,#d4e0e7 0,transparent 37%),var(--r-tex);border:1px solid var(--r-line);border-radius:22px;display:grid;gap:32px;grid-template-columns:1.04fr .96fr;min-height:365px;overflow:visible;padding:35px 44px}
.pmr-eyebrow{align-items:center;color:var(--r-blue);display:flex;font-size:11px;font-weight:750;gap:8px;letter-spacing:.12em;text-transform:uppercase}
.pmr-eyebrow:before{background:var(--r-blue);border-radius:4px;content:"";height:3px;width:20px}
.pmr .pmr-h1{color:var(--r-ink);font-size:clamp(34px,4.3vw,51px);font-weight:750;letter-spacing:-.055em;line-height:1.08;margin:15px 0 13px;max-width:580px;text-transform:none}
.pmr-hero__copy{color:var(--r-sub);font-size:16px;max-width:560px;margin:0}
.pmr-search{margin-top:23px;max-width:600px;position:relative}
.pmr .pm-hero__form{align-items:center;background:var(--r-paper);border:1px solid var(--r-line);border-radius:12px;box-shadow:0 3px 10px #1e34380a;display:flex;gap:8px;padding:6px;position:relative;overflow:visible}
.pmr .pm-hero__champ{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--r-ink);flex:1;min-height:44px;min-width:0;padding:10px 12px;font-size:15px}
.pmr .pm-hero__bouton{background:var(--r-blue)!important;border:0!important;border-radius:9px!important;color:#fff!important;font-weight:700;min-height:44px;padding:10px 17px}
.pmr .pm-hero__bouton:hover{background:var(--r-blue-d)!important}
.pmr .pma-aide{background:none;border:0;color:var(--r-sub);font-size:12px;margin:11px 0 0;padding:0}
.pmr .pma-exemples{color:var(--r-sub);font-size:12px;margin:11px 0 0}
.pmr .pma-exemple{background:var(--r-paper)!important;border:1px solid var(--r-line)!important;border-radius:999px!important;color:var(--r-blue-d)!important;font-size:12px;font-weight:650;padding:5px 11px;min-height:32px;cursor:pointer}
.pmr .pma-exemple:hover{border-color:var(--r-blue)!important}
.pmr-help{align-items:center;background:var(--r-bsoft);border:1px solid var(--r-line);border-left:4px solid var(--r-muted);border-radius:0 12px 12px 0;color:var(--r-sub)!important;display:flex;gap:15px;justify-content:space-between;line-height:1.45;margin-top:14px;max-width:600px;padding:12px 14px;text-decoration:none!important;font-size:14px}
.pmr-help strong{color:var(--r-ink)}
.pmr-btn2{align-items:center;background:var(--r-soft);border-radius:9px;color:var(--r-blue-d);display:inline-flex;flex:0 0 auto;font-weight:700;min-height:44px;padding:10px 17px}
.pmr-visual{align-items:center;background:radial-gradient(ellipse at 50% 60%,#cbdbe5 0,#e1e7e8 57%,transparent 58%);display:flex;justify-content:center;min-height:275px;position:relative}
.pmr-washer{background:linear-gradient(145deg,#fdfbf7,#dce4e8);border:1px solid #b9c8d1;border-radius:20px 20px 12px 12px;box-shadow:10px 16px 28px #263d4f28;height:244px;position:relative;transform:rotate(-2deg);width:185px}
.pmr-washer__top{background:linear-gradient(180deg,#f9f8f4,#dfe6e9);border-bottom:1px solid #c3d0d7;border-radius:18px 18px 0 0;height:51px;padding:14px 17px}
.pmr-washer__display{background:#60787b;border-radius:4px;height:8px;opacity:.75;width:39px}
.pmr-washer__knob{background:#dfe6e8;border:1px solid #c4cfd5;border-radius:50%;height:17px;left:132px;position:absolute;top:15px;width:17px}
.pmr-washer__door{align-items:center;background:linear-gradient(145deg,#c8d9e3 20%,#88a6bb 100%);border:8px solid #f8f7f3;border-radius:50%;box-shadow:inset 0 0 0 2px #a9bfcc,0 2px 5px #263d4f2b;display:flex;height:142px;justify-content:center;left:20px;position:absolute;top:73px;width:142px}
.pmr-washer__door:after{background:radial-gradient(circle at 36% 32%,#f9f8f4 0 4%,#b9cdd8 30%,#5e7d94 100%);border:2px solid #9fb4c1;border-radius:50%;content:"";height:112px;width:112px}
.pmr-bubble{align-items:center;background:var(--r-paper);border:1px solid var(--r-line);border-radius:15px;box-shadow:0 10px 25px #233b361a;color:var(--r-blue);display:flex;height:48px;justify-content:center;position:absolute;width:48px}
.pmr-bubble svg{height:22px;width:22px}
.pmr-bubble--1{left:9%;top:21%;transform:rotate(-10deg)}
.pmr-bubble--2{bottom:16%;right:4%;transform:rotate(8deg)}
.pmr-note{background:var(--r-paper);border:1px solid var(--r-line);border-radius:12px;bottom:18px;box-shadow:var(--r-shadow);color:var(--r-ink);font-size:11px;left:3%;padding:10px 13px;position:absolute}
.pmr-note span{color:var(--r-green);font-weight:750}
.pmr-steps{align-items:center;background:linear-gradient(125deg,#dce6ec,#e8eceb);border:1px solid #cddae1;border-radius:17px;display:grid;gap:20px;grid-template-columns:1fr repeat(3,1fr);margin-top:28px;padding:22px 25px}
.pmr-steps__intro strong{color:#36536a;display:block;font-size:17px;letter-spacing:-.02em}
.pmr-steps__intro span{color:var(--r-sub);display:block;font-size:12px;margin-top:4px}
.pmr-step{align-items:flex-start;display:flex;gap:10px}
.pmr-num{align-items:center;background:var(--r-paper);border:1px solid #d6e1e8;border-radius:50%;color:var(--r-blue);display:flex;flex:none;font-size:12px;font-weight:800;height:29px;justify-content:center;width:29px}
.pmr-step strong{display:block;font-size:12px}
.pmr-step span{color:var(--r-sub);display:block;font-size:11px;margin-top:2px}
.pmr-section{margin-top:34px}
.pmr .pmr-h2{color:var(--r-ink);font-size:24px;font-weight:750;letter-spacing:-.035em;line-height:1.2;margin:0;text-transform:none}
.pmr-sub{color:var(--r-sub);font-size:13px;margin:4px 0 15px}
.pmr-cats{display:grid;gap:12px;grid-template-columns:repeat(5,minmax(0,1fr))}
.pmr-cat{align-items:center;background:var(--r-paper);border:1px solid var(--r-line);border-radius:14px;color:var(--r-ink)!important;display:flex;flex-direction:column;gap:7px;justify-content:center;min-height:112px;padding:12px 7px;text-align:center;text-decoration:none!important;transition:transform .15s,border-color .15s}
.pmr-cat:hover{border-color:var(--r-blue);transform:translateY(-2px)}
.pmr-cat i{align-items:center;background:var(--r-pale);border-radius:12px;color:var(--r-blue);display:flex;height:42px;justify-content:center;width:42px}
.pmr-cat:nth-child(4n+2) i{background:#e5eaed;color:#536d80}
.pmr-cat:nth-child(4n+3) i{background:#dce6ed;color:#446b86}
.pmr-cat:nth-child(4n+4) i{background:#e9eceb;color:#5d707c}
.pmr-cat i svg{height:24px;width:24px;stroke:currentColor}
.pmr-cat span{font-size:12px;font-weight:650;line-height:1.2}
.pmr-promises{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr));margin:22px 0 10px}
.pmr-promise{align-items:center;background:var(--r-paper);border:1px solid var(--r-line);border-radius:13px;color:var(--r-ink)!important;display:flex;gap:12px;padding:15px;text-decoration:none!important}
.pmr-promise i{align-items:center;background:var(--r-pale);border-radius:11px;color:var(--r-blue);display:flex;flex:none;height:40px;justify-content:center;width:40px}
.pmr-promise i svg{height:19px;width:19px}
.pmr-promise strong{display:block;font-size:12px}
.pmr-promise span{color:var(--r-sub);display:block;font-size:11px}
/* suggestions dans le héros */
.pmr .pma-suggest{border-color:var(--r-line);border-radius:12px;box-shadow:var(--r-shadow);z-index:60}

/* ===== PAGES « PIÈCES PAR APPAREIL » (module) ===== */
.pma .pma-entete,.pma .pma-fiche{background:var(--r-paper);border:1px solid var(--r-line);border-radius:20px}
.pma .pm-hero__bouton{background:var(--r-blue)!important;border-color:var(--r-blue)!important;color:#fff!important}
.pma .pm-rayon,.pma .pm-pastille,.pma .pma-modele,.pma .pma-zone{background:var(--r-paper)!important;border-color:var(--r-line)!important;color:var(--r-ink)!important}
.pma .pm-rayon:hover,.pma .pm-pastille:hover,.pma .pma-modele:hover{border-color:var(--r-blue)!important}
.pma .pm-trouve{background:var(--r-soft)!important;border-color:var(--r-line)!important}
.pma .pm-trouve__btn{color:var(--r-blue-d)!important}
.pma-ico,.pma .pm-rayon__icone{color:var(--r-blue)!important}

/* ===== FICHE PRODUIT ===== */
#product .product-cover,#product .images-container .product-cover{background:var(--r-paper);border:1px solid var(--r-line);border-radius:18px;overflow:hidden}
#product h1.h1{font-size:clamp(27px,3.2vw,37px)!important;letter-spacing:-.045em;line-height:1.13;text-transform:none!important;color:var(--r-ink)}
#product .current-price-value,#product .current-price span{font-size:33px!important;font-weight:780;letter-spacing:-.045em;color:var(--r-ink)!important}
#product .product-add-to-cart .product-quantity{display:flex!important;flex-wrap:nowrap!important;align-items:stretch;gap:10px}
#product .product-add-to-cart .qty{flex:0 0 76px!important;max-width:76px!important;margin:0!important}
#product .product-add-to-cart .add{flex:1 1 auto!important;margin:0!important}
#product .add-to-cart{width:100%;min-height:44px}
#product #product-availability{background:#edf7f0;border-radius:11px;color:var(--r-green)!important;display:block;padding:12px 13px;margin-top:14px}
#product .tabs{background:var(--r-paper);border:1px solid var(--r-line);border-radius:16px;padding:21px 23px}

/* ===== TÉLÉPHONE ===== */
@media (max-width:760px){
  body:has(#pmr-accueil) #header #search_widget{display:none!important}
  .pm-bandeau{font-size:13px;line-height:1.45;padding:10px 14px}
  .pmr-hero{gap:10px;grid-template-columns:1fr;padding:24px 21px 14px}
  .pmr .pmr-h1{font-size:36px}
  .pmr-hero__copy{font-size:14px}
  .pmr-visual{min-height:227px}
  .pmr-washer{transform:scale(.82) rotate(-2deg)}
  .pmr-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pmr-cat{min-height:82px}
  .pmr-steps{grid-template-columns:1fr;padding:18px}
  .pmr-promises{grid-template-columns:1fr}
  .pmr-help{align-items:flex-start;flex-direction:column;gap:8px}
  .pmr .pm-hero__champ,.pma-champ,.pma-champ-haut{font-size:16px!important}
  .pma-suggest a{min-height:48px}
  #product h1.h1{font-size:26px!important}
}
@media (min-width:761px) and (max-width:991px){.pmr-cats{grid-template-columns:repeat(4,minmax(0,1fr))}.pmr-hero{grid-template-columns:1fr}}
@media (max-width:400px){.pmr .pm-hero__form{align-items:stretch;flex-direction:column}.pmr .pm-hero__bouton{width:100%}}

/* correctifs vérifiés à l'écran 13/11 */
.pmr-step .pmr-num{display:flex;margin:0;color:var(--r-blue);font-size:12px;line-height:1}

/* ===== FICHE PRODUIT — refonte ergonomique (maquette « Fiche produit ») ===== */
.pm-service{box-shadow:0 0 0 100vmax #20343a;clip-path:inset(0 -100vmax)}
body#product section#main{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
#product .product-container{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin-top:4px}
#product .product-container>.col-md-6:first-child .page-content{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
#product .product-cover{background:var(--r-paper)!important;border:1px solid var(--r-line)!important;border-radius:18px!important;min-height:400px;display:flex;align-items:center;justify-content:center;padding:28px}
#product .product-cover img{max-height:360px;width:auto;max-width:100%;object-fit:contain;box-shadow:none!important;background:transparent}
#product .product-cover .layer{display:none!important}
#product .product-flags{top:16px;left:16px}
#product .product-flag{background:var(--r-bsoft)!important;color:var(--r-muted)!important;border-radius:50px;font-size:10px;font-weight:700;letter-spacing:.06em;padding:6px 10px;box-shadow:none}
#product .product-images>li.thumb-container .thumb{border:1px solid var(--r-line)!important;border-radius:10px;background:var(--r-paper)}
#product .product-images .selected,#product .product-images .thumb.selected{border-color:var(--r-blue)!important}
#product .scroll-box-arrows{display:none!important}
/* colonne d'achat : une carte nette */
#product .product-container>.col-md-6:last-child{background:var(--r-paper);border:1px solid var(--r-line);border-radius:18px;padding:26px 28px!important;box-shadow:0 8px 26px #2539480f}
#product h1.h1{margin:0 0 6px!important}
#product .product-prices{margin:12px 0 0!important}
#product .pma-tva{color:var(--r-sub);font-size:11px;margin-top:2px}
#product .product-description{margin:14px 0 0}
#product .product-description p{align-items:center;background:var(--r-bg);border-radius:9px;color:var(--r-ink);display:inline-flex;font-size:13px;font-weight:650;margin:0;padding:9px 12px}
#product .product-actions{margin-top:6px}
#product .product-add-to-cart .control-label{display:none!important}
#product .product-add-to-cart{margin-top:14px}
#product .product-quantity .qty .input-group{height:48px}
#product .product-quantity #quantity_wanted{background:var(--r-paper)!important;border:1px solid var(--r-line)!important;border-radius:9px 0 0 9px!important;height:48px;font-size:16px;text-align:center}
#product .product-quantity .btn-touchspin{background:var(--r-bg)!important;border-color:var(--r-line)!important}
#product .add-to-cart{min-height:48px!important;font-size:16px;border-radius:10px!important;box-shadow:0 6px 16px #2d5f8033}
#product .product-add-to-cart .product-quantity::after{content:"Livraison offerte · Retour sous 14 jours · Paiement sécurisé";color:var(--r-sub);flex:0 0 100%;font-size:11px;text-align:center;margin-top:8px}
#product .product-add-to-cart .product-quantity{flex-wrap:wrap!important}
#product #product-availability{background:transparent!important;padding:0!important;margin:14px 0 0!important}
#product #product-availability .alert{align-items:center;background:#edf7f0!important;border:0!important;border-radius:11px;color:var(--r-green)!important;display:flex;font-size:13px;font-weight:700;margin:0;padding:12px 13px}
#product #product-availability .alert i{color:var(--r-green)!important}
#product #product-availability .alert-warning{background:#f6f1e4!important;color:#7a6330!important}
#product #product-availability .alert-warning i{color:#b38a2e!important}
#product .social-sharing{display:none!important}
#product #product-comments-list-header,#product .product-comments,#product #product-comments-list,#product #empty-product-comment,#product .product-comment-list-item,#product #product-comments-list-footer{display:none!important}
.pmr-features{border-top:1px solid var(--r-line);display:grid;gap:9px 14px;grid-template-columns:1fr 1fr;margin-top:18px;padding-top:15px}
.pmr-feature{align-items:flex-start;color:var(--r-sub);display:flex;font-size:12px;gap:7px;line-height:1.35}
.pmr-feature svg{color:var(--r-green);flex:none;height:16px;width:16px;margin-top:1px}
#product .pma-lien-compat{background:var(--r-pale);border-radius:9px;color:var(--r-blue-d)!important;display:block;font-size:13px;font-weight:700;margin-top:14px;padding:10px 12px;text-decoration:none}
#product .pma-lien-compat::after{content:"  ↓"}
/* onglets description : carte pleine largeur, sobre */
#product .tabs{background:var(--r-paper)!important;border:1px solid var(--r-line)!important;border-radius:16px!important;box-shadow:none!important;margin-top:22px;padding:18px 22px!important}
#product .tabs .nav-link{color:var(--r-sub)!important;font-weight:650;border:0!important;border-bottom:2px solid transparent!important;background:none!important}
#product .tabs .nav-link.active{color:var(--r-blue-d)!important;border-bottom-color:var(--r-blue)!important}
#product .tabs .tab-content{color:var(--r-sub);font-size:14px}
/* compatibilité : carte claire, modèles en pastilles */
.pma-compat{background:var(--r-paper)!important;border:1px solid var(--r-line)!important;border-radius:16px!important;margin-top:25px!important;padding:21px 23px!important}
.pma-compat__titre{color:var(--r-ink)!important;font-size:19px!important;letter-spacing:-.02em;text-transform:none!important}
.pma-compat__sous{color:var(--r-sub)!important;font-size:12px}
.pma-compat__liste{display:flex!important;flex-wrap:wrap;gap:7px}
.pma-compat__item{background:var(--r-bg)!important;border:1px solid transparent!important;border-radius:8px!important;color:var(--r-ink)!important;display:inline-flex!important;flex-direction:column;padding:7px 10px!important;text-decoration:none!important}
.pma-compat__item:hover{border-color:var(--r-blue)!important}
.pma-compat__type{color:var(--r-sub);font-size:10px}
.pma-compat__pied{color:var(--r-sub);font-size:12px;margin-top:12px}
@media (min-width:768px){#product .product-container>.col-md-6:last-child{position:sticky;top:16px;align-self:flex-start}#product .product-container{display:flex;align-items:flex-start;gap:0}}
@media (max-width:767px){
  #product .product-cover{min-height:280px;padding:18px}
  #product .product-cover img{max-height:250px}
  #product .product-container>.col-md-6:last-child{margin-top:14px;padding:20px 18px!important}
  .pmr-features{grid-template-columns:1fr}
  #product .tabs{padding:14px 16px!important}
}
#product .product-add-to-cart{display:flex;flex-direction:column}
#product .product-add-to-cart #product-availability{order:-1;margin:0 0 14px!important}
#product .product-add-to-cart .product-quantity{display:flex!important;gap:10px}
#product .product-quantity .qty{flex:0 0 96px!important;max-width:96px!important;margin:0!important}
#product .product-quantity .add{flex:1 1 0!important;margin:0!important}
#product .product-quantity .add .add-to-cart{width:100%!important}
#product .product-quantity #stripe-express-checkout-element,#product .product-quantity #stripe-error-message,#product .product-quantity #payment-method-messaging-element{flex:0 0 100%}
#product .product-quantity #stripe-express-checkout-element:empty,#product .product-quantity #stripe-error-message:empty,#product .product-quantity #payment-method-messaging-element:empty{display:none}
#product .js-qv-mask:has(li:only-child){display:none!important}

/* ===== V3 (13/11) — finitions sur toutes les pages : surfaces, titres, vignettes, pied de page, téléphone ===== */
/* -- surfaces : plus de blanc pur, cartes papier arrondies -- */
#wrapper section#main{background:var(--r-paper)!important;border:1px solid var(--r-line)!important;border-radius:18px!important;box-shadow:none!important;padding:24px 26px!important}
body#cart section#main,body#checkout section#main,body#order-confirmation section#main{background:transparent!important;border:0!important;padding:0!important}
#wrapper section#main .page-content,#wrapper section#main .page-content.card,#wrapper section#main .contact-form,#wrapper section#main .page-cms{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
#wrapper .card{background:var(--r-paper)!important;border:1px solid var(--r-line)!important;border-radius:16px!important;box-shadow:none!important}
#wrapper .card.page-content{border:0!important}
#left-column>div{background:var(--r-paper)!important;border:1px solid var(--r-line)!important;border-radius:16px!important;box-shadow:none!important;padding:16px 18px!important;margin-bottom:14px}
#left-column .h6,#left-column .facet-label,#left-column .facet-title{color:var(--r-ink)!important;font-size:14px!important;font-weight:700!important;text-transform:none!important}
#left-column a{color:var(--r-sub)!important;font-size:13px}
#left-column a:hover{color:var(--r-blue-d)!important}
#wrapper .form-control,#wrapper .select-title,#wrapper .custom-select,#wrapper select{background-color:var(--r-paper)!important;border:1px solid var(--r-line)!important;border-radius:9px!important;box-shadow:none!important;color:var(--r-ink)!important}
#wrapper .form-control:focus{border-color:var(--r-blue)!important;outline:2px solid #2d5f8026!important}
#wrapper .input-group .form-control{border-radius:9px 0 0 9px!important}
#wrapper .btn-secondary,#wrapper .btn-tertiary{background:var(--r-soft)!important;border:0!important;border-radius:9px!important;color:var(--r-blue-d)!important;font-weight:700;text-transform:none!important;box-shadow:none!important}
#wrapper .btn{box-shadow:none;text-transform:none!important}
#wrapper .pagination{background:transparent!important}
#wrapper .pagination .page-list{background:transparent!important;box-shadow:none!important;padding:0!important}
#wrapper .pagination a{border-radius:8px;color:var(--r-sub)!important;font-weight:650;padding:6px 10px}
#wrapper .pagination .current a,.pma-pages__cur{background:var(--r-blue)!important;border-color:var(--r-blue)!important;border-radius:8px!important;color:#fff!important}
#wrapper .alert-warning{background:#f6f1e4!important;border:0!important;border-radius:11px;color:#7a6330!important}
#wrapper .alert-info{background:var(--r-pale)!important;border:0!important;border-radius:11px;color:var(--r-blue-d)!important}
/* -- titres : casse normale, même dessin partout -- */
#wrapper h1,#wrapper .h1,#wrapper h2,#wrapper .h2,#wrapper h3,#wrapper .h3,#wrapper h4,#wrapper .h4,#wrapper .text-uppercase,#wrapper .card-title{color:var(--r-ink)!important;letter-spacing:-.02em;text-transform:none!important}
#wrapper #main>h1,#wrapper #main h1.h1,#wrapper .page-header h1,#wrapper .block-category h1{font-size:28px!important;font-weight:750!important;letter-spacing:-.035em!important;line-height:1.15;margin:0 0 10px!important}
#wrapper .block-category{background:transparent!important;border:0!important;box-shadow:none!important;min-height:0!important;padding:0!important;margin-bottom:14px}
#wrapper #category-description,#wrapper #category-description p{color:var(--r-sub);font-size:14px}
#wrapper section.featured-products>h2,#wrapper section.product-accessories>h2,#wrapper section.featured-products>.h2,#wrapper #main>section>h2{font-size:22px!important;font-weight:750!important;letter-spacing:-.03em!important;margin:38px 0 14px!important;text-align:left!important}
/* -- blocs « recherche sur demande » écrits en dur : même palette -- */
#wrapper div[style*="border-left:4px solid"]{background:var(--r-bsoft)!important;border:1px solid var(--r-line)!important;border-left:4px solid var(--r-muted)!important;border-radius:0 12px 12px 0!important;color:var(--r-sub)!important}
#wrapper a[style*="background:#0e7c96"],.pm-trouve__btn{background:var(--r-blue)!important;border-color:var(--r-blue)!important;border-radius:9px!important;color:#fff!important}
/* -- vignettes produit (catégorie, recherche, « déjà vus », même catégorie) -- */
#wrapper .products{display:grid!important;gap:14px;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));margin:0!important}
#wrapper .products>.product,#wrapper .products>div{flex:none!important;float:none!important;max-width:none!important;min-width:0;padding:0!important;width:auto!important}
#wrapper .product-miniature{margin:0!important;height:100%}
#wrapper .product-miniature .thumbnail-container{background:var(--r-paper)!important;border:1px solid var(--r-line)!important;border-radius:14px!important;box-shadow:none!important;display:flex;flex-direction:column;height:100%!important;margin:0!important;overflow:hidden;transition:border-color .15s,transform .15s;width:100%!important}
#wrapper .product-miniature .thumbnail-container:hover{border-color:var(--r-blue)!important;transform:translateY(-2px)}
#wrapper .product-miniature .thumbnail-top,#wrapper .product-miniature .product-thumbnail{background:transparent!important;display:block}
#wrapper .product-miniature .product-thumbnail img{aspect-ratio:1/1;height:auto!important;margin:0!important;object-fit:contain;padding:10px;position:static!important;width:100%!important;max-width:100%!important}
#wrapper .product-miniature .product-description{background:transparent!important;border-top:1px solid var(--r-line);bottom:auto!important;box-shadow:none!important;height:auto!important;padding:10px 12px 12px!important;position:static!important;text-align:left!important;width:auto!important}
#wrapper .product-miniature .product-title{margin:0 0 5px!important;text-align:left!important;text-transform:none!important}
#wrapper .product-miniature .product-title a{color:var(--r-ink)!important;font-size:13px!important;font-weight:650!important;line-height:1.3;text-align:left}
#wrapper .product-miniature .product-price-and-shipping{color:var(--r-ink)!important;font-size:16px!important;font-weight:780!important;letter-spacing:-.02em;text-align:left!important}
#wrapper .product-miniature .product-price-and-shipping .price{color:var(--r-ink)!important}
#wrapper .product-miniature .highlighted-informations,#wrapper .product-miniature .product-list-reviews,#wrapper .product-miniature .quick-view{display:none!important}
#wrapper .product-miniature .product-flags{left:10px;top:10px}
#wrapper .product-flags .product-flag{background:var(--r-bsoft)!important;border-radius:50px;box-shadow:none!important;color:var(--r-muted)!important;font-size:10px!important;font-weight:700!important;letter-spacing:.05em;margin:0 0 4px!important;min-height:0!important;min-width:0!important;padding:5px 9px!important;text-transform:uppercase}
#wrapper .product-flags .product-flag.out_of_stock{background:#f6f1e4!important;color:#7a6330!important}
#wrapper #products .up{display:none}
/* -- pages « pièces par appareil » : fin du turquoise -- */
.pma .pma-exemple{background:var(--r-paper)!important;border:1px solid var(--r-line)!important;border-radius:999px!important;color:var(--r-blue-d)!important}
.pma-fiche__autre,.pma-voir{background:var(--r-paper)!important;border:1px solid var(--r-line)!important;border-radius:9px!important;color:var(--r-blue-d)!important;font-weight:700}
.pma-fiche__autre:hover,.pma-voir:hover{border-color:var(--r-blue)!important}
.pm-ref,.pm-etape__num{color:var(--r-blue-d)!important}
.pma .pma-carte,.pma .pma-filtre__champ,.pma .pm-hero__encadre,.pma .pm-hero__form{background:var(--r-paper)!important;border-color:var(--r-line)!important}
.pma .pma-carte{border-radius:12px!important}
.pma .pma-carte:hover{border-color:var(--r-blue)!important}
.pma .pm-hero__encadre{background:var(--r-bg)!important;border-radius:14px}
.pma .pm-hero__form{border:1px solid var(--r-line)!important;border-radius:12px!important;padding:5px}
.pma .pm-hero__form .pm-hero__champ{background:transparent!important;border:0!important;box-shadow:none!important}
.pma .pm-hero__form .pm-hero__bouton{border-radius:9px!important}
.pma .pma-entete,.pma .pma-fiche{background:var(--r-bg)!important;border-radius:14px}
.pma .pm-trouve{border-radius:12px!important}
/* -- fiche produit -- */
#product .tabs .product-description p,#product .tabs .tab-pane p{background:none!important;border-radius:0;color:var(--r-sub)!important;display:block!important;font-size:14px!important;font-weight:400!important;line-height:1.6;margin:0 0 8px!important;padding:0!important}
#product .tabs .nav-tabs{border-bottom:1px solid var(--r-line)!important;margin-bottom:14px}
#product .product-add-to-cart .product-quantity::after{content:none!important}
#product .product-cover{min-height:460px}
#product .product-cover img{max-height:420px}
#product .data-sheet .name,#product .data-sheet .value{background:var(--r-bg)!important;color:var(--r-ink)!important;font-size:13px;text-transform:none!important}
#product .product-manufacturer img{border-radius:8px}
@media (min-width:768px){#product .product-container>.col-md-6:last-child{position:static!important}#product .product-container>.col-md-6:first-child{align-self:flex-start;position:sticky;top:16px}}
/* -- accueil -- */
.pmr .pmr-h1{font-size:clamp(32px,3.5vw,44px)}
/* -- panier -- */
#cart .cart-summary .btn-primary,#cart .checkout .btn-primary{min-height:46px;width:100%}
#cart .cart-container .card-block,#cart .cart-summary .card-block{padding:18px 20px}
#cart .product-line-info a.label{color:var(--r-ink)!important;font-weight:650}
/* -- pied de page -- */
#footer{margin-top:44px;padding-top:0!important}
#footer>.container{padding-bottom:20px;padding-top:26px}
#footer .block_newsletter{background:transparent!important;margin:0 auto;float:none;width:100%}
#footer #block-newsletter-label{font-size:18px!important;font-weight:750;letter-spacing:-.02em;padding-top:9px;text-align:left!important}
#footer .block_newsletter form input[type=email]{background:#ffffff14!important;border:1px solid #ffffff38!important;border-radius:9px!important;color:#fff!important;height:44px;padding:8px 12px}
#footer .block_newsletter form input[type=email]::placeholder{color:#c9d6de}
#footer .block_newsletter form .btn{background:#fdfbf7!important;border:0!important;border-radius:9px!important;color:#234c68!important;font-weight:700;height:44px;margin-left:8px;text-transform:none!important}
#footer .block_newsletter p{color:#b9c9d3!important;font-size:11px}
#footer .footer-container{background:transparent!important;border-top:1px solid #ffffff1f;box-shadow:none!important;margin-top:0!important;padding-top:28px!important}
#footer .footer-container .h3,#footer .footer-container .h4,#footer .footer-container .h3 a,#footer .block-contact-title{color:#9fb6c6!important;font-size:11px!important;font-weight:700!important;letter-spacing:.09em!important;margin-bottom:10px;text-transform:uppercase!important}
#footer .footer-container li{margin-bottom:6px}
#footer .footer-container li a{color:#e6edf1!important;font-size:13px}
#footer .footer-container li a:hover{color:#fff!important;text-decoration:underline}
#footer .block-contact,#footer .block-contact *,#footer #contact-infos{color:#d5e0e6!important;font-size:13px;line-height:1.7}
#footer .block-contact a{color:#fff!important;font-weight:650}
#footer .footer-container .col-md-12>p{font-size:0!important;margin:22px 0 4px}
#footer .footer-container .col-md-12>p::after{color:#9fb6c6;content:"© 2026 Pièce Malin — pièces détachées d'électroménager";font-size:12px}
#footer .footer-container>.container>p.small,#footer p.small{color:#9fb6c6!important;font-size:11px}
@media (min-width:768px){#footer .links>.row>.wrapper{flex:0 0 33.333%;max-width:33.333%;width:33.333%}}
/* -- téléphone -- */
@media (max-width:767px){
  #header .header-nav{background:var(--r-paper)!important;border-bottom:1px solid var(--r-line)}
  #header .header-nav .material-icons,#header .header-nav a,#header .header-nav #menu-icon i,#header .header-nav .blockcart *{color:var(--r-ink)!important}
  #header .header-nav .blockcart{background:transparent!important}
  #wrapper section#main{border-radius:14px!important;padding:16px 14px!important}
  #wrapper .products{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
  #wrapper .product-miniature .product-title a{font-size:12px!important}
  #wrapper .product-miniature .product-price-and-shipping{font-size:15px!important}
  #wrapper #main h1.h1{font-size:23px!important}
  #wrapper section.featured-products>h2,#wrapper #main>section>h2{font-size:19px!important;margin-top:28px!important}
  .pmr .pm-hero__form{align-items:stretch!important;flex-direction:column!important}
  .pmr .pm-hero__bouton{flex:none!important;max-width:none!important;width:100%!important}
  .pmr .pm-hero__champ{flex:none!important;width:100%!important}
  #product .product-cover{min-height:260px}
  #product .product-cover img{max-height:240px}
  #footer #block-newsletter-label{padding-top:0}
  #footer .footer-container .title{border-bottom:1px solid #ffffff1f!important;padding:12px 0!important}
  #footer .footer-container .title .h3,#footer .footer-container .title .material-icons{color:#e6edf1!important}
}
/* V3 retouches */
#footer .footer-container .col-md-12>p a{display:none!important}
#left-column>div:not(:has(*)){display:none!important}
#wrapper .product-flags .product-flag{border-radius:9px;line-height:1.25;max-width:calc(100% - 8px);white-space:normal}
@media (max-width:767px){.pmr .pm-hero__form{flex-wrap:nowrap!important;height:auto!important}}
.pma-carte__prix{white-space:nowrap}
.pma .pm-trouve__btn{color:#fff!important}
#wrapper .group-span-filestyle .btn,#wrapper .input-group-btn>.btn{background:var(--r-soft)!important;border:0!important;color:var(--r-blue-d)!important;font-weight:700}
#wrapper .product-miniature .product-title a{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#wrapper .tabs .tab-content{padding-top:6px}#wrapper .tabs .tab-pane{padding-top:0}#wrapper .tabs .tab-pane .product-description{margin-top:0}
#wrapper .product-reference{display:none}

/* 13/11/2026 mobile: bouton Chercher + badges fiche */
.pma-barre .pma-form{height:auto!important;min-height:52px}#wrapper .page-content .product-flags{width:auto;max-width:calc(100% - 16px)}
@media (max-width:767px){#header .header-top-right > .pm-bandeau{width:auto!important;max-width:none}}#wrapper .product-flags .product-flag{white-space:nowrap}
.pm-origine{margin:6px 0 8px;font-size:14px;line-height:1.45}.pm-origine--oem{color:#1f6f43}.pm-origine__puce{display:inline-block;margin-right:6px;font-weight:700}.pm-origine--adapt{color:#5b4a1f;background:#fbf4e4;border-left:3px solid #d9a441;padding:6px 10px;border-radius:4px}
@media (max-width:767px){#left-column #search_filters_brands{display:none}}
#subcategories .pm-souscat-replie li:nth-child(n+13){display:none}#subcategories .pm-souscat-plus{display:block;margin:10px auto 4px;padding:8px 16px;border:1px solid #2c5f7c;border-radius:20px;background:#fff;color:#2c5f7c;font-weight:600;cursor:pointer}
.pma-raccourcis .pma-modele__ref{word-break:normal;overflow-wrap:break-word;font-family:inherit;letter-spacing:0}
@media (max-width:767px){.page-cms,.page-cms p,.page-cms li{text-align:left!important}}
#wrapper .product-miniature .product-flags .product-flag{white-space:normal;max-width:calc(100% - 8px);line-height:1.25}
@media (min-width:768px) and (max-width:1199px){#header .header-top>.container{max-width:100%;width:100%}#header #top-menu>li>a{padding-right:9px;font-size:13px}}
@media (max-width:767px){body#index #header .header-top{padding-top:0}body#index #header .header-top>.container{padding-top:0}}
@media (max-width:767px){#header #_mobile_cart{padding-right:10px;padding-top:13px}#header #_mobile_cart .cart-products-count{margin-left:2px}}
@media (max-width:767px){body#index #header .header-top>.container>.row{width:calc(100% + 30px)!important;max-width:none!important;flex:0 0 auto!important}}
@media (max-width:767px){.pma-form{height:auto!important;min-height:52px}#header .header-top{padding-top:8px}#header .header-top>.container{padding-top:0}}
@media (max-width:767px){#header .header-top>.container>.row{width:calc(100% + 30px)!important;max-width:none!important;flex:0 0 auto!important}}
@media (max-width:767px){.pma-form{row-gap:8px}.pma-form input.pma-champ,.pma-form .pm-hero__champ{height:auto!important;min-height:44px;line-height:1.35;padding-top:10px;padding-bottom:10px}}

/* PM-PANIER-20261127 (Claude) : panier et commande plus modernes. Retour : php ~/bin/panier_commande_20261127.php --restaurer */
body#cart .blockreassurance_product,
body#checkout .blockreassurance_product { background:#fff; border:1px solid #e3e8ec; border-radius:12px; padding:6px 16px; margin-top:16px; }
body#cart .blockreassurance_product > div:not(.clearfix),
body#checkout .blockreassurance_product > div:not(.clearfix) { display:grid; grid-template-columns:38px 1fr; column-gap:12px; align-items:center; padding:10px 0; margin:0; }
body#cart .blockreassurance_product > div + div:not(.clearfix),
body#checkout .blockreassurance_product > div + div:not(.clearfix) { border-top:1px solid #eef1f4; }
body#cart .blockreassurance_product .item-product,
body#checkout .blockreassurance_product .item-product { grid-row:1 / span 2; float:none; width:38px; height:38px; margin:0; border-radius:50%; background:#eaf1f6; display:flex; align-items:center; justify-content:center; }
body#cart .blockreassurance_product .item-product svg, body#cart .blockreassurance_product .item-product img,
body#checkout .blockreassurance_product .item-product svg, body#checkout .blockreassurance_product .item-product img { width:20px; height:20px; }
body#cart .blockreassurance_product .block-title,
body#checkout .blockreassurance_product .block-title { display:block; margin:0; padding:0; font-weight:600; font-size:14px; line-height:1.3; color:#1f2d3a; }
body#cart .blockreassurance_product p,
body#checkout .blockreassurance_product p { grid-column:2; margin:2px 0 0; padding:0; font-size:13px; line-height:1.4; color:#5f6b76; }
body#cart .blockreassurance_product .clearfix,
body#checkout .blockreassurance_product .clearfix { display:none; }
body#cart .cart-item .product-line-info a.label { color:#1f2d3a; font-weight:600; line-height:1.35; }
body#cart #cart-subtotal-shipping .value,
body#checkout #cart-subtotal-shipping .value { color:#1e7d4f; font-weight:600; }
body#cart .bootstrap-touchspin { border:1px solid #d5dde4; border-radius:8px; overflow:hidden; }
body#cart .bootstrap-touchspin input.form-control { border:0; }
body#checkout .delivery-option { border:1px solid #e3e8ec; border-radius:10px; padding:10px 6px; margin-bottom:8px; background:#fff; }
body#checkout .carrier-logo img { width:40px; height:40px; border-radius:8px; }
body#checkout .carrier-delay { font-size:13px; color:#5f6b76; }
body#checkout .delivery-options::after { content:"* Pi\00E8 ces en stock. Sur commande : 7 \00E0  15 jours ouvr\00E9 s."; display:block; margin:4px 0 0 4px; font-size:12px; color:#6b7680; }

/* Fiche sans photo (01/12/2026) : bloc compact a la place du grand carre vide (sauvegarde : ~/sauvegardes/portfolio-20261201/refonte.css.avant-sansphoto-20261201) */
#product .images-container.pma-sans-photo .product-cover,#product .images-container.pma-sans-photo .js-qv-mask,#product .pma-sans-photo ~ .scroll-box-arrows{display:none!important}
#product .pma-sansphoto{margin:0 0 16px;aspect-ratio:1/1;max-height:520px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--r-paper,#fdfbf7);border:1px solid var(--r-line,#cdd8de);border-radius:18px}
#product .pma-sansphoto__ico{display:flex;color:var(--r-blue,#2d5f80);opacity:.75}
#product .pma-sansphoto__ico svg{width:42%;min-width:110px;max-width:200px;height:auto;margin:0 auto}
#product .pma-sansphoto__ico{width:100%;justify-content:center}
#product .pma-sansphoto figcaption{margin-top:18px;font-size:12px;color:var(--r-sub,#586d7a);letter-spacing:.02em}
@media (max-width:767px){#product .pma-sansphoto{aspect-ratio:4/3}#product .pma-sansphoto figcaption{margin-top:12px}}
