/* RoyCatalogue v0.6 - inspired directly by the APPROVED offline HTML mockup.
   ALL selectors scoped to the category module; theme/module source files unchanged. */
html.roycat-pilot body:is(.page-category,.page-search){background:#f8fafc;color:#17314b}
html.roycat-pilot body:is(.page-category,.page-search) #wrapper{background:#f8fafc}
html.roycat-pilot body:is(.page-category,.page-search) #wrapper>.container{max-width:1244px!important;width:100%!important;padding-left:22px!important;padding-right:22px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
html.roycat-pilot body:is(.page-category,.page-search) #content-wrapper,
html.roycat-pilot body:is(.page-category,.page-search) #main,
html.roycat-pilot body:is(.page-category,.page-search) #content{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-layout{display:grid;grid-template-columns:226px minmax(0,1fr);gap:24px;align-items:start;margin:24px 0 55px}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar,
html.roycat-pilot body:is(.page-category,.page-search) #products{border:1px solid #e2ebf3;border-radius:12px;background:white;box-shadow:0 4px 17px #17427009;min-width:0}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar{padding:20px;height:max-content}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-filter-title{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:17px;color:#17314b;line-height:1.3}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-reset{font-size:12px;color:#2e609b}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-filter-section{border-top:1px solid #e8edf3;padding:19px 0 2px;margin-top:17px}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-filter-section h3{font-size:13px;font-weight:700;color:#17314b;margin:0 0 13px}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-filter-option{display:flex;gap:9px;align-items:center;margin:10px 0;font-size:13px;color:#4e637c;font-weight:400;line-height:1.4}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-filter-option input{accent-color:#2e609b;opacity:1}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-filter-hint{font-size:11px;color:#9ba9b7;line-height:1.45}
html.roycat-pilot body:is(.page-category,.page-search) #products{padding:20px 20px 25px!important;margin:0!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list-top{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px!important;padding:0 0 17px!important;margin:0!important;border-bottom:1px solid #e6edf5!important;float:none!important;min-height:0!important}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-chip{border:1px solid #d9e6f1;border-radius:22px;background:#fff;padding:8px 12px;font-size:12px;line-height:1.2;color:#56718e;white-space:nowrap}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-chip.active{background:#e9f3fc;border-color:#b7d3eb;color:#205c99;font-weight:700}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list-top .products-selection{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:9px!important;float:none!important;width:auto!important;max-width:100%!important;padding:0!important;margin:0!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list-top .products-selection>*{margin:0!important;float:none!important;width:auto!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list-top .total-products{display:none!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list-top .sort-by{font-size:12px!important;color:#7f90a2!important;white-space:nowrap}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list-top .products-sort-order{min-width:120px!important;max-width:190px!important;float:none!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list-top .select-title{border:1px solid #d6e3ef!important;border-radius:7px!important;padding:9px 10px!important;white-space:nowrap!important;color:#344e68!important;background:#fff!important;font-size:12px!important;box-shadow:none!important}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-summary{display:flex;justify-content:space-between;gap:12px;color:#8a9aab;padding:18px 1px 15px;font-size:12px}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin:0!important;align-items:stretch!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .products>.product,
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .products>.js-product{width:auto!important;max-width:none!important;min-width:0!important;flex:none!important;padding:0!important;margin:0!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list article.product-miniature{height:100%!important;width:100%!important;max-width:100%!important;margin:0!important;border:1px solid #dce7f1!important;border-radius:11px!important;overflow:hidden!important;background:#fff!important;box-shadow:none!important;transition:border-color .2s,box-shadow .2s}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list article.product-miniature:hover{border-color:#91b5d7!important;box-shadow:0 6px 22px #24528416!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .thumbnail-container{display:flex!important;flex-direction:column!important;height:100%!important;width:100%!important;max-width:none!important;min-height:0!important;background:transparent!important;border:0!important;box-shadow:none!important;position:relative!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .thumbnail-top{height:185px!important;width:100%!important;min-height:185px!important;overflow:hidden!important;background:#f0f5f8!important;position:relative!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .product-thumbnail,
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .product-thumbnail picture{display:block!important;width:100%!important;height:100%!important;overflow:hidden!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .thumbnail-top img{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;object-position:center!important;position:static!important;margin:0!important;padding:0!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .product-description{position:static!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;min-height:218px!important;height:auto!important;flex:1!important;padding:16px!important;background:#fff!important;box-shadow:none!important;text-align:left!important;gap:0!important;overflow:visible!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .roycat-product-kind{font-size:9px!important;text-transform:uppercase!important;letter-spacing:1.1px!important;font-weight:800!important;color:#7d9bb4!important;margin-bottom:7px!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .product-title{font-size:15px!important;line-height:1.36!important;font-weight:750!important;min-height:41px!important;height:auto!important;max-height:none!important;margin:0 0 5px!important;text-align:left!important;overflow:visible!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .product-title a{font-size:15px!important;line-height:1.36!important;color:#215d9e!important;font-weight:750!important;text-decoration:none!important;white-space:normal!important;overflow-wrap:break-word!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .roy-search-synonym{position:static!important;display:block!important;font-size:11px!important;color:#8b9aac!important;margin:0 0 11px!important;padding:0!important;min-height:16px!important;text-align:left!important;line-height:1.35!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .product-price-and-shipping{display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;gap:8px!important;position:static!important;text-align:left!important;margin:0!important;padding:0!important;width:auto!important;order:initial!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .roycat-from{font-size:11px;color:#7c90a5}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .price{font-size:21px!important;font-weight:800!important;color:#16395d!important;line-height:1.35!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .roy-variants-count-badge{display:block!important;position:static!important;width:fit-content!important;max-width:100%!important;min-height:0!important;margin:10px 0 0!important;padding:0!important;background:none!important;border:none!important;border-radius:0!important;box-shadow:none!important;font-size:11px!important;line-height:1.35!important;color:#667f99!important;text-align:left!important;white-space:normal!important;order:initial!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .roycat-card-foot{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;margin-top:auto!important;padding-top:15px!important;width:100%!important;order:initial!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .roycat-delay{font-size:10px;color:#6b91b2}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .roycat-action{display:inline-block!important;flex-shrink:0!important;padding:10px 12px!important;background:#2d69a9!important;color:#fff!important;font-size:12px!important;line-height:1.3!important;font-weight:650!important;text-decoration:none!important;border-radius:7px!important;white-space:nowrap!important;margin:0!important;align-self:auto!important;order:initial!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .roycat-action:hover{background:#174d84!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .roy-stock-badge{z-index:3!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .highlighted-informations{display:none!important}
@media(max-width:950px){html.roycat-pilot body:is(.page-category,.page-search) #roycat-layout{grid-template-columns:1fr!important}html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar{display:none!important}html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:570px){html.roycat-pilot body:is(.page-category,.page-search) #products{padding:12px!important}html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .products{grid-template-columns:1fr!important}html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .thumbnail-top{height:210px!important;min-height:210px!important}html.roycat-pilot body:is(.page-category,.page-search) #js-product-list-top .products-selection{justify-content:flex-start!important}html.roycat-pilot body:is(.page-category,.page-search) .roycat-summary{flex-wrap:wrap}}

/* v0.5: match whole-page framing of the user's accepted offline mockup */
html.roycat-pilot body:is(.page-category,.page-search) #header{display:none!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-header{display:block;background:#fff;border-bottom:1px solid #dce7f1;color:#17314b;font:14px 'Segoe UI',Arial,sans-serif;box-sizing:border-box}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-shell{max-width:1200px!important;width:100%;padding:0 22px!important;margin:auto!important;box-sizing:border-box}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-top{height:36px;border-bottom:1px solid #eef2f6;color:#7b8b9c;font-size:12px}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-top-inner{height:100%;display:flex;align-items:center;justify-content:space-between}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-main{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px!important;padding-bottom:22px!important}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-brand{display:flex;align-items:center;gap:13px;color:#2e609b;text-decoration:none!important;min-width:0}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-monogram{height:56px;width:56px;display:grid;place-items:center;border:2px solid #88abc9;border-radius:50%;font:30px Georgia;flex-shrink:0}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-brandtext strong{font:700 24px Georgia;letter-spacing:.6px;display:block;color:#2e609b;white-space:nowrap}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-brandtext small{display:block;color:#6481a0;letter-spacing:2px;font-size:10px;white-space:nowrap}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-search{width:100%;flex:1;max-width:450px;min-width:180px}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-search form{display:flex!important;align-items:stretch!important;width:100%!important;height:44px!important;background:white!important;border:1px solid #cbd9e8!important;border-radius:9px!important;overflow:hidden!important;margin:0!important;position:static!important;box-shadow:none!important}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-search input{display:block!important;position:static!important;flex:1!important;min-width:0!important;width:100%!important;border:0!important;background:#fff!important;padding:0 15px!important;height:100%!important;outline:0!important;box-shadow:none!important}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-search button{position:static!important;display:block!important;flex:0 0 48px!important;height:100%!important;background:#2e609b!important;color:white!important;border:0!important;padding:0 12px!important}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-utils{display:flex;gap:18px;align-items:center;white-space:nowrap;color:#4b6581;font-size:12px}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-utils a{color:#4b6581!important;text-decoration:none!important}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-nav{background:#2d609a;color:#fff}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-navinner{display:flex;align-items:center;justify-content:space-between;overflow-x:auto}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-nav a{color:#fff!important;text-decoration:none!important;padding:15px 12px!important;display:block;font-size:12px;font-weight:650;white-space:nowrap}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-nav a.roycat-current{background:#245382}
html.roycat-pilot body:is(.page-category,.page-search) #wrapper{padding-top:28px!important;margin-top:0!important}
html.roycat-pilot body:is(.page-category,.page-search) #wrapper>.container{max-width:1200px!important;padding-left:22px!important;padding-right:22px!important}
html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb{margin-bottom:22px!important;font-size:12px!important;color:#8192a6!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 24px!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-eyebrow{text-transform:uppercase;color:#7a98b6;font-size:11px;font-weight:800;letter-spacing:1.8px}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading h1{font:700 32px Georgia!important;color:#214e81!important;margin:8px 0 7px!important;text-transform:none!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading p{font-size:14px;color:#74879c;margin:0!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-main-count{background:#e8f1fa;color:#2c649e;padding:9px 14px;border-radius:18px;font-size:14px;font-weight:700;white-space:nowrap}
html.roycat-pilot body:is(.page-category,.page-search) #main > h1,html.roycat-pilot body:is(.page-category,.page-search) #main > .block-category,html.roycat-pilot body:is(.page-category,.page-search) #main > #js-product-list-header{display:none!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-layout{margin-top:0!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .product-description{min-height:231px!important}
@media(max-width:950px){html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-main{flex-wrap:wrap}html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-brandtext strong{font-size:20px}html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-search{order:3;flex-basis:100%;max-width:none}html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-utils{margin-left:auto}}
@media(max-width:570px){html.roycat-pilot body:is(.page-category,.page-search) .roycat-head-utils{display:none}html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading{align-items:flex-start;flex-direction:column}html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading h1{font-size:26px!important}}


/* RoyCatalogue v0.6 — finition de la maquette, sans toucher au thème. */
/* Le titre supplémentaire est injecté par category.tpl du thème parent. */
html.roycat-pilot body:is(.page-category,.page-search) #main > .page-header,
html.roycat-pilot body:is(.page-category,.page-search) #main > #products > .page-header,
html.roycat-pilot body:is(.page-category,.page-search) #content > .page-header,
html.roycat-pilot body:is(.page-category,.page-search) .page-header:has(> h1.h1){display:none!important}
/* Cadre bleu bien visible sur CHAQUE carte (y compris absence de photo). */
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list article.product-miniature{
 border:2px solid #3978b8!important;
 border-radius:10px!important;
 box-shadow:0 1px 5px rgba(34,93,151,.09)!important;
}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list article.product-miniature:hover{
 border-color:#174d85!important;
 box-shadow:0 5px 15px rgba(34,93,151,.17)!important;
}
/* Petits alignements, tout en conservant la géométrie de la v0.5. */
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading{margin-bottom:19px!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-layout{margin-bottom:50px!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .product-description{padding:15px!important;min-height:225px!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .product-title,
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .product-title a{font-size:15px!important;line-height:1.4!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .roy-search-synonym{font-size:11px!important;line-height:1.4!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .roycat-card-foot{padding-top:13px!important}
html.roycat-pilot body:is(.page-category,.page-search) #js-product-list .roycat-delay{max-width:75px;line-height:1.35}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-summary{padding-top:14px;padding-bottom:12px}


/* v0.7: stock date stamp */
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading{align-items:center!important}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-heading-side{display:flex;flex-direction:column;align-items:flex-end;gap:16px;flex-shrink:0}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-stock-stamp{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:160px;padding:12px 22px 10px;background:#fff;border:4px solid #2d69a9;border-radius:20px;color:#1560aa;box-shadow:0 2px 8px rgba(45,105,169,.08);text-align:center;line-height:1.05;transform:rotate(-1.2deg)}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-stock-stamp span{display:block;font-size:15px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-stock-stamp strong{display:block;margin-top:4px;font-size:22px;font-weight:900;letter-spacing:.4px;color:#1560aa}
@media(max-width:900px){html.roycat-pilot body:is(.page-category,.page-search) .roycat-heading-side{align-items:flex-start;width:100%}html.roycat-pilot body:is(.page-category,.page-search) .roycat-stock-stamp{transform:none}}

/* v0.7.1: remonte le tampon stock d'environ 7 mm */
html.roycat-pilot body:is(.page-category,.page-search) .roycat-stock-stamp{transform:translateY(-26px) rotate(-1.2deg)!important}
@media(max-width:900px){html.roycat-pilot body:is(.page-category,.page-search) .roycat-stock-stamp{transform:translateY(-18px)!important}}

/* v0.7.2: real offset, isolated to the stamp (counter stays put) */
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-stock-stamp {position:relative!important;top:-27px!important;transform:rotate(-1.2deg)!important;}
@media(max-width:900px){html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-stock-stamp {top:-27px!important;}}

/* v0.7.3: aligne le haut du tampon sur la ligne du fil d’Ariane et le centre dans sa colonne */
html.roycat-pilot body:is(.page-category,.page-search) .roycat-heading-side{align-items:center!important;justify-content:flex-start!important;min-width:220px!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-stock-stamp{position:relative!important;top:-62px!important;left:0!important;right:auto!important;margin:0 auto!important;transform:rotate(-1.2deg)!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-main-count{margin-top:-28px!important}
@media(max-width:900px){html.roycat-pilot body:is(.page-category,.page-search) .roycat-heading-side{align-items:flex-start!important;min-width:0!important}html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-stock-stamp{top:-24px!important;margin:0!important}html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-main-count{margin-top:0!important}}

/* v0.7.5 : tampon libellé fixe, aucun changement de position */
html.roycat-pilot body:is(.page-category,.page-search) .roycat-stock-stamp span{font-size:13px!important;white-space:nowrap!important}
html.roycat-pilot body:is(.page-category,.page-search) .roycat-stock-stamp strong{font-size:17px!important;white-space:nowrap!important}

/* v0.7.6 - Accueil bleu cliquable, centré comme l'ancien tampon. */
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-home-link {
  box-sizing:border-box!important;display:block!important;width:188px!important;min-width:188px!important;
  height:72px!important;padding:0!important;background:transparent!important;border:0!important;
  border-radius:0!important;box-shadow:none!important;text-align:center!important;
  text-decoration:none!important;overflow:visible!important;transform:none!important;
  top:-62px!important;cursor:pointer!important;
}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-home-icon {
  position:absolute!important;left:50%!important;top:-22px!important;transform:translateX(-50%)!important;
  width:120px!important;height:120px!important;max-width:none!important;object-fit:contain!important;
}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-home-link:hover .roycat-home-icon{filter:brightness(.85)}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-home-link:focus-visible{outline:3px solid #2869a6!important;outline-offset:3px!important;border-radius:8px!important}

/* v0.7.7 : place le pictogramme dans la colonne de droite, centré sur le compteur. */
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-heading-side{align-items:center!important;}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-home-link{left:0!important;right:auto!important;margin-left:auto!important;margin-right:auto!important;}

/* v0.7.8 : rétablit les bonnes proportions du bouton accueil */
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-home-link{width:138px!important;height:112px!important;min-width:138px!important;display:block!important;overflow:visible!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-home-icon{position:absolute!important;left:50%!important;top:-14px!important;transform:translateX(-50%)!important;width:131px!important;height:112px!important;max-width:131px!important;object-fit:contain!important;object-position:center center!important}

/* v0.7.9 : cartouche central rectangulaire */
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading{position:relative!important;min-height:120px!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-center-badge{position:absolute!important;left:50%!important;top:-10px!important;transform:translateX(-50%)!important;z-index:1;pointer-events:none}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-center-badge-img{display:block!important;width:358px!important;height:auto!important;max-width:34vw!important;filter:drop-shadow(0 1px 2px rgba(33,78,129,.08))}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-title-copy{position:relative!important;z-index:2}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-heading-side{position:relative!important;z-index:2}
@media(max-width:1200px){html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-center-badge-img{max-width:28vw!important}}
@media(max-width:900px){html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading{min-height:auto!important}html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-center-badge{display:none!important}}

/* v0.7.10 : cartouche central sur l’axe du fil d’Ariane et du retour accueil */
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-center-badge{top:-75px!important}

/* v0.7.12 : revenir à la position sûre du cartouche ; robot indépendant */
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-center-badge{top:-35px!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar{position:relative!important}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{position:absolute!important;z-index:3!important;display:block!important;width:106px!important;height:auto!important;max-width:none!important;left:-93px!important;top:-91px!important;pointer-events:none!important;filter:drop-shadow(0 3px 5px rgba(35,80,110,.16))}
@media(max-width:1230px){html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{width:80px!important;left:-64px!important;top:-75px!important}}
@media(max-width:950px){html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{display:none!important}}

/* v0.7.13 — robot et bulle EXACTS du visuel choisi, sans feuille verte. */
html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{
  width:215px!important;height:auto!important;max-width:none!important;
  left:-112px!important;top:-158px!important;z-index:5!important;
  filter:drop-shadow(0 2px 3px rgba(24,82,140,.10))!important;
}
@media(max-width:1230px){
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{width:174px!important;left:-83px!important;top:-132px!important}
}
@media(max-width:950px){html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{display:none!important}}

/* v0.7.14 : seul le cartouche central remonte, sans aucun autre changement. */
html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-center-badge{top:-88px!important}

/* v0.7.15 — uniquement centrer les trois lignes du titre sous le cartouche. */
@media(min-width:951px){
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-title-copy{
  position:absolute!important;left:50%!important;top:0!important;
  transform:translateX(-50%)!important;width:min(540px,52%)!important;
  text-align:center!important;margin:0!important;
 }
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-title-copy .roycat-eyebrow,
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-title-copy h1,
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-title-copy p{
  text-align:center!important;
 }
}

/* v0.7.16 — UNIQUEMENT rétablir la colonne Accueil + compteur à droite.
   Ne change ni le cartouche central ni les trois lignes du titre. */
@media (min-width:951px) {
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-heading-side {
  position:absolute!important; right:0!important; left:auto!important; top:65px!important;
  display:flex!important; flex-direction:column!important; align-items:center!important;
  margin:0!important; min-width:180px!important; z-index:4!important;
 }
}

/* v0.7.17 : remonte ensemble UNIQUEMENT Accueil et compteur, sans decalage horizontal. */
@media (min-width:951px) {
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-heading-side { top:-20px!important; }
}

/* v0.7.18 : seul le robot est repositionné juste au-dessus du cadre des filtres. */
@media (min-width:951px){
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{left:-72px!important;top:-146px!important}
}
@media (min-width:951px) and (max-width:1230px){
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{left:-58px!important;top:-124px!important}
}

/* v0.7.19 : décale uniquement le robot vers la droite */
@media (min-width:951px){
  html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{left:-42px!important}
}
@media (min-width:951px) and (max-width:1230px){
  html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{left:-30px!important}
}

/* v0.7.20 : décale encore le robot vers la droite (~2 cm), sans changer sa hauteur */
@media (min-width:951px){
  html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{left:34px!important}
}
@media (min-width:951px) and (max-width:1230px){
  html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{left:46px!important}
}

/* Ajustement isolé : robot seulement, 1 cm à gauche, 5 mm plus bas (38 px / 19 px). */
@media (min-width:951px) {
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{left:-4px!important;top:-127px!important}
}
@media (min-width:951px) and (max-width:1230px) {
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{left:8px!important;top:-105px!important}
}

/* Ajustement isolé du titre de catégorie : 8 mm (~30 px) vers le bas.
   Aucun autre élément ne change de position. */
@media (min-width:951px) {
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-title-copy {top:30px!important}
}


/* v0.7.24 : remplace le robot par un cartouche d'information au-dessus des filtres. */
html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-filter-note{
  position:absolute!important;
  z-index:3!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:6px!important;
  box-sizing:border-box!important;
  width:192px!important;
  min-height:74px!important;
  left:10px!important;
  top:-86px!important;
  padding:12px 14px!important;
  border:2px solid #2e67ad!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#2a5f9d!important;
  text-align:center!important;
  align-items:center!important;
  box-shadow:0 2px 4px rgba(24,82,140,.08)!important;
  pointer-events:none!important;
}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-filter-note-title{
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-transform:uppercase!important;
  letter-spacing:.02em!important;
  text-align:center!important;
}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-filter-note-text{
  font-size:11px!important;
  line-height:1.35!important;
  color:#5b6f87!important;
  text-align:center!important;
}
html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-robot-guide{display:none!important}
@media(max-width:1230px){
  html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-filter-note{width:172px!important;left:12px!important;top:-76px!important;padding:10px 12px!important}
}
@media(max-width:950px){
  html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-filter-note{display:none!important}
}

/* v0.7.28 — cartouche seulement : réduction proportionnelle à 70 %,
   centré sur la colonne filtres, base alignée sur le haut du panneau. */
@media (min-width:951px){
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-filter-note{
  top:auto!important;bottom:100%!important;left:calc(50% - 96px)!important;
  transform:scale(.7)!important;transform-origin:bottom center!important;
 }
}
@media (min-width:951px) and (max-width:1230px){
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-sidebar .roycat-filter-note{
  left:calc(50% - 86px)!important;
 }
}

/* v0.7.29 – embellissement du fil d'Ariane uniquement, sans déplacement. */
html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb {
  color:#66809d!important;
  font-size:12px!important;
}
html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb ol,
html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb ul {
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin:0!important;
  padding:0!important;
}
html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li {
  display:inline-flex!important;
  align-items:center!important;
  font-size:12px!important;
  line-height:1.3!important;
}
html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:first-child a {
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:7px 10px!important;
  border-radius:18px!important;
  color:#265f9c!important;
  background:#eaf3fb!important;
  border:1px solid #c7dcf1!important;
  text-decoration:none!important;
  font-weight:700!important;
}
html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:first-child a::before {
  content:"⌂";
  font-size:17px;
  line-height:12px;
  font-weight:700;
}
html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:last-child > span,
html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:last-child > a {
  display:inline-block!important;
  padding:7px 11px!important;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid #dce8f3!important;
  color:#3c658d!important;
  font-weight:600!important;
  text-decoration:none!important;
}

/* v0.7.31 — pastilles du fil d'Ariane empilées, centrées dans la colonne
   sans augmenter sa hauteur : le cartouche central et l'icône Accueil ne bougent pas. */
@media(min-width:951px){
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb ol,
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb ul {
   position:relative!important;
   display:block!important;
   width:226px!important;
   height:32px!important;
   min-height:32px!important;
   flex-wrap:initial!important;
 }
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li {
   position:absolute!important;
   display:flex!important;
   width:max-content!important;
   left:50%!important;
   transform:translateX(-50%)!important;
   margin:0!important;
 }
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:first-child {top:0!important}
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:last-child {top:37px!important}
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:last-child > span,
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:last-child > a {margin:0!important}
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li::before,
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li::after {content:none!important;display:none!important}
}

/* v0.7.32 — agrandit uniquement les deux pastilles du fil d’Ariane de 30%,
   sans déplacer le reste de la page. */
@media(min-width:951px){
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:first-child a,
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:last-child > span,
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:last-child > a{
   transform:scale(1.3)!important;
   transform-origin:center center!important;
 }
}


/* v0.7.33 — remonte de 5 mm environ les deux pastilles du fil d’Ariane,
   sans changer leur alignement horizontal ni le reste de la page. */
@media(min-width:951px){
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:first-child {top:-19px!important}
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:last-child {top:18px!important}
}


/* v0.7.36 — agrandit de 30% les deux pastilles du fil d’Ariane
   et ajoute environ 5 mm d’espacement vertical entre elles,
   sans toucher au reste de la page. */
@media(min-width:951px){
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:first-child a,
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:last-child > span,
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:last-child > a{
   transform:scale(1.3)!important;
   transform-origin:center center!important;
 }
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:first-child {top:0!important}
 html.roycat-pilot body:is(.page-category,.page-search) #wrapper .breadcrumb li:last-child {top:56px!important}
}


/* v0.7.39 : décalage horizontal de ~2 cm (76px) des deux blocs centraux
   (cartouche « Votre jardin commence ici » et titre/sous-titre),
   sur catégories et recherches PC uniquement. Aucun autre élément déplacé. */
@media (min-width:951px) {
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-center-badge {
  left:calc(50% + 76px)!important;
 }
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-title-copy {
  left:calc(50% + 76px)!important;
 }
}

/* v0.7.40 : uniquement le cartouche « Votre jardin commence ici »
   7 mm (~26px) plus à droite que v0.7.39 ; titre/sous-titre inchangés. */
@media (min-width:951px) {
 html.roycat-pilot body:is(.page-category,.page-search) #roycat-page-heading .roycat-center-badge {
  left:calc(50% + 102px)!important;
 }
}

/* v0.7.41 : copie fidèle du popup existant sur l’accueil */
/* V25 : popup autonome sur le bouton natif Mega-filtre */
#roy-megafiltre-modal{box-sizing:border-box;position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(20,43,57,.66);z-index:2147480000;}
#roy-megafiltre-modal.is-open{display:flex}
#roy-megafiltre-modal *{box-sizing:border-box}
#roy-megafiltre-modal .roy-mega-dialog{position:relative;width:min(930px,100%);max-height:90vh;overflow:auto;background:#f8fbfb;border:3px solid #4594bf;box-shadow:0 22px 75px #09294257;padding:28px 34px 24px;color:#264358;font-family:Arial,Helvetica,sans-serif;border-radius:4px;}
#roy-megafiltre-modal .roy-mega-close{position:absolute;top:15px;right:18px;background:#fff;border:1px solid #b0d5e9;border-radius:3px;color:#21577d;padding:10px 14px;font-size:13px;font-weight:700;cursor:pointer;z-index:1}
#roy-megafiltre-modal .roy-mega-heading{text-align:center;padding:15px 80px 4px}
#roy-megafiltre-modal .roy-mega-eyebrow{display:block;text-transform:uppercase;letter-spacing:2.2px;font-size:10px;font-weight:700;color:#9d815c}
#roy-megafiltre-modal h2{font:normal clamp(30px,4vw,42px)/1.17 Georgia,serif;color:#23495e;margin:11px 0}
#roy-megafiltre-modal .roy-mega-lead{font-size:16px;line-height:1.6;color:#547187;margin:0 0 16px}
#roy-megafiltre-modal .roy-mega-image{display:block;width:100%;height:265px;object-fit:cover;object-position:center;border:1px solid #c9e3ec;border-radius:3px;mask-image:linear-gradient(to right,transparent 0%,#000 4%,#000 96%,transparent 100%)}
#roy-megafiltre-modal .roy-mega-body{max-width:770px;margin:22px auto 10px}
#roy-megafiltre-modal .roy-mega-body p{font-size:14px;color:#485e67;line-height:1.7;margin:0 0 13px}
#roy-megafiltre-modal .roy-mega-body strong{color:#25475f}
#roy-megafiltre-modal .roy-mega-actions{text-align:center}
#roy-megafiltre-modal .roy-mega-action{background:#2976a6;border:1px solid #23658e;color:#fff;padding:12px 36px;border-radius:3px;cursor:pointer;font-weight:700;font-size:13px}
#roy-megafiltre-modal button:focus-visible{outline:3px solid #e8b64b;outline-offset:2px}
@media(max-width:650px){#roy-megafiltre-modal{padding:10px}#roy-megafiltre-modal .roy-mega-dialog{padding:42px 16px 20px;max-height:94vh}#roy-megafiltre-modal .roy-mega-close{top:9px;right:9px}#roy-megafiltre-modal .roy-mega-heading{padding:10px 0 2px}#roy-megafiltre-modal .roy-mega-image{height:175px}#roy-megafiltre-modal .roy-mega-body p{font-size:13px}}

@media(min-width:768px){html.roycat-pilot #roycat-sidebar{cursor:pointer}html.roycat-pilot #roycat-sidebar:focus-visible{outline:3px solid #327fad;outline-offset:3px}}

/* v0.7.45 : compteur HORS FLUX, dans le vide au bas de la carte.
   Ne modifie ni le flex, ni les prix, ni les boutons, ni la hauteur des cartes. */
@media (min-width:768px){
 html.roycat-pilot body:is(.page-category,.page-search) #js-product-list article.product-miniature{position:relative!important}
 html.roycat-pilot body:is(.page-category,.page-search) #js-product-list article.product-miniature > .roycat-promo-count{
  position:absolute!important;bottom:12px!important;left:15px!important;right:15px!important;
  display:block!important;box-sizing:border-box!important;z-index:2!important;
  margin:0!important;padding:5px 3px!important;min-height:0!important;
  border-radius:5px!important;background:#fff1e3!important;color:#ba5900!important;
  text-align:center!important;font-size:11px!important;font-weight:750!important;line-height:1.3!important;
  pointer-events:none!important;
 }
}

/* Filtre de disponibilité immédiate — périmètre de la page courante */
html.roycat-pilot #roycat-sidebar #roycat-filter-scope{font-size:11px;color:#60758b;line-height:1.45;margin-top:12px}
html.roycat-pilot #roycat-sidebar #roycat-filter-scope[hidden]{display:none!important}
html.roycat-pilot #roycat-sidebar #roycat-immediate-filter{cursor:pointer}

/* v0.7.57 : seul le cartouche ouvre le mega-filtre ; les cases sont operantes. */
html.roycat-pilot #roycat-sidebar{cursor:default!important}
html.roycat-pilot #roycat-sidebar .roycat-filter-note{pointer-events:auto!important;cursor:pointer!important}
html.roycat-pilot #roycat-sidebar .roycat-filter-option:has(input:not(:disabled)){cursor:pointer!important}
html.roycat-pilot #roycat-sidebar .roycat-reset{cursor:pointer!important}
/* v0.7.58 : pagination des résultats en stock, regroupés par page. */
html.roycat-pilot .roycat-immediate-pagination{display:flex;align-items:center;justify-content:center;gap:13px;min-height:48px;margin:14px auto 2px;font-size:12px;color:#234c79}
html.roycat-pilot .roycat-immediate-pagination button{padding:8px 12px;border:1px solid #c7daec;border-radius:6px;background:white;color:#245e9d;cursor:pointer;font:inherit}
html.roycat-pilot .roycat-immediate-pagination button:disabled{opacity:.4;cursor:default}

html.roycat-pilot .roycat-immediate-pagination button.roycat-number-active{background:#2e65a5;color:white;border-color:#2e65a5;font-weight:700}

/* Filtre immédiat : indication visible dès le clic, sans bloquer la page. */
html.roycat-pilot #js-product-list .products.roycat-stock-is-loading {position:relative;min-height:240px;opacity:.28;pointer-events:none}
html.roycat-pilot .roycat-stock-loading {display:flex;align-items:center;justify-content:center;gap:12px;min-height:76px;margin:10px auto 18px;padding:17px;background:#eff6fd;border:1px solid #c5daef;border-radius:9px;color:#174f86;font-size:14px;font-weight:600}
html.roycat-pilot .roycat-stock-spinner {display:inline-block;width:24px;height:24px;border:3px solid #bed5ec;border-top-color:#2867aa;border-radius:50%;animation:roycat-stock-spin .7s linear infinite;flex:none}
@keyframes roycat-stock-spin {to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){html.roycat-pilot .roycat-stock-spinner{animation:none}}
