/* Panier d'achat Plan B — mise en forme (page checkout/cart seulement) — 2026-10-28 */
html.route-checkout-cart .cart-page{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:28px;align-items:start}
html.route-checkout-cart .cart-page>*{min-width:0}
html.route-checkout-cart .cart-page .cart-table{margin:0}
html.route-checkout-cart .cart-table .table-responsive{border:0!important;overflow:visible!important;margin:0!important;background:transparent!important;box-shadow:none!important}
html.route-checkout-cart .cart-table table.table{border:0!important;background:transparent!important;margin:0!important}
html.route-checkout-cart .cart-table table.table,html.route-checkout-cart .cart-table table.table>tbody{display:block;width:100%}
html.route-checkout-cart .cart-table table.table>thead{display:none}

/* une carte par produit */
html.route-checkout-cart .cart-table table.table>tbody>tr{display:grid;grid-template-columns:96px minmax(0,1fr) 130px;grid-template-areas:"img name total" "img model total" "img qty price";column-gap:20px;row-gap:6px;align-items:center;background:#fff;border:1px solid #E3E6EA;border-radius:18px;padding:18px;margin:0 0 14px;box-shadow:0 2px 12px rgba(16,25,33,.05)}
html.route-checkout-cart .cart-table table.table>tbody>tr>td{display:block;border:0!important;padding:0!important;background:transparent!important;text-align:left;width:auto!important}
html.route-checkout-cart .cart-table .td-image{grid-area:img;align-self:start}
html.route-checkout-cart .cart-table .td-image img{display:block;width:96px;height:96px;object-fit:contain;border-radius:14px;background:#F4F6F8;padding:8px;border:1px solid #EEF0F2}
html.route-checkout-cart .cart-table .td-name{grid-area:name;align-self:end}
html.route-checkout-cart .cart-table .td-name a{display:block;font-size:17px;font-weight:700;line-height:1.3;color:#101921;text-decoration:none}
html.route-checkout-cart .cart-table .td-name a:hover{color:#514590;text-decoration:underline}
html.route-checkout-cart .cart-table .td-model{grid-area:model;align-self:start;font-size:12.5px;color:#7A8591;letter-spacing:.02em;word-break:break-all}
html.route-checkout-cart .cart-table .td-model::before{content:"Réf. "}
html.route-checkout-cart .cart-table .td-qty{grid-area:qty;align-self:end}
html.route-checkout-cart .cart-table .td-price{grid-area:price;align-self:end;text-align:right!important;font-size:13px;color:#7A8591}
html.route-checkout-cart .cart-table .td-price::after{content:" l’unité"}
html.route-checkout-cart .cart-table .td-total{grid-area:total;align-self:start;text-align:right!important;font-size:21px;font-weight:800;color:#101921;white-space:nowrap}

/* quantité + boutons */
html.route-checkout-cart .cart-table .td-qty .input-group{display:flex;align-items:center;gap:10px;width:auto!important;max-width:none}
html.route-checkout-cart .cart-table .td-qty .input-group-btn{display:flex!important;gap:8px;width:auto!important}
html.route-checkout-cart .cart-table .td-qty .stepper{width:72px!important;flex:0 0 72px}
html.route-checkout-cart .cart-table .td-qty .stepper input.form-control{height:42px!important;border-radius:11px!important;border:1.5px solid #CBD2D9!important;text-align:center;font-weight:700;font-size:16px;padding:0 18px 0 6px!important;box-shadow:none!important}
html.route-checkout-cart .cart-table .td-qty .btn-update,html.route-checkout-cart .cart-table .td-qty .btn-remove{width:42px;height:42px;padding:0!important;border-radius:11px!important;display:inline-flex;align-items:center;justify-content:center;font-size:15px;box-shadow:none!important}
html.route-checkout-cart .cart-table .td-qty .btn-update{background:#fff!important;border:1.5px solid #514590!important;color:#514590!important}
html.route-checkout-cart .cart-table .td-qty .btn-update:hover{background:#514590!important;color:#fff!important}
html.route-checkout-cart .cart-table .td-qty .btn-remove{background:#fff!important;border:1.5px solid #E5484D!important;color:#E5484D!important}
html.route-checkout-cart .cart-table .td-qty .btn-remove:hover{background:#E5484D!important;color:#fff!important}

/* résumé */
html.route-checkout-cart .cart-bottom{background:#fff;border:1px solid #E3E6EA;border-radius:20px;padding:26px 24px 22px;box-shadow:0 8px 28px rgba(16,25,33,.09);position:sticky;top:110px;margin:0!important;width:auto!important;float:none!important}
html.route-checkout-cart .cart-bottom::before{content:"Résumé de la commande";display:block;font-weight:800;font-size:20px;color:#101921;margin-bottom:12px}
html.route-checkout-cart .cart-bottom .panels-total{margin:0!important;width:100%!important;float:none!important}
html.route-checkout-cart .cart-bottom .cart-total{margin:0!important;width:100%!important}
html.route-checkout-cart .cart-bottom .cart-total table.table{border:0!important;background:transparent!important;margin:0!important;display:block;width:100%}
html.route-checkout-cart .cart-bottom .cart-total table.table>tbody{display:block;width:100%}
html.route-checkout-cart .cart-bottom .cart-total table.table>tbody>tr{display:flex;justify-content:space-between;align-items:baseline;padding:8px 0;background:transparent!important}
html.route-checkout-cart .cart-bottom .cart-total table.table>tbody>tr>td{border:0!important;padding:0!important;background:transparent!important;width:auto!important;font-size:15px;color:#4A5560;text-align:left}
html.route-checkout-cart .cart-bottom .cart-total table.table>tbody>tr>td:last-child{color:#101921;font-weight:600;text-align:right}
html.route-checkout-cart .cart-bottom .cart-total table.table>tbody>tr>td strong{font-weight:500}
html.route-checkout-cart .cart-bottom .cart-total table.table>tbody>tr:last-child{margin-top:8px;padding-top:16px;border-top:1px solid #E3E6EA}
html.route-checkout-cart .cart-bottom .cart-total table.table>tbody>tr:last-child>td{font-size:24px;font-weight:800;color:#101921}
html.route-checkout-cart .cart-bottom .cart-total table.table>tbody>tr:last-child>td strong{font-weight:800}

/* boutons */
html.route-checkout-cart .cart-bottom .buttons{display:flex!important;flex-direction:column-reverse;gap:12px;margin:18px 0 0!important;padding:0!important}
html.route-checkout-cart .cart-bottom .buttons .pull-left,html.route-checkout-cart .cart-bottom .buttons .pull-right{float:none!important;width:100%;margin:0!important}
html.route-checkout-cart .cart-bottom .buttons .btn-primary{display:block;width:100%;background:#F58C35!important;border:0!important;color:#101921!important;font-weight:800;font-size:17px;border-radius:13px!important;padding:17px 18px!important;line-height:1.2;text-transform:none;box-shadow:0 4px 14px rgba(245,140,53,.35)}
html.route-checkout-cart .cart-bottom .buttons .btn-primary:hover{background:#E57C25!important}
html.route-checkout-cart .cart-bottom .buttons .btn-default{display:block;width:100%;background:transparent!important;border:0!important;color:#514590!important;font-weight:600;text-decoration:underline;box-shadow:none!important;padding:6px!important}

/* ajouts (script panier.js) */
html.route-checkout-cart .pb-livraison{margin:14px 0 4px;padding:12px 14px;border-radius:12px;background:#F4F1FA;color:#2B2550;font-size:14px;line-height:1.35}
html.route-checkout-cart .pb-livraison b{font-weight:800}
html.route-checkout-cart .pb-livraison .pb-barre{height:8px;border-radius:99px;background:#DDD8EE;margin-top:9px;overflow:hidden}
html.route-checkout-cart .pb-livraison .pb-barre i{display:block;height:100%;border-radius:99px;background:#514590;transition:width .5s}
html.route-checkout-cart .pb-livraison.ok{background:#E8F6EC;color:#14532D}
html.route-checkout-cart .pb-livraison.ok .pb-barre i{background:#2E9E5B}
html.route-checkout-cart .pb-confiance{display:flex;flex-direction:column;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #EEF0F2;font-size:13px;color:#5A6672}
html.route-checkout-cart .pb-confiance span{display:flex;gap:9px;align-items:center}
html.route-checkout-cart .pb-confiance i{width:18px;text-align:center;color:#514590}

/* petits écrans */
@media (max-width:991px){
  html.route-checkout-cart .cart-page{grid-template-columns:minmax(0,1fr);gap:20px}
  html.route-checkout-cart .cart-bottom{position:static}
}
@media (max-width:600px){
  html.route-checkout-cart .cart-table table.table>tbody>tr{grid-template-columns:76px minmax(0,1fr);grid-template-areas:"img name" "img model" "qty qty" "price total";column-gap:14px;padding:14px}
  html.route-checkout-cart .cart-table .td-image img{width:76px;height:76px}
  html.route-checkout-cart .cart-table .td-qty{margin-top:6px}
  html.route-checkout-cart .cart-table .td-price{text-align:left!important;align-self:center}
  html.route-checkout-cart .cart-table .td-total{align-self:center;font-size:19px}
  html.route-checkout-cart .cart-bottom{padding:22px 18px 18px}
}

/* ===================== CAISSE (checkout/checkout) - 2026-10-28 ===================== */
html.route-checkout-checkout #content{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:28px;align-items:start}
html.route-checkout-checkout #content>*{min-width:0}
html.route-checkout-checkout #content>#accordion{grid-column:1;grid-row:1;margin:0}
html.route-checkout-checkout #content>.pb-resume{grid-column:2;grid-row:1}

/* etapes = cartes numerotees */
html.route-checkout-checkout #accordion{counter-reset:etape}
html.route-checkout-checkout #accordion .panel{counter-increment:etape;background:#fff!important;border:1px solid #E3E6EA!important;border-radius:16px!important;box-shadow:0 2px 12px rgba(16,25,33,.05)!important;margin:0 0 12px!important;overflow:hidden}
html.route-checkout-checkout #accordion .panel-heading{background:transparent!important;border:0!important;padding:0!important}
html.route-checkout-checkout #accordion .panel-title{margin:0!important}
html.route-checkout-checkout #accordion .panel-title a{display:flex!important;align-items:center;gap:14px;padding:18px 22px!important;font-family:inherit!important;font-size:17px!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;color:#101921!important;text-decoration:none!important;line-height:1.3}
html.route-checkout-checkout #accordion .panel-title a::before{content:counter(etape);flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#EDEAF5;color:#514590;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:15px}
html.route-checkout-checkout #accordion .panel:has(.panel-collapse.in) .panel-title a::before{background:#514590;color:#fff}
html.route-checkout-checkout #accordion .panel-title a .fa-caret-down{display:none}
html.route-checkout-checkout #accordion .panel-collapse{border-top:1px solid #EEF0F2}
html.route-checkout-checkout #accordion .panel-body{padding:8px 22px 24px!important;border:0!important;background:transparent!important}

/* formulaires */
html.route-checkout-checkout #accordion fieldset legend{font-size:18px;font-weight:800;color:#101921;border:0;padding:6px 0 4px;margin:0 0 12px;text-transform:none}
html.route-checkout-checkout #accordion .form-group{margin:0 0 16px!important}
html.route-checkout-checkout #accordion .form-group .control-label{display:block!important;float:none!important;width:auto!important;text-align:left!important;padding:0 0 6px!important;margin:0!important;font-size:14px;font-weight:600;color:#2B3540}
html.route-checkout-checkout #accordion .form-group>div[class*=col-]{width:100%!important;float:none!important;padding:0!important}
html.route-checkout-checkout #accordion .form-control{height:46px;border-radius:10px!important;border:1.5px solid #CBD2D9!important;padding:0 14px;font-size:15px;box-shadow:none!important;background:#fff}
html.route-checkout-checkout #accordion textarea.form-control{height:auto;padding:12px 14px;min-height:96px}
html.route-checkout-checkout #accordion .form-control:focus{border-color:#514590!important;box-shadow:0 0 0 3px rgba(81,69,144,.16)!important;outline:0}
html.route-checkout-checkout #accordion select.form-control{padding-right:30px}
html.route-checkout-checkout #accordion .form-group.required .control-label::after{content:" *";color:#E5484D}
html.route-checkout-checkout #accordion .form-group.required .control-label::before{content:none!important}

/* choix (livraison, paiement, compte) = cartes selectionnables */
html.route-checkout-checkout #accordion .radio{margin:0 0 10px!important;padding:0!important}
html.route-checkout-checkout #accordion .radio label{display:flex!important;align-items:center;gap:12px;width:100%;padding:14px 16px!important;border:1.5px solid #D9DEE3;border-radius:12px;background:#fff;cursor:pointer;font-weight:600;color:#101921;min-height:0;line-height:1.35}
html.route-checkout-checkout #accordion .radio label:has(input:checked){border-color:#514590;background:#F6F4FC}
html.route-checkout-checkout #accordion .radio input[type=radio]{position:static!important;margin:0!important;flex:0 0 auto;width:18px;height:18px;accent-color:#514590}
html.route-checkout-checkout #accordion .checkbox label{display:flex;align-items:center;gap:10px;font-weight:500;color:#2B3540;padding:0!important}
html.route-checkout-checkout #accordion .checkbox input{position:static!important;margin:0!important;width:18px;height:18px;accent-color:#514590}
html.route-checkout-checkout #accordion .panel-body>p{font-size:15px}

/* etape 1 : deux cartes */
html.route-checkout-checkout #accordion .login-box{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0!important}
html.route-checkout-checkout #accordion .login-box>[class*=col-]{width:auto!important;float:none!important;padding:0!important}
html.route-checkout-checkout #accordion .login-box .well{background:#fff;border:1.5px solid #E3E6EA!important;border-radius:16px;box-shadow:none!important;padding:22px;margin:0!important;min-height:0;height:100%}
html.route-checkout-checkout #accordion .login-box .well h2,html.route-checkout-checkout #accordion .login-box .well legend{font-size:19px;font-weight:800;margin:0 0 14px;text-transform:none;color:#101921}
html.route-checkout-checkout #accordion .login-box .btn-primary{width:100%}

/* boutons */
html.route-checkout-checkout #accordion .buttons{display:flex!important;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin:18px 0 0!important;padding:0!important}
html.route-checkout-checkout #accordion .buttons .pull-right,html.route-checkout-checkout #accordion .buttons .pull-left{float:none!important;display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}
html.route-checkout-checkout #accordion .btn-primary,html.route-checkout-checkout #accordion .buttons .btn{border-radius:12px!important;padding:13px 26px!important;font-weight:700;font-size:15px;text-transform:none;letter-spacing:0;line-height:1.2}
html.route-checkout-checkout #accordion .btn-primary{background:#514590!important;border:0!important;color:#fff!important}
html.route-checkout-checkout #accordion .btn-primary:hover{background:#403675!important}
html.route-checkout-checkout #collapse-checkout-confirm .buttons .btn-primary,html.route-checkout-checkout #accordion #button-confirm{background:#F58C35!important;color:#101921!important;font-weight:800;padding:16px 30px!important;font-size:16px;box-shadow:0 4px 14px rgba(245,140,53,.35)}
html.route-checkout-checkout #collapse-checkout-confirm .buttons .btn-primary:hover,html.route-checkout-checkout #accordion #button-confirm:hover{background:#E57C25!important}

/* etape 6 : tableau de confirmation */
html.route-checkout-checkout #collapse-checkout-confirm .table-responsive{border:0!important;margin:0!important;overflow:visible}
html.route-checkout-checkout #collapse-checkout-confirm table.table{border:0!important;margin:0 0 6px!important;background:transparent!important}
html.route-checkout-checkout #collapse-checkout-confirm table.table>thead>tr>td{border:0!important;border-bottom:2px solid #E3E6EA!important;background:transparent!important;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#7A8591;font-weight:700;padding:10px 8px!important}
html.route-checkout-checkout #collapse-checkout-confirm table.table>tbody>tr>td,html.route-checkout-checkout #collapse-checkout-confirm table.table>tfoot>tr>td{border:0!important;border-bottom:1px solid #EEF0F2!important;padding:14px 8px!important;background:transparent!important;font-size:15px}
html.route-checkout-checkout #collapse-checkout-confirm table.table>tfoot>tr:last-child>td{font-size:20px;font-weight:800;border-bottom:0!important}

/* resume de commande (ajoute par panier.js) */
html.route-checkout-checkout .pb-resume{background:#fff;border:1px solid #E3E6EA;border-radius:20px;padding:22px 22px 18px;box-shadow:0 8px 28px rgba(16,25,33,.09);position:sticky;top:110px}
html.route-checkout-checkout .pb-resume summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:800;font-size:19px;color:#101921}
html.route-checkout-checkout .pb-resume summary::-webkit-details-marker{display:none}
html.route-checkout-checkout .pb-resume summary .pb-r-total{display:none;font-size:17px}
html.route-checkout-checkout .pb-r-ligne{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #EEF0F2}
html.route-checkout-checkout .pb-r-ligne img{width:54px;height:54px;object-fit:contain;border-radius:10px;background:#F4F6F8;border:1px solid #EEF0F2;padding:4px}
html.route-checkout-checkout .pb-r-nom{font-size:14px;font-weight:600;line-height:1.3;color:#101921}
html.route-checkout-checkout .pb-r-nom small{display:block;font-weight:400;color:#7A8591;font-size:12.5px;margin-top:2px}
html.route-checkout-checkout .pb-r-prix{font-weight:700;font-size:14px;color:#101921;white-space:nowrap}
html.route-checkout-checkout .pb-r-tot{margin-top:10px}
html.route-checkout-checkout .pb-r-tot div{display:flex;justify-content:space-between;padding:6px 0;font-size:14.5px;color:#4A5560}
html.route-checkout-checkout .pb-r-tot div b{font-weight:600;color:#101921}
html.route-checkout-checkout .pb-r-tot div:last-child{margin-top:8px;padding-top:14px;border-top:1px solid #E3E6EA;font-size:22px;font-weight:800;color:#101921}
html.route-checkout-checkout .pb-r-tot div:last-child b{font-weight:800}
html.route-checkout-checkout .pb-confiance{display:flex;flex-direction:column;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #EEF0F2;font-size:13px;color:#5A6672}
html.route-checkout-checkout .pb-confiance span{display:flex;gap:9px;align-items:center}
html.route-checkout-checkout .pb-confiance i{width:18px;text-align:center;color:#514590}
html.route-checkout-checkout .pb-resume .pb-modif{display:block;margin-top:12px;text-align:center;font-size:13.5px;color:#514590;text-decoration:underline}

@media (max-width:991px){
  html.route-checkout-checkout #content{grid-template-columns:minmax(0,1fr);gap:18px}
  html.route-checkout-checkout #content>#accordion{grid-row:2;grid-column:1}
  html.route-checkout-checkout #content>.pb-resume{grid-column:1;grid-row:1;position:static;padding:16px 18px}
  html.route-checkout-checkout .pb-resume summary{font-size:17px}
  html.route-checkout-checkout .pb-resume summary .pb-r-total{display:inline}
  html.route-checkout-checkout .pb-resume summary::after{content:"\25BE";color:#514590;margin-left:8px}
  html.route-checkout-checkout .pb-resume[open] summary::after{content:"\25B4"}
}
@media (max-width:600px){
  html.route-checkout-checkout #accordion .panel-title a{padding:15px 16px!important;font-size:16px!important}
  html.route-checkout-checkout #accordion .panel-body{padding:6px 16px 20px!important}
  html.route-checkout-checkout #accordion .login-box{grid-template-columns:minmax(0,1fr)}
  html.route-checkout-checkout #accordion .buttons .pull-right{width:100%;justify-content:stretch}
  html.route-checkout-checkout #accordion .buttons .btn-primary{width:100%}
}

/* correctifs: Journal3 impose sa police pixel et son icone sur les titres d'etapes */
html.route-checkout-checkout #accordion .panel .panel-title,html.route-checkout-checkout #accordion .panel .panel-title a.accordion-toggle{font-family:"Onest","Helvetica Neue",Helvetica,Arial,sans-serif!important;font-size:17px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;justify-content:flex-start!important}
html.route-checkout-checkout #accordion .panel .panel-title a.accordion-toggle::before{content:counter(etape)!important;font-family:"Onest","Helvetica Neue",Helvetica,Arial,sans-serif!important;font-size:15px!important;font-weight:800!important;order:-1!important;position:static!important;margin:0!important;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#EDEAF5!important;color:#514590!important;display:inline-flex!important;align-items:center;justify-content:center;transform:none!important}
html.route-checkout-checkout #accordion .panel:has(.panel-collapse.in) .panel-title a.accordion-toggle::before{background:#514590!important;color:#fff!important}
html.route-checkout-checkout #accordion .panel .panel-title a.accordion-toggle::after{content:none!important;display:none!important}
html.route-checkout-checkout #accordion .login-box .well{padding:18px}
html.route-checkout-checkout #accordion .login-box .well .radio label{padding:12px 14px!important}
html.route-checkout-checkout #accordion .form-group{display:block!important}
html.route-checkout-checkout #accordion .form-group .form-control,html.route-checkout-checkout #accordion .form-group select.form-control{width:100%!important;display:block}
html.route-checkout-checkout #accordion .form-group .control-label{flex:none!important;max-width:none!important}
html.route-checkout-checkout #accordion .form-group.pb-cache{display:none!important}

/* ===================== COMMANDE REUSSIE (checkout/success) - 2026-10-28 ===================== */
html.route-checkout-success #content{max-width:780px;margin-left:auto;margin-right:auto}
html.route-checkout-success #content>h1{text-align:center}
html.route-checkout-success .pb-ok{display:flex;align-items:center;gap:20px;background:#E8F6EC;border:1px solid #BFE5CB;border-radius:18px;padding:22px 24px;margin:8px 0 28px}
html.route-checkout-success .pb-ok>i{flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:#2E9E5B;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:26px}
html.route-checkout-success .pb-ok p{margin:0;color:#14532D;font-size:15.5px;line-height:1.5}
html.route-checkout-success .pb-ok p+p{margin-top:4px}
html.route-checkout-success .pb-ok .pb-ok-lead{font-size:19px;font-weight:800;color:#0F3D22}
html.route-checkout-success .pb-ok-titre{font-size:20px;font-weight:800;color:#101921;margin:0 0 14px;text-transform:none}
html.route-checkout-success .pb-ok-etapes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:22px}
html.route-checkout-success .pb-ok-etape{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid #E3E6EA;border-radius:16px;padding:18px;box-shadow:0 2px 12px rgba(16,25,33,.05)}
html.route-checkout-success .pb-ok-etape>i{flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#EDEAF5;color:#514590;display:inline-flex;align-items:center;justify-content:center;font-size:18px}
html.route-checkout-success .pb-ok-etape b{display:block;font-size:16px;color:#101921;margin-bottom:4px}
html.route-checkout-success .pb-ok-etape span{display:block;font-size:14px;line-height:1.5;color:#4A5560}
html.route-checkout-success .pb-ok-aide{text-align:center;color:#4A5560;font-size:15px;margin:6px 0 18px}
html.route-checkout-success .pb-ok-aide a{color:#514590;text-decoration:underline}
html.route-checkout-success #content .buttons{margin:10px 0 0!important}
html.route-checkout-success #content .buttons .pull-right{float:none!important;display:block}
html.route-checkout-success #content .buttons .btn-primary{display:block;width:100%;max-width:340px;margin:0 auto;background:#F58C35!important;border:0!important;color:#101921!important;font-weight:800;font-size:16px;border-radius:13px!important;padding:16px 20px!important;text-transform:none;box-shadow:0 4px 14px rgba(245,140,53,.35)}
html.route-checkout-success #content .buttons .btn-primary:hover{background:#E57C25!important}
@media (max-width:700px){
  html.route-checkout-success .pb-ok{flex-direction:column;text-align:center;padding:20px 18px}
  html.route-checkout-success .pb-ok-etapes{grid-template-columns:minmax(0,1fr)}
}

/* selon le mode choisi (classes posees par le controleur) */
html.route-checkout-success .pb-ok-etape em{font-style:normal}
html.route-checkout-success .pb-cod-def{display:none}
html.route-checkout-success .pb-mode-retrait .pb-e-livraison,html.route-checkout-success .pb-mode-livraison .pb-e-retrait{display:none}
html.route-checkout-success .pb-mode-retrait .pb-ok-etapes,html.route-checkout-success .pb-mode-livraison .pb-ok-etapes{grid-template-columns:minmax(0,1fr)}
html.route-checkout-success .pb-pay-cod .pb-cod-cond{display:none}
html.route-checkout-success .pb-pay-cod .pb-cod-def{display:inline}
html.route-checkout-success .pb-pay-autre .pb-cod-cond,html.route-checkout-success .pb-pay-autre .pb-cod-def{display:none}
html.route-checkout-success .pb-mode-retrait.pb-pay-inconnu .pb-cod-cond{display:inline}

/* ===================== FICHE PRODUIT (product/product) - 2026-10-28 ===================== */
html.route-product-product:not(.popup) .product-info{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:36px;align-items:start}
html.route-product-product:not(.popup) .product-info>.product-left,html.route-product-product:not(.popup) .product-info>.product-right{width:auto!important;max-width:none!important;flex:none!important;float:none!important;padding:0!important;min-width:0}
html.route-product-product:not(.popup) .product-left{position:sticky;top:110px}
html.route-product-product:not(.popup) .product-left .product-image{background:#fff;border:1px solid #E3E6EA;border-radius:22px;box-shadow:0 2px 14px rgba(16,25,33,.06);overflow:hidden;padding:14px}
html.route-product-product:not(.popup) .product-left .product-image img{border-radius:14px}

/* colonne de droite: dans l'ordre d'achat */
html.route-product-product:not(.popup) #product.product-details{display:flex!important;flex-direction:column;gap:0;background:#fff;border:1px solid #E3E6EA;border-radius:22px;box-shadow:0 8px 28px rgba(16,25,33,.08);padding:26px 28px 22px!important}
html.route-product-product:not(.popup) #product>.title.page-title{display:none}
html.route-product-product:not(.popup) #product>.product-price-group{order:1}
html.route-product-product:not(.popup) #product>.rating{order:2}
html.route-product-product:not(.popup) #product>.button-group-page{order:3}
html.route-product-product:not(.popup) #product>.pb-confiance{order:4}
html.route-product-product:not(.popup) #product>.product-blocks{order:5}
html.route-product-product:not(.popup) #product>*:not(.title){min-width:0}

/* prix + disponibilite */
html.route-product-product:not(.popup) .product-price-group{display:flex!important;flex-direction:column;gap:12px;border:0!important;padding:0!important;margin:0 0 4px!important}
html.route-product-product:not(.popup) .product-price-group .price-wrapper{margin:0!important}
html.route-product-product:not(.popup) .product-price-group .product-price{font-size:40px!important;line-height:1.05;font-weight:800!important;color:#101921!important;letter-spacing:-.01em}
html.route-product-product:not(.popup) .product-price-group .product-price-old{font-size:20px!important;color:#7A8591!important}
html.route-product-product:not(.popup) .product-price-group .product-tax{font-size:13px;color:#7A8591}
html.route-product-product:not(.popup) .product-stats{border:0!important;padding:0!important;margin:0!important;display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 14px}
html.route-product-product:not(.popup) .product-stats ul{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0!important;padding:0!important}
html.route-product-product:not(.popup) .product-stats li{list-style:none;margin:0!important;padding:0!important;font-size:13px;color:#5A6672}
html.route-product-product:not(.popup) .product-stats li b{font-weight:600;color:#7A8591}
html.route-product-product:not(.popup) .product-stats li.product-stock{order:-1;font-size:14px;font-weight:700;padding:6px 14px!important;border-radius:99px;background:#E8F6EC;color:#14532D}
html.route-product-product:not(.popup) .product-stats li.product-stock b{display:none}
html.route-product-product:not(.popup) .product-stats li.product-stock::before{content:"\f00c";font-family:FontAwesome;font-weight:400;margin-right:7px}
html.route-product-product:not(.popup) .product-stats li.product-stock:not(.in-stock){background:#FDECEC;color:#8A1F24}
html.route-product-product:not(.popup) .product-stats li.product-stock:not(.in-stock)::before{content:"\f00d"}
html.route-product-product:not(.popup) .product-stats li.product-stock span{font-weight:700}
html.route-product-product:not(.popup) .product-stats .product-manufacturer{margin-left:auto}
html.route-product-product:not(.popup) .product-stats .product-manufacturer a{display:inline-block;border:1px solid #D9DEE3!important;border-radius:99px;padding:5px 14px;font-size:13px;font-weight:600;color:#514590!important;background:#fff;text-decoration:none}
html.route-product-product:not(.popup) .product-stats .product-manufacturer a:hover{border-color:#514590!important;background:#F6F4FC}

/* avis */
html.route-product-product:not(.popup) .rating-page{margin:12px 0 0!important;font-size:13.5px}

/* quantite + panier */
html.route-product-product:not(.popup) .button-group-page{margin:18px 0 0!important;padding:18px 0 0!important;border-top:1px solid #EEF0F2!important}
html.route-product-product:not(.popup) .button-group-page .buttons-wrapper{display:flex!important;flex-direction:column;gap:14px;align-items:stretch!important}
html.route-product-product:not(.popup) .button-group-page .cart-group{display:flex!important;gap:12px;align-items:stretch;width:100%!important}
html.route-product-product:not(.popup) .button-group-page .stepper{flex:0 0 84px;width:84px!important}
html.route-product-product:not(.popup) .button-group-page .stepper input.form-control{height:56px!important;border-radius:13px!important;border:1.5px solid #CBD2D9!important;text-align:center;font-weight:700;font-size:18px;padding:0 20px 0 6px!important;box-shadow:none!important}
html.route-product-product:not(.popup) .button-group-page .stepper>span{right:6px}
html.route-product-product:not(.popup) .button-group-page .btn-cart{flex:1 1 auto;display:flex!important;align-items:center;justify-content:center;min-height:56px;background:#F58C35!important;border:0!important;color:#101921!important;font-weight:800;font-size:17px;border-radius:13px!important;text-transform:none;box-shadow:0 4px 14px rgba(245,140,53,.35);line-height:1.2}
html.route-product-product:not(.popup) .button-group-page .btn-cart:hover{background:#E57C25!important}
html.route-product-product:not(.popup) .button-group-page .btn-cart .btn-text,html.route-product-product:not(.popup) .button-group-page .btn-cart i{color:#101921!important}
html.route-product-product:not(.popup) .button-group-page .wishlist-compare{display:flex;gap:18px;margin:0!important}
html.route-product-product:not(.popup) .button-group-page .btn-wishlist,html.route-product-product:not(.popup) .button-group-page .btn-compare{background:transparent!important;border:0!important;box-shadow:none!important;color:#514590!important;font-weight:600;font-size:14px;padding:4px 0!important;text-decoration:underline;text-transform:none}

/* confiance (ajoute par panier.js) */
html.route-product-product:not(.popup) .pb-confiance{display:flex;flex-direction:column;gap:9px;margin-top:18px;padding-top:16px;border-top:1px solid #EEF0F2;font-size:14px;color:#4A5560}
html.route-product-product:not(.popup) .pb-confiance span{display:flex;gap:11px;align-items:center}
html.route-product-product:not(.popup) .pb-confiance i{width:20px;text-align:center;color:#514590;font-size:16px}
html.route-product-product:not(.popup) .pb-confiance b{color:#101921}

/* onglets */
html.route-product-product:not(.popup) .product-blocks.blocks-top{margin-top:22px;padding-top:6px;border-top:1px solid #EEF0F2}
html.route-product-product:not(.popup) .product_tabs .nav-tabs{display:flex;flex-wrap:wrap;gap:8px;border:0!important;margin:14px 0 14px!important;padding:0!important}
html.route-product-product:not(.popup) .product_tabs .nav-tabs>li{float:none!important;margin:0!important}
html.route-product-product:not(.popup) .product_tabs .nav-tabs>li>a{display:block;padding:9px 18px!important;border:1.5px solid #D9DEE3!important;border-radius:99px!important;background:#fff!important;color:#2B3540!important;font-size:14px!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;margin:0!important;box-shadow:none!important}
html.route-product-product:not(.popup) .product_tabs .nav-tabs>li>a::before,html.route-product-product:not(.popup) .product_tabs .nav-tabs>li>a::after{display:none!important}
html.route-product-product:not(.popup) .product_tabs .nav-tabs>li.active>a{background:#514590!important;border-color:#514590!important;color:#fff!important}
html.route-product-product:not(.popup) .product_tabs .tab-content{font-size:15px;line-height:1.6;color:#2B3540}
html.route-product-product:not(.popup) .product_tabs .block-expand-overlay .btn{border-radius:99px!important;background:#514590!important;color:#fff!important;font-weight:700;border:0!important}

/* specifications */
html.route-product-product:not(.popup) #tab-specification table{border:0!important;width:100%;margin:0 0 12px}
html.route-product-product:not(.popup) #tab-specification thead td{background:transparent!important;border:0!important;border-bottom:2px solid #E3E6EA!important;padding:14px 4px 8px!important;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#514590}
html.route-product-product:not(.popup) #tab-specification tbody td{border:0!important;border-bottom:1px solid #EEF0F2!important;padding:10px 4px!important;font-size:14.5px;background:transparent!important}
html.route-product-product:not(.popup) #tab-specification tbody td:first-child{color:#7A8591;width:42%}
html.route-product-product:not(.popup) #tab-specification tbody td:last-child{font-weight:600;color:#101921}

/* petits ecrans */
@media (max-width:991px){
  html.route-product-product:not(.popup) .product-info{grid-template-columns:minmax(0,1fr);gap:20px}
  html.route-product-product:not(.popup) .product-left{position:static}
}
@media (max-width:600px){
  html.route-product-product:not(.popup) #product.product-details{padding:20px 18px 18px!important;border-radius:18px}
  html.route-product-product:not(.popup) .product-price-group .product-price{font-size:34px!important}
  html.route-product-product:not(.popup) .product-left .product-image{padding:8px;border-radius:18px}
  html.route-product-product:not(.popup) .product-stats .product-manufacturer{margin-left:0}
}

/* « Voir plus / Voir moins » en francais (Journal3 les ecrit en anglais) */
.block-expand::after{content:"Voir plus"!important}
.block-expanded .block-expand::after,.popup-quickview .block-expanded + .block-expand-overlay .block-expand::after{content:"Voir moins"!important}
/* alignement des infos sous le prix */
html.route-product-product:not(.popup) .product-stats,html.route-product-product:not(.popup) .product-stats ul{justify-content:flex-start!important;text-align:left!important}
html.route-product-product:not(.popup) .product-stats ul{flex:1 1 auto}
html.route-product-product:not(.popup) .product-stats li{text-align:left!important;width:auto!important}
html.route-product-product:not(.popup) #product .product-price-group{flex-direction:column!important;align-items:flex-start!important;gap:12px!important}
html.route-product-product:not(.popup) #product .product-price-group .product-stats{width:100%!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px 14px!important}
html.route-product-product:not(.popup) #product .product-price-group .product-stats ul{flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;width:auto!important;flex:1 1 auto!important;gap:8px 14px!important}
html.route-product-product:not(.popup) #product .product-price-group .product-stats .product-manufacturer{margin-left:auto!important}
html.route-product-product:not(.popup) #product .product-price-group .product-stats ul{display:contents!important}
html.route-product-product:not(.popup) #product .product-price-group .product-stats li.product-stock{order:-3!important}
html.route-product-product:not(.popup) #product .product-price-group .product-stats .product-manufacturer{order:-2!important;margin-left:0!important}
html.route-product-product:not(.popup) #product .product-price-group .product-stats li.product-model,html.route-product-product:not(.popup) #product .product-price-group .product-stats li.product-upc{order:1!important;flex:0 0 auto}
html.route-product-product:not(.popup) #product .product-price-group .price-wrapper{order:-5!important}
html.route-product-product:not(.popup) #product .product-price-group .product-stats{order:5!important}
html.route-product-product:not(.popup) .pb-confiance>span>span{display:block!important;flex:1 1 auto}

/* correctifs apres essai de Patrick (logo de marque en grand cercle, double trait, quantite) */
html.route-product-product:not(.popup) #product .product-manufacturer a{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:8px;width:auto!important;height:auto!important;min-width:0!important;border-radius:99px!important;padding:5px 14px!important;margin:0!important;line-height:1.2}
html.route-product-product:not(.popup) #product .product-manufacturer a img,html.route-product-product:not(.popup) #product .product-manufacturer a picture{display:none!important}
html.route-product-product:not(.popup) #product .product-manufacturer a span{font-size:13px!important;font-weight:600!important;color:#514590!important;position:static!important;margin:0!important}
html.route-product-product:not(.popup) #product .product-price-group .product-stats li.product-model,html.route-product-product:not(.popup) #product .product-price-group .product-stats li.product-upc{flex:1 1 100%!important}
html.route-product-product:not(.popup) .button-group-page .stepper{height:56px!important;border:0!important;position:relative;background:transparent!important}
html.route-product-product:not(.popup) .button-group-page .stepper>span{position:absolute!important;right:2px;top:2px;bottom:2px;width:26px;height:auto!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;border:0!important;border-left:1px solid #E3E6EA!important;background:#F4F6F8;border-radius:0 11px 11px 0}
html.route-product-product:not(.popup) .button-group-page .stepper>span i{flex:1;display:flex;align-items:center;justify-content:center;width:100%;font-size:14px;line-height:1}
@media (min-width:992px){
  html.route-product-product:not(.popup) .button-group-page{background:transparent!important;border-top:0!important;padding-top:0!important}
}
html.route-product-product:not(.popup) #product .button-group-page{border-top:0!important}
html.route-product-product:not(.popup) #product .button-group-page .buttons-wrapper{border-top:0!important}
