/* ==========================================================================
   Un brin de custom · refonte 2026 (thème enfant child_classic)
   Charte : encre #1D1A2B, magenta #A0186C, papier #FAF8F5, lin #F4F0EA,
   gris #5E5868, rose #F6E3EE, soleil #F5B83D, cyan #1BA6C9.
   Titres : Bricolage Grotesque · Texte : Manrope.
   ========================================================================== */

:root{
  --ubc-ink:#1D1A2B;
  --ubc-accent:#A0186C;
  --ubc-accent-dark:#7E1255;
  --ubc-paper:#FAF8F5;
  --ubc-lin:#F4F0EA;
  --ubc-sand:#EFE7DC;
  --ubc-muted:#5E5868;
  --ubc-line:#ECE6DD;
  --ubc-rose:#F6E3EE;
  --ubc-sun:#F5B83D;
  --ubc-cyan:#1BA6C9;
  --ubc-radius:24px;
  --ubc-title:'Bricolage Grotesque', Georgia, serif;
  --ubc-text:'Manrope', 'Segoe UI', Arial, sans-serif;
}

/* ---------- Base ---------- */
body{background:var(--ubc-paper) !important;color:var(--ubc-ink);font-family:var(--ubc-text) !important;}
body, p, li, a, span, label, input, select, textarea, button{font-family:var(--ubc-text);}
h1,h2,h3,.h1,.h2,.h3{font-family:var(--ubc-title) !important;color:var(--ubc-ink);letter-spacing:-.02em;text-transform:none !important;}
a{color:var(--ubc-ink);}
a:hover,a:focus{color:var(--ubc-accent);text-decoration:none;}
#wrapper{background:var(--ubc-paper) !important;box-shadow:none !important;}

/* Pleine largeur : jusqu'à 1440 px avec 56 px de marge */
@media (min-width:1200px){
  .container{width:100% !important;max-width:1680px !important;padding-left:56px !important;padding-right:56px !important;}
}
@media (min-width:992px) and (max-width:1199px){
  .container{width:100% !important;max-width:none !important;padding-left:32px !important;padding-right:32px !important;}
}
.ubc-wrap{max-width:1680px;margin:0 auto;padding-left:56px;padding-right:56px;}
@media (max-width:991px){.ubc-wrap{padding-left:20px;padding-right:20px;}}

/* ---------- Boutons ---------- */
.btn{border-radius:999px !important;font-weight:700 !important;text-transform:none !important;letter-spacing:0 !important;box-shadow:none !important;}
.btn-primary{background:var(--ubc-accent) !important;border-color:var(--ubc-accent) !important;color:#fff !important;}
.btn-primary:hover,.btn-primary:focus{background:var(--ubc-accent-dark) !important;border-color:var(--ubc-accent-dark) !important;color:#fff !important;}
.btn-secondary,.btn-tertiary{background:#fff !important;border:1.5px solid var(--ubc-ink) !important;color:var(--ubc-ink) !important;}
.btn-secondary:hover,.btn-tertiary:hover{background:var(--ubc-ink) !important;color:#fff !important;}
.ubc-btn{display:inline-flex;align-items:center;gap:10px;height:54px;padding:0 26px;border-radius:999px;font-weight:700;font-size:16px;line-height:1;white-space:nowrap;transition:background .15s,color .15s,filter .15s;}
.ubc-btn--p{background:var(--ubc-accent);color:#fff !important;}
.ubc-btn--p:hover{background:var(--ubc-accent-dark);color:#fff !important;}
.ubc-btn--o{border:1.5px solid var(--ubc-ink);color:var(--ubc-ink) !important;background:#fff;}
.ubc-btn--o:hover{background:var(--ubc-ink);color:#fff !important;}
.ubc-btn--light{border:1.5px solid rgba(255,255,255,.55);color:#fff !important;}
.ubc-btn--light:hover{background:#fff;color:var(--ubc-ink) !important;}
.ubc-btn svg{flex:none;}

/* ---------- Barre du haut ---------- */
.ubc-topbar{background:var(--ubc-ink);color:#E9E4F0;font-size:13px;font-weight:500;}
.ubc-topbar__in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;}
.ubc-topbar__loc,.ubc-topbar__rating{display:flex;align-items:center;gap:8px;}
.ubc-topbar__rating .ubc-stars{color:var(--ubc-sun);letter-spacing:1px;}
.ubc-topbar a.ubc-topbar__pro{color:#F2A7CF;font-weight:700;}
.ubc-topbar a.ubc-topbar__pro:hover{color:#fff;}
@media (max-width:991px){.ubc-topbar__rating{display:none;}}
@media (max-width:767px){.ubc-topbar__loc{display:none;}.ubc-topbar__in{justify-content:center;}}

/* L'ancienne barre "Pro" et le bandeau PayPal ne s'affichent plus en haut */
#header .header-banner:empty{display:none;}

/* ---------- En-tête ---------- */
#header{background:#fff !important;box-shadow:none !important;border-bottom:1px solid var(--ubc-line);}
#header .header-nav{border:0 !important;margin:0 !important;max-height:none !important;}
@media (min-width:768px){#header .header-nav{display:none;}}
#header .header-top{padding:0 !important;}
.ubc-headrow{display:flex;align-items:center;gap:28px;min-height:84px;}
.ubc-headrow #_desktop_logo{flex:none;padding:0 !important;width:auto !important;max-width:none !important;}
.ubc-headrow #_desktop_logo h1{margin:0;}
.ubc-headrow #_desktop_logo img{max-height:62px;width:auto;}
.ubc-headrow .header-top-right{flex:1 1 auto;display:flex !important;align-items:center;justify-content:space-between;gap:20px;padding:0 !important;float:none !important;width:auto !important;max-width:none !important;}
.ubc-head-actions{flex:none;display:flex;align-items:center;gap:6px;}
.ubc-head-actions .user-info a,.ubc-head-actions .blockcart .header,.ubc-head-actions .blockcart .header a{display:flex;align-items:center;gap:6px;color:var(--ubc-ink) !important;font-weight:600;font-size:14px;}
.ubc-head-actions .user-info,.ubc-head-actions .blockcart{background:transparent !important;padding:8px 10px !important;margin:0 !important;height:auto !important;border-radius:999px;}
.ubc-head-actions .blockcart.active{background:var(--ubc-rose) !important;}
.ubc-head-actions .cart-products-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--ubc-accent);color:#fff;font-size:11px;font-weight:700;}
.ubc-head-actions .material-icons{font-size:24px;color:var(--ubc-ink) !important;}
.ubc-head-actions .user-info .hidden-sm-down,.ubc-head-actions .blockcart .hidden-sm-down{display:none !important;}

/* Recherche */
#header #search_widget{order:2;flex:0 1 240px;min-width:180px;margin:0 !important;float:none !important;width:auto !important;}
#header #search_widget form{position:relative;}
#header #search_widget form input[type=text]{height:44px;border:0 !important;border-radius:999px !important;background:var(--ubc-lin) !important;padding:0 16px 0 44px !important;font-size:14px;color:var(--ubc-ink);width:100%;outline:none;box-shadow:none !important;}
#header #search_widget form input[type=text]:focus{box-shadow:0 0 0 2px var(--ubc-ink) inset !important;}
#header #search_widget form i.search{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--ubc-muted);padding:0 !important;}
#header #search_widget form i.clear{display:none;}

/* ---------- Menu principal ---------- */
#_desktop_top_menu{order:1;flex:1 1 auto;float:none !important;width:auto !important;padding:0 !important;}
#_desktop_top_menu > .top-menu{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin:0 !important;padding:0 !important;}
#_desktop_top_menu > .top-menu > li{float:none !important;position:relative;}
#_desktop_top_menu > .top-menu > li > a.dropdown-item{display:inline-flex !important;align-items:center;gap:6px;padding:10px 14px !important;border-radius:999px;font-family:var(--ubc-text) !important;font-weight:600 !important;font-size:15px !important;text-transform:none !important;color:var(--ubc-ink) !important;letter-spacing:0;white-space:nowrap;}
#_desktop_top_menu > .top-menu > li > a.dropdown-item:hover{background:var(--ubc-lin);color:var(--ubc-ink) !important;}
/* "Personnalisation" passe en premier et ressort en couleur */
#_desktop_top_menu > .top-menu > li#category-57{order:-1;}
#_desktop_top_menu > .top-menu > li#category-57 > a.dropdown-item{background:var(--ubc-rose);color:var(--ubc-accent) !important;}
#_desktop_top_menu > .top-menu > li#category-57 > a.dropdown-item:hover{background:var(--ubc-accent);color:#fff !important;}
/* Sous-menus en carte */
#_desktop_top_menu .popover.sub-menu{left:0 !important;top:100% !important;margin-top:8px;min-width:300px;max-width:640px;padding:18px !important;border:1px solid var(--ubc-line) !important;border-radius:22px !important;background:#fff !important;box-shadow:0 24px 60px rgba(29,26,43,.14) !important;}
#_desktop_top_menu .popover.sub-menu::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px;}
#_desktop_top_menu .sub-menu ul[data-depth="1"]{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 16px;margin:0;padding:0;}
#_desktop_top_menu .sub-menu ul[data-depth="1"] > li{float:none !important;margin:0 !important;padding:0 !important;}
#_desktop_top_menu .sub-menu a{display:block;padding:9px 12px !important;border-radius:12px;font-weight:600 !important;font-size:15px !important;text-transform:none !important;color:var(--ubc-ink) !important;}
#_desktop_top_menu .sub-menu a:hover{background:var(--ubc-paper);color:var(--ubc-accent) !important;}
#_desktop_top_menu .sub-menu ul[data-depth="2"]{display:none !important;}

/* Menu mobile */
#mobile_top_menu_wrapper{background:#fff;padding:12px 20px 24px !important;}
#mobile_top_menu_wrapper .top-menu a{font-weight:600;text-transform:none;color:var(--ubc-ink);}
#header .header-nav .mobile{min-height:64px;display:flex;align-items:center;}

/* ---------- Fil d'Ariane ---------- */
.breadcrumb{background:transparent !important;padding:20px 0 !important;font-size:14px;}
.breadcrumb li a,.breadcrumb li span{color:var(--ubc-muted);}

/* ---------- Vignettes produit ---------- */
.products{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0 !important;}
.products::before,.products::after{display:none !important;}
.products > .product,.products > .js-product,.products > article{width:auto !important;max-width:none !important;padding:0 !important;margin:0 !important;float:none !important;flex:none !important;}
@media (max-width:1199px){.products{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:767px){.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}}
.product-miniature .thumbnail-container{background:#fff !important;border-radius:var(--ubc-radius) !important;padding:12px !important;box-shadow:none !important;height:100% !important;margin:0 !important;width:100% !important;transition:box-shadow .2s;overflow:visible !important;}
.product-miniature .thumbnail-container:hover{box-shadow:0 14px 40px rgba(29,26,43,.10) !important;}
.product-miniature .thumbnail-top{border-radius:18px;overflow:hidden;background:var(--ubc-lin);}
.product-miniature .product-thumbnail img{width:100%;height:auto;mix-blend-mode:multiply;}
.product-miniature .product-description{position:static !important;background:transparent !important;height:auto !important;width:auto !important;padding:12px 6px 6px !important;box-shadow:none !important;text-align:left !important;}
.product-miniature .product-description::after{display:none !important;}
.product-miniature .product-title{margin:0 0 6px !important;text-align:left !important;text-transform:none !important;}
.product-miniature .product-title a{font-family:var(--ubc-text) !important;font-weight:700 !important;font-size:15px !important;line-height:1.35;color:var(--ubc-ink) !important;text-align:left;}
.product-miniature .product-price-and-shipping{text-align:left !important;color:var(--ubc-ink) !important;font-weight:800 !important;font-size:17px !important;}
.product-miniature .product-price-and-shipping .price{color:var(--ubc-ink) !important;font-weight:800 !important;}
.product-miniature .regular-price{color:var(--ubc-muted) !important;font-weight:500;font-size:14px;}
.product-miniature .highlighted-informations{display:none !important;}
.product-miniature .product-flags{left:12px;top:12px;}
.product-miniature .product-flag{border-radius:999px !important;padding:5px 11px !important;font-size:12px !important;font-weight:700 !important;text-transform:none !important;min-width:0 !important;min-height:0 !important;margin-bottom:6px !important;box-shadow:none !important;}
.product-miniature .product-flag.new{background:var(--ubc-ink) !important;}
.product-miniature .product-flag.discount,.product-miniature .product-flag.on-sale{background:var(--ubc-accent) !important;}

/* ---------- Sections communes de l'accueil ---------- */
.ubc-h2{font-family:var(--ubc-title) !important;font-weight:800 !important;font-size:44px !important;line-height:1.08;letter-spacing:-1px !important;margin:0 !important;color:var(--ubc-ink);text-wrap:balance;}
.ubc-lead{font-size:17px;line-height:1.6;color:var(--ubc-muted);margin:10px 0 0;}
.ubc-eyebrow{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--ubc-muted);}
.ubc-cmy{display:flex;height:4px;width:54px;border-radius:2px;overflow:hidden;flex:none;}
.ubc-cmy i{flex:1;}
.ubc-cmy i:nth-child(1){background:var(--ubc-cyan);}
.ubc-cmy i:nth-child(2){background:var(--ubc-accent);}
.ubc-cmy i:nth-child(3){background:var(--ubc-sun);}
.ubc-sechead{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:36px;}
.ubc-more{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--ubc-accent) !important;}
.ubc-more:hover{color:var(--ubc-accent-dark) !important;}

/* Accueil : on libère la largeur pour les bandeaux bord à bord */
body#index #wrapper{padding-top:0 !important;}
body#index #wrapper > .container{max-width:none !important;width:100% !important;padding:0 !important;}
body#index #wrapper > .container > .row{margin:0 !important;}
body#index #content-wrapper{padding:0 !important;width:100% !important;max-width:none !important;flex:none !important;}
body#index .breadcrumb{display:none !important;}
body#index #content.page-home{margin:0 !important;padding:0 !important;}
body#index #main{margin:0;}

/* Hero */
.ubc-hero{padding:72px 0 64px;}
.ubc-hero__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:56px;align-items:center;}
.ubc-hero__txt{display:flex;flex-direction:column;gap:26px;}
.ubc-hero h1{font-family:var(--ubc-title) !important;font-size:66px !important;line-height:1.02 !important;font-weight:800 !important;letter-spacing:-2px !important;margin:0 !important;text-wrap:balance;}
.ubc-hero h1 em{font-style:normal;color:var(--ubc-accent);}
.ubc-hero__sub{margin:0;font-size:19px;line-height:1.6;color:var(--ubc-muted);max-width:540px;}
.ubc-hero__ctas{display:flex;flex-wrap:wrap;gap:14px;}
.ubc-hero__proof{display:flex;align-items:center;gap:14px;font-size:14px;color:var(--ubc-muted);}
.ubc-hero__proof b{color:var(--ubc-ink);}
.ubc-avatars{display:flex;}
.ubc-avatars span{width:36px;height:36px;border-radius:50%;border:2px solid var(--ubc-paper);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;color:var(--ubc-ink);}
.ubc-avatars span + span{margin-left:-10px;}
.ubc-mosaic{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-rows:240px 240px;gap:16px;}
.ubc-tile{position:relative;border-radius:var(--ubc-radius);overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--ubc-sand);}
.ubc-tile--big{grid-row:span 2;border-radius:28px;}
.ubc-tile img{width:100%;height:100%;object-fit:cover;}
.ubc-tile__label{position:absolute;left:14px;bottom:14px;background:rgba(255,255,255,.94);padding:7px 13px;border-radius:999px;font-size:13px;font-weight:700;color:var(--ubc-ink);}
a.ubc-tile:hover .ubc-tile__label{background:var(--ubc-ink);color:#fff;}

/* Bandeau d'annonces (module Carrousel) */
.ubc-promo{padding:0 0 64px;}
.ubc-promo #carousel{border-radius:28px;overflow:hidden;box-shadow:none !important;margin:0 !important;background:var(--ubc-ink);}
.ubc-promo #carousel .carousel-inner{height:auto !important;}
.ubc-promo #carousel .carousel-item img{width:100%;height:auto;display:block;}
.ubc-promo #carousel .carousel-indicators{bottom:18px;left:auto;right:auto;margin:0 0 0 28px;justify-content:flex-start;}
.ubc-promo #carousel .carousel-indicators li{width:10px;height:10px;border-radius:5px;border:0;background:rgba(255,255,255,.55);transition:width .25s;margin:0 4px 0 0;}
.ubc-promo #carousel .carousel-indicators li.active{width:28px;background:#fff;}
.ubc-promo #carousel .direction{position:absolute;inset:auto 18px 16px auto;display:flex;gap:10px;}
.ubc-promo #carousel .direction .carousel-control{position:static !important;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.92) !important;opacity:1 !important;display:flex;align-items:center;justify-content:center;}
.ubc-promo #carousel .direction .carousel-control .icon-prev,.ubc-promo #carousel .direction .carousel-control .icon-next{position:static !important;margin:0 !important;width:auto;height:auto;}
.ubc-promo #carousel .direction .carousel-control i{color:var(--ubc-ink) !important;font-size:26px !important;}
.ubc-promo #carousel .caption{display:none;}

/* Garanties */
.ubc-trust{background:#fff;border-top:1px solid var(--ubc-line);border-bottom:1px solid var(--ubc-line);}
.ubc-trust__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-top:28px;padding-bottom:28px;}
.ubc-trust__item{display:flex;gap:16px;align-items:flex-start;}
.ubc-ico{flex:none;width:48px;height:48px;border-radius:14px;background:var(--ubc-rose);color:var(--ubc-accent);display:flex;align-items:center;justify-content:center;}
.ubc-trust__item b{display:block;font-size:16px;}
.ubc-trust__item span{display:block;font-size:14px;color:var(--ubc-muted);line-height:1.5;margin-top:2px;}

/* Catégories */
.ubc-cats{padding:88px 0 32px;}
.ubc-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:290px 290px;gap:20px;}
.ubc-bento .ubc-tile--big{grid-column:span 2;grid-row:span 2;}
.ubc-bento .ubc-tile{background:var(--ubc-lin);}
.ubc-bento .ubc-tile__label{left:16px;bottom:16px;padding:11px 16px;border-radius:14px;font-size:16px;}
.ubc-bento .ubc-tile--big .ubc-tile__label{left:24px;bottom:24px;padding:14px 20px;border-radius:18px;}
.ubc-bento .ubc-tile--big .ubc-tile__label b{display:block;font-family:var(--ubc-title);font-size:24px;font-weight:800;}
.ubc-bento .ubc-tile--big .ubc-tile__label small{display:block;font-size:14px;font-weight:500;opacity:.8;}

/* Produits populaires (module) */
.ubc-popular{padding:56px 0 88px;}
.ubc-popular .featured-products{margin:0 !important;}
.ubc-popular .products-section-title{font-family:var(--ubc-title) !important;font-weight:800 !important;font-size:44px !important;letter-spacing:-1px !important;text-align:left !important;margin:0 0 32px !important;text-transform:none !important;}
.ubc-popular .all-product-link{float:none !important;display:inline-flex;align-items:center;gap:6px;margin-top:28px;font-family:var(--ubc-text) !important;font-weight:700 !important;font-size:16px !important;color:var(--ubc-accent) !important;}

/* Étapes */
.ubc-steps{background:#fff;padding:88px 0;}
.ubc-steps__head{text-align:center;max-width:720px;margin:0 auto 52px;}
.ubc-steps__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;}
.ubc-step{display:flex;flex-direction:column;gap:12px;}
.ubc-step__n{font-family:var(--ubc-title);font-size:64px;font-weight:800;line-height:1;}
.ubc-step b{font-size:20px;}
.ubc-step p{margin:0;font-size:16px;line-height:1.6;color:var(--ubc-muted);}
.ubc-steps__cta{display:flex;justify-content:center;margin-top:44px;}

/* Bandeau Pros */
.ubc-pros{background:var(--ubc-ink);color:#fff;padding:88px 0;}
.ubc-pros__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;}
.ubc-pros__txt{display:flex;flex-direction:column;gap:22px;}
.ubc-pros .ubc-eyebrow{color:#F2A7CF;}
.ubc-pros h2{color:#fff !important;font-family:var(--ubc-title) !important;font-size:50px !important;line-height:1.05 !important;font-weight:800 !important;letter-spacing:-1.5px !important;margin:0 !important;}
.ubc-pros p{margin:0;font-size:18px;line-height:1.6;color:#C9C3D1;max-width:520px;}
.ubc-pros ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;font-size:16px;}
.ubc-pros li{display:flex;align-items:center;gap:12px;color:#fff;}
.ubc-pros__ctas{display:flex;flex-wrap:wrap;gap:14px;margin-top:6px;}
.ubc-pros__visual{position:relative;border-radius:28px;background:#2A2640;min-height:420px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;}

/* Avis (module avisclients) */
.ubc-reviews{padding:88px 0 40px;}
.ubc-reviews .ubc-avis{max-width:none !important;padding:0 !important;margin:0 !important;background:transparent !important;}
.ubc-reviews .ubc-avis-head h2{font-family:var(--ubc-title) !important;font-size:44px !important;font-weight:800 !important;letter-spacing:-1px !important;}
.ubc-reviews .ubc-avis-card{background:#fff !important;border:1px solid var(--ubc-line) !important;border-radius:var(--ubc-radius) !important;padding:28px !important;}

/* Coulisses + FAQ (modules) */
.ubc-more-sections{padding:40px 0 88px;}
.ubc-more-sections h2{font-family:var(--ubc-title) !important;font-weight:800 !important;letter-spacing:-1px !important;}

/* ---------- Pied de page ---------- */
#footer{background:var(--ubc-ink) !important;color:#C9C3D1;padding-top:0 !important;margin-top:0 !important;}
#footer .footer-container{background:var(--ubc-ink) !important;box-shadow:none !important;margin-top:0 !important;padding-top:64px !important;color:#C9C3D1;}
#footer .footer-container::before{content:"";display:block;max-width:1568px;height:4px;margin:0 auto 48px;border-radius:2px;background:linear-gradient(90deg,var(--ubc-cyan) 0 33.33%,var(--ubc-accent) 33.33% 66.66%,var(--ubc-sun) 66.66% 100%);}
#footer .footer-container li a,#footer .footer-container a{color:#C9C3D1 !important;}
#footer .footer-container a:hover{color:#fff !important;}
#footer .h3,#footer .h4,#footer .title,#footer h4,#footer p.h3{color:#fff !important;font-family:var(--ubc-text) !important;font-weight:700 !important;font-size:15px !important;text-transform:none !important;}
#footer .footer-container .block-contact{color:#C9C3D1;border:0 !important;}
#footer .footer-container .text-sm-center,#footer .footer-container .text-sm-center a{color:#A79FB2 !important;font-size:13px;}
#footer .block_newsletter,#footer .footer-before{background:var(--ubc-paper);}

/* ---------- Responsive accueil ---------- */
@media (max-width:1100px){
  .ubc-hero h1{font-size:52px !important;}
  .ubc-trust__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:991px){
  .ubc-hero{padding:32px 0 40px;}
  .ubc-hero__grid,.ubc-pros__grid{grid-template-columns:minmax(0,1fr);gap:28px;}
  .ubc-hero h1{font-size:40px !important;letter-spacing:-1.2px !important;}
  .ubc-hero__sub{font-size:16px;}
  .ubc-hero__ctas .ubc-btn{flex:1 1 100%;justify-content:center;}
  .ubc-mosaic{grid-template-rows:170px 170px;}
  .ubc-h2,.ubc-popular .products-section-title,.ubc-reviews .ubc-avis-head h2{font-size:30px !important;}
  .ubc-pros h2{font-size:34px !important;}
  .ubc-cats{padding:48px 0 16px;}
  .ubc-bento{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;}
  .ubc-bento > *{min-height:170px;}
  .ubc-steps,.ubc-pros{padding:48px 0;}
  .ubc-steps__grid{grid-template-columns:minmax(0,1fr);gap:22px;}
  .ubc-step__n{font-size:40px;}
  .ubc-popular{padding:32px 0 48px;}
  .ubc-pros__visual{min-height:260px;}
  .ubc-promo{padding-bottom:40px;}
  .ubc-promo #carousel{border-radius:20px;}
}
@media (max-width:600px){
  .ubc-trust__grid{gap:16px 12px;padding-top:20px;padding-bottom:20px;}
  .ubc-trust__item span{display:none;}
  .ubc-trust__item{align-items:center;gap:10px;}
  .ubc-ico{width:38px;height:38px;border-radius:12px;}
}

/* ---------- Ajustements après premier essai ---------- */
#header .ubc-topbar a.ubc-topbar__pro{color:#F2A7CF !important;}
#header .ubc-topbar a.ubc-topbar__pro:hover{color:#fff !important;}
#header .header-banner .ubc-pro-topbanner{display:none !important;}
.ubc-head-actions .blockcart .header{background:transparent !important;padding:0 !important;color:var(--ubc-ink) !important;}
.ubc-head-actions .blockcart .header .material-icons{color:var(--ubc-ink) !important;}
#_desktop_top_menu > .top-menu > li#category-57 > a.dropdown-item{display:inline-block !important;text-transform:lowercase !important;}
#_desktop_top_menu > .top-menu > li#category-57 > a.dropdown-item::first-letter{text-transform:uppercase;}
.ubc-tile > img{position:absolute !important;inset:0;width:100% !important;height:100% !important;max-width:none !important;object-fit:cover;}
.ubc-promo #carousel .carousel-item a,.ubc-promo #carousel figure{display:block;width:100%;margin:0;}
.ubc-promo #carousel .carousel-item img{width:100% !important;max-width:none !important;}
#header #_desktop_cart .blockcart .header,#header #_desktop_cart .blockcart,#header #_mobile_cart .blockcart .header,#header #_mobile_cart .blockcart{background:transparent !important;}
#header #_desktop_cart .blockcart .header .shopping-cart,#header #_mobile_cart .blockcart .header .shopping-cart{color:var(--ubc-ink) !important;}
.ubc-promo #carousel{background:transparent !important;}
.ubc-promo #carousel .carousel-indicators{position:absolute;}

/* Titres des blocs Coulisses et FAQ */
.ubc-more-sections .ubc-video h2,.ubc-more-sections .ubc-faq h2{font-size:40px !important;line-height:1.1;margin-bottom:10px !important;}
/* Pied de page : bandeau newsletter + réseaux */
#footer > .container{padding-top:56px !important;padding-bottom:8px !important;}
#footer > .container > .row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;margin:0 !important;}
#footer > .container > .row::before,#footer > .container > .row::after{display:none !important;}
#footer .ubc-pro-banner{display:none !important;}
#footer .block_newsletter{background:transparent !important;padding:0 !important;margin:0 !important;flex:1 1 640px;max-width:900px;width:auto !important;float:none !important;color:#C9C3D1;}
#footer .block_newsletter > .row{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin:0 !important;}
#footer .block_newsletter #block-newsletter-label{color:#fff !important;font-family:var(--ubc-title) !important;font-size:26px !important;font-weight:800 !important;line-height:1.15;margin:0 !important;padding:0 !important;width:auto !important;max-width:none !important;flex:0 1 auto;}
#footer .block_newsletter > .row > div{flex:1 1 380px;width:auto !important;max-width:none !important;padding:0 !important;}
#footer .block_newsletter form .input-wrapper input{height:52px;border-radius:999px !important;border:0 !important;padding:0 20px !important;background:#fff !important;color:var(--ubc-ink);width:100%;}
#footer .block_newsletter form input.btn{height:52px;padding:0 24px !important;margin-left:10px;}
#footer .block_newsletter form p,#footer .block_newsletter .conditions{color:#A79FB2 !important;font-size:12px;margin-top:8px;}
#footer .block-social{float:none !important;width:auto !important;max-width:none !important;padding:0 !important;flex:none;}
#footer .block-social ul{display:flex;gap:10px;margin:0;}
#footer .block-social ul li{background-color:rgba(255,255,255,.10) !important;border-radius:50% !important;width:44px;height:44px;margin:0 !important;background-size:60% !important;}
#footer .block-social ul li:hover{background-color:var(--ubc-accent) !important;}
.ubc-promo #carousel{left:auto !important;right:auto !important;width:100% !important;}

/* ==========================================================================
   PAGES PRODUIT (refonte 2026)
   ========================================================================== */
body#product #wrapper{padding-top:0 !important;}
body#product .breadcrumb{padding:24px 0 12px !important;}
body#product .breadcrumb ol{margin:0;padding:0;}

/* Mise en page : 2 colonnes, visuel à gauche qui reste à l'écran */
.product-container{display:grid !important;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);column-gap:64px;row-gap:0;align-items:start;margin:0 0 80px !important;}
.product-container::before,.product-container::after{display:none !important;}
.product-container > .col-md-6{width:auto !important;max-width:none !important;padding:0 !important;float:none !important;flex:none !important;min-width:0;}
.product-container > .col-md-6:first-child{position:sticky;top:24px;}
.product-container .page-content{margin:0 !important;padding:0 !important;background:transparent !important;}

/* Galerie */
.product-container .images-container{display:flex;flex-direction:column;gap:14px;}
.product-container .product-cover{position:relative;border-radius:28px;overflow:hidden;background:var(--ubc-lin);margin:0 !important;box-shadow:none !important;}
.product-container .product-cover img{width:100%;height:auto;display:block;mix-blend-mode:multiply;box-shadow:none !important;}
.product-container .product-cover .layer{border-radius:28px;background:rgba(29,26,43,.06) !important;}
.product-container .product-cover .layer .zoom-in{color:var(--ubc-ink) !important;}
.product-container .js-qv-mask,.product-container .mask{width:100% !important;height:auto !important;overflow:visible !important;margin:0 !important;}
.product-container .product-images{display:flex !important;flex-wrap:wrap;gap:10px;margin:0 !important;padding:0 !important;width:auto !important;transform:none !important;}
.product-container .product-images > li.thumb-container{width:84px !important;flex:none;margin:0 !important;display:block;}
.product-container .product-images .thumb{width:84px !important;height:84px !important;object-fit:cover;border-radius:16px;border:1.5px solid #E2DACE !important;background:var(--ubc-lin);margin:0 !important;mix-blend-mode:multiply;}
.product-container .product-images .thumb.selected,.product-container .product-images .thumb:hover{border-color:var(--ubc-ink) !important;box-shadow:0 0 0 1px var(--ubc-ink) inset;}
.product-container .scroll-box-arrows{display:none !important;}
.product-container .product-flags{left:16px;top:16px;}

/* Titre, prix, description */
body#product .product-container h1.h1{font-family:var(--ubc-title) !important;font-size:44px !important;font-weight:800 !important;line-height:1.05 !important;letter-spacing:-1.2px !important;margin:0 0 14px !important;text-transform:none !important;color:var(--ubc-ink) !important;text-wrap:balance;}
.product-container .product-prices{margin:0 0 6px !important;}
.product-container .product-price,.product-container .current-price{color:var(--ubc-ink) !important;margin:0 !important;}
.product-container .current-price-value{font-family:var(--ubc-text) !important;font-size:30px !important;font-weight:800 !important;color:var(--ubc-ink) !important;}
.product-container .product-discount .regular-price{color:var(--ubc-muted) !important;font-size:18px;}
.product-container .discount{background:var(--ubc-accent) !important;color:#fff !important;border-radius:999px;padding:4px 10px !important;font-weight:700;font-size:13px;}
.product-container .tax-shipping-delivery-label{font-size:13px;color:var(--ubc-muted);margin:2px 0 0 !important;}
.product-container .product-description{font-size:16px;line-height:1.65;color:var(--ubc-muted);margin:12px 0 4px;}
.product-container .product-description p{margin:0 0 8px;}

/* Déclinaisons en pastilles (le menu déroulant reste en place, caché) */
.ubc-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important;}
.product-container .product-variants{margin:0 !important;}
.product-container .product-variants > .product-variants-item{margin:0 !important;padding:20px 0 0;border-top:1px solid #E7E1D8;}
.product-container .product-variants > .product-variants-item + .product-variants-item{margin-top:20px !important;}
.product-container .product-variants .control-label{display:block;font-family:var(--ubc-text) !important;font-weight:700 !important;font-size:16px !important;color:var(--ubc-ink) !important;margin:0 0 12px !important;text-transform:none !important;}
.ubc-chips{display:flex;flex-wrap:wrap;gap:8px;}
.ubc-chip{min-height:44px;min-width:52px;padding:8px 18px;border-radius:999px;border:1.5px solid #E2DACE;background:#fff;font-family:var(--ubc-text);font-weight:700;font-size:14px;line-height:1.25;color:var(--ubc-ink);cursor:pointer;text-align:center;transition:background .15s,border-color .15s,color .15s;}
.ubc-chip:hover{border-color:var(--ubc-ink);}
.ubc-chip[aria-pressed="true"]{background:var(--ubc-ink);border-color:var(--ubc-ink);color:#fff;}
.ubc-chip:focus-visible{outline:3px solid var(--ubc-cyan);outline-offset:2px;}
.product-container .product-variants .color{width:36px !important;height:36px !important;border-radius:50% !important;border:2px solid #fff !important;box-shadow:0 0 0 1px #CFC7BA !important;margin:0 !important;}
.product-container .product-variants .input-color:checked + span,.product-container .product-variants .input-color:hover + span{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--ubc-ink) !important;border-color:#fff !important;}
.product-container .product-variants ul{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;}
.product-container .product-variants ul li{float:none !important;margin:0 !important;}

/* Remises par quantité */
.product-container .product-discounts{margin:20px 0 0 !important;padding-top:20px;border-top:1px solid #E7E1D8;}
.product-container .product-discounts-title{font-family:var(--ubc-text) !important;font-weight:700 !important;font-size:16px !important;color:var(--ubc-ink) !important;margin:0 0 12px !important;text-transform:none !important;}
.product-container .table-product-discounts{width:100%;border-collapse:separate !important;border-spacing:0;border:1px solid #E7E1D8 !important;border-radius:14px;overflow:hidden;background:#fff;font-size:14px;margin:0 !important;}
.product-container .table-product-discounts th{background:var(--ubc-lin) !important;color:var(--ubc-ink) !important;font-weight:700 !important;padding:10px 8px !important;text-align:center;border:0 !important;}
.product-container .table-product-discounts td{padding:10px 8px !important;text-align:center;border:0 !important;border-top:1px solid #E7E1D8 !important;color:var(--ubc-ink);}
.product-container .table-product-discounts tbody tr:nth-child(odd){background:#fff !important;}

/* Quantité + Ajouter au panier */
.product-container .product-add-to-cart{margin:22px 0 0 !important;padding-top:22px;border-top:1px solid #E7E1D8;}
.product-container .product-add-to-cart > .control-label{display:none !important;}
.product-container .product-quantity{display:flex !important;align-items:center;gap:12px;flex-wrap:wrap;margin:0 !important;}
.product-container .product-quantity .qty{margin:0 !important;float:none !important;}
.product-container .product-quantity .input-group.bootstrap-touchspin{display:flex;align-items:stretch;height:54px;border:1.5px solid #E2DACE;border-radius:999px;background:#fff;overflow:hidden;box-shadow:none !important;width:auto !important;}
.product-container .product-quantity #quantity_wanted{height:54px !important;width:56px !important;border:0 !important;text-align:center;font-weight:800;font-size:17px;color:var(--ubc-ink);background:transparent !important;padding:0 !important;box-shadow:none !important;}
.product-container .product-quantity .input-group-btn-vertical{display:flex;flex-direction:column;width:auto !important;border-left:1.5px solid #E2DACE;}
.product-container .product-quantity .input-group-btn-vertical .btn{height:27px !important;width:40px !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:#fff !important;display:flex;align-items:center;justify-content:center;}
.product-container .product-quantity .input-group-btn-vertical .btn i{position:static !important;color:var(--ubc-ink) !important;font-size:20px;}
.product-container .product-quantity .add{flex:1 1 260px;margin:0 !important;float:none !important;}
.product-container .product-quantity .add-to-cart{width:100%;height:58px !important;padding:0 24px !important;font-size:17px !important;display:flex !important;align-items:center;justify-content:center;gap:10px;}
.product-container .product-quantity .add-to-cart .material-icons{line-height:1;}
.product-container .product-quantity .wishlist-button-add,.product-container .product-quantity .wishlist-button-product{margin:0 !important;width:54px;height:54px;border-radius:50% !important;box-shadow:none !important;border:1.5px solid #E2DACE !important;}
.product-container #product-availability{display:block;margin-top:12px;font-size:14px;font-weight:600;}
.product-container #product-availability .product-available{color:#15803D !important;}
.product-container .product-minimal-quantity{margin:6px 0 0 !important;font-size:13px;color:var(--ubc-muted);}
.product-container .product-additional-info{margin-top:14px;}
.product-container .social-sharing{display:none !important;}

/* Réassurance */
.product-container .blockreassurance_product{display:grid;gap:10px;margin:22px 0 0 !important;padding:18px 20px;border-radius:20px;background:#fff;border:1px solid var(--ubc-line);}
.product-container .blockreassurance_product > div{display:flex;align-items:center;gap:12px;margin:0 !important;padding:0 !important;}
.product-container .blockreassurance_product .item-product{width:36px !important;height:36px !important;flex:none;border-radius:12px;background:var(--ubc-rose);display:flex !important;align-items:center;justify-content:center;margin:0 !important;float:none !important;}
.product-container .blockreassurance_product .item-product svg,.product-container .blockreassurance_product .item-product img{width:20px !important;height:20px !important;}
.product-container .blockreassurance_product .item-product svg *{fill:var(--ubc-accent) !important;}
.product-container .blockreassurance_product .block-title{margin:0 !important;font-size:14px !important;font-weight:600 !important;color:var(--ubc-ink) !important;}
.product-container .blockreassurance_product .clearfix{display:none;}

/* Description et détails */
.product-container .tabs{background:#fff !important;border-radius:24px;padding:24px 26px !important;margin-top:24px !important;box-shadow:none !important;border:1px solid var(--ubc-line);}
.product-container .tabs .nav-tabs{border:0 !important;display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px !important;}
.product-container .tabs .nav-tabs .nav-item{margin:0 !important;}
.product-container .tabs .nav-tabs .nav-link{border:0 !important;border-radius:999px !important;padding:9px 16px !important;font-family:var(--ubc-text) !important;font-weight:700 !important;font-size:14px !important;color:var(--ubc-muted) !important;text-transform:none !important;background:var(--ubc-lin);}
.product-container .tabs .nav-tabs .nav-link.active,.product-container .tabs .nav-tabs .nav-link:hover{background:var(--ubc-ink) !important;color:#fff !important;}
.product-container .tabs .tab-content{font-size:15px;line-height:1.7;color:var(--ubc-muted);}
.product-container .tabs .tab-content h2,.product-container .tabs .tab-content h3{font-size:20px !important;margin:16px 0 8px !important;}
.product-container .product-features .data-sheet{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);border-top:1px solid #E7E1D8;}
.product-container .product-features .data-sheet .name,.product-container .product-features .data-sheet .value{background:transparent !important;border-bottom:1px solid #E7E1D8;padding:10px 0 !important;margin:0 !important;font-size:15px;}
.product-container .product-features .data-sheet .name{color:var(--ubc-muted) !important;font-weight:500 !important;}
.product-container .product-features .data-sheet .value{color:var(--ubc-ink) !important;font-weight:600;}

/* Sous la fiche : produits associés, même catégorie, avis */
body#product .product-accessories,body#product .featured-products,body#product section.product-accessories{margin:0 0 72px !important;}
body#product .product-accessories h2,body#product .featured-products h2,body#product .products-section-title{font-family:var(--ubc-title) !important;font-weight:800 !important;font-size:32px !important;letter-spacing:-.8px !important;text-transform:none !important;text-align:left !important;margin:0 0 24px !important;}

/* ---------- Produits à personnaliser (module "Un brin de custom") ---------- */
@media (min-width:992px){
  .product-container:has(#tshirt-custom-block){grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .product-container:has(#tshirt-custom-block) > .col-md-6:first-child{display:none !important;}
  .product-container:has(#tshirt-custom-block) > .col-md-6:last-child,
  .product-container:has(#tshirt-custom-block) .product-prices,
  .product-container:has(#tshirt-custom-block) .tax-shipping-delivery-label,
  .product-container:has(#tshirt-custom-block) #tshirt-custom-block{display:contents !important;}
  .product-container:has(#tshirt-custom-block) h1.h1,
  .product-container:has(#tshirt-custom-block) .product-price,
  .product-container:has(#tshirt-custom-block) #tshirt-custom-block > *,
  .product-container:has(#tshirt-custom-block) .product-information{grid-column:2;}
  /* le grand aperçu, à gauche, qui suit le défilement */
  .product-container:has(#tshirt-custom-block) #tshirt-custom-block > .preview-container{grid-column:1 !important;grid-row:1 / span 40;justify-self:center;align-self:start;position:sticky;top:96px;margin:64px auto !important;border-radius:6px;box-shadow:0 0 0 64px #fff,0 0 0 65px var(--ubc-line);}
}
/* Habillage du module, sur ordinateur comme sur mobile */
#tshirt-custom-block{background:transparent !important;border:0 !important;padding:0 !important;box-shadow:none !important;}
#tshirt-custom-block > h3{font-family:var(--ubc-text) !important;font-size:13px !important;font-weight:700 !important;letter-spacing:1.3px;text-transform:uppercase !important;color:var(--ubc-accent) !important;margin:6px 0 4px !important;}
#tshirt-custom-block > .custom-form-group{margin:0 !important;padding:20px 0 0 !important;border-top:1px solid #E7E1D8;margin-top:20px !important;}
#tshirt-custom-block > .custom-form-group[style*="display: none"],#tshirt-custom-block > .custom-form-group[style*="display:none"]{display:none !important;}
#tshirt-custom-block .custom-form-group > label,#tshirt-custom-block #label-file-input{font-family:var(--ubc-text) !important;font-size:16px !important;font-weight:700 !important;color:var(--ubc-ink) !important;margin:0 0 12px !important;display:block;}
#tshirt-custom-block .color-swatches{flex-wrap:wrap;gap:10px !important;}
#tshirt-custom-block .color-swatch-btn{width:38px !important;height:38px !important;border:2px solid #fff !important;box-shadow:0 0 0 1px #CFC7BA !important;}
#tshirt-custom-block .color-swatch-btn.active{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--ubc-ink) !important;border-color:#fff !important;}
#tshirt-custom-block .btn-group{flex-wrap:wrap;gap:8px !important;}
#tshirt-custom-block .side-btn{flex:0 1 auto !important;min-height:44px;padding:8px 18px !important;border-radius:999px !important;border:1.5px solid #E2DACE !important;background:#fff !important;color:var(--ubc-ink) !important;font-family:var(--ubc-text) !important;font-weight:700 !important;font-size:14px !important;text-transform:none !important;box-shadow:none !important;}
#tshirt-custom-block .side-btn:hover{border-color:var(--ubc-ink) !important;}
#tshirt-custom-block .side-btn.active{background:var(--ubc-ink) !important;border-color:var(--ubc-ink) !important;color:#fff !important;}
#tshirt-custom-block .preview-container + button{margin:16px 0 0 !important;height:44px;padding:0 18px !important;border-radius:999px !important;border:1.5px solid var(--ubc-ink) !important;background:#fff !important;color:var(--ubc-ink) !important;font-family:var(--ubc-text) !important;font-weight:700 !important;font-size:14px !important;}
#tshirt-custom-block .preview-container + button:hover{background:var(--ubc-ink) !important;color:#fff !important;}
#tshirt-custom-block input[type=file]{height:auto !important;padding:14px !important;border:1.5px dashed #CFC7BA !important;border-radius:16px !important;background:#fff !important;font-size:14px;color:var(--ubc-muted);cursor:pointer;}
#tshirt-custom-block input[type=file]:hover{border-color:var(--ubc-accent) !important;}
#tshirt-custom-block input[type=file]::file-selector-button{margin-right:14px;height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--ubc-rose);color:var(--ubc-accent);font-family:var(--ubc-text);font-weight:700;cursor:pointer;}
#tshirt-custom-block input[type=text],#tshirt-custom-block select{height:48px !important;border:1.5px solid #E2DACE !important;border-radius:12px !important;padding:0 14px !important;font-family:var(--ubc-text);font-size:15px;color:var(--ubc-ink);background-color:#fff !important;box-shadow:none !important;}
#tshirt-custom-block input[type=text]:focus,#tshirt-custom-block select:focus{border-color:var(--ubc-ink) !important;}
#tshirt-custom-block input[type=range]{accent-color:var(--ubc-accent);}
#tshirt-custom-block #btn-remove-logo,#tshirt-custom-block #btn-apply-text{border-radius:999px !important;padding:8px 16px !important;font-weight:700 !important;text-transform:none !important;}
#tshirt-custom-block #btn-apply-text{background:var(--ubc-ink) !important;border-color:var(--ubc-ink) !important;color:#fff !important;}
#tshirt-custom-block #btn-validate-custom{width:100%;height:54px;border-radius:999px !important;background:#fff !important;border:1.5px solid var(--ubc-ink) !important;color:var(--ubc-ink) !important;font-weight:800 !important;font-size:16px !important;text-transform:none !important;box-shadow:none !important;}
#tshirt-custom-block #btn-validate-custom:hover{background:var(--ubc-ink) !important;color:#fff !important;}
#tshirt-custom-block #logo-preview-disclaimer,#tshirt-custom-block #validation-msg{font-size:13px;color:var(--ubc-muted);}

/* ---------- Mobile et tablette ---------- */
@media (max-width:991px){
  .product-container{grid-template-columns:minmax(0,1fr);row-gap:24px;margin-bottom:48px !important;}
  .product-container > .col-md-6:first-child{position:static;}
  body#product .product-container h1.h1{font-size:32px !important;}
  .product-container .product-images > li.thumb-container,.product-container .product-images .thumb{width:68px !important;height:68px !important;}
  .product-container .product-quantity .add{flex:1 1 100%;}
}
/* En-tête mobile : menu à gauche, logo au centre, compte et panier à droite */
#header .header-nav .mobile{width:100%;gap:4px;padding:0 4px;}
#header .header-nav .mobile > *{float:none !important;}
#header .header-nav .mobile #menu-icon{order:0;margin:0 !important;width:44px;height:44px;display:flex;align-items:center;justify-content:center;}
#header .header-nav .mobile .top-logo{order:1;flex:1 1 auto;display:flex;justify-content:center;margin:0 !important;}
#header .header-nav .mobile .top-logo img{max-height:48px;width:auto;}
#header .header-nav .mobile #_mobile_user_info{order:2;}
#header .header-nav .mobile #_mobile_cart{order:3;}
#header .header-nav .mobile .clearfix{display:none;}
#header .header-nav .mobile .user-info .hidden-sm-down{display:none !important;}
/* Page produit : ajustements après essai */
@media (min-width:992px){
  .product-container:has(#tshirt-custom-block) #tshirt-custom-block > .preview-container{position:sticky !important;top:96px !important;}
}
#tshirt-custom-block > h3,#tshirt-custom-block > .custom-form-group,#tshirt-custom-block > .custom-form-group label{text-align:left !important;}
#tshirt-custom-block .preview-container + button{display:inline-flex !important;align-items:center;gap:6px;width:auto !important;}
body#product .product-container .product-add-to-cart .btn.btn-primary.add-to-cart{background:var(--ubc-accent) !important;border-color:var(--ubc-accent) !important;color:#fff !important;border-radius:999px !important;}
body#product .product-container .product-add-to-cart .btn.btn-primary.add-to-cart:hover{background:var(--ubc-accent-dark) !important;}
body#product .product-comments-additional-info{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:14px;}
body#product .product-comments-additional-info .btn-comment,body#product .product-comments-additional-info .post-product-comment{background:#fff !important;color:var(--ubc-ink) !important;border:1.5px solid var(--ubc-ink) !important;border-radius:999px !important;padding:6px 14px !important;font-weight:700 !important;text-transform:none !important;box-shadow:none !important;}
body#product .product-comments-additional-info .link-comment{color:var(--ubc-ink) !important;font-weight:600;}
.product-container #content.page-content{max-width:none !important;width:100% !important;}
.product-container .images-container{width:100% !important;max-width:620px;margin:0 auto;}
.product-container .product-cover{width:100% !important;}
.product-container .product-cover img{width:100% !important;max-width:none !important;}
body#product #product-comments-list-header,body#product .product-comments-list-header{font-weight:700;color:var(--ubc-ink);}
body#product #empty-product-comment,body#product .product-comments{background:transparent !important;}
body#product #empty-product-comment .btn,body#product .post-product-comment{background:#fff !important;color:var(--ubc-ink) !important;border:1.5px solid var(--ubc-ink) !important;border-radius:999px !important;box-shadow:none !important;text-transform:none !important;font-weight:700 !important;}
.product-container:has(#tshirt-custom-block) > .col-md-6:first-child{display:none !important;}
.product-container .product-images{flex-wrap:nowrap !important;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px !important;}
.product-container .js-qv-mask,.product-container .mask{overflow:hidden !important;}

/* ---------- Retours du 05/10 (soir) ---------- */
/* En-tête plus haut, logo plus grand */
#header{position:relative;z-index:50;}
.ubc-headrow{min-height:108px;}
.ubc-headrow #_desktop_logo img{max-height:90px !important;}
/* Sous-menus : colonnes à la largeur du texte, plus de chevauchement */
#_desktop_top_menu .popover.sub-menu{width:max-content !important;min-width:240px !important;max-width:min(720px,90vw) !important;opacity:1 !important;}
#_desktop_top_menu .sub-menu ul[data-depth="1"]{grid-template-columns:repeat(2,minmax(150px,max-content)) !important;column-gap:20px !important;}
#_desktop_top_menu .sub-menu ul[data-depth="1"] > li > a{white-space:nowrap;}

/* Accueil : coulisses comme sur la maquette (texte à gauche, vidéos à droite) */
.ubc-more-sections{padding:0 !important;}
.ubc-backstage{background:var(--ubc-lin);padding:88px 0;}
.ubc-backstage__grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px;align-items:center;}
.ubc-backstage__txt{display:flex;flex-direction:column;gap:18px;align-items:flex-start;}
.ubc-backstage__txt p{margin:0;font-size:17px;line-height:1.6;color:var(--ubc-muted);max-width:460px;}
.ubc-backstage .ubc-video{padding:0 !important;margin:0 !important;background:transparent !important;max-width:none !important;}
.ubc-backstage .ubc-video > h2,.ubc-backstage .ubc-video > .ubc-video-sub{display:none !important;}
.ubc-backstage .ubc-video-grid{display:flex !important;justify-content:flex-start;gap:20px;flex-wrap:wrap;margin:0 !important;}
.ubc-backstage .ubc-video-item{margin:0 !important;}
.ubc-backstage .tiktok-embed{margin:0 !important;}

/* Accueil : FAQ comme sur la maquette (titre à gauche, questions à droite) */
.ubc-faqsec{padding:88px 0;}
.ubc-faqsec__grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;align-items:start;}
.ubc-faqsec__txt{display:flex;flex-direction:column;gap:18px;align-items:flex-start;position:sticky;top:24px;}
.ubc-faqsec__txt p{margin:0;font-size:17px;line-height:1.6;color:var(--ubc-muted);}
.ubc-faqsec .ubc-faq{padding:0 !important;margin:0 !important;max-width:none !important;background:transparent !important;box-shadow:none !important;}
.ubc-faqsec .ubc-faq > h2,.ubc-faqsec .ubc-faq > .ubc-faq-sub{display:none !important;}
.ubc-faqsec .ubc-faq details{background:transparent !important;border:0 !important;border-top:1px solid #E2DACE !important;border-radius:0 !important;margin:0 !important;padding:0 !important;box-shadow:none !important;}
.ubc-faqsec .ubc-faq details:last-of-type{border-bottom:1px solid #E2DACE !important;}
.ubc-faqsec .ubc-faq summary{list-style:none;cursor:pointer;display:flex !important;justify-content:space-between;align-items:center;gap:16px;padding:22px 0 !important;font-family:var(--ubc-text) !important;font-weight:700 !important;font-size:18px !important;line-height:1.35;color:var(--ubc-ink) !important;background:transparent !important;}
.ubc-faqsec .ubc-faq summary::-webkit-details-marker{display:none;}
.ubc-faqsec .ubc-faq summary::after{content:"+" !important;flex:none;color:var(--ubc-accent) !important;font-size:26px !important;font-weight:500;line-height:1;position:static !important;transform:none !important;}
.ubc-faqsec .ubc-faq details[open] summary::after{content:"−" !important;}
.ubc-faqsec .ubc-faq .ubc-faq-a{padding:0 0 22px !important;font-size:16px;line-height:1.65;color:var(--ubc-muted);max-width:720px;background:transparent !important;border:0 !important;}

/* Fiche produit : encadré d'aide WhatsApp */
.ubc-help{display:flex;gap:16px;align-items:flex-start;margin:22px 0 0;padding:20px;border-radius:20px;background:#EAF7EF;border:1px solid #CDEBD8;}
.ubc-help__ico{flex:none;width:48px;height:48px;border-radius:14px;background:#25D366;display:flex;align-items:center;justify-content:center;}
.ubc-help__txt{display:flex;flex-direction:column;gap:6px;min-width:0;}
.ubc-help__txt b{font-size:17px;color:var(--ubc-ink);line-height:1.3;}
.ubc-help__txt p{margin:0;font-size:14px;line-height:1.55;color:#33523F;}
.ubc-help__btn{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;margin-top:6px;min-height:46px;padding:0 20px;border-radius:999px;background:#0F7A40;color:#fff !important;font-weight:700;font-size:15px;}
.ubc-help__btn:hover{background:#0B5F32;color:#fff !important;}
.ubc-help__note{font-size:12px;color:#4B6B57;}
/* Description : l'ancien encadré vert est remplacé par l'encadré ci-dessus, et le texte reprend la police du site */
.product-container #description .product-description div[style*="25D366" i]{display:none !important;}
.product-container #description .product-description,.product-container #description .product-description [style]{font-family:var(--ubc-text) !important;}
.product-container #description .product-description [style*="color"]{color:inherit !important;}

@media (max-width:991px){
  .ubc-headrow{min-height:84px;}
  .ubc-backstage,.ubc-faqsec{padding:48px 0;}
  .ubc-backstage__grid,.ubc-faqsec__grid{grid-template-columns:minmax(0,1fr);gap:28px;}
  .ubc-faqsec__txt{position:static;}
  .ubc-faqsec .ubc-faq summary{font-size:16px !important;}
  .ubc-backstage .ubc-video-grid{justify-content:center;}
}

/* Coulisses : cartes vidéo verticales, FAQ : lien WhatsApp dans le texte */
.ubc-backstage .ubc-video-grid{display:flex !important;gap:16px !important;justify-content:flex-start !important;flex-wrap:wrap;}
.ubc-backstage .ubc-video-item{width:auto !important;max-width:none !important;flex:none !important;padding:0 !important;}
.ubc-vcard{width:250px;aspect-ratio:9 / 16;border-radius:20px;overflow:hidden;background:var(--ubc-ink);}
.ubc-vcard iframe{width:100%;height:100%;border:0;display:block;}
.ubc-backstage__txt .ubc-h2,.ubc-faqsec__txt .ubc-h2{font-size:48px !important;}
.ubc-faqsec__txt p a{color:var(--ubc-accent) !important;font-weight:700;text-decoration:underline;text-underline-offset:3px;}
/* Encadré d'aide : version "maquette" sur les produits à personnaliser, "question" sur les autres */
.ubc-help--m{display:none;}
.product-container:has(#tshirt-custom-block) .ubc-help--m{display:flex;}
.product-container:has(#tshirt-custom-block) .ubc-help--q{display:none;}
@media (max-width:991px){
  .ubc-backstage__txt .ubc-h2,.ubc-faqsec__txt .ubc-h2{font-size:32px !important;}
  .ubc-vcard{width:calc(50vw - 28px);max-width:250px;}
  .ubc-backstage .ubc-video-grid{justify-content:center !important;}
}

/* ==========================================================================
   FICHE PRODUIT : DESCRIPTION ET DÉTAILS EN PLEINE LARGEUR (05/10, nuit)
   ========================================================================== */
.ubc-pinfo{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:72px;align-items:start;margin:0 0 96px;padding-top:72px;border-top:1px solid var(--ubc-line);}
.ubc-pinfo--nodesc{grid-template-columns:minmax(0,560px);}
.ubc-pinfo__h{font-family:var(--ubc-title) !important;font-weight:800 !important;font-size:40px !important;line-height:1.05 !important;letter-spacing:-1px !important;color:var(--ubc-ink) !important;text-transform:none !important;margin:0 0 28px !important;}
.ubc-pinfo__h--s{font-size:24px !important;letter-spacing:-.4px !important;margin:0 0 14px !important;}
.ubc-pinfo__side{position:sticky;top:24px;display:flex;flex-direction:column;gap:16px;}
.ubc-pinfo__card{background:#fff;border:1px solid var(--ubc-line);border-radius:24px;padding:26px 28px;}
.ubc-pinfo .tab-pane{display:block !important;opacity:1 !important;}

/* Détails : une ligne par information */
.ubc-pinfo #product-details{font-size:15px;color:var(--ubc-ink);}
.ubc-pinfo #product-details > div:empty,.ubc-pinfo .product-out-of-stock:not(:has(*)),.ubc-pinfo .product-quantities{display:none !important;}
.ubc-pinfo .product-manufacturer,.ubc-pinfo .product-reference,.ubc-pinfo .product-availability-date,.ubc-pinfo .product-condition{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:0 !important;padding:13px 0;border-bottom:1px solid var(--ubc-line);}
.ubc-pinfo #product-details .label{margin:0 !important;padding:0 !important;font-size:15px !important;font-weight:500 !important;color:var(--ubc-muted) !important;background:transparent !important;text-transform:none !important;}
.ubc-pinfo #product-details .label + span,.ubc-pinfo #product-details .label + *{font-weight:700;color:var(--ubc-ink);text-align:right;}
.ubc-pinfo .product-features{margin:0 !important;}
.ubc-pinfo .product-features > .h6{display:none !important;}
.ubc-pinfo .product-features > dl.data-sheet{display:grid !important;grid-template-columns:auto minmax(0,1fr);margin:0 !important;}
.ubc-pinfo .data-sheet dt.name,.ubc-pinfo .data-sheet dd.value{flex:none !important;min-height:0 !important;margin:0 !important;padding:13px 0 !important;background:transparent !important;border-bottom:1px solid var(--ubc-line);font-size:15px !important;text-transform:none !important;word-break:normal;}
.ubc-pinfo .data-sheet dt.name{color:var(--ubc-muted) !important;font-weight:500 !important;padding-right:16px !important;}
.ubc-pinfo .data-sheet dd.value{color:var(--ubc-ink) !important;font-weight:700 !important;text-align:right;}
.ubc-pinfo .product-features > dl.data-sheet > :nth-last-child(-n+2),.ubc-pinfo #product-details > div:last-child{border-bottom:0;}
.ubc-pinfo .attachment{padding:12px 0;border-bottom:1px solid var(--ubc-line);}
.ubc-pinfo .attachment:last-child{border-bottom:0;}
.ubc-pinfo .attachment h4{font-size:15px;font-weight:700;margin:0 0 4px;}
.ubc-pinfo .attachment p{margin:0 0 4px;font-size:14px;color:var(--ubc-muted);}
.ubc-pinfo .attachment a{color:var(--ubc-accent);font-weight:700;}

/* Description : texte confortable à lire, quelle que soit sa mise en forme d'origine */
.ubc-pinfo .product-description{max-width:780px;font-family:var(--ubc-text) !important;font-size:16px;line-height:1.75;color:var(--ubc-muted);}
.ubc-pinfo .product-description *{font-family:inherit !important;}
.ubc-pinfo .product-description [style*="color"]{color:inherit !important;}
.ubc-pinfo .product-description [style*="background"]{background:transparent !important;}
.ubc-pinfo .product-description [style*="font-size"]{font-size:inherit !important;}
.ubc-pinfo .product-description div[style*="25D366" i]{display:none !important;}
.ubc-pinfo .product-description > :first-child{margin-top:0 !important;}
.ubc-pinfo .product-description p{margin:0 0 14px !important;line-height:1.75 !important;}
.ubc-pinfo .product-description h1,.ubc-pinfo .product-description h2{font-family:var(--ubc-title) !important;font-size:26px !important;font-weight:800 !important;line-height:1.2 !important;letter-spacing:-.5px !important;color:var(--ubc-ink) !important;text-transform:none !important;margin:44px 0 14px !important;}
.ubc-pinfo .product-description h3{font-family:var(--ubc-title) !important;font-size:21px !important;font-weight:800 !important;line-height:1.25 !important;letter-spacing:-.3px !important;color:var(--ubc-ink) !important;text-transform:none !important;margin:36px 0 12px !important;}
.ubc-pinfo .product-description h4,.ubc-pinfo .product-description h5,.ubc-pinfo .product-description h6{font-size:17px !important;font-weight:800 !important;line-height:1.35 !important;color:var(--ubc-ink) !important;text-transform:none !important;margin:28px 0 10px !important;}
.ubc-pinfo .product-description strong,.ubc-pinfo .product-description b{color:var(--ubc-ink);font-weight:700;}
.ubc-pinfo .product-description a{color:var(--ubc-accent);font-weight:700;text-decoration:underline;text-underline-offset:3px;}
.ubc-pinfo .product-description ul,.ubc-pinfo .product-description ol{margin:0 0 20px !important;padding:0 !important;list-style:none !important;}
.ubc-pinfo .product-description li{position:relative;margin:0 0 10px !important;padding:0 0 0 26px !important;line-height:1.65 !important;}
.ubc-pinfo .product-description li > p{margin:0 0 4px !important;}
.ubc-pinfo .product-description ul > li::before{content:"";position:absolute;left:5px;top:.7em;width:8px;height:8px;border-radius:50%;background:var(--ubc-accent);}
.ubc-pinfo .product-description ul ul{margin:10px 0 0 !important;}
.ubc-pinfo .product-description ul ul > li::before{background:transparent;border:1.5px solid var(--ubc-accent);}
.ubc-pinfo .product-description ol{counter-reset:ubcol;}
.ubc-pinfo .product-description ol > li{counter-increment:ubcol;padding-left:34px !important;}
.ubc-pinfo .product-description ol > li::before{content:counter(ubcol);position:absolute;left:0;top:.15em;width:24px;height:24px;border-radius:50%;background:var(--ubc-rose);color:var(--ubc-accent);font-size:13px;font-weight:800;line-height:24px;text-align:center;}
.ubc-pinfo .product-description img{max-width:100%;height:auto;border-radius:16px;}
.ubc-pinfo .product-description hr{border:0;border-top:1px solid var(--ubc-line);margin:32px 0;}
.ubc-pinfo .product-description table{width:100%;border-collapse:collapse;margin:0 0 20px;font-size:15px;}
.ubc-pinfo .product-description td,.ubc-pinfo .product-description th{padding:10px 12px;border-bottom:1px solid var(--ubc-line);text-align:left;}

/* « En bref » : les lignes courtes du début de la description */
.ubc-pinfo .product-description ul.ubc-facts{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 28px !important;}
.ubc-pinfo .product-description ul.ubc-facts > li{display:flex;align-items:flex-start;gap:12px;margin:0 !important;padding:14px 16px !important;background:#fff;border:1px solid var(--ubc-line);border-radius:16px;font-size:15px;line-height:1.45 !important;font-weight:700;color:var(--ubc-ink);}
.ubc-pinfo .product-description ul.ubc-facts > li::before{content:none;}
.ubc-facts i{flex:none;width:22px;height:22px;margin-top:-1px;border-radius:50%;background:var(--ubc-rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A0186C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;}
.ubc-facts small{display:block;margin:0 0 2px;font-size:12px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:var(--ubc-muted);}

/* Paliers de prix dégressifs */
.ubc-tiers{margin:0 0 28px;padding:20px;border-radius:20px;background:var(--ubc-rose);}
.ubc-pinfo .product-description p.ubc-tiers__t{margin:0 0 12px !important;font-size:16px;font-weight:800;line-height:1.35 !important;color:var(--ubc-ink);}
.ubc-tiers__row{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:8px;}
.ubc-tiers__row > div{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:14px;background:#fff;line-height:1.3;}
.ubc-tiers__row b{font-size:15px;color:var(--ubc-ink);}
.ubc-tiers__row span{font-size:14px;font-weight:800;color:var(--ubc-accent);}

/* Remarque en italique */
.ubc-pinfo .product-description p.ubc-note{padding:14px 18px;border-radius:14px;background:var(--ubc-lin);font-size:14px;line-height:1.6 !important;}
.ubc-pinfo .product-description p.ubc-note em,.ubc-pinfo .product-description p.ubc-note i{font-style:normal;}

/* Description longue : repliée */
.ubc-pinfo__desc.is-clamped:not(.is-open){max-height:var(--ubc-clamp,900px);overflow:hidden;-webkit-mask-image:linear-gradient(#000 75%,transparent);mask-image:linear-gradient(#000 75%,transparent);}
.ubc-more{display:inline-flex;align-items:center;height:48px;margin-top:20px;padding:0 24px;border:1.5px solid var(--ubc-ink);border-radius:999px;background:#fff;font-family:var(--ubc-text);font-weight:800;font-size:15px;color:var(--ubc-ink);cursor:pointer;}
.ubc-more:hover{background:var(--ubc-ink);color:#fff;}
.ubc-more:focus-visible{outline:3px solid var(--ubc-cyan);outline-offset:2px;}

@media (max-width:991px){
  .ubc-pinfo{grid-template-columns:minmax(0,1fr);gap:40px;padding-top:48px;margin-bottom:64px;}
  .ubc-pinfo__h{font-size:30px !important;margin-bottom:20px !important;}
  .ubc-pinfo__side{position:static;}
  .ubc-pinfo__card{padding:22px;}
}
@media (max-width:575px){
  .ubc-pinfo .product-description ul.ubc-facts{grid-template-columns:minmax(0,1fr);}
  .ubc-pinfo .product-description h1,.ubc-pinfo .product-description h2{font-size:22px !important;}
  .ubc-pinfo .product-description h3{font-size:19px !important;}
}


/* ==========================================================================
   PAGES CATÉGORIE (05/10, nuit)
   ========================================================================== */
body#category #wrapper{padding-top:0 !important;}
body#category .breadcrumb{padding:24px 0 12px !important;}
body#category .breadcrumb ol{margin:0;padding:0;}
body#category #left-column .block-categories{display:none !important;}

/* En-tête de catégorie */
body#category .block-category.ubc-cathero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:48px;min-height:0;margin:4px 0 24px !important;padding:48px 56px !important;border:0 !important;border-radius:32px !important;background:var(--ubc-lin) !important;box-shadow:none !important;}
body#category .ubc-cathero--min{display:block !important;padding:28px 40px !important;}
body#category .ubc-cathero__txt{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0;}
body#category .ubc-cathero__eyebrow{font-size:13px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:var(--ubc-accent) !important;text-decoration:none;}
body#category .ubc-cathero__eyebrow:hover{text-decoration:underline;}
body#category .ubc-cathero h1.h1{margin:0 !important;font-family:var(--ubc-title) !important;font-size:56px !important;font-weight:800 !important;line-height:1.02 !important;letter-spacing:-1.6px !important;text-transform:none !important;color:var(--ubc-ink) !important;}
body#category .ubc-cathero--min h1.h1{font-size:36px !important;}
body#category .ubc-cathero__desc{max-width:680px;margin:0;font-size:17px;line-height:1.6;color:var(--ubc-muted) !important;max-height:calc(1.6em * 3);overflow:hidden;}
body#category .ubc-cathero__desc.is-open{max-height:none;}
body#category .ubc-cathero__desc p{margin:0 0 8px;}
body#category .ubc-cathero__desc *{font-family:inherit !important;font-size:inherit !important;color:inherit !important;background:transparent !important;}
body#category .ubc-cathero__desc :is(strong,b){color:var(--ubc-ink) !important;}
body#category .ubc-cathero__more{padding:0;border:0;background:none;font-family:var(--ubc-text);font-weight:800;font-size:15px;color:var(--ubc-accent);text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
body#category .ubc-cathero__img{margin:0 !important;width:200px;height:200px;border-radius:24px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;}
body#category .ubc-cathero__img img{max-width:86%;max-height:86%;width:auto;height:auto;object-fit:contain;}

/* Sous-catégories : en pastilles */
body#category #subcategories{margin:0 0 28px !important;padding:0 !important;background:transparent !important;border:0 !important;box-shadow:none !important;}
body#category #subcategories .subcategory-heading{display:none !important;}
body#category #subcategories ul.subcategories-list{display:flex !important;flex-wrap:wrap;gap:10px;margin:0 !important;padding:0 !important;list-style:none;}
body#category #subcategories ul li{position:relative;display:flex !important;align-items:center;gap:10px;width:auto !important;min-height:52px;margin:0 !important;padding:6px 20px 6px 6px !important;float:none !important;border:1.5px solid #E2DACE;border-radius:999px;background:#fff;text-align:left;transition:border-color .15s;}
body#category #subcategories ul li:hover{border-color:var(--ubc-ink);}
body#category #subcategories .subcategory-image{flex:none;padding:0 !important;margin:0 !important;}
body#category #subcategories .subcategory-image a,body#category #subcategories ul li:hover .subcategory-image a{display:flex;width:40px;height:40px;padding:0 !important;border:0 !important;border-radius:50%;overflow:hidden;background:var(--ubc-lin);align-items:center;justify-content:center;}
body#category #subcategories .subcategory-image a:not(:has(img)){display:none;}
body#category #subcategories .subcategory-image img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply;}
body#category #subcategories ul li:not(:has(.subcategory-image img)){padding-left:20px !important;}
body#category #subcategories h5{margin:0 !important;font-size:15px !important;}
body#category #subcategories .subcategory-name{font-family:var(--ubc-text);font-weight:700;color:var(--ubc-ink) !important;text-transform:none !important;text-decoration:none;}
body#category #subcategories .subcategory-name::after{content:"";position:absolute;inset:0;border-radius:999px;}
body#category #subcategories .cat_desc{display:none !important;}

/* Filtres */
body#category #search_filters_wrapper{margin:0;}
body#category #search_filters{margin:0 !important;padding:0 !important;background:transparent !important;box-shadow:none !important;border:0 !important;}
body#category #search_filters > p.h6{margin:0 0 6px !important;font-family:var(--ubc-title) !important;font-size:24px !important;font-weight:800 !important;letter-spacing:-.4px;text-transform:none !important;color:var(--ubc-ink) !important;}
body#category #search_filters .clear-all-wrapper{margin:0 0 8px;}
body#category #search_filters .js-search-filters-clear-all{display:inline-flex;align-items:center;gap:4px;height:auto;padding:0 !important;border:0 !important;background:none !important;box-shadow:none !important;font-family:var(--ubc-text);font-size:14px;font-weight:800;color:var(--ubc-accent) !important;text-transform:none !important;}
body#category #search_filters .js-search-filters-clear-all .material-icons{font-size:18px;}
body#category #search_filters .facet{margin:0 !important;padding:18px 0 !important;border-top:1px solid #E7E1D8;}
body#category #search_filters .facet .facet-title{margin:0 0 12px !important;font-family:var(--ubc-text) !important;font-size:15px !important;font-weight:800 !important;text-transform:none !important;color:var(--ubc-ink) !important;}
body#category #search_filters .facet[data-type="weight"]{display:none !important;}
body#category #search_filters .facet ul:not(.faceted-slider){display:flex;flex-wrap:wrap;gap:8px;margin:0 !important;padding:0 !important;}
body#category #search_filters .facet ul li{margin:0 !important;padding:0 !important;}
body#category #search_filters .facet .facet-label{display:inline-flex !important;align-items:center;gap:7px;min-height:38px;margin:0 !important;padding:6px 14px !important;border:1.5px solid #E2DACE;border-radius:999px;background:#fff;cursor:pointer;text-align:left;transition:border-color .15s,background .15s;}
body#category #search_filters .facet .facet-label:hover{border-color:var(--ubc-ink);}
body#category #search_filters .facet .facet-label a{display:inline !important;margin:0 !important;padding:0 !important;width:auto !important;font-family:var(--ubc-text);font-size:14px !important;font-weight:700;line-height:1.2;color:var(--ubc-ink) !important;text-decoration:none;}
body#category #search_filters .facet .facet-label .magnitude{margin-left:2px;font-size:12px;font-weight:600;color:var(--ubc-muted);}
body#category #search_filters .facet .facet-label.active{background:var(--ubc-ink);border-color:var(--ubc-ink);}
body#category #search_filters .facet .facet-label.active a,body#category #search_filters .facet .facet-label.active .magnitude{color:#fff !important;}
body#category #search_filters .facet .custom-checkbox,body#category #search_filters .facet .custom-radio{position:relative;display:inline-flex;align-items:center;margin:0 !important;top:auto;width:auto;height:auto;border:0;background:none;}
body#category #search_filters .facet .custom-checkbox input,body#category #search_filters .facet .custom-radio input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1;}
body#category #search_filters .facet .custom-checkbox input + span:not(.color),body#category #search_filters .facet .custom-radio input + span{display:none !important;}
body#category #search_filters .facet .custom-checkbox:not(:has(.color)),body#category #search_filters .facet .custom-radio{width:0;overflow:hidden;}
body#category #search_filters .facet .custom-checkbox span.color{display:block !important;width:20px !important;height:20px !important;margin:0 !important;border:0 !important;border-radius:50% !important;box-shadow:inset 0 0 0 1px rgba(29,26,43,.18) !important;}
body#category #search_filters .facet .facet-label.active span.color{box-shadow:0 0 0 2px #fff !important;}
body#category #search_filters .facet .facet-dropdown{border-radius:12px;border:1.5px solid #E2DACE;background:#fff;}
/* Curseur de prix */
body#category #search_filters .faceted-slider{display:block;margin:0 !important;padding:0 !important;}
body#category #search_filters .faceted-slider li p{margin:0 0 16px !important;font-size:14px;font-weight:700;color:var(--ubc-ink);}
body#category #search_filters .ui-slider-horizontal{height:4px !important;margin:0 10px 8px !important;border:0 !important;border-radius:4px;background:#E2DACE !important;}
body#category #search_filters .ui-slider .ui-slider-range{background:var(--ubc-accent) !important;border:0 !important;}
body#category #search_filters .ui-slider .ui-slider-handle{top:-8px !important;width:20px !important;height:20px !important;margin-left:-10px !important;border:2px solid var(--ubc-ink) !important;border-radius:50% !important;background:#fff !important;cursor:grab;}

/* Barre au-dessus des produits : nombre de produits et tri */
body#category #js-product-list-top{display:flex !important;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px !important;padding:0 !important;}
body#category #js-product-list-top::before,body#category #js-product-list-top::after{display:none !important;}
body#category #js-product-list-top > div{width:auto !important;max-width:none !important;flex:none;float:none !important;padding:0 !important;}
body#category #js-product-list-top .total-products p{margin:0;padding:0;font-size:15px;font-weight:600;color:var(--ubc-muted);}
body#category #js-product-list-top .sort-by-row{display:flex !important;align-items:center;gap:12px;flex-wrap:nowrap;margin:0 !important;}
body#category #js-product-list-top .sort-by-row::before,body#category #js-product-list-top .sort-by-row::after{display:none !important;}
body#category #js-product-list-top .sort-by-row > *{width:auto !important;max-width:none !important;flex:none;float:none !important;padding:0 !important;margin:0 !important;}
body#category #js-product-list-top .sort-by{font-size:14px;font-weight:600;color:var(--ubc-muted);white-space:nowrap;}
body#category .products-sort-order{position:relative;}
body#category .products-sort-order .select-title{display:inline-flex !important;align-items:center;justify-content:space-between;gap:12px;min-width:220px;height:46px;margin:0 !important;padding:0 14px 0 20px !important;border:1.5px solid #E2DACE !important;border-radius:999px !important;background:#fff !important;box-shadow:none !important;font-family:var(--ubc-text);font-size:14px;font-weight:700;color:var(--ubc-ink) !important;text-align:left;}
body#category .products-sort-order .select-title:hover{border-color:var(--ubc-ink) !important;}
body#category .products-sort-order .select-title .material-icons{float:none !important;margin:0;font-size:22px;}
body#category .products-sort-order .dropdown-menu{left:auto !important;right:0;min-width:240px;margin-top:8px;padding:8px !important;border:1px solid var(--ubc-line) !important;border-radius:18px !important;background:#fff !important;box-shadow:0 18px 50px rgba(29,26,43,.14) !important;}
body#category .products-sort-order .select-list{display:block;margin:0 !important;padding:10px 14px !important;border-radius:12px;font-size:14px;font-weight:600;color:var(--ubc-ink) !important;text-decoration:none;}
body#category .products-sort-order .select-list:hover{background:var(--ubc-lin) !important;color:var(--ubc-ink) !important;}
body#category .products-sort-order .select-list.current{background:var(--ubc-ink) !important;color:#fff !important;}
body#category #js-product-list-top .filter-button .btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 20px !important;border:0 !important;border-radius:999px !important;background:var(--ubc-ink) !important;box-shadow:none !important;font-family:var(--ubc-text);font-size:14px;font-weight:800;color:#fff !important;text-transform:none !important;}
body#category #js-product-list-top .showing{display:none !important;}

/* Filtres actifs */
body#category #js-active-search-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px !important;padding:0 !important;background:transparent !important;}
body#category #js-active-search-filters.hide{display:none !important;}
body#category #js-active-search-filters .active-filter-title{margin:0 4px 0 0 !important;font-size:14px !important;font-weight:700 !important;text-transform:none !important;color:var(--ubc-muted) !important;}
body#category #js-active-search-filters ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;}
body#category #js-active-search-filters .filter-block{display:inline-flex;align-items:center;gap:6px;margin:0 !important;padding:7px 10px 7px 14px !important;border-radius:999px;background:var(--ubc-rose) !important;box-shadow:none !important;font-size:13px;font-weight:700;color:var(--ubc-accent) !important;}
body#category #js-active-search-filters .filter-block .close{margin:0 !important;font-size:16px;line-height:1;color:var(--ubc-accent) !important;opacity:1;}

/* Grille de produits */
.product-miniature .product-title a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;}
.product-miniature .product-list-reviews{position:static !important;display:flex !important;align-items:center;gap:6px;width:auto !important;margin:6px 0 0 !important;padding:0 !important;background:transparent !important;visibility:visible !important;opacity:1 !important;text-align:left;}
.product-miniature .product-list-reviews .grade-stars{margin:0 !important;}
.product-miniature .product-list-reviews .comments-nb{margin:0 !important;font-size:12px;font-weight:600;color:var(--ubc-muted);}

/* Pagination */
body#category .pagination{display:flex !important;flex-direction:column-reverse;align-items:center;gap:14px;width:100%;margin:48px 0 0 !important;padding:0 !important;background:transparent !important;box-shadow:none !important;}
body#category .pagination::before,body#category .pagination::after{display:none !important;}
body#category .pagination > div{width:auto !important;max-width:none !important;margin:0 !important;padding:0 !important;float:none !important;font-size:14px;color:var(--ubc-muted);text-align:center;}
body#category .pagination .page-list{display:flex !important;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:0 !important;padding:0 !important;background:transparent !important;box-shadow:none !important;}
body#category .pagination .page-list li{margin:0 !important;}
body#category .pagination .page-list a{display:inline-flex !important;align-items:center;justify-content:center;gap:4px;min-width:46px;height:46px;padding:0 14px !important;border:1.5px solid #E2DACE;border-radius:999px;background:#fff;font-family:var(--ubc-text);font-size:15px;font-weight:700;color:var(--ubc-ink) !important;text-decoration:none !important;}
body#category .pagination .page-list a:hover{border-color:var(--ubc-ink);}
body#category .pagination .page-list li.current a{background:var(--ubc-ink);border-color:var(--ubc-ink);color:#fff !important;}
body#category .pagination .page-list a.previous,body#category .pagination .page-list a.next{padding:0 18px !important;}
body#category .pagination .page-list a .material-icons{font-size:20px;}
body#category .pagination .page-list a.disabled{opacity:.4;pointer-events:none;}
body#category .pagination .page-list .spacer{display:inline-flex;align-items:center;padding:0 4px;color:var(--ubc-muted);}

/* Texte de bas de catégorie */
body#category #js-product-list-footer{margin:56px 0 0;}
body#category #js-product-list-footer .card{margin:0 !important;padding:32px 36px !important;border:0 !important;border-radius:24px !important;background:#fff !important;box-shadow:none !important;font-size:15px;line-height:1.7;color:var(--ubc-muted);}

/* Mise en page : en-tête en pleine largeur, filtres à gauche, produits à droite */
@media (min-width:768px){
  body#category #wrapper > .container > .row{display:grid;grid-template-columns:232px minmax(0,1fr);column-gap:36px;align-items:start;margin:0 !important;}
  body#category #wrapper > .container > .row::before,body#category #wrapper > .container > .row::after{display:none !important;}
  body#category #content-wrapper,body#category #content-wrapper > #main{display:contents;}
  body#category #left-column{grid-column:1;grid-row:3 / span 6;width:auto !important;max-width:none !important;padding:0 !important;float:none !important;position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto;scrollbar-width:thin;}
  body#category #main > *{grid-column:2;min-width:0;}
  body#category #main > #js-product-list-header{grid-column:1 / -1;grid-row:1;}
  body#category #main > #subcategories{grid-column:1 / -1;grid-row:2;}
  body#category #main > #products{grid-row:3;}
 /* Refonte 10/2026 : texte de présentation de la catégorie SOUS les produits (il passait au-dessus, ex. Impression 3D) */
 body#category #main > #js-product-list-footer{grid-column:1 / -1;grid-row:9;}
  body#category #content-wrapper > :not(#main){grid-column:2;}
}
@media (min-width:768px) and (max-width:991px){
  body#category .products{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (min-width:1200px){
  body#category #wrapper > .container > .row{grid-template-columns:264px minmax(0,1fr);column-gap:48px;}
}
@media (max-width:991px){
  body#category .block-category.ubc-cathero{padding:36px 32px !important;gap:28px;}
  body#category .ubc-cathero h1.h1{font-size:40px !important;}
  body#category .ubc-cathero__img{width:150px;height:150px;}
}
@media (max-width:767px){
  body#category .block-category.ubc-cathero{grid-template-columns:minmax(0,1fr);padding:28px 22px !important;border-radius:24px !important;margin-bottom:18px !important;}
  body#category .ubc-cathero h1.h1{font-size:34px !important;letter-spacing:-1px !important;}
  body#category .ubc-cathero__img{display:none !important;}
  body#category .ubc-cathero__desc{font-size:16px;}
  body#category #subcategories{margin-bottom:18px !important;}
  body#category #subcategories ul.subcategories-list{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px !important;padding:0 16px 4px !important;scrollbar-width:none;}
  body#category #subcategories ul.subcategories-list::-webkit-scrollbar{display:none;}
  body#category #subcategories ul li{flex:none;}
  body#category #js-product-list-top .sort-by-row{width:100%;}
  body#category #js-product-list-top > .col-lg-7{flex:1 1 auto;}
  body#category .products-sort-order{flex:1 1 auto !important;}
  body#category .products-sort-order .select-title{width:100%;min-width:0;}
  body#category #js-product-list-top .filter-button{flex:none !important;}
  /* Filtres sur mobile : plein écran, avec le bouton OK en bas */
  body#category #search_filters_wrapper:not(.hidden-sm-down){padding:8px 0 96px;}
  body#category #search_filter_controls{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex !important;gap:10px;margin:0 !important;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--ubc-line);box-shadow:0 -10px 30px rgba(29,26,43,.08);}
  body#category #search_filter_controls .btn{flex:1;height:50px;margin:0 !important;border-radius:999px !important;font-family:var(--ubc-text);font-weight:800;text-transform:none !important;box-shadow:none !important;}
  body#category #search_filter_controls .ok{background:var(--ubc-ink) !important;border:0 !important;color:#fff !important;}
  body#category #search_filter_controls .js-search-filters-clear-all{background:#fff !important;border:1.5px solid #E2DACE !important;color:var(--ubc-ink) !important;}
  body#category #search_filters .facet{padding:4px 0 !important;}
  body#category #search_filters .facet .title{display:flex;align-items:center;justify-content:space-between;padding:14px 0;cursor:pointer;}
  body#category #search_filters .facet .title .facet-title{margin:0 !important;}
  body#category #search_filters .facet .title .navbar-toggler{padding:0;color:var(--ubc-ink);}
  body#category #search_filters .facet ul.collapse:not(.in){display:none !important;}
  body#category #search_filters .facet ul.collapse.in{padding-bottom:14px !important;}
}

/* ---------- Ajustements après essai (05/10, nuit) ---------- */
/* Fiche produit : avis clients dans le même style que le reste */
body#product #product-comments-list-header{display:flex !important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 16px;margin:0 0 20px !important;padding:56px 0 0 !important;border-top:1px solid var(--ubc-line);}
body#product #product-comments-list-header .comments-nb{display:flex;align-items:center;margin:0 !important;font-family:var(--ubc-title) !important;font-size:30px !important;font-weight:800 !important;letter-spacing:-.6px;color:var(--ubc-ink) !important;}
body#product #product-comments-list-header .comments-nb .material-icons{display:none !important;}
body#product #product-comments-list-header .comments-note{display:flex;align-items:center;gap:10px;margin:0 !important;font-size:15px;font-weight:700;color:var(--ubc-muted);}
body#product #product-comments-list{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 !important;padding:0 !important;}
body#product #product-comments-list:not(:has(.product-comment-list-item)){display:none !important;}
body#product .product-comment-list-item{display:flex !important;flex-direction:column;gap:12px;margin:0 !important;padding:24px 26px !important;border:1px solid var(--ubc-line);border-radius:24px;background:#fff !important;}
body#product .product-comment-list-item::before,body#product .product-comment-list-item::after{display:none !important;}
body#product .product-comment-list-item > div{width:auto !important;max-width:none !important;flex:none !important;float:none !important;padding:0 !important;}
body#product .product-comment-list-item .comment-infos{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:13px;color:var(--ubc-muted);}
body#product .product-comment-list-item .comment-infos .grade-stars{margin:0 6px 0 0 !important;}
body#product .product-comment-list-item .comment-date,body#product .product-comment-list-item .comment-author{margin:0 !important;font-size:13px !important;color:var(--ubc-muted) !important;}
body#product .product-comment-list-item .comment-content .h4{margin:0 0 6px !important;font-family:var(--ubc-text) !important;font-size:17px !important;font-weight:800 !important;color:var(--ubc-ink) !important;}
body#product .product-comment-list-item .comment-content p{margin:0 0 10px !important;font-size:15px;line-height:1.6;color:var(--ubc-muted);}
body#product #empty-product-comment{display:block;text-align:center;padding:18px 0 0 !important;border:0 !important;background:transparent !important;}
body#product #product-comments-list-footer{display:flex !important;justify-content:center;width:100%;margin:24px 0 80px !important;padding:0 !important;}
body#product .post-product-comment,body#product .btn-comment-big{height:48px;padding:0 22px !important;border:1.5px solid var(--ubc-ink) !important;border-radius:999px !important;background:#fff !important;font-family:var(--ubc-text) !important;font-weight:800 !important;font-size:15px !important;color:var(--ubc-ink) !important;text-transform:none !important;box-shadow:none !important;}
body#product .post-product-comment:hover,body#product .btn-comment-big:hover{background:var(--ubc-ink) !important;color:#fff !important;}
.ubc-pinfo{margin-bottom:64px;}

/* Catégories : filtres qui défilent avec la page, étoiles alignées à gauche, page en cours bien visible */
body#category #search_filters .facet .facet-title::first-letter{text-transform:uppercase;}
.product-miniature .product-list-reviews{justify-content:flex-start !important;}
body#category .pagination .page-list li.current a{opacity:1 !important;}
body#category #products{margin-bottom:88px;}

@media (min-width:992px){
  .ubc-pinfo{grid-template-columns:minmax(0,1fr) minmax(320px,440px);}
  .ubc-pinfo .product-description{max-width:820px;}
  body#category .block-category.ubc-cathero{padding:40px 48px !important;}
  body#category .ubc-cathero__img{width:168px;height:168px;}
}
@media (min-width:768px){
  body#category #left-column{position:static;max-height:none;overflow:visible;}
}
@media (max-width:767px){
  body#product #product-comments-list{grid-template-columns:minmax(0,1fr);}
  body#product #product-comments-list-header{padding-top:40px !important;}
  body#product #product-comments-list-header .comments-nb{font-size:26px !important;}
}

/* Sous-catégories : pastilles à la taille de leur texte, alignées à gauche */
body#category #subcategories ul.subcategories-list{justify-content:flex-start !important;}
body#category #subcategories ul li{min-width:0 !important;max-width:none !important;}
@media (max-width:767px){
  body#category #subcategories ul.subcategories-list{margin:0 !important;padding:0 0 4px !important;}
}
/* Mobile : « en bref » en une seule carte, plus compacte */
@media (max-width:575px){
  .ubc-pinfo .product-description ul.ubc-facts{gap:0;padding:4px 16px !important;background:#fff;border:1px solid var(--ubc-line);border-radius:18px;}
  .ubc-pinfo .product-description ul.ubc-facts > li{padding:11px 0 !important;background:transparent;border:0;border-bottom:1px solid var(--ubc-line);border-radius:0;}
  .ubc-pinfo .product-description ul.ubc-facts > li:last-child{border-bottom:0;}
}
/* Filtres sur mobile : en pastilles aussi, sans débordement sur les côtés */
@media (max-width:767px){
  body#category #left-column #search_filters_wrapper{margin-left:0 !important;margin-right:0 !important;}
  body#category #left-column #search_filters .facet ul.collapse.in:not(.faceted-slider){display:flex !important;}
  body#category #left-column #search_filters .facet ul li{padding:0 !important;border:0 !important;}
  body#category #left-column #search_filters .facet .facet-label{width:auto !important;}
  body#category #search_filter_controls .ok{text-transform:uppercase !important;}
}
/* Avis : bouton « donner votre avis » à sa taille, centré */
body#product #empty-product-comment{align-items:center !important;}
body#product .post-product-comment,body#product .btn-comment-big{display:inline-flex !important;align-items:center;justify-content:center;gap:8px;width:auto !important;}
/* Catégorie sans filtres : les produits prennent toute la largeur */
@media (min-width:768px){
  body#category #wrapper > .container > .row:not(:has(#search_filters)){grid-template-columns:minmax(0,1fr);}
  body#category #wrapper > .container > .row:not(:has(#search_filters)) #left-column{display:none !important;}
  body#category #wrapper > .container > .row:not(:has(#search_filters)) #main > *{grid-column:1 / -1;}
}

/* ==========================================================================
   PANIER ET COMMANDE (06/10)
   ========================================================================== */
/* Récapitulatif (panier et commande) */
.cart-grid-right .cart-summary,body#checkout #js-checkout-summary{margin:0 0 16px !important;padding:24px !important;background:#fff !important;border:1px solid var(--ubc-line) !important;border-radius:24px !important;box-shadow:none !important;}
.cart-grid-right .cart-summary .card-block,body#checkout #js-checkout-summary .card-block{padding:0 !important;background:transparent !important;}
.cart-grid-right hr.separator{margin:14px 0 !important;border-color:var(--ubc-line) !important;}
.cart-grid-right .cart-summary-line{display:flex !important;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 10px !important;padding:0 !important;font-size:15px;line-height:1.4;background:transparent !important;}
.cart-grid-right .cart-summary-line::after{display:none !important;}
.cart-grid-right .cart-summary-line .label{padding:0 !important;font-weight:500 !important;color:var(--ubc-muted) !important;white-space:normal;text-align:left;text-transform:none !important;}
.cart-grid-right .cart-summary-line .value{float:none !important;font-weight:700 !important;color:var(--ubc-ink) !important;text-align:right;}
.cart-grid-right .cart-summary-line small.value{font-weight:500 !important;font-size:12px;color:var(--ubc-muted) !important;}
.cart-grid-right .cart-summary-totals{margin:14px 0 0 !important;padding:14px 0 0 !important;border-top:1px solid var(--ubc-line);background:transparent !important;}
.cart-grid-right .cart-summary-line.cart-total{margin:0 0 4px !important;padding:0 !important;background:transparent !important;}
.cart-grid-right .cart-summary-line.cart-total .label,.cart-grid-right .cart-summary-line.cart-total .value{font-size:21px !important;font-weight:800 !important;color:var(--ubc-ink) !important;}
.cart-grid-right .cart-summary-totals .cart-summary-line:not(.cart-total) .label,.cart-grid-right .cart-summary-totals .cart-summary-line:not(.cart-total) .value{font-size:13px !important;font-weight:500 !important;color:var(--ubc-muted) !important;}
/* Code promo */
.cart-grid-right .cart-voucher{margin:16px 0 0 !important;padding:16px 0 0 !important;border-top:1px solid var(--ubc-line);}
.cart-grid-right .cart-voucher .promo-code-button{margin:0 0 10px !important;text-align:left !important;}
.cart-grid-right .cart-voucher .promo-code-button a{font-size:14px;font-weight:700;color:var(--ubc-ink) !important;text-decoration:underline;text-underline-offset:3px;}
.cart-grid-right .promo-code{padding:0 !important;background:transparent !important;}
.cart-grid-right .promo-code form{display:flex !important;gap:8px;margin:0 0 8px;}
.cart-grid-right .promo-code .promo-input{flex:1 1 auto;min-width:0;width:auto !important;height:46px !important;margin:0 !important;padding:0 16px !important;border:1.5px solid #E2DACE !important;border-radius:999px !important;background:#fff !important;box-shadow:none !important;font-size:14px;color:var(--ubc-ink);text-indent:0 !important;}
.cart-grid-right .promo-code .promo-input:focus{border-color:var(--ubc-ink) !important;outline:none;}
.cart-grid-right .promo-code form .btn{flex:none;height:46px;margin:0 !important;padding:0 18px !important;border:0 !important;border-radius:999px !important;background:var(--ubc-ink) !important;box-shadow:none !important;font-family:var(--ubc-text);font-weight:800;font-size:14px;color:#fff !important;text-transform:none !important;}
.cart-grid-right .promo-code .alert{margin:4px 0 0 !important;border-radius:12px;font-size:13px;}
.cart-grid-right .cancel-promo{display:inline-block;margin:0 !important;font-size:13px;color:var(--ubc-muted) !important;text-decoration:underline;}
.cart-grid-right .block-promo.promo-highlighted{margin:14px 0 6px !important;padding:0 !important;font-size:13px;color:var(--ubc-muted) !important;text-align:left !important;}
.cart-grid-right .promo-discounts{margin:0 !important;padding:0 !important;list-style:none;text-align:left !important;}
.cart-grid-right .promo-discounts .cart-summary-line{justify-content:flex-start;margin:0 !important;}
.cart-grid-right .promo-discounts .label{font-size:14px;color:var(--ubc-ink) !important;font-weight:600 !important;}
.cart-grid-right .promo-discounts .code{display:inline-block;margin-right:6px;padding:3px 10px;border-radius:999px;background:var(--ubc-rose);color:var(--ubc-accent) !important;font-weight:800;font-size:13px;letter-spacing:.3px;cursor:pointer;text-decoration:none !important;}
.cart-grid-right .block-promo .cart-summary-line .label a,.cart-grid-right .block-promo .material-icons{color:var(--ubc-muted) !important;}
/* Bouton Commander */
.cart-grid-right .cart-detailed-actions{margin:18px 0 0 !important;padding:0 !important;}
.cart-grid-right .cart-detailed-actions .text-sm-center{text-align:left !important;}
.cart-grid-right .cart-detailed-actions .btn-primary{display:flex !important;align-items:center;justify-content:center;width:100%;height:56px;padding:0 24px !important;border-radius:999px !important;font-size:17px !important;font-weight:800 !important;text-transform:none !important;}
.cart-grid-right .cart-detailed-actions .alert{border-radius:14px;font-size:14px;}
/* Réassurance sous le récapitulatif */
.cart-grid-right .blockreassurance_product{display:grid;gap:10px;margin:0 !important;padding:18px 20px;border-radius:20px;background:#fff;border:1px solid var(--ubc-line);}
.cart-grid-right .blockreassurance_product > div{display:flex;align-items:center;gap:12px;margin:0 !important;padding:0 !important;}
.cart-grid-right .blockreassurance_product .item-product{width:36px !important;height:36px !important;flex:none;margin:0 !important;float:none !important;border-radius:12px;background:var(--ubc-rose);display:flex !important;align-items:center;justify-content:center;}
.cart-grid-right .blockreassurance_product .item-product svg,.cart-grid-right .blockreassurance_product .item-product img{width:20px !important;height:20px !important;}
.cart-grid-right .blockreassurance_product .item-product svg *{fill:var(--ubc-accent) !important;}
.cart-grid-right .blockreassurance_product .block-title{margin:0 !important;font-size:14px !important;font-weight:600 !important;color:var(--ubc-ink) !important;}
.cart-grid-right .blockreassurance_product .clearfix{display:none;}

/* ---------- Page panier ---------- */
body#cart #wrapper{padding-top:0 !important;}
body#cart .breadcrumb{padding:24px 0 12px !important;}
body#cart .cart-grid{display:grid !important;grid-template-columns:minmax(0,1fr) 400px;gap:40px;align-items:start;margin:4px 0 88px !important;}
body#cart .cart-grid::before,body#cart .cart-grid::after{display:none !important;}
body#cart .cart-grid > div{width:auto !important;max-width:none !important;float:none !important;padding:0 !important;min-width:0;}
body#cart .cart-grid-right{position:sticky;top:24px;}
body#cart .cart-container{margin:0 !important;padding:0 !important;background:transparent !important;border:0 !important;box-shadow:none !important;}
body#cart .cart-container > .card-block{padding:0 0 22px !important;}
body#cart .cart-container h1.h1{margin:0 !important;font-family:var(--ubc-title) !important;font-size:44px !important;font-weight:800 !important;line-height:1.05 !important;letter-spacing:-1.2px !important;text-transform:none !important;color:var(--ubc-ink) !important;}
body#cart .cart-container hr.separator{display:none !important;}
body#cart .cart-overview{padding:0 !important;}
body#cart .cart-items{display:flex;flex-direction:column;gap:12px;margin:0 !important;padding:0 !important;list-style:none;}
body#cart .cart-items .cart-item{margin:0 !important;padding:16px 20px 16px 16px !important;background:#fff;border:1px solid var(--ubc-line) !important;border-radius:24px;}
body#cart .product-line-grid{display:grid !important;grid-template-columns:104px minmax(0,1fr) auto;align-items:center;gap:20px;}
body#cart .product-line-grid::before,body#cart .product-line-grid::after,body#cart .product-line-grid > .clearfix{display:none !important;}
body#cart .product-line-grid > div{width:auto !important;max-width:none !important;float:none !important;padding:0 !important;min-width:0;}
body#cart .product-line-grid-left .product-image{display:block;width:104px;height:104px;border-radius:18px;overflow:hidden;background:var(--ubc-lin);}
body#cart .product-line-grid-left .product-image img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply;}
body#cart .product-line-grid-body{display:flex;flex-direction:column;gap:3px;}
body#cart .product-line-grid-body > br{display:none;}
body#cart .product-line-grid-body .product-line-info{margin:0 !important;font-size:14px;color:var(--ubc-muted);}
body#cart .product-line-grid-body .product-line-info a.label{font-family:var(--ubc-text);font-size:17px;font-weight:800;line-height:1.3;color:var(--ubc-ink) !important;text-decoration:none;}
body#cart .product-line-grid-body .product-line-info a.label:hover{color:var(--ubc-accent) !important;}
body#cart .product-line-grid-body .product-price{order:9;margin:4px 0 0 !important;font-size:14px !important;font-weight:600;color:var(--ubc-muted) !important;}
body#cart .product-line-grid-body .product-price .price,body#cart .product-line-grid-body .product-price .current-price{font-size:14px !important;font-weight:600 !important;color:var(--ubc-muted) !important;}
body#cart .product-line-grid-body .product-price .unit-price-cart{font-size:12px;}
body#cart .product-line-grid-body .product-line-info .label{font-weight:500;color:var(--ubc-muted);}
body#cart .product-line-grid-body .product-line-info .value{font-weight:700;color:var(--ubc-ink);}
body#cart .product-line-grid-body .product-discount{margin:0;}
body#cart .product-line-grid-body .discount{border-radius:999px;background:var(--ubc-accent) !important;color:#fff;font-size:12px;padding:2px 8px;}
body#cart .product-line-grid-body .customizations,body#cart .product-line-grid-body a[data-toggle="modal"]{font-size:14px;font-weight:700;color:var(--ubc-accent) !important;text-decoration:underline;}
body#cart .product-line-actions > .row{display:flex !important;align-items:center;gap:18px;flex-wrap:nowrap;margin:0 !important;}
body#cart .product-line-actions .row::before,body#cart .product-line-actions .row::after{display:none !important;}
body#cart .product-line-actions .row > div{width:auto !important;max-width:none !important;flex:none;float:none !important;padding:0 !important;margin:0 !important;}
body#cart .product-line-actions .row > .hidden-md-up:empty{display:none !important;}
body#cart .product-line-actions .row .row{gap:22px;}
body#cart .product-line-actions .price{min-width:84px;text-align:right;}
body#cart .product-line-actions .product-price strong{font-size:18px;font-weight:800;color:var(--ubc-ink);}
body#cart .cart-item .bootstrap-touchspin{display:flex !important;align-items:stretch;width:auto !important;height:48px;margin:0 !important;float:none !important;overflow:hidden;border:1.5px solid #E2DACE;border-radius:999px;background:#fff;box-shadow:none !important;}
body#cart .cart-item .js-cart-line-product-quantity{width:52px !important;height:45px !important;padding:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;text-align:center;font-weight:800;font-size:16px;color:var(--ubc-ink);}
body#cart .cart-item .input-group-btn-vertical{display:flex !important;flex-direction:column;width:auto !important;border-left:1.5px solid #E2DACE;}
body#cart .cart-item .input-group-btn-vertical .btn{display:flex !important;align-items:center;justify-content:center;width:36px !important;height:22.5px !important;padding:0 !important;margin:0 !important;border:0 !important;border-radius:0 !important;background:#fff !important;}
body#cart .cart-item .input-group-btn-vertical .btn:hover{background:var(--ubc-lin) !important;}
body#cart .cart-item .input-group-btn-vertical .btn i{position:static !important;font-size:18px;color:var(--ubc-ink);}
body#cart .cart-line-product-actions{display:flex;align-items:center;gap:6px;}
body#cart .remove-from-cart{display:inline-flex !important;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--ubc-lin);color:var(--ubc-ink) !important;text-decoration:none;transition:background .15s,color .15s;}
body#cart .remove-from-cart:hover{background:var(--ubc-rose);color:var(--ubc-accent) !important;}
body#cart .remove-from-cart i{float:none !important;margin:0 !important;font-size:20px;}
body#cart .cart-grid-body > a.label{display:inline-flex;align-items:center;gap:4px;margin:22px 0 0;font-size:15px;font-weight:700;color:var(--ubc-ink) !important;text-decoration:none;}
body#cart .cart-grid-body > a.label:hover{color:var(--ubc-accent) !important;}
body#cart .cart-overview .no-items{display:block;padding:56px 24px;border:1px solid var(--ubc-line);border-radius:24px;background:#fff;text-align:center;font-size:17px;color:var(--ubc-muted);}

/* ---------- Fenêtre « produit ajouté au panier » ---------- */
.modal-backdrop.in{background:var(--ubc-ink);opacity:.45 !important;}
#blockcart-modal .modal-dialog{max-width:860px;width:calc(100% - 32px);margin:72px auto;}
#blockcart-modal .modal-content{overflow:hidden;border:0 !important;border-radius:28px !important;box-shadow:0 30px 80px rgba(29,26,43,.25) !important;}
#blockcart-modal .modal-header{position:relative;display:flex;align-items:center;justify-content:center;padding:18px 56px !important;border:0 !important;background:#E9F6EE !important;}
#blockcart-modal .modal-title{display:flex;align-items:center;gap:8px;margin:0 !important;font-family:var(--ubc-text) !important;font-size:16px !important;font-weight:800 !important;color:#15803D !important;text-transform:none !important;}
#blockcart-modal .modal-title i{color:#15803D !important;font-size:22px;margin:0 !important;}
#blockcart-modal .close{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:36px;height:36px;margin:0 !important;border-radius:50%;background:#fff !important;opacity:1;display:flex;align-items:center;justify-content:center;font-size:22px;color:var(--ubc-ink);}
#blockcart-modal .modal-body{padding:28px !important;}
#blockcart-modal .modal-body > .row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin:0 !important;}
#blockcart-modal .modal-body > .row::before,#blockcart-modal .modal-body > .row::after{display:none !important;}
#blockcart-modal .modal-body > .row > div{width:auto !important;max-width:none !important;float:none !important;padding:0 !important;}
#blockcart-modal .divide-right{border:0 !important;}
#blockcart-modal .divide-right > .row{display:flex !important;align-items:flex-start;gap:16px;margin:0 !important;}
#blockcart-modal .divide-right > .row::before,#blockcart-modal .divide-right > .row::after{display:none !important;}
#blockcart-modal .divide-right > .row > div{width:auto !important;max-width:none !important;float:none !important;padding:0 !important;}
#blockcart-modal .divide-right > .row > div:first-child{flex:none;}
#blockcart-modal .product-image{display:block;width:120px !important;max-width:none !important;height:120px;object-fit:cover;border-radius:18px;background:var(--ubc-lin);mix-blend-mode:multiply;}
#blockcart-modal .product-name{margin:0 0 4px !important;font-family:var(--ubc-text) !important;font-size:17px !important;font-weight:800 !important;line-height:1.3;color:var(--ubc-ink) !important;text-transform:none !important;}
#blockcart-modal .product-price{margin:0 0 8px !important;font-size:15px;font-weight:700;color:var(--ubc-ink);}
#blockcart-modal .divide-right span{font-size:14px;color:var(--ubc-muted);}
#blockcart-modal .divide-right strong{color:var(--ubc-ink);}
#blockcart-modal .cart-content{padding:0 !important;}
#blockcart-modal .cart-content p,#blockcart-modal .cart-content .product-total{display:flex;justify-content:space-between;gap:12px;margin:0 0 8px !important;padding:0 !important;font-size:15px;color:var(--ubc-muted);background:transparent !important;}
#blockcart-modal .cart-content .cart-products-count{display:block;margin:0 0 12px !important;font-weight:700;color:var(--ubc-ink);}
#blockcart-modal .cart-content .value{font-weight:700;color:var(--ubc-ink);}
#blockcart-modal .cart-content .product-total:last-of-type .label,#blockcart-modal .cart-content .product-total:last-of-type .value{font-size:18px;font-weight:800;color:var(--ubc-ink);}
#blockcart-modal .cart-content-btn{display:flex !important;flex-wrap:wrap;gap:10px;margin-top:18px;}
#blockcart-modal .cart-content-btn .btn{flex:1 1 180px;display:inline-flex !important;align-items:center;justify-content:center;gap:6px;height:50px;margin:0 !important;padding:0 18px !important;border-radius:999px !important;font-weight:800 !important;font-size:15px !important;text-transform:none !important;white-space:nowrap;}
#blockcart-modal .cart-content-btn .btn-secondary{background:#fff !important;border:1.5px solid var(--ubc-ink) !important;color:var(--ubc-ink) !important;}

/* ---------- Commande : en-tête et pied de page simplifiés ---------- */
body#checkout #header{height:auto !important;background:#fff !important;border-bottom:1px solid var(--ubc-line);box-shadow:none !important;}
.ubc-cohead__in{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:88px;}
.ubc-cohead__logo a{display:block;}
.ubc-cohead__logo img{display:block;width:auto !important;max-height:64px;}
.ubc-cohead__info{display:flex;align-items:center;gap:22px;}
.ubc-cohead__secure{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#E9F6EE;font-size:14px;font-weight:800;color:#15803D;}
.ubc-cohead__help{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--ubc-muted) !important;text-decoration:none !important;}
.ubc-cohead__help b{color:var(--ubc-ink);}
.ubc-cohead__help svg{color:var(--ubc-accent);}
body#checkout #footer{margin:0 !important;padding:0 !important;background:transparent !important;color:var(--ubc-muted);}
.ubc-cofoot{padding:28px 0 40px;border-top:1px solid var(--ubc-line);font-size:13px;color:var(--ubc-muted);}
.ubc-cofoot__in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;}
.ubc-cofoot a{color:var(--ubc-ink) !important;text-decoration:underline;}

/* ---------- Commande : mise en page ---------- */
body#checkout #wrapper{padding-top:32px !important;}
body#checkout .breadcrumb{display:none !important;}
body#checkout #content{padding:0 !important;background:transparent !important;}
body#checkout #content > .row{display:grid !important;grid-template-columns:minmax(0,1fr) 400px;gap:40px;align-items:start;margin:0 0 88px !important;}
body#checkout #content > .row::before,body#checkout #content > .row::after{display:none !important;}
body#checkout #content > .row > div{width:auto !important;max-width:none !important;float:none !important;padding:0 !important;min-width:0;}
body#checkout .cart-grid-right{position:sticky;top:24px;}

/* Étapes */
body#checkout .checkout-step{margin:0 0 14px !important;padding:0 !important;overflow:hidden;background:#fff !important;border:1px solid var(--ubc-line) !important;border-radius:24px !important;box-shadow:none !important;}
body#checkout .checkout-step .step-title{display:flex !important;align-items:center;gap:14px;margin:0 !important;padding:22px 26px !important;border:0 !important;font-family:var(--ubc-title) !important;font-size:22px !important;font-weight:800 !important;letter-spacing:-.3px;text-transform:none !important;color:var(--ubc-ink) !important;}
body#checkout .checkout-step .step-number{display:inline-flex !important;align-items:center;justify-content:center;flex:none;width:34px;height:34px;margin:0 !important;border-radius:50%;background:var(--ubc-lin);font-family:var(--ubc-text);font-size:15px;font-weight:800;color:var(--ubc-ink);}
body#checkout .checkout-step.-current .step-number{background:var(--ubc-accent);color:#fff;}
body#checkout .checkout-step .step-title .done{display:none !important;}
body#checkout .checkout-step.-complete:not(.-current) .step-title .done{display:inline-flex !important;align-items:center;justify-content:center;flex:none;width:34px;height:34px;margin:0 !important;border-radius:50%;background:#15803D;color:#fff;font-size:20px;}
body#checkout .checkout-step.-complete:not(.-current) .step-number{display:none !important;}
body#checkout .checkout-step .step-edit{float:none !important;margin-left:auto !important;font-family:var(--ubc-text);font-size:14px;font-weight:800;color:var(--ubc-accent) !important;letter-spacing:0;}
body#checkout .checkout-step .step-edit i{font-size:16px;vertical-align:-3px;}
body#checkout .checkout-step.-unreachable{background:transparent !important;border-style:dashed !important;}
body#checkout .checkout-step.-unreachable .step-title{color:var(--ubc-muted) !important;}
body#checkout .checkout-step .content{padding:0 26px 26px !important;}
body#checkout .checkout-step p,body#checkout .checkout-step .identity{font-size:15px;color:var(--ubc-muted);}
body#checkout .checkout-step .identity a{color:var(--ubc-ink);font-weight:700;}

/* Invité / Connexion */
body#checkout .checkout-step .nav-inline{display:inline-flex !important;gap:4px;margin:0 0 22px !important;padding:4px;border-radius:999px;background:var(--ubc-lin);}
body#checkout .checkout-step .nav-inline .nav-item{margin:0 !important;}
body#checkout .checkout-step .nav-inline .nav-separator{display:none !important;}
body#checkout .checkout-step .nav-inline .nav-link{display:block;padding:9px 18px !important;border-radius:999px;font-size:14px;font-weight:700;color:var(--ubc-muted) !important;text-decoration:none;}
body#checkout .checkout-step .nav-inline .nav-link.active{background:#fff;color:var(--ubc-ink) !important;box-shadow:0 2px 10px rgba(29,26,43,.08);}

/* Formulaires : libellés au-dessus des champs */
body#checkout .checkout-step .form-group.row{display:flex !important;flex-direction:column;align-items:stretch;gap:6px;margin:0 0 16px !important;}
body#checkout .checkout-step .form-group.row::before,body#checkout .checkout-step .form-group.row::after{display:none !important;}
body#checkout .checkout-step .form-group.row > div,body#checkout .checkout-step .form-group.row > label{width:100% !important;max-width:560px !important;flex:none !important;float:none !important;margin:0 !important;padding:0 !important;text-align:left !important;}
body#checkout .checkout-step .form-group.row > .form-control-comment:empty{display:none;}
body#checkout .checkout-step .form-control-label{display:block;padding:0 !important;font-size:14px;font-weight:700;color:var(--ubc-ink);text-align:left !important;}
body#checkout .checkout-step .form-control-comment{font-size:12px;color:var(--ubc-muted);}
body#checkout .checkout-step .form-control{height:48px;padding:0 14px !important;border:1.5px solid #E2DACE !important;border-radius:12px !important;background-color:#fff !important;box-shadow:none !important;font-family:var(--ubc-text);font-size:15px;color:var(--ubc-ink);}
body#checkout .checkout-step textarea.form-control{height:auto;min-height:96px;padding:12px 14px !important;}
body#checkout .checkout-step .form-control:focus{border-color:var(--ubc-ink) !important;outline:none;}
body#checkout .checkout-step .form-control-select{appearance:auto;-webkit-appearance:auto;}
body#checkout .checkout-step .form-group.has-error .form-control{border-color:#C2410C !important;}
body#checkout .checkout-step .help-block,body#checkout .checkout-step .form-text,body#checkout .checkout-step small{font-size:12px;color:var(--ubc-muted);}
body#checkout .checkout-step .input-group{display:flex;gap:8px;}
body#checkout .checkout-step .input-group .form-control{flex:1;border-radius:12px !important;}
body#checkout .checkout-step .input-group-btn .btn{height:48px;padding:0 16px !important;border:1.5px solid #E2DACE !important;border-radius:12px !important;background:#fff !important;color:var(--ubc-ink) !important;font-weight:700;text-transform:none !important;}
body#checkout .checkout-step .radio-inline{display:inline-flex;align-items:center;gap:8px;margin:0 18px 0 0 !important;font-size:15px;color:var(--ubc-ink);cursor:pointer;}
body#checkout .custom-radio{width:22px;height:22px;margin:0 !important;border:1.5px solid #CFC7BA !important;background:#fff !important;flex:none;}
body#checkout .custom-radio input[type="radio"]:checked + span{top:4px !important;left:4px !important;width:11px !important;height:11px !important;margin:0 !important;background-color:var(--ubc-accent) !important;}
body#checkout .custom-checkbox{display:inline-flex;align-items:flex-start;gap:10px;}
body#checkout .custom-checkbox input[type="checkbox"] + span{flex:none;width:22px !important;height:22px !important;margin:0 !important;border:1.5px solid #CFC7BA !important;border-radius:7px !important;background:#fff;display:inline-flex !important;align-items:center;justify-content:center;}
body#checkout .custom-checkbox input[type="checkbox"]:checked + span{background:var(--ubc-ink) !important;border-color:var(--ubc-ink) !important;}
body#checkout .custom-checkbox input[type="checkbox"] + span .checkbox-checked{margin:0 !important;font-size:16px;color:#fff !important;}
body#checkout .custom-checkbox label{font-size:14px;line-height:1.5;color:var(--ubc-ink);padding:0 !important;}
body#checkout .custom-checkbox label em,body#checkout .custom-checkbox label i:not(.material-icons){font-size:12px;color:var(--ubc-muted);}
/* Boutons Continuer */
body#checkout .checkout-step .form-footer{display:flex;justify-content:flex-start;margin:8px 0 0 !important;padding:0 !important;}
body#checkout .checkout-step .continue,body#checkout .checkout-step .form-footer .btn-primary{float:none !important;display:inline-flex !important;align-items:center;justify-content:center;min-width:220px;height:54px;margin:8px 0 0 !important;padding:0 28px !important;border-radius:999px !important;font-size:16px !important;font-weight:800 !important;text-transform:none !important;}
body#checkout .checkout-step .forgot-password a,body#checkout .checkout-step a.text-muted{font-size:14px;color:var(--ubc-ink) !important;text-decoration:underline;}

/* Adresses */
body#checkout .address-selector{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin:0 0 16px !important;}
body#checkout .address-selector::before,body#checkout .address-selector::after{display:none !important;}
body#checkout .address-item{width:auto !important;max-width:none !important;float:none !important;margin:0 !important;padding:0 !important;border:1.5px solid #E2DACE !important;border-radius:18px !important;background:#fff !important;overflow:hidden;}
body#checkout .address-item.selected{border-color:var(--ubc-ink) !important;box-shadow:0 0 0 1px var(--ubc-ink) inset;}
body#checkout .address-item header{padding:16px 16px 8px !important;}
body#checkout .address-item .radio-block{display:flex;gap:10px;align-items:flex-start;}
body#checkout .address-item .address-alias{font-weight:800;color:var(--ubc-ink);}
body#checkout .address-item .address{margin:6px 0 0 !important;font-size:14px;line-height:1.5;color:var(--ubc-muted);}
body#checkout .address-item hr{margin:0 !important;border-color:var(--ubc-line) !important;}
body#checkout .address-item .address-footer{display:flex;gap:16px;padding:10px 16px !important;}
body#checkout .address-item .address-footer a{font-size:13px;font-weight:700;color:var(--ubc-ink) !important;}
body#checkout .add-address a,body#checkout a[data-link-action="different-invoice-address"]{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:700;color:var(--ubc-accent) !important;}

/* Livraison */
body#checkout .delivery-options{margin:0 0 16px !important;}
body#checkout .delivery-option{display:flex !important;align-items:center;gap:14px;margin:0 0 10px !important;padding:16px 18px !important;border:1.5px solid #E2DACE;border-radius:18px;background:#fff !important;cursor:pointer;}
body#checkout .delivery-option:has(input:checked){border-color:var(--ubc-ink);box-shadow:0 0 0 1px var(--ubc-ink) inset;}
body#checkout .delivery-option::before,body#checkout .delivery-option::after,body#checkout .delivery-option .row::before,body#checkout .delivery-option .row::after{display:none !important;}
body#checkout .delivery-option > div,body#checkout .delivery-option > label{width:auto !important;max-width:none !important;float:none !important;padding:0 !important;margin:0 !important;}
body#checkout .delivery-option > label{flex:1 1 auto;min-width:0;cursor:pointer;}
body#checkout .delivery-option > label > .row{display:flex !important;align-items:center;gap:12px;margin:0 !important;}
body#checkout .delivery-option > label > .row > div{width:auto !important;max-width:none !important;float:none !important;padding:0 !important;}
body#checkout .delivery-option > label > .row > div:first-child{flex:1 1 auto;min-width:0;}
body#checkout .delivery-option .carrier{display:flex !important;align-items:center;gap:12px;margin:0 !important;}
body#checkout .delivery-option .carrier > div{width:auto !important;max-width:none !important;float:none !important;padding:0 !important;}
body#checkout .delivery-option .carrier-logo img{max-width:56px;max-height:40px;width:auto;height:auto;}
body#checkout .delivery-option .carrier-name{font-family:var(--ubc-text) !important;font-size:15px !important;font-weight:800 !important;color:var(--ubc-ink) !important;margin:0 !important;text-transform:none !important;}
body#checkout .delivery-option .carrier-delay{font-size:13px;color:var(--ubc-muted);}
body#checkout .delivery-option .carrier-price{font-size:16px;font-weight:800;color:var(--ubc-ink);white-space:nowrap;}
body#checkout .carrier-extra-content{margin:-4px 0 12px !important;padding:0 4px !important;}
body#checkout #delivery label{font-size:14px;font-weight:700;color:var(--ubc-ink);}
body#checkout #delivery textarea{width:100%;min-height:96px;padding:12px 14px;border:1.5px solid #E2DACE !important;border-radius:12px;background:#fff;font-family:var(--ubc-text);font-size:15px;}

/* Paiement */
body#checkout .payment-options{margin:0 0 16px !important;}
body#checkout .payment-options > div{margin:0 !important;}
body#checkout .payment-option{display:flex !important;align-items:center;gap:14px;margin:0 0 10px !important;padding:16px 18px !important;border:1.5px solid #E2DACE;border-radius:18px;background:#fff;cursor:pointer;}
body#checkout .payment-option:has(input:checked){border-color:var(--ubc-ink);box-shadow:0 0 0 1px var(--ubc-ink) inset;}
body#checkout .payment-option .custom-radio{float:none !important;}
body#checkout .payment-option label{display:flex !important;align-items:center;flex-wrap:wrap;gap:10px;margin:0 !important;font-size:15px;font-weight:700;color:var(--ubc-ink);text-align:left;cursor:pointer;}
body#checkout .payment-option label img{max-height:32px;width:auto;}
body#checkout .additional-information{margin:-4px 0 12px !important;padding:16px 18px !important;border-radius:16px;background:var(--ubc-lin);font-size:14px;color:var(--ubc-muted);}
body#checkout #conditions-to-approve{margin:8px 0 0 !important;}
body#checkout #conditions-to-approve ul{margin:0 !important;padding:0 !important;list-style:none;}
body#checkout #conditions-to-approve li{display:flex;align-items:flex-start;gap:10px;margin:0 0 10px !important;}
body#checkout #conditions-to-approve .float-xs-left{float:none !important;}
body#checkout #conditions-to-approve .condition-label label{font-size:14px;line-height:1.5;color:var(--ubc-ink);text-align:left;}
body#checkout #conditions-to-approve .condition-label a{color:var(--ubc-accent) !important;font-weight:700;text-decoration:underline;}
body#checkout #payment-confirmation{margin-top:12px;}
body#checkout #payment-confirmation .ps-shown-by-js .btn,body#checkout #payment-confirmation > .ps-shown-by-js > button{width:100%;max-width:420px;height:58px;border-radius:999px !important;font-size:17px !important;font-weight:800 !important;text-transform:none !important;}
body#checkout #payment-confirmation .btn.disabled,body#checkout #payment-confirmation .btn:disabled{opacity:.45;}
body#checkout #order-summary-content{padding:0 !important;}
body#checkout #order-summary-content h4,body#checkout #order-summary-content .h4{font-family:var(--ubc-text) !important;font-weight:800 !important;text-transform:none !important;color:var(--ubc-ink) !important;}

/* Récapitulatif de la commande : liste des articles */
body#checkout #js-checkout-summary .cart-summary-products p{margin:0 0 6px !important;font-size:15px;font-weight:700;color:var(--ubc-ink);}
body#checkout #js-checkout-summary .js-show-details{font-size:14px;font-weight:700;color:var(--ubc-accent) !important;text-decoration:none;}
body#checkout #js-checkout-summary .media-list{margin:10px 0 4px !important;padding:0 !important;}
body#checkout #js-checkout-summary .media{display:flex;align-items:center;gap:12px;margin:0 0 10px !important;}
body#checkout #js-checkout-summary .media-left{padding:0 !important;flex:none;}
body#checkout #js-checkout-summary .media-left img{width:64px;height:64px;object-fit:cover;border-radius:12px;background:var(--ubc-lin);mix-blend-mode:multiply;}
body#checkout #js-checkout-summary .media-body{font-size:14px;color:var(--ubc-muted);}
body#checkout #js-checkout-summary .media-body .product-name{font-weight:700;color:var(--ubc-ink);}
body#checkout #js-checkout-summary .media-body .product-price{float:right;font-weight:800;color:var(--ubc-ink);}
body#checkout #js-checkout-summary hr.separator{margin:14px 0 !important;border-color:var(--ubc-line) !important;}

/* ---------- Mobile et tablette ---------- */
@media (max-width:991px){
  body#cart .cart-grid,body#checkout #content > .row{grid-template-columns:minmax(0,1fr);gap:24px;}
  body#cart .cart-grid-right,body#checkout .cart-grid-right{position:static;}
  body#cart .cart-container h1.h1{font-size:34px !important;}
}
@media (max-width:767px){
  #blockcart-modal .modal-dialog{margin:24px auto;}
  #blockcart-modal .modal-body{padding:20px !important;}
  #blockcart-modal .modal-body > .row{grid-template-columns:minmax(0,1fr);gap:18px;}
  #blockcart-modal .product-image{width:88px !important;height:88px;}
}
@media (max-width:575px){
  body#cart .cart-items .cart-item{padding:14px !important;}
  body#cart .product-line-grid{grid-template-columns:84px minmax(0,1fr);gap:12px 14px;}
  body#cart .product-line-grid-left .product-image{width:84px;height:84px;}
  body#cart .product-line-actions{grid-column:1 / -1;}
  body#cart .product-line-actions > .row{justify-content:space-between;}
  body#cart .product-line-actions > .row > div:first-of-type:not(:empty){flex:1 1 auto !important;}
  body#cart .product-line-actions .row .row{justify-content:space-between;}
  .ubc-cohead__in{min-height:68px;}
  .ubc-cohead__logo img{max-height:48px;}
  .ubc-cohead__info{gap:10px;}
  .ubc-cohead__help span{display:none;}
  .ubc-cohead__secure{padding:6px 10px;font-size:12px;}
  body#checkout #wrapper{padding-top:18px !important;}
  body#checkout .checkout-step .step-title{padding:18px !important;font-size:19px !important;}
  body#checkout .checkout-step .content{padding:0 18px 20px !important;}
  body#checkout .checkout-step .continue,body#checkout .checkout-step .form-footer .btn-primary{width:100%;}
}

/* ---------- Panier et commande : ajustements après essai ---------- */
body#cart #wrapper{padding-top:28px !important;}
body#cart .product-line-actions .row .row{display:flex !important;align-items:center;flex-wrap:nowrap;margin:0 !important;}
.cart-grid-right .cart-summary-line > div{order:3;flex-basis:100%;}
.cart-grid-right .cart-summary-line > div:has(> small:empty){display:none;}
body#checkout .ubc-cohead__in{min-height:88px;}
.ubc-cohead__in::before,.ubc-cohead__in::after{display:none !important;}
body#checkout #use_same_address,body#checkout .checkout-step input[type="checkbox"]:not([class]){width:18px;height:18px;margin:0 8px 0 0;vertical-align:-4px;accent-color:var(--ubc-ink);}
body#checkout .delivery-option .carrier{justify-content:flex-start !important;}
body#checkout .delivery-option .carrier > div:last-child{flex:1 1 auto;}
/* Paiement : vérification de la commande */
body#checkout #order-summary-content{margin-top:28px !important;padding-top:24px !important;border-top:1px solid var(--ubc-line);}
body#checkout #order-summary-content h4.h4{display:flex;align-items:center;gap:10px;margin:20px 0 10px !important;font-family:var(--ubc-text) !important;font-size:17px !important;font-weight:800 !important;color:var(--ubc-ink) !important;text-transform:none !important;}
body#checkout #order-summary-content > .row:first-child h4.h4{margin-top:0 !important;font-family:var(--ubc-title) !important;font-size:22px !important;letter-spacing:-.3px;}
body#checkout #order-summary-content .step-edit{margin-left:0 !important;font-size:13px;}
body#checkout #order-summary-content .card.noshadow{margin:0 0 12px !important;border:1px solid var(--ubc-line) !important;border-radius:18px !important;background:var(--ubc-paper) !important;box-shadow:none !important;}
body#checkout #order-summary-content .card-block{padding:16px 18px !important;font-size:14px;line-height:1.6;color:var(--ubc-muted);}
body#checkout #order-summary-content .addresshead{margin:0 0 6px !important;font-family:var(--ubc-text) !important;font-size:14px !important;font-weight:800 !important;color:var(--ubc-ink) !important;text-transform:none !important;}
body#checkout .summary-selected-carrier{margin:0 0 8px !important;padding:14px 18px !important;border:1px solid var(--ubc-line) !important;border-radius:18px;background:var(--ubc-paper);}
body#checkout .summary-selected-carrier .row{display:flex !important;align-items:center;gap:14px;margin:0 !important;}
body#checkout .summary-selected-carrier .row::before,body#checkout .summary-selected-carrier .row::after{display:none !important;}
body#checkout .summary-selected-carrier .row > div{width:auto !important;max-width:none !important;float:none !important;padding:0 !important;}
body#checkout .summary-selected-carrier .row > div:nth-child(2){flex:1 1 auto;}
body#checkout .summary-selected-carrier .logo-container img{max-height:40px;width:auto;}
body#checkout .summary-selected-carrier .carrier-name{font-weight:800;color:var(--ubc-ink);}
body#checkout .summary-selected-carrier .carrier-delay{font-size:13px;color:var(--ubc-muted);}
body#checkout .summary-selected-carrier .carrier-price{font-weight:800;color:var(--ubc-ink);}
body#checkout #order-items{padding:0 !important;}
body#checkout #order-items > .row{display:flex !important;align-items:flex-end;margin:22px 0 10px !important;}
body#checkout #order-items > .row::before,body#checkout #order-items > .row::after{display:none !important;}
body#checkout #order-items .card-title{margin:0 !important;padding:0 !important;border:0 !important;font-family:var(--ubc-text) !important;font-size:13px !important;font-weight:700 !important;color:var(--ubc-muted) !important;text-transform:none !important;}
body#checkout #order-items .card-title:first-child{font-size:17px !important;font-weight:800 !important;color:var(--ubc-ink) !important;}
body#checkout #order-items .order-confirmation-table{margin:0 !important;padding:6px 18px !important;border:1px solid var(--ubc-line) !important;border-radius:18px !important;background:#fff !important;}
body#checkout .order-confirmation-table .order-line{display:flex !important;align-items:center;margin:0 !important;padding:12px 0 !important;border-bottom:1px solid var(--ubc-line);}
body#checkout .order-confirmation-table .order-line > div{float:none !important;}
body#checkout .order-confirmation-table .order-line .image img{width:64px;height:64px;object-fit:cover;border-radius:12px;background:var(--ubc-lin);mix-blend-mode:multiply;}
body#checkout .order-confirmation-table .order-line .details a{font-weight:700;color:var(--ubc-ink) !important;}
body#checkout .order-confirmation-table hr{margin:0 !important;border-color:var(--ubc-line) !important;}
body#checkout .order-confirmation-table table{width:100%;margin:8px 0 4px !important;}
body#checkout .order-confirmation-table table td{padding:7px 0 !important;border:0 !important;background:transparent !important;font-size:14px;color:var(--ubc-muted);}
body#checkout .order-confirmation-table table tr.total-value{background:transparent !important;}
body#checkout .order-confirmation-table table tr.total-value td{font-size:16px !important;font-weight:800 !important;color:var(--ubc-ink) !important;}
body#checkout .js-alert-payment-conditions{margin:12px 0 0 !important;padding:12px 16px !important;border:0 !important;border-radius:14px !important;background:var(--ubc-lin) !important;font-size:13px;color:var(--ubc-muted) !important;}
body#checkout .js-alert-payment-conditions a{color:var(--ubc-ink) !important;font-weight:700;}
body#checkout .checkout-step .form-group.has-error .form-control{border-color:#C2410C !important;}
#blockcart-modal .cart-content-btn .btn{white-space:nowrap !important;}
#blockcart-modal .cart-content p.product-total{margin:6px 0 4px !important;padding-top:10px !important;border-top:1px solid var(--ubc-line);font-size:18px !important;font-weight:800;color:var(--ubc-ink) !important;}
#blockcart-modal .cart-content p.product-tax{font-size:13px;}
body#checkout #order-items{padding:0 15px !important;}
body#checkout .summary-selected-carrier{border-radius:18px !important;}

/* ---------- Bandeau PayPal « Payez en plusieurs fois » (module PrestaShop Checkout, accueil) ---------- */
/* PayPal refuse d'afficher son message s'il est rogné : on se contente de le centrer et de l'espacer. */
#notifications .notifications-container:has(#ps_checkout-paypal-pay-later-banner-home){padding-top:20px !important;padding-bottom:0 !important;}
#ps_checkout-paypal-pay-later-banner-home{display:flex !important;justify-content:center;margin:0 !important;padding:0 !important;}

/* Refonte 10/2026 : tunnel de commande, cases « Recevoir les offres de nos partenaires » /
   « Recevoir notre newsletter ». La case est DANS le libellé : on lui réserve sa place
   à gauche du texte (elle recouvrait le début des mots). */
body#checkout .custom-checkbox > label{position:relative;display:block;min-height:22px;padding-left:34px !important;}
body#checkout .custom-checkbox > label > input[type="checkbox"]{top:0;left:0;width:22px;height:22px;margin:0;}
body#checkout .custom-checkbox > label > input[type="checkbox"] + span{position:absolute !important;top:0;left:0;margin:0 !important;}
