.roy-massifs{max-width:1240px;margin:12px auto 55px;color:#273847;position:relative}.roy-massifs h1{font-size:2rem;margin:12px 0}.roy-massifs h2{font-size:1.5rem;margin:28px 0 15px}.roy-massifs p{line-height:1.5}.roy-crumb{color:#64809b;font-size:14px;margin:12px 0 20px}.roy-crumb a{color:#21639c}.roy-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:25px}.roy-cat{background:#f4f7fa;border:1px solid #dce6ec;border-radius:13px;min-height:115px;padding:22px;display:flex;flex-direction:column;justify-content:center;font-weight:700}.roy-cat small{display:block;color:#82919e;font-weight:400;margin-top:8px}.roy-cat-on{background:#eaf2fb;border-color:#457fae}.roy-cat a{color:#135789!important}.roy-cat a span{display:block;margin-top:8px;font-size:13px}.roy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:25px 0}.roy-tile{border:1px solid #dce6ed;border-radius:12px;overflow:hidden;background:#fff;position:relative}.roy-tile img{display:block;width:100%;aspect-ratio:1.18/1;object-fit:cover}.roy-tile a{display:block;color:inherit;text-decoration:none}.roy-tilelabel{display:flex;gap:7px;align-items:center;padding:10px;font-size:14px;font-weight:600;min-height:60px}.roy-tilelabel b{background:#768c35;border-radius:50%;height:27px;min-width:27px;text-align:center;line-height:27px;color:#fff}.roy-unavailable,.roy-available{display:block;padding:0 12px 12px;color:#8a969e;font-size:12px}.roy-available{color:#17659e;font-weight:700}.roy-soon img{opacity:.9}.roy-hero{position:relative;border-radius:12px;overflow:hidden;background:#e8ecef}.roy-hero>img{display:block;width:100%;height:auto}.roy-hotspot{position:absolute;transform:translate(-50%,-50%);width:39px;height:39px;border-radius:50%;border:3px solid #fff;background:#277eb1;box-shadow:0 2px 12px #1225;color:#fff;cursor:pointer;font-weight:700;font-size:22px;z-index:2}.roy-hotspot:hover,.roy-hotspot:focus{background:#125078;transform:translate(-50%,-50%) scale(1.15)}.roy-hint{color:#647789;font-size:14px}.roy-pop{position:absolute;z-index:12;max-width:340px;width:calc(100% - 20px);background:white;box-shadow:0 10px 40px #1a324b40;border:1px solid #cbd9e3;border-radius:13px;padding:18px}.roy-pop[hidden]{display:none}.roy-pop h3{font-size:19px;margin:0 30px 7px 0}.roy-pop select{display:block;width:100%;padding:9px;margin:15px 0;border:1px solid #c9d6e0;border-radius:6px;background:white}.roy-close{position:absolute;right:8px;top:5px;background:none;border:none;font-size:25px;cursor:pointer}.roy-bot{font-style:italic;color:#627181;margin:5px 0}.roy-stock{color:#26804d;font-weight:600;font-size:13px}.roy-stock-out{color:#946c2c;font-weight:600;font-size:13px}.roy-product-link{display:block;color:#17699f;margin:12px 0}.roy-buy{width:100%;background:#176da5;color:#fff;border:0;border-radius:7px;padding:11px;font-weight:600;cursor:pointer}.roy-buy:disabled{opacity:.65}.roy-plantlist{border-top:1px solid #dce6ed}.roy-plant{display:flex;align-items:center;gap:16px;justify-content:space-between;border-bottom:1px solid #dce6ed;padding:15px 6px}.roy-plant>div{flex:1}.roy-plant strong,.roy-plant small,.roy-plant span{display:block}.roy-plant small{font-style:italic;color:#76838d;margin:4px 0}.roy-plant>a{color:#146ba3;font-weight:600}.roy-details{border:1px solid #c2d7e6;border-radius:6px;padding:8px 10px;background:#f2f8fc;color:#146ba3;cursor:pointer}.roy-home-entry{text-align:center;margin:22px auto}.roy-home-entry a{display:inline-block;padding:14px 25px;background:#1d6799;border-radius:8px;color:white!important;font-weight:700}@media(max-width:900px){.roy-categories{grid-template-columns:repeat(2,1fr)}.roy-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.roy-grid,.roy-categories{grid-template-columns:repeat(2,1fr);gap:8px}.roy-massifs h1{font-size:1.5rem}.roy-tilelabel{font-size:12px}.roy-hotspot{height:31px;width:31px;font-size:18px}.roy-plant{flex-wrap:wrap;gap:8px}.roy-plant>a{font-size:13px}.roy-pop{left:0!important;top:auto!important;position:fixed;bottom:10px;width:calc(100vw - 20px);max-width:none;margin:10px;max-height:65vh;overflow:auto}}

/* v0.2.0 polish and compatibility with a theme not calling standard asset hooks */
body .roy-massifs{box-sizing:border-box;width:min(1240px,calc(100% - 32px));padding:18px 0 60px;font-family:Arial,Helvetica,sans-serif;color:#263e54;}
body .roy-massifs *,body .roy-massifs *::before,body .roy-massifs *::after{box-sizing:border-box}
body .roy-massifs h1{font-family:Arial,Helvetica,sans-serif;color:#164e81;font-size:clamp(27px,3vw,36px);line-height:1.25;font-weight:700;margin:18px 0 12px}
body .roy-massifs h2{color:#164e81}
body .roy-massifs .roy-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body .roy-massifs .roy-cat{padding:0;display:block;min-height:0;overflow:hidden;position:relative;border:1px solid #c8d8e9;border-radius:12px;background:#fff;box-shadow:0 3px 14px rgba(29,62,91,.07)}
body .roy-massifs .roy-cat-image{width:100%;height:160px;object-fit:cover;display:block}
body .roy-massifs .roy-cat>a,body .roy-massifs .roy-cat>span{display:block;padding:16px 16px 4px;text-decoration:none;color:#175f98;font-size:17px;font-weight:700}
body .roy-massifs .roy-cat small{padding:0 16px 14px}
body .roy-massifs .roy-cat-on{border:2px solid #3478b2}
body .roy-massifs .roy-cat-on:hover{box-shadow:0 7px 20px rgba(29,62,91,.19)}
body .roy-massifs .roy-cat:not(.roy-cat-on){opacity:.7}
body .roy-massifs .roy-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body .roy-massifs .roy-tile{border:1px solid #cddfea;border-radius:12px;box-shadow:0 3px 14px rgba(29,62,91,.08)}
body .roy-massifs .roy-tile img{width:100%;height:195px;aspect-ratio:auto;object-fit:cover}
body .roy-massifs .roy-tilelabel{padding:13px 12px;font-size:15px;line-height:1.35;align-items:flex-start}
body .roy-massifs .roy-tile:not(.roy-soon){border:2px solid #3175a9}
body .roy-massifs .roy-tile:not(.roy-soon):hover{box-shadow:0 7px 22px #194b7929;transform:translateY(-2px)}
body .roy-massifs .roy-soon img{opacity:.82}
body .roy-massifs .roy-hero{max-width:1150px;margin:20px auto 0;line-height:0;border:1px solid #ccdbe5;box-shadow:0 5px 23px #1a324b16}
body .roy-massifs .roy-hint{margin:16px 0;color:#546d82}
body .roy-massifs .roy-plantlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;border:0;margin-top:18px}
body .roy-massifs .roy-plant{border:1px solid #d3e0e9;border-radius:10px;padding:16px;display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px;background:#fff;box-shadow:0 3px 12px #1a324b0e}
body .roy-massifs .roy-plant>div{min-width:180px;flex-basis:100%}
body .roy-massifs .roy-plant strong{font-size:17px;color:#174e7d}
body .roy-massifs .roy-plant>a{display:inline-block;flex:1;font-size:14px}
body .roy-massifs .roy-details{white-space:nowrap}
body .roy-massifs .roy-pop{line-height:1.45}
@media(max-width:900px){body .roy-massifs .roy-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body .roy-massifs .roy-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body .roy-massifs .roy-grid,body .roy-massifs .roy-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body .roy-massifs .roy-plantlist{grid-template-columns:1fr}body .roy-massifs .roy-tile img{height:140px}body .roy-massifs .roy-cat-image{height:115px}body .roy-massifs{width:calc(100% - 20px)}}

/* v0.3.0: toutes les cartes de la galerie sont accessibles */
body .roy-massifs .roy-tile{transition:transform .15s,box-shadow .15s}
/* RoyMassifs v0.3.4 : description facultative des nouveaux massifs */
.roy-description { margin: 24px 0 28px; }
.roy-description h2 { margin-bottom: 12px; }
.roy-description p { line-height: 1.7; white-space: normal; overflow-wrap: anywhere; }

/* RoyMassifs : acces panier apres ajout reussi, sans toucher au panier du theme. */
body .roy-massifs .roy-cart-popup-link{display:block;margin-top:10px;text-align:center;padding:11px 14px;background:#176da5;color:#fff!important;border-radius:7px;font-weight:700;text-decoration:none;}
body .roy-massifs .roy-cart-access:not([hidden]){display:block;position:fixed;right:20px;bottom:20px;z-index:10050;background:#176da5;color:#fff!important;border-radius:9px;padding:13px 20px;box-shadow:0 4px 18px #122d4960;font-weight:700;text-decoration:none;}
@media(max-width:650px){body .roy-massifs .roy-cart-access:not([hidden]){right:12px;bottom:12px;padding:12px 15px;}}

/* v0.3.6 — bandeau bleu pleine largeur, commun aux trois vues et aux fiches massifs */
.roy-massifs-topbar{box-sizing:border-box;position:relative;left:50%;width:100vw;max-width:100vw;margin-left:-50vw;margin-bottom:20px;background:linear-gradient(105deg,#234f79,#4b83b0);color:#fff;font-family:Arial,Helvetica,sans-serif;}
.roy-massifs-topbar *{box-sizing:border-box}
.roy-massifs-topbar-inner{max-width:900px;min-height:32px;margin:0 auto;padding:7px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.roy-massifs-topbar .roy-massifs-home{font-size:11px;line-height:1.4;color:#fff!important;font-weight:700;text-decoration:none}
.roy-massifs-topbar .roy-massifs-home:hover{text-decoration:underline}
.roy-massifs-topbar-title{font-size:9px;line-height:1.4;font-weight:700;letter-spacing:.15px;text-align:right}
@media(max-width:580px){.roy-massifs-topbar-inner{padding:9px 12px}.roy-massifs-topbar-title{font-size:8px;max-width:55%}}
