/* GROUPE RONDEAU V10.4e — Premium Noir & Rouge. Boutique publique uniquement. */
:root{color-scheme:dark}
.grm-app{--grm-red:#e11d2b;--grm-red-hover:#fa3040;--grm-ink:#f5f5f5;--grm-muted:#a3a3a3;--grm-border:#303030;--grm-panel:#151515;--grm-panel-2:#1c1c1c;color:var(--grm-ink);width:100%;max-width:1400px;margin:0 auto;padding:0 0 48px;font-family:Inter,Arial,Helvetica,sans-serif;letter-spacing:0}
.grm-app *, .grm-app *::before,.grm-app *::after{box-sizing:border-box}
.grm-app a{text-decoration:none;color:inherit}
.grm-app button,.grm-app input,.grm-app select{font-family:inherit}
.grm-app button{cursor:pointer}
.grm-app p,.grm-app small,.grm-app label{color:var(--grm-muted)}
.grm-app :focus-visible{outline:2px solid #fb4252!important;outline-offset:2px}
.grm-app h1,.grm-app h2,.grm-app h3{color:var(--grm-ink);letter-spacing:-.025em}
.grm-app input,.grm-app select,.grm-app textarea{background:#0e0e0e;color:#f6f6f6;border:1px solid #444;outline:none}
.grm-app input::placeholder{color:#858585}
.grm-app input:focus,.grm-app select:focus{border-color:#e11d2b;box-shadow:0 0 0 2px rgba(225,29,43,.14)}
/* Eliminate the previous blue fallback; never adjust brand red into blue. */
.grm-app .grm-btn,.grm-app button{transition:background-color .14s,border-color .14s,transform .14s}
.grm-app .grm-btn{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:43px;padding:10px 16px;border-radius:7px;font-size:13px;font-weight:800;line-height:1.25;text-align:center;white-space:nowrap}
.grm-app .grm-btn-primary,.grm-app .grm-searchbar button{color:#fff!important;background:#e11d2b;border:1px solid #e11d2b;border-radius:7px;font-weight:800}
.grm-app .grm-btn-primary:hover,.grm-app .grm-searchbar button:hover{background:#f13242;border-color:#f13242}
.grm-app .grm-btn-secondary{color:#f1f1f1!important;background:#202020;border:1px solid #454545}
.grm-app .grm-btn-secondary:hover{border-color:#999;background:#303030}
/* Existing brand header */
.top{background:#080808;border-bottom:1px solid #292929;box-shadow:0 7px 27px rgba(0,0,0,.30)}
.top .top-inner{min-height:78px;gap:14px}
.top nav{gap:clamp(8px,1.1vw,18px)!important}
.top nav a{font-weight:750;color:#d8d8d8}
.top nav a:hover{color:#ff4654}
.top nav a[href*="panier.php"]{border:1px solid #a62531;border-radius:7px;padding:9px 13px;color:#fff;background:#231014}
/* Simple trust band */
.grm-top-strip{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2.5vw,36px);min-height:40px;padding:7px 13px;margin:0 0 4px;background:#111;border-bottom:1px solid #303030;color:#bebebe;border-radius:0;font-size:12px;font-weight:700}
.grm-top-strip span{white-space:nowrap;color:#c8c8c8}
.grm-top-strip span::first-letter{color:#ed3445}
/* Search visible first, like a mature tire/auto marketplace */
.grm-search-head{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px 0 16px}
.grm-search-head h1{margin:0;color:#f7f7f7;font-size:clamp(23px,2.8vw,39px);font-weight:880;line-height:1.1}
.grm-search-head>div{min-width:260px;max-width:560px}
.grm-kicker{display:block;margin:0 0 6px;color:#f24550!important;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:900}
.grm-searchbar{display:flex;flex:1;gap:0;align-items:stretch;min-width:260px;max-width:650px;padding:4px;border:1px solid #565656;border-radius:9px;background:#1c1c1c;box-shadow:0 8px 30px rgba(0,0,0,.18)}
.grm-searchbar:focus-within{border-color:#e11d2b;box-shadow:0 0 0 2px rgba(225,29,43,.12)}
.grm-searchbar input{border:0!important;box-shadow:none!important;min-height:47px;min-width:0;flex:1;padding:8px 16px!important;color:#f4f4f4!important;background:transparent!important;font-size:15px}
.grm-searchbar button{min-width:126px;padding:0 19px;font-size:14px}
/* Hero: deep-black / graphite / red. No white card or blue gradients. */
.grm-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);align-items:center;gap:12px;isolation:isolate;min-height:270px;padding:24px 30px 24px 35px;background:radial-gradient(ellipse 80% 130% at 85% 44%,#3b151a 0%,#181818 46%,#0b0b0b 100%);border:1px solid #373737;border-radius:13px;overflow:hidden}
.grm-hero::after{content:'';position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,#e11d2b,transparent 60%);z-index:-1}
.grm-hero h2{margin:4px 0 13px;color:#f9f9f9;font-size:clamp(30px,3.6vw,51px);line-height:1.06;font-weight:900;letter-spacing:-.045em;max-width:680px}
.grm-hero p{margin:0 0 18px;max-width:520px;color:#c5c5c5;font-size:14px;line-height:1.6}
.grm-hero .grm-hero-img{display:block;width:100%;height:245px;max-height:100%;border-radius:9px;object-fit:cover;object-position:center;filter:contrast(1.06) saturate(.93);box-shadow:0 12px 35px rgba(0,0,0,.34)}
.grm-promobar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 0;padding:15px 20px;border:1px solid #70282f;border-left:4px solid #e11d2b;border-radius:9px;background:linear-gradient(100deg,#281215,#171717 70%);color:#fff;flex-wrap:wrap}
.grm-promobar b{font-size:21px;letter-spacing:-.04em;color:#fff}
.grm-promobar p{margin:2px 0 0;font-size:12px;color:#c8b9b9}
.grm-promobar .grm-btn{min-height:38px}
/* Four clear shopping destinations */
.grm-section{padding-top:26px}
.grm-section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:0 0 14px;flex-wrap:wrap}
.grm-section-head h2{margin:0;font-size:clamp(20px,2.2vw,28px);font-weight:850}
.grm-section-head p{margin:5px 0 0;color:var(--grm-muted);font-size:13px}
.grm-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.grm-category{position:relative;display:flex;align-items:center;gap:13px;min-height:113px;padding:14px;border:1px solid #343434;border-radius:10px;background:#171717;color:#f4f4f4!important;overflow:hidden}
.grm-category::after{content:'›';position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:24px;color:#e11d2b;font-weight:700}
.grm-category:hover{border-color:#cd303d;background:#202020}
.grm-category-icon{display:flex;align-items:center;justify-content:center;min-width:76px;height:80px;border-radius:7px;background:#101010;overflow:hidden;border:1px solid #292929}
.grm-category-icon img{width:100%;height:100%;object-fit:cover;filter:saturate(.83)}
.grm-category strong{display:block;font-size:15px;font-weight:850;line-height:1.2;max-width:135px}
.grm-category small{display:block;margin:6px 18px 0 0;font-size:11px;color:#999;line-height:1.35}
/* Product grid: no oversized repeated blocks */
.grm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.grm-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#151515;border:1px solid #343434;border-radius:10px;transition:border-color .16s,transform .16s}
.grm-card:hover{transform:translateY(-2px);border-color:#8a313a}
.grm-card-photo{display:flex;align-items:center;justify-content:center;height:auto;aspect-ratio:1.28;overflow:hidden;background:radial-gradient(circle at center,#252525,#101010 80%);border-bottom:1px solid #292929;padding:14px}
.grm-card-photo img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}
.grm-card-body{display:flex;flex-direction:column;flex:1;gap:6px;padding:14px}
.grm-eyebrow{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#fa4855}
.grm-card h3{font-size:14px;font-weight:780;line-height:1.34;margin:0;min-height:38px;max-height:57px;overflow:hidden;overflow-wrap:anywhere;color:#eee}
.grm-card h3 a{color:inherit!important}
.grm-card h3 a:hover{color:#ff5b67!important}
.grm-sku{font-size:11px;color:#999;overflow-wrap:anywhere}
.grm-card-price{font-size:21px;font-weight:900;color:#fafafa;margin-top:auto;padding-top:7px;min-height:29px}
.grm-card-price del,.grm-card-price .gr-price-was{font-size:12px;color:#959595;font-weight:500}
.grm-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
.grm-card-actions>*{min-width:0;min-height:40px}
.grm-card-actions form{margin:0;display:flex}
.grm-card-actions form button{width:100%}
.grm-card-actions .grm-btn{font-size:12px;padding:9px 7px;white-space:normal;min-height:40px}
/* Filters within catalogue */
.grm-filter{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr auto;align-items:end;gap:10px;margin:10px 0 21px;padding:16px;border:1px solid #363636;border-radius:10px;background:#151515}
.grm-filter label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;font-weight:750;color:#aaa}
.grm-filter input,.grm-filter select{width:100%;min-height:43px;padding:9px 11px;border:1px solid #434343;border-radius:6px;background:#0e0e0e;color:#eee;font-size:13px}
.grm-filter .grm-filter-actions{display:flex;align-items:center;gap:6px}
.grm-pagination{display:flex;align-items:center;justify-content:center;gap:18px;padding:25px 0;color:#ccc}
.grm-explore-note{padding:15px 18px;margin-top:16px;border:1px solid #3d3d3d;border-radius:8px;background:#171717;color:#bbb;font-size:13px}
.grm-help{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;margin-top:27px;border:1px solid #363636;border-radius:10px;background:#141414;flex-wrap:wrap}
.grm-help h2{margin:0 0 4px;font-size:19px;color:#f3f3f3}
.grm-help p{margin:0;font-size:13px;color:#9d9d9d}
/* Keep vehicle search subordinate, not an extra giant interface */
.grm-vehicle-details{margin-top:13px;border:1px solid #353535;border-radius:9px;background:#121212;overflow:hidden}
.grm-vehicle-details>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:14px 19px;font-weight:800;list-style:none;color:#e9e9e9}
.grm-vehicle-details>summary::after{content:'+';font-size:21px;font-weight:500;color:#f24c58}
.grm-vehicle-details[open]>summary::after{content:'−'}
.grm-vehicle-details summary::-webkit-details-marker{display:none}
.grm-vehicle-inner{padding:8px 16px 16px;border-top:1px solid #333}
.grm-vehicle-inner .grm-explore-note{margin:7px 0 12px}
/* Hide only non-wheel/tire legacy tabs in this tool */
.grm-vehicle-inner .search-tabs button:not([data-search-tab="vehicule"]),.grm-vehicle-inner .search-tabs a:not([data-search-tab="vehicule"]){display:none}
.grm-vehicle-inner .search-modes>*:not(.active){display:none}
.grm-app .finder[data-search-module]{margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.grm-app .finder[data-search-module] .finder-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.grm-app .finder[data-search-module] .finder-tabs [data-finder-tab="accessoires"],.grm-app .finder[data-search-module] .finder-tabs [data-finder-tab="numero"],.grm-app .finder[data-search-module] .finder-panel[data-finder-panel="accessoires"],.grm-app .finder[data-search-module] .finder-panel[data-finder-panel="numero"],.grm-app .finder[data-search-module] .finder-head,.grm-app .finder[data-search-module] .finder-help{display:none!important}
.grm-app .finder[data-search-module] .finder-panel{border:0;background:transparent}
/* Product page — product image + one purchase card + one description + specs */
.grm-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:17px 0;color:#999;font-size:12px}
.grm-breadcrumbs a{color:#ccc!important}
.grm-breadcrumbs a:hover{color:#ff4654!important}
.grm-product-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:18px;align-items:start}
.grm-gallery{background:#151515;border:1px solid #343434;border-radius:11px;overflow:hidden;padding:14px}
.grm-gallery-stage{display:flex;align-items:center;justify-content:center;aspect-ratio:1.17;background:radial-gradient(circle at center,#262626,#111 75%);border-radius:8px;overflow:hidden}
.grm-gallery-stage img{width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%}
.grm-thumbs{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.grm-thumb{width:64px;height:59px;padding:4px;border:1px solid #434343;border-radius:7px;background:#1d1d1d}
.grm-thumb[aria-pressed="true"]{border-color:#e11d2b;box-shadow:inset 0 0 0 1px #e11d2b}
.grm-thumb img{width:100%;height:100%;object-fit:contain}
.grm-purchase{position:sticky;top:92px;border:1px solid #383838;border-radius:11px;background:#171717;padding:24px}
.grm-purchase h1{margin:8px 0 11px;font-size:clamp(24px,2.7vw,36px);font-weight:880;line-height:1.15;color:#fafafa;letter-spacing:-.03em}
.grm-purchase .grm-price{font-size:29px;font-weight:900;min-height:42px;margin:13px 0}
.grm-purchase .grm-price del{font-size:15px;color:#999}
.grm-badges{display:flex;flex-wrap:wrap;gap:7px;margin:11px 0}
.grm-soft-badge{display:inline-flex;align-items:center;padding:5px 10px;border:1px solid #414141;border-radius:30px;background:#222;color:#bcbcbc;font-weight:700;font-size:11px}
.grm-stock{display:grid;gap:8px;padding:12px 14px;margin:12px 0;background:#202020;border-radius:8px;color:#bcbcbc;font-size:12px}
.grm-stock>div{display:flex;justify-content:space-between;gap:10px}
.grm-stock strong{color:#efefef}
.grm-shipping{border-top:1px solid #333;margin-top:16px;padding-top:14px;color:#aaa;font-size:12px;line-height:1.6}
.grm-buy-form{display:grid;gap:11px;margin-top:16px}
.grm-buy-form input[type="number"]{width:90px;min-height:42px;padding:9px;border:1px solid #444;border-radius:6px;color:#fff;background:#101010}
.grm-buy-form .grm-btn-primary{width:100%;min-height:54px;font-size:15px}
.grm-buy-form fieldset{border:1px solid #404040;border-radius:8px;padding:12px}
.grm-buy-form legend{font-size:12px;font-weight:800;padding:0 6px;color:#eee}
.grm-buy-form label{font-size:12px;color:#ccc}
.grm-buy-form .wheel-kit-options{padding-top:10px}
.grm-buy-form .wheel-kit-options label{display:block;line-height:1.55}
.grm-content-box{margin-top:17px;padding:22px 24px;background:#151515;border:1px solid #343434;border-radius:10px}
.grm-content-box h2{margin:0 0 11px;color:#f1f1f1;font-size:19px;font-weight:850}
.grm-content-box p,.grm-content-box li{margin:0;color:#bcbcbc;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.grm-content-box ul{margin:0;padding-left:20px}
.grm-content-box a{color:#ff6972}
.grm-spec-table{width:100%;border-collapse:collapse;font-size:13px}
.grm-spec-table tr{border-bottom:1px solid #303030}
.grm-spec-table tr:last-child{border-bottom:0}
.grm-spec-table th,.grm-spec-table td{text-align:left;vertical-align:top;padding:11px 8px;overflow-wrap:anywhere}
.grm-spec-table th{width:38%;color:#999;font-weight:700}
.grm-spec-table td{color:#e8e8e8}
.grm-faq details{padding:12px 0;border-bottom:1px solid #303030}
.grm-faq summary{cursor:pointer;color:#eee;font-size:13px;font-weight:800}
.grm-faq details p{padding-top:10px}
.grm-hide{display:none!important}
/* Promotions are calculated by existing server pricing, only reskin values */
.grm-app .gr-price-sale{display:flex;flex-wrap:wrap;gap:4px 9px;align-items:center;line-height:1.3;color:#f7f7f7}
.grm-app .gr-price-sale-top{display:flex;gap:7px;flex-wrap:wrap;align-items:center;width:100%}
.grm-app .gr-price-tag{display:inline-block;padding:4px 8px;border-radius:5px;border:1px solid #8d2d36;background:#37171b;color:#ff8790;font-size:11px;font-weight:900}
.grm-app .gr-price-was{font-size:12px;color:#999;font-weight:600}
.grm-app .gr-price-now{font-size:22px;color:#fff;font-weight:900}
.grm-app .grm-price .gr-price-now{font-size:33px}
.grm-app .gr-price-save{font-size:11px;font-weight:700;color:#a6a6a6}
.grm-app .grm-card-price .gr-price-save{display:none}
/* Mobile — full width search / two cards, no horizontal scrolling */
@media(max-width:1120px){.grm-search-head{flex-wrap:wrap}.grm-search-head>div{max-width:none}.grm-searchbar{max-width:none;width:100%}.grm-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.grm-filter .grm-filter-actions{align-self:end}.grm-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.grm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grm-product-layout{grid-template-columns:1fr}.grm-purchase{position:static}.grm-hero{grid-template-columns:1fr;gap:12px;padding:25px}.grm-hero .grm-hero-img{height:185px}.grm-category{min-height:100px}}
@media(max-width:550px){.top .top-inner{min-height:0}.grm-top-strip{gap:8px;font-size:10px;flex-wrap:wrap;padding:8px 5px}.grm-top-strip span{font-size:10px}.grm-search-head{padding:16px 0 12px;gap:12px}.grm-search-head h1{font-size:26px}.grm-searchbar{min-width:0}.grm-searchbar input{font-size:14px;padding:8px!important}.grm-searchbar button{min-width:94px;padding:0 9px;font-size:12px}.grm-hero{padding:19px;min-height:0}.grm-hero h2{font-size:34px}.grm-hero p{font-size:12px}.grm-hero .grm-hero-img{height:155px}.grm-promobar{padding:13px}.grm-promobar b{font-size:19px}.grm-promobar .grm-btn{width:100%}.grm-section{padding-top:21px}.grm-categories{gap:8px}.grm-category{padding:8px;min-height:79px;gap:8px}.grm-category-icon{min-width:49px;width:49px;height:58px}.grm-category::after{right:6px;font-size:17px}.grm-category strong{font-size:12px}.grm-category small{display:none}.grm-grid{gap:8px}.grm-card-body{padding:10px;gap:5px}.grm-card h3{font-size:12px;min-height:44px}.grm-card-photo{padding:8px}.grm-card-price{font-size:18px}.grm-card-actions{grid-template-columns:1fr}.grm-card-actions>*{min-height:37px}.grm-card-actions .grm-btn{min-height:37px}.grm-filter{grid-template-columns:1fr;padding:12px}.grm-filter .grm-filter-actions{display:grid;grid-template-columns:1fr 1fr}.grm-pagination{gap:8px;font-size:12px}.grm-gallery{padding:10px}.grm-purchase{padding:17px}.grm-product-layout{gap:12px}.grm-breadcrumbs{padding:10px 0}.grm-content-box{padding:16px}.grm-help{padding:17px}.grm-app .grm-price .gr-price-now{font-size:29px}}
@media(prefers-reduced-motion:reduce){.grm-app *{transition:none!important;scroll-behavior:auto!important}}
/* GROUPE RONDEAU V10.4f — Accueil premium: noir profond, anthracite, rouge. */
.grm-app.grm-home{max-width:1500px;padding-bottom:54px}
.grm-home .grm-hero{position:relative;display:block;isolation:isolate;overflow:hidden;min-height:438px;margin:19px 0 0;padding:0;border:1px solid #343035;border-radius:12px;background:#080808;box-shadow:0 14px 45px #0009}
.grm-home .grm-hero::after{display:none}
.grm-home .grm-hero-bg{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:61% 53%;z-index:-2;filter:brightness(.93)}
.grm-home .grm-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,3,3,.97) 0%,rgba(3,3,3,.88) 21%,rgba(3,3,3,.39) 52%,rgba(3,3,3,.02) 88%),linear-gradient(0deg,rgba(0,0,0,.68),transparent 27%)}
.grm-home .grm-hero-content{position:relative;z-index:1;display:flex;align-items:flex-start;flex-direction:column;justify-content:center;width:min(690px,76%);min-height:438px;padding:52px 38px 63px 55px}
.grm-home .grm-hero-label{display:inline-flex;align-items:center;gap:10px;font-size:11px;font-weight:850;letter-spacing:.19em;color:#dedede}
.grm-home .grm-hero-label::before{content:'';display:block;width:24px;height:2px;background:#ed2838}
.grm-home .grm-sale-flag{margin-top:18px;color:#fff;background:#d7172d;padding:7px 11px;display:inline-block;font-size:13px;font-weight:900;letter-spacing:.08em;border-radius:3px}
.grm-home .grm-hero h1{margin:16px 0 12px;font-size:clamp(46px,5.4vw,81px);font-weight:950;letter-spacing:-.067em;line-height:.96;color:#fff;text-shadow:0 3px 19px #0008}
.grm-home .grm-hero h1 em{color:#ef2538;font-style:normal}
.grm-home .grm-hero-content>p{margin:0;color:#d3d3d3;max-width:410px;font-size:16px;line-height:1.48;font-weight:520}
.grm-home .grm-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px}
.grm-home .grm-hero-actions .grm-btn{min-height:47px;padding:12px 21px;font-size:13px;border-radius:5px;box-shadow:0 6px 23px #0007}
.grm-home .grm-btn-ghost{color:#f3f3f3!important;background:#161616b0;border:1px solid #85858588}
.grm-home .grm-btn-ghost:hover{background:#242424;border-color:#eaeaea}
.grm-home .grm-hero-foot{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;gap:14px;padding:12px 28px 13px 54px;color:#bdbdbd;font-size:10px;letter-spacing:.14em;font-weight:850;line-height:1;background:linear-gradient(90deg,#080808bb,transparent 75%)}
.grm-home .grm-hero-foot i{width:3px;height:3px;background:#e3263a;border-radius:50%}
/* L'ancien accordéon cachait la recherche client; les quatre vrais onglets sont visibles. */
.grm-home .grm-search-deck{position:relative;z-index:2;margin:-34px 20px 0;padding:22px 23px 20px;background:#111;border:1px solid #404040;border-radius:10px;box-shadow:0 20px 55px #000a}
.grm-home .grm-deck-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:0 1px}
.grm-home .grm-deck-title>div{display:flex;gap:10px;align-items:center}
.grm-home .grm-red-line{width:4px;height:23px;border-radius:2px;background:#eb2435}
.grm-home .grm-deck-title h2{margin:0;font-size:clamp(17px,1.6vw,22px);font-weight:900;letter-spacing:-.025em;line-height:1.2;color:#f5f5f5}
.grm-home .grm-deck-link,.grm-home .grm-more-link{color:#d2d2d2!important;font-size:12px;font-weight:780;white-space:nowrap}
.grm-home .grm-deck-link:hover,.grm-home .grm-more-link:hover{color:#ff5264!important}
.grm-home .finder[data-search-module]{margin:0;padding:0;border:1px solid #333;background:#101010;box-shadow:none;border-radius:7px;overflow:hidden}
.grm-home .finder[data-search-module] .finder-head,.grm-home .finder[data-search-module] .finder-help{display:none!important}
.grm-home .finder[data-search-module] .finder-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0;background:#171717;border-bottom:1px solid #333}
.grm-home .finder[data-search-module] .finder-tabs button,.grm-home .finder[data-search-module] .finder-tabs [data-finder-tab="numero"],.grm-home .finder[data-search-module] .finder-tabs [data-finder-tab="jantes"],.grm-home .finder[data-search-module] .finder-tabs [data-finder-tab="pneus"]{display:flex!important;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:49px;padding:12px 10px;background:#191919;color:#bfc0c2!important;border:0;border-right:1px solid #383838;border-bottom:3px solid transparent;font-size:14px;font-weight:850;letter-spacing:0;text-align:center;transition:background .15s,color .15s}
.grm-home .finder[data-search-module] .finder-tabs button:last-child{border-right:0}
.grm-home .finder[data-search-module] .finder-tabs button[aria-selected="true"]{color:#fff!important;background:#2b1418;border-bottom-color:#ed293b}
.grm-home .finder[data-search-module] .finder-tabs button:hover{color:#fff!important;background:#262021}
.grm-home .finder[data-search-module] .finder-panel{display:block;border:0;padding:22px 20px 21px;background:#101010}
.grm-home .finder[data-search-module] .finder-panel[hidden]{display:none!important}
.grm-home .finder[data-search-module] .finder-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(145px,.92fr);gap:10px;align-items:end}
.grm-home .finder[data-search-module] .finder-fields.fit-search-form{grid-template-columns:repeat(5,minmax(0,1fr)) minmax(145px,.98fr)}
.grm-home .finder[data-search-module] .finder-tire-fields{grid-template-columns:minmax(155px,.85fr) minmax(0,3fr) minmax(145px,.8fr)}
.grm-home .finder[data-search-module] .finder-tire-metric{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.grm-home .finder[data-search-module] .finder-part-fields{grid-template-columns:minmax(0,1fr) minmax(140px,.21fr)}
.grm-home .finder[data-search-module] .finder-fields label{display:block;min-width:0}
.grm-home .finder[data-search-module] .finder-fields label span{display:block;margin:0 0 6px;color:#c8c8c8;font-weight:700;font-size:12px;letter-spacing:0}
.grm-home .finder[data-search-module] .finder-fields select,.grm-home .finder[data-search-module] .finder-fields input{width:100%;height:45px;min-height:45px;border-radius:5px;padding:8px 11px;background:#080808;border:1px solid #494949;color:#f7f7f7;font-size:13px;outline:none}
.grm-home .finder[data-search-module] .finder-fields input:focus,.grm-home .finder[data-search-module] .finder-fields select:focus{border-color:#f23847;box-shadow:0 0 0 2px #ed293b22}
.grm-home .finder[data-search-module] .finder-fields .finder-submit{width:100%;min-width:0;min-height:45px;margin:0;border:1px solid #dd1e30;border-radius:5px;background:#dc1d2c;color:white;font-size:13px;font-weight:900;white-space:normal}
.grm-home .finder[data-search-module] .finder-fields .finder-submit:hover{background:#f32a3d}
.grm-home .finder[data-search-module] .finder-fields .finder-submit:disabled{background:#562229;border-color:#603039;color:#b2a0a3;cursor:not-allowed}
/* Rayons soignés : pas de cartes blanches ou d'explications répétées. */
.grm-home .grm-categories-wrap{display:block;margin-top:40px}
.grm-home .grm-section-head{margin:0 0 19px;align-items:flex-end}
.grm-home .grm-overline{display:block;margin:0 0 6px;color:#f34a59;letter-spacing:.16em;font-size:10px;font-weight:900}
.grm-home .grm-section-head h2{margin:0;font-size:clamp(23px,2.6vw,32px);line-height:1.15;font-weight:900;letter-spacing:-.04em}
.grm-home .grm-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.grm-home .grm-category-tile{position:relative;display:flex;align-items:flex-end;justify-content:space-between;min-height:166px;padding:19px 19px;background:#171717;border:1px solid #333;border-radius:8px;overflow:hidden;color:#fff!important;transition:transform .2s,border-color .2s}
.grm-home .grm-category-tile::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#000e 1%,#08080855 54%,transparent 95%);pointer-events:none}
.grm-home .grm-category-tile:hover{border-color:#ce3442;transform:translateY(-2px)}
.grm-home .grm-category-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.85) brightness(.75);transition:transform .4s}
.grm-home .grm-category-tile:hover img{transform:scale(1.05)}
.grm-home .grm-category-tile span,.grm-home .grm-category-tile b{position:relative;z-index:1}
.grm-home .grm-category-tile span{font-size:18px;font-weight:900;letter-spacing:.015em;text-shadow:0 3px 14px #000}
.grm-home .grm-category-tile b{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:5px;border:1px solid #ed3949a6;background:#d11c2b;color:#fff;font-size:17px}
.grm-home .grm-reassure{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:18px 0 0;padding:0;background:#111;border:1px solid #2c2c2c;border-radius:8px}
.grm-home .grm-reassure>div{display:flex;flex-direction:column;gap:3px;padding:16px 22px;border-right:1px solid #353535}
.grm-home .grm-reassure>div:last-child{border-right:0}
.grm-home .grm-reassure strong{font-size:13px;font-weight:850;color:#eee}
.grm-home .grm-reassure span{font-size:12px;color:#a5a5a5}
.grm-home .grm-reassure a{color:#e9e9e9!important}
.grm-home .grm-reassure a:hover{color:#fc4d5d!important}
.grm-home .grm-section{padding-top:42px}
.grm-home .grm-grid{gap:14px}
.grm-home .grm-card{background:#151515;border-color:#363636;border-radius:8px}
.grm-home .grm-card-photo{aspect-ratio:1.2;background:radial-gradient(circle at 50% 30%,#2d2d2d,#0c0c0c 85%)}
.grm-home .grm-card h3{font-size:14px}
.grm-home .grm-more-link{display:inline-flex;align-items:center;gap:7px;font-size:13px}
.grm-home .grm-final-cta{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;margin-top:38px;padding:27px 31px;border:1px solid #543039;border-radius:10px;background:linear-gradient(100deg,#251113,#141414 63%)}
.grm-home .grm-final-cta h2{margin:0 0 3px;font-size:clamp(21px,2.5vw,27px)}
.grm-home .grm-final-cta p{margin:0;color:#a8a8a8;font-size:13px}
.grm-home .grm-final-cta .grm-btn{white-space:normal}
/* Fiches/listes : préserve le look noir & rouge actuel. */
.grm-listing .grm-catalogue-nav{display:flex;flex-wrap:wrap;gap:7px;padding:4px 0 9px}
.grm-listing .grm-catalogue-nav a{color:#c9c9c9;padding:8px 12px;font-size:12px;font-weight:800;border:1px solid #383838;border-radius:6px;background:#151515}
.grm-listing .grm-catalogue-nav a[aria-current="page"],.grm-listing .grm-catalogue-nav a:hover{border-color:#d42c3b;color:#fff;background:#2a1619}
.grm-listing .grm-overline{color:#ef4554;font-size:11px;font-weight:850;letter-spacing:.12em}
/* Header global: simplification sans perturber panier, compte et connexion. */
.top{background:#080808;border-bottom:1px solid #363636}
.top .top-inner{gap:18px;min-height:74px}
.top .logo{max-width:240px}
.top nav a{color:#cfcfcf}
.top nav a[href*="panier.php"]{color:#fff;border:1px solid #7b2831;border-radius:5px;padding:8px 12px;background:#241114}
/* Responsive */
@media(max-width:1150px){.grm-home .finder[data-search-module] .finder-fields.fit-search-form{grid-template-columns:repeat(3,minmax(0,1fr))}.grm-home .finder[data-search-module] .finder-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.grm-home .finder[data-search-module] .finder-part-fields{grid-template-columns:minmax(0,1fr) 145px}.grm-home .finder[data-search-module] .finder-tire-fields{grid-template-columns:1fr}.grm-home .finder[data-search-module] .finder-fields .finder-submit{grid-column:auto}}
@media(max-width:820px){.grm-home .grm-hero{min-height:395px}.grm-home .grm-hero-content{min-height:395px;padding:38px 26px 53px;width:86%}.grm-home .grm-hero h1{font-size:57px}.grm-home .grm-hero-foot{padding-left:25px}.grm-home .grm-search-deck{margin:-18px 10px 0;padding:18px 15px}.grm-home .grm-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grm-home .grm-reassure>div{padding:13px 12px}.grm-home .finder[data-search-module] .finder-fields.fit-search-form{grid-template-columns:repeat(2,minmax(0,1fr))}.grm-home .finder[data-search-module] .finder-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.grm-home .finder[data-search-module] .finder-tire-fields{grid-template-columns:1fr}.grm-home .finder[data-search-module] .finder-fields .finder-submit{grid-column:1/-1}}
@media(max-width:600px){.grm-home .grm-hero{min-height:390px;margin-top:7px;border-radius:8px}.grm-home .grm-hero-bg{object-position:70% center;filter:brightness(.83)}.grm-home .grm-hero-shade{background:linear-gradient(90deg,#050505ee 0%,#080808bb 50%,#08080838 100%),linear-gradient(0deg,#000b,transparent 45%)}.grm-home .grm-hero-content{width:100%;min-height:390px;padding:30px 20px 64px}.grm-home .grm-hero-label{font-size:9px;letter-spacing:.1em}.grm-home .grm-hero h1{font-size:clamp(42px,11vw,59px)}.grm-home .grm-hero-content>p{max-width:270px;font-size:13px}.grm-home .grm-hero-actions .grm-btn{font-size:12px;padding:10px 12px;min-height:43px}.grm-home .grm-hero-foot{gap:7px;font-size:8px;padding:12px 12px}.grm-home .grm-search-deck{margin:-14px 0 0;padding:14px 11px;border-radius:8px}.grm-home .grm-deck-title{margin-bottom:11px}.grm-home .grm-deck-title h2{font-size:17px}.grm-home .grm-deck-link{display:none}.grm-home .finder[data-search-module] .finder-tabs button{min-height:54px;padding:7px 4px;font-size:11px;line-height:1.25}.grm-home .finder[data-search-module] .finder-panel{padding:14px 10px 16px}.grm-home .finder[data-search-module] .finder-fields,.grm-home .finder[data-search-module] .finder-fields.fit-search-form,.grm-home .finder[data-search-module] .finder-part-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.grm-home .finder[data-search-module] .finder-part-fields label{grid-column:1/-1}.grm-home .finder[data-search-module] .finder-tire-fields{grid-template-columns:1fr}.grm-home .finder[data-search-module] .finder-tire-metric{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.grm-home .finder[data-search-module] .finder-tire-metric select{padding:7px 4px;font-size:12px}.grm-home .finder[data-search-module] .finder-fields .finder-submit{grid-column:1/-1}.grm-home .grm-categories-wrap{margin-top:27px}.grm-home .grm-category-grid{gap:9px}.grm-home .grm-category-tile{min-height:125px;padding:12px}.grm-home .grm-category-tile span{font-size:14px}.grm-home .grm-category-tile b{width:26px;height:26px;font-size:14px}.grm-home .grm-reassure{grid-template-columns:1fr}.grm-home .grm-reassure>div{padding:10px 14px;border-right:0;border-bottom:1px solid #353535}.grm-home .grm-reassure>div:last-child{border-bottom:0}.grm-home .grm-section{padding-top:29px}.grm-home .grm-final-cta{margin-top:25px;padding:19px}.top .top-inner{min-height:0}.top .logo{max-width:205px}}
/* L'onglet SKU existait mais avait été masqué par le thème précédent. */
.grm-home .finder[data-search-module] .finder-panel[data-finder-panel="numero"]:not([hidden]){display:block!important}
.grm-home .finder[data-search-module] .finder-panel[hidden]{display:none!important}


/* V10.4g compact catalogue and cleaner home */
.grm-home .grm-hero-content{max-width:470px}
.grm-home .grm-hero h1{margin-top:6px}
.grm-home .grm-hero p{max-width:440px}
.grm-home .grm-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.grm-category-tile{display:flex;flex-direction:column;overflow:hidden;background:#131313;border:1px solid #2a2a2a;border-radius:12px;transition:border-color .18s,transform .18s,box-shadow .18s;min-width:0}
.grm-category-tile:hover{transform:translateY(-2px);border-color:#92212d;box-shadow:0 12px 30px rgba(0,0,0,.28)}
.grm-category-media{position:relative;height:126px;overflow:hidden;background:#0f0f0f;border-bottom:1px solid #252525}
.grm-category-media img{width:100%;height:100%;object-fit:cover;object-position:78% center;display:block;filter:saturate(1.02) contrast(1.02)}
.grm-category-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;color:#f2f2f2}
.grm-category-meta strong{font-size:14px;font-weight:850;letter-spacing:.01em}
.grm-category-meta b{font-size:18px;color:#ff3244}
.grm-overline{display:none!important}
.grm-home .grm-section-head,.grm-categories-wrap .grm-section-head{margin-bottom:12px}
.grm-home .grm-section-head h2,.grm-categories-wrap .grm-section-head h2{font-size:clamp(21px,2.3vw,30px)}
.grm-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.grm-card{border-radius:9px}
.grm-card-photo{aspect-ratio:1.08;padding:10px}
.grm-card-body{padding:11px 11px 10px;gap:5px}
.grm-card h3{font-size:13px;line-height:1.28;min-height:34px;max-height:50px}
.grm-sku{font-size:10px}
.grm-card-bottom{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.grm-card-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin-top:0;padding-top:2px;min-height:0;font-size:18px;line-height:1.1}
.grm-card-price .gr-price-now{order:1;font-size:20px;line-height:1.05}
.grm-card-price del,.grm-card-price .gr-price-was{order:2;font-size:11px;text-decoration:line-through;color:#8f8f8f}
.grm-card-price .gr-price-save{order:3;display:inline-flex!important;align-items:center;gap:4px;padding:3px 7px;border-radius:999px;background:#2a1114;color:#ff6a78;font-size:10px;font-weight:800;line-height:1}
.grm-card-actions{grid-template-columns:1fr 1fr;gap:5px;margin-top:0}
.grm-card-actions>*{min-height:34px}
.grm-card-actions .grm-btn{font-size:11px;padding:8px 6px;min-height:34px;border-radius:7px}
@media(max-width:1180px){.grm-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.grm-home .grm-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.grm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grm-home .grm-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grm-category-media{height:104px}}
@media(max-width:550px){.grm-home .grm-category-grid{grid-template-columns:1fr 1fr;gap:10px}.grm-category-meta{padding:10px 11px}.grm-category-meta strong{font-size:12px}.grm-grid{gap:8px}.grm-card-photo{aspect-ratio:1.02;padding:8px}.grm-card-body{padding:9px;gap:4px}.grm-card h3{font-size:12px;min-height:38px;max-height:52px}.grm-card-price{font-size:16px}.grm-card-price .gr-price-now{font-size:18px}.grm-card-actions{grid-template-columns:1fr}.grm-card-actions .grm-btn{font-size:11px}}

/* ================================================================
   Groupe Rondeau 10.4h — correctifs d'affichage réellement appliqués
   ================================================================ */
.grm-home .grm-hero-content{justify-content:center}
.grm-home .grm-hero-content>p{display:none}
.grm-home .grm-hero h1{margin:8px 0 22px;letter-spacing:-.052em}
/* Catégories : visuels livrés avec le correctif et libellés uniques SOUS la photo. */
.grm-home .grm-category-grid{gap:13px}
.grm-home .grm-category-tile{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0;padding:0;background:#141414;border-radius:10px;border:1px solid #323232;color:#f4f4f4;overflow:hidden}
.grm-home .grm-category-tile::after{display:none!important;content:none!important}
.grm-home .grm-category-tile .grm-category-media{display:block;width:100%;height:auto;aspect-ratio:2.1;overflow:hidden;background:#080808}
.grm-home .grm-category-tile .grm-category-media img{display:block;position:static!important;inset:auto!important;width:100%;height:100%;object-fit:cover;object-position:center;filter:none;transform:none}
.grm-home .grm-category-tile:hover .grm-category-media img{transform:scale(1.035)}
.grm-home .grm-category-tile .grm-category-meta{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;padding:10px 13px;position:relative;z-index:1}
.grm-home .grm-category-tile .grm-category-meta strong{font-size:13px;line-height:1.2;color:#f4f4f4;font-weight:800;letter-spacing:0}
.grm-home .grm-category-tile .grm-category-meta b{display:grid;place-items:center;width:25px;height:25px;background:#251214;border:1px solid #5b2730;color:#ff4a5b;border-radius:5px;font-size:16px}
/* Vignettes du catalogue : jusqu'à 5 colonnes, photos réduites, moins de vides. */
.grm-app .grm-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.grm-app .grm-card{border-radius:9px;min-width:0}
.grm-app .grm-card-photo{aspect-ratio:1.24;padding:8px}
.grm-app .grm-card-body{gap:4px;padding:10px;min-width:0}
.grm-app .grm-card h3{margin:0;min-height:0;max-height:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden;font-size:12px;line-height:1.33}
.grm-app .grm-card .grm-eyebrow{font-size:9px;letter-spacing:.04em}
.grm-app .grm-card .grm-sku{font-size:10px;color:#949494}
.grm-app .grm-card-bottom{margin-top:auto;padding-top:5px;gap:8px}
.grm-app .grm-card-price{display:block;min-height:0;padding:0;margin:0;line-height:1.14;font-size:18px;font-variant-numeric:tabular-nums}
.grm-app .grm-card-price .gr-price-sale{display:grid!important;grid-template-columns:max-content minmax(0,1fr);grid-template-areas:'now tag' 'was was';justify-content:start;justify-items:start;gap:4px 7px;align-items:center;width:100%;max-width:100%}
.grm-app .grm-card-price .gr-price-sale-top{display:contents!important}
.grm-app .grm-card-price .gr-price-now{grid-area:now;order:unset;font-size:19px!important;font-weight:900;color:#f6f6f6;white-space:nowrap;line-height:1.14}
.grm-app .grm-card-price .gr-price-was{grid-area:was;order:unset;color:#999;font-size:11px;line-height:1.2;white-space:nowrap}
.grm-app .grm-card-price .gr-price-tag{grid-area:tag;order:unset;padding:3px 6px;white-space:nowrap;font-size:10px;line-height:1.2}
.grm-app .grm-card-price .gr-price-save{display:none!important}
.grm-app .grm-card-price .gr-price-regular{font-size:19px;font-weight:900;color:#f6f6f6;white-space:normal}
.grm-app .grm-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0}
.grm-app .grm-card-actions>*{min-height:34px;min-width:0}
.grm-app .grm-card-actions .grm-btn{min-height:34px;padding:7px 5px;font-size:11px;line-height:1.2;border-radius:6px}
/* Fiche produit : photo et achat équilibrés, vignette et détails plus compacts. */
.grm-app .grm-breadcrumbs{padding:10px 0 13px}
.grm-app .grm-product-layout{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:15px}
.grm-app .grm-gallery{padding:12px;border-radius:9px}
.grm-app .grm-gallery-stage{aspect-ratio:auto;height:clamp(245px,28vw,370px);padding:10px}
.grm-app .grm-thumbs{gap:6px;margin-top:8px}
.grm-app .grm-thumb{width:53px;height:49px;padding:3px}
.grm-app .grm-purchase{padding:18px 19px;top:83px;border-radius:9px}
.grm-app .grm-purchase h1{font-size:clamp(21px,2.2vw,29px);line-height:1.18;margin:5px 0 7px}
.grm-app .grm-purchase .grm-badges{margin:5px 0}
.grm-app .grm-purchase .grm-price{margin:10px 0 9px;min-height:0;padding:0;line-height:1.15}
.grm-app .grm-price .gr-price-sale{display:grid;grid-template-columns:max-content max-content;grid-template-areas:'now tag' 'was was' 'save save';justify-content:start;align-items:center;gap:6px 10px;max-width:100%;font-variant-numeric:tabular-nums}
.grm-app .grm-price .gr-price-sale-top{display:contents}
.grm-app .grm-price .gr-price-now{grid-area:now;font-size:clamp(26px,2.6vw,33px)!important;line-height:1.1;font-weight:900}
.grm-app .grm-price .gr-price-tag{grid-area:tag;margin:0;padding:5px 8px;font-size:12px}
.grm-app .grm-price .gr-price-was{grid-area:was;font-size:13px;color:#aaa;white-space:nowrap}
.grm-app .grm-price .gr-price-save{grid-area:save;font-size:11px;color:#aaa}
.grm-app .grm-price .gr-price-regular{font-size:clamp(26px,2.6vw,33px);font-weight:900}
.grm-app .grm-stock{gap:5px;margin:9px 0;padding:10px 12px;font-size:11px}
.grm-app .grm-shipping{margin-top:12px;padding-top:10px;line-height:1.45}
.grm-app .grm-buy-form{gap:9px;margin-top:12px}
.grm-app .grm-buy-row{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:end;gap:10px}
.grm-app .grm-buy-row label{display:flex;flex-direction:column;gap:5px}
.grm-app .grm-buy-row input[type=number]{width:100%;min-height:44px}
.grm-app .grm-buy-row .grm-btn-primary{width:100%;min-width:0;min-height:44px;font-size:14px;white-space:normal}
.grm-app .grm-content-box{margin-top:13px;padding:16px 18px}
.grm-app .grm-content-box h2{font-size:17px;margin:0 0 8px}
.grm-app .grm-spec-table th,.grm-app .grm-spec-table td{padding:8px 6px}
@media(max-width:1190px){.grm-app .grm-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:850px){.grm-app .grm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.grm-app .grm-product-layout{grid-template-columns:1fr}.grm-app .grm-gallery-stage{height:340px}.grm-app .grm-purchase{position:static}}
@media(max-width:650px){.grm-app .grm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.grm-home .grm-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.grm-home .grm-category-tile .grm-category-meta{padding:8px 10px;min-height:40px}.grm-app .grm-card-photo{aspect-ratio:1.12;padding:6px}.grm-app .grm-card-body{padding:8px}.grm-app .grm-card-price .gr-price-now,.grm-app .grm-card-price .gr-price-regular{font-size:17px!important}.grm-app .grm-card-price .gr-price-tag{font-size:9px;padding:2px 4px}.grm-app .grm-card-actions{grid-template-columns:1fr}.grm-app .grm-gallery-stage{height:270px}.grm-app .grm-purchase{padding:15px}.grm-app .grm-buy-row{grid-template-columns:90px minmax(0,1fr)}}


/* ---- V10.4i · Achats directs, stock sur toutes les cartes ---- */
.grm-app .grm-card-body{gap:5px}
.grm-app .grm-card .grm-inventory{min-height:0;margin:1px 0 3px;padding:0;border:0;background:transparent;display:flex;flex-direction:column;gap:4px}
.grm-app .grm-inventory-title{display:block;font-size:10px;line-height:1.1;color:#979797;font-weight:750;letter-spacing:.02em}
.grm-app .grm-inventory-locations{display:flex;gap:4px;flex-wrap:wrap;min-width:0}
.grm-app .grm-inventory-location{display:inline-flex;max-width:100%;gap:5px;align-items:center;background:#202020;border:1px solid #353535;color:#cbcbcb;border-radius:4px;padding:3px 5px;font-size:9px;font-weight:600;line-height:1.2;white-space:nowrap}
.grm-app .grm-inventory-location strong{color:#f0f0f0;font-size:10px;font-weight:900;font-variant-numeric:tabular-nums}
.grm-app .grm-inventory-unknown{display:inline-block;width:fit-content;font-size:10px;line-height:1.25;color:#bdc0c1}
.grm-app .grm-inventory-empty .grm-inventory-unknown{color:#ed979a}
.grm-app .grm-card-price{min-height:0!important}
.grm-app .grm-card-bottom{gap:7px}
/* product details: less chrome, more natural hierarchy */
.grm-app .grm-product-layout{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:15px}
.grm-app .grm-gallery,.grm-app .grm-purchase{background:#141414;border-color:#303030;border-radius:10px}
.grm-app .grm-gallery{padding:10px}
.grm-app .grm-gallery-stage{height:clamp(240px,28vw,350px);background:radial-gradient(circle at 50% 44%,#272727,#111 79%)}
.grm-app .grm-purchase{padding:17px 18px}
.grm-app .grm-purchase h1{font-size:clamp(20px,2.1vw,27px);line-height:1.2;font-weight:820;margin:3px 0 10px}
.grm-app .grm-product-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 8px;font-size:11px;color:#a6a6a6}
.grm-app .grm-product-meta>span:first-child{padding:3px 7px;border:1px solid #383838;border-radius:5px;color:#bbb}
.grm-app .grm-product-meta strong{color:#e7e7e7;font-weight:700}
.grm-app .grm-product-purchase-core{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 0 11px;border-top:1px solid #303030;border-bottom:1px solid #303030}
.grm-app .grm-product-purchase-core .grm-price{margin:0!important;min-height:0!important}
.grm-app .grm-product-purchase-core .gr-price-now{font-size:30px!important;line-height:1.08}
.grm-app .grm-product-purchase-core .grm-inventory{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0}
.grm-app .grm-product-purchase-core .grm-inventory-title{font-size:11px}
.grm-app .grm-product-purchase-core .grm-inventory-locations{gap:5px}
.grm-app .grm-product-purchase-core .grm-inventory-location{font-size:11px;padding:4px 7px}
.grm-app .grm-product-purchase-core .grm-inventory-location strong{font-size:12px}
.grm-app .grm-buy-form{margin-top:12px;gap:9px}
.grm-app .grm-buy-form .grm-buy-row{grid-template-columns:88px minmax(0,1fr);gap:8px}
.grm-app .grm-buy-form .grm-btn-primary{min-height:44px;font-size:14px}
.grm-app .grm-shipping{padding:10px 0 0;margin-top:10px;font-size:11px;line-height:1.5;border-top:1px solid #292929}
.grm-app .grm-shipping strong{font-weight:850;color:#e6e6e6}
.grm-app .grm-purchase-links{display:flex;flex-wrap:wrap;gap:8px 15px;align-items:center;margin-top:12px}
.grm-app .grm-purchase-links a,.grm-app .grm-purchase-links button{font:inherit;font-weight:700;font-size:11px;color:#f1b1b6;background:none;border:0;padding:0;cursor:pointer;text-decoration:none}
.grm-app .grm-purchase-links a:hover,.grm-app .grm-purchase-links button:hover{text-decoration:underline;color:#ff5b6b}
.grm-app .grm-purchase-links form{margin:0}
.grm-app .grm-product-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;margin-top:15px}
.grm-app .grm-product-details .grm-content-box{margin:0;min-width:0}
.grm-app .grm-content-box{border-color:#303030;background:#141414;padding:16px 18px}
.grm-app .grm-content-box p{font-size:12px;line-height:1.58;white-space:normal}
.grm-app .grm-content-box h2{font-size:16px}
.grm-app .grm-spec-table th,.grm-app .grm-spec-table td{font-size:12px}
/* Search: every tab only uses the space required by its own fields */
.grm-home .finder[data-search-module] .finder-panel{min-height:0;height:auto;padding:14px 16px 15px}
.grm-home .finder[data-search-module] .finder-fields{gap:8px;align-items:end}
.grm-home .finder[data-search-module] .finder-fields.fit-search-form{grid-template-columns:repeat(5,minmax(0,1fr)) minmax(125px,.87fr)}
.grm-home .finder[data-search-module] .finder-panel[data-finder-panel="jantes"] .finder-fields{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(130px,.9fr)}
.grm-home .finder[data-search-module] .finder-tire-fields{grid-template-columns:minmax(148px,.86fr) minmax(0,3fr) minmax(128px,.8fr)}
.grm-home .finder[data-search-module] .finder-tire-metric{gap:8px}
.grm-home .finder[data-search-module] .finder-fields label span{margin-bottom:4px;font-size:11px}
.grm-home .finder[data-search-module] .finder-fields input,.grm-home .finder[data-search-module] .finder-fields select{height:39px;min-height:39px;padding:7px 9px;font-size:12px}
.grm-home .finder[data-search-module] .finder-fields .finder-submit{height:39px;min-height:39px;padding:6px 9px;font-size:12px}
.grm-home .finder[data-search-module] .finder-panel[data-finder-panel="numero"]:not([hidden]){padding:13px 16px 14px;min-height:0;display:block!important}
.grm-home .finder[data-search-module] .grm-find-sku{display:grid!important;grid-template-columns:minmax(0,1fr) 155px!important;gap:10px;align-items:end;min-height:0;max-width:100%;margin:0;padding:0}
.grm-home .finder[data-search-module] .grm-find-sku label{display:block!important;grid-column:1!important;grid-row:1;min-width:0;margin:0}
.grm-home .finder[data-search-module] .grm-find-sku .finder-submit{grid-column:2!important;grid-row:1;margin:0}
.grm-home .finder[data-search-module] .finder-panel[hidden]{display:none!important}
@media(max-width:1150px){
 .grm-home .finder[data-search-module] .finder-fields.fit-search-form{grid-template-columns:repeat(3,minmax(0,1fr))}
 .grm-home .finder[data-search-module] .finder-panel[data-finder-panel="jantes"] .finder-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
 .grm-home .finder[data-search-module] .finder-tire-fields{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:850px){
 .grm-app .grm-product-layout{grid-template-columns:1fr}
 .grm-app .grm-purchase{position:static}
 .grm-app .grm-product-details{grid-template-columns:1fr}
}
@media(max-width:600px){
 .grm-home .finder[data-search-module] .finder-panel{padding:11px 10px 12px}
 .grm-home .finder[data-search-module] .finder-fields.fit-search-form,.grm-home .finder[data-search-module] .finder-panel[data-finder-panel="jantes"] .finder-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .grm-home .finder[data-search-module] .finder-tire-fields{grid-template-columns:1fr}
 .grm-home .finder[data-search-module] .grm-find-sku{grid-template-columns:1fr!important;gap:8px}
 .grm-home .finder[data-search-module] .grm-find-sku label,.grm-home .finder[data-search-module] .grm-find-sku .finder-submit{grid-column:1!important;grid-row:auto}
 .grm-app .grm-product-purchase-core .gr-price-now{font-size:26px!important}
 .grm-app .grm-purchase{padding:14px}
 .grm-app .grm-gallery-stage{height:255px}
 .grm-app .grm-inventory-location{font-size:9px;padding:3px 4px}
}


/* V10.4j: large desktop detail page, readable supplier availability. Mobile remains stacked. */
@media (min-width:1025px) {
 main.wrap:has(> .grm-product-page){width:min(1660px,calc(100% - 64px));max-width:none}
 .grm-app.grm-product-page{max-width:none}
 .grm-product-page .grm-product-shell{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(400px,.8fr);grid-template-areas:"photos order" "details order";align-items:start;gap:16px 24px}
 .grm-product-page .grm-product-layout{display:contents}
 .grm-product-page .grm-gallery{grid-area:photos;min-width:0}
 .grm-product-page .grm-purchase{grid-area:order;min-width:0;position:sticky;top:112px}
 .grm-product-page .grm-product-details{grid-area:details;min-width:0;margin:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .grm-product-page .grm-gallery-stage{height:clamp(340px,34vw,510px);padding:18px}
 .grm-product-page .grm-thumbs{margin-top:12px;gap:9px}
 .grm-product-page .grm-thumb{width:68px;height:62px}
 .grm-product-page .grm-purchase{padding:23px 25px}
 .grm-product-page .grm-purchase h1{font-size:clamp(25px,2.1vw,34px);line-height:1.18}
 .grm-product-page .grm-product-purchase-core{gap:13px;padding:16px 0}
 .grm-product-page .grm-product-details .grm-content-box{height:100%}
}
/* Product-only stock visuals: location, quantity, and origin of freight charges. */
.grm-product-page .grm-inventory-product{display:block!important;width:100%;min-width:0;margin:0!important;padding:14px!important;border:1px solid #343434!important;background:#191919!important;border-radius:10px;color:#e9e9e9}
.grm-product-page .grm-inventory-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.grm-product-page .grm-inventory-head>strong{font-size:15px;font-weight:850;color:#f6f6f6}
.grm-product-page .grm-stock-status{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:5px 9px;font-size:12px;font-weight:800;line-height:1.2;border-radius:6px}
.grm-product-page .grm-stock-status::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.grm-product-page .grm-status-available{color:#7de0a8;background:#10271b;border:1px solid #2d6146}
.grm-product-page .grm-status-supplier{color:#ffce84;background:#2a2114;border:1px solid #6b4b24}
.grm-product-page .grm-status-empty{color:#ff8c94;background:#2d171b;border:1px solid #6c333a}
.grm-product-page .grm-status-unknown{color:#d3d3d3;background:#262626;border:1px solid #444}
.grm-product-page .grm-stock-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.grm-product-page .grm-stock-tile{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:3px;min-width:0;padding:13px 6px 11px;border-radius:8px;background:#252525;border:1px solid #404040}
.grm-product-page .grm-stock-place{font-size:11px;color:#d3d3d3;font-weight:750;line-height:1.25;overflow-wrap:anywhere}
.grm-product-page .grm-stock-count{font-size:clamp(25px,2.4vw,36px);line-height:1;font-variant-numeric:tabular-nums;color:#f9f9f9;font-weight:900}
.grm-product-page .grm-stock-units{font-size:10px;color:#a6a6a6}
.grm-product-page .grm-stock-tile-zero{background:#191919;border-color:#303030}
.grm-product-page .grm-stock-tile-zero .grm-stock-count{color:#777}
.grm-product-page .grm-manufacturer-fee{margin:12px 0 0!important;padding:10px 12px!important;color:#e2caaa!important;font-size:12px!important;line-height:1.5!important;background:#282016;border:1px solid #705029;border-radius:7px}
.grm-product-page .grm-manufacturer-fee strong{color:#ffe4c0}
.grm-product-page .grm-stock-prompt{margin:4px 0 0!important;font-size:12px!important;color:#bbb!important}
.grm-product-page .grm-product-purchase-core{gap:10px}
.grm-product-page .grm-purchase .grm-price{padding:0}
.grm-product-page .grm-buy-form{margin-top:12px}
.grm-product-page .grm-product-details .grm-content-box{min-width:0;margin:0}
@media (max-width:1024px) {
 .grm-product-page .grm-product-shell{display:flex;flex-direction:column;gap:14px}
 .grm-product-page .grm-product-layout{display:contents}
 .grm-product-page .grm-gallery,.grm-product-page .grm-purchase,.grm-product-page .grm-product-details{width:100%;min-width:0}
 .grm-product-page .grm-gallery{order:1}
 .grm-product-page .grm-purchase{order:2;position:static}
 .grm-product-page .grm-product-details{order:3;margin-top:0}
}
@media (max-width:480px){
 .grm-product-page .grm-inventory-product{padding:11px!important}
 .grm-product-page .grm-stock-tiles{gap:5px}
 .grm-product-page .grm-stock-tile{padding:11px 3px 9px}
 .grm-product-page .grm-stock-place{font-size:10px}
 .grm-product-page .grm-stock-count{font-size:24px}
 .grm-product-page .grm-inventory-head>strong{font-size:14px}
 .grm-product-page .grm-stock-status{font-size:11px}
}


/* V10.5b: primary purchase action above inventory details, desktop and mobile */
.grm-product-page .grm-purchase{padding:16px 20px!important;top:78px!important}
.grm-product-page .grm-purchase h1{font-size:clamp(19px,1.6vw,27px)!important;line-height:1.18!important;margin:3px 0 7px!important}
.grm-product-page .grm-product-purchase-core{display:block!important;padding:8px 0!important;gap:0!important;border-bottom:0!important}
.grm-product-page .grm-product-purchase-core .grm-price{margin:0!important;padding:0!important}
.grm-product-page .grm-buy-form{margin-top:5px!important;gap:5px!important}
.grm-product-page .grm-buy-form .grm-buy-row{display:grid!important;grid-template-columns:85px minmax(0,1fr)!important;gap:9px!important}
.grm-product-page .grm-buy-form .grm-btn-primary{min-height:45px!important;font-size:15px!important}
.grm-product-page .grm-buy-form label[for="grm-qty"]{gap:3px!important}
.grm-product-page .grm-wheel-option{margin:3px 0!important;border:1px solid #37373b;border-radius:7px;background:#1b1b1d}
.grm-product-page .grm-wheel-option summary{padding:9px 11px!important;cursor:pointer;color:#d4d4d4;font-size:12px;font-weight:750}
.grm-product-page .grm-wheel-option fieldset{margin:0 9px 9px!important}
.grm-product-page .grm-after-buy-stock{margin-top:13px}
.grm-product-page .grm-inventory-product{padding:10px 12px!important}
.grm-product-page .grm-inventory-head{margin-bottom:7px!important}
.grm-product-page .grm-inventory-head>strong{font-size:13px!important}
.grm-product-page .grm-stock-tiles{gap:6px!important}
.grm-product-page .grm-stock-tile{padding:8px 3px!important;gap:2px!important}
.grm-product-page .grm-stock-count{font-size:clamp(22px,1.7vw,28px)!important}
.grm-product-page .grm-manufacturer-fee{margin:8px 0 0!important;font-size:11px!important;padding:8px 10px!important}
.grm-product-page .grm-shipping{margin-top:9px!important;padding:8px 10px!important;font-size:11px!important}
.grm-product-page .grm-purchase-links{margin-top:9px!important}
@media(min-width:1025px){.grm-product-page .grm-product-shell{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:14px 20px}.grm-product-page .grm-gallery-stage{height:clamp(280px,27vw,415px)}.grm-product-page .grm-purchase{position:sticky!important}}
@media(max-width:1024px){.grm-product-page .grm-purchase{position:static!important;padding:13px 14px!important}}
@media(max-width:480px){.grm-product-page .grm-gallery-stage{height:220px!important}.grm-product-page .grm-buy-form .grm-buy-row{grid-template-columns:70px minmax(0,1fr)!important}.grm-product-page .grm-stock-count{font-size:22px!important}}

/* Keep gallery thumbnails in one row on phones so checkout remains near top */
@media(max-width:650px){.grm-product-page .grm-thumbs{flex-wrap:nowrap!important;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 1px 6px;scrollbar-width:thin}.grm-product-page .grm-thumb{flex:0 0 56px;width:56px;height:52px}.grm-product-page .grm-purchase{margin-top:0!important}}


/* V10.5d — desktop purchase layout restored.
   The product layout is the only 2-column grid; the descriptions are a separate full-width row.
   Deliberately avoid display:contents and grid-area tricks. */
@media (min-width:1025px) {
  .grm-product-page .grm-product-shell{display:block!important;min-width:0!important}
  .grm-product-page .grm-product-shell>.grm-product-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1.14fr) minmax(370px,.86fr)!important;
    gap:20px!important;
    align-items:start!important;
    min-width:0!important;
  }
  .grm-product-page .grm-product-layout>.grm-gallery{
    grid-area:auto!important;min-width:0!important;align-self:start!important;
  }
  .grm-product-page .grm-product-layout>.grm-purchase{
    grid-area:auto!important;min-width:0!important;align-self:start!important;
    position:sticky!important;top:78px!important;
  }
  .grm-product-page .grm-product-shell>.grm-product-details{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;clear:both!important;
    margin:18px 0 0!important;min-width:0!important;width:100%!important;
  }
  .grm-product-page .grm-product-details>.grm-content-box{margin:0!important;min-width:0!important;height:auto!important}
}

/* V10.5i – Wheel mounting options always findable on desktop, below the buy button. */
.grm-product-page .grm-buy-form .grm-wheel-montage{
 display:block!important;min-width:0;width:100%;height:auto;overflow:visible;
 border:1px solid #4b393d;border-radius:9px;background:#20191b;
 margin:8px 0 0!important;padding:12px 13px!important;
}
.grm-product-page .grm-wheel-montage legend{
 padding:0 6px;color:#f5f5f5;font-size:13px;font-weight:800;
}
.grm-product-page .grm-wheel-montage-master{
 display:flex!important;align-items:center!important;gap:10px!important;
 cursor:pointer;color:#f5f5f5!important;font-size:13px!important;
 font-weight:750!important;line-height:1.35;
}
.grm-product-page .grm-wheel-montage input[type=checkbox]{
 flex:0 0 18px;appearance:auto!important;accent-color:#e11d2b;
 width:18px!important;height:18px!important;margin:0!important;cursor:pointer;
}
.grm-product-page .grm-wheel-montage .wheel-kit-options{
 margin-top:11px;border-top:1px solid #4a393c;padding-top:10px;
}
.grm-product-page .grm-wheel-montage .wheel-kit-options[hidden]{display:none!important}
.grm-product-page .grm-wheel-montage-choice{
 display:flex!important;align-items:flex-start!important;gap:10px!important;
 padding:7px 0;line-height:1.35!important;font-size:12px!important;color:#eee!important;
}
.grm-product-page .grm-wheel-montage-choice span{min-width:0}
.grm-product-page .grm-wheel-montage-choice small{display:block;margin-top:3px;color:#bbb;font-size:11px}
.grm-product-page .grm-wheel-montage-note{margin:7px 0 0!important;font-size:11px!important;line-height:1.45;color:#b9b9b9}
@media(min-width:1025px){
 .grm-product-page .grm-wheel-montage{margin-top:7px!important;padding:12px 15px!important}
}
