
/* R27: modern typography / spacing for existing Arena category templates.
   Does not alter affiliate links, price gates, product data, or legacy routes. */
body:not(.temc-r27-modern) .serif,
body:not(.temc-r27-modern) .font-serif,
body:not(.temc-r27-modern) main h1,
body:not(.temc-r27-modern) main h2,
body:not(.temc-r27-modern) main h3 {
  font-family: Inter,"Segoe UI",Arial,sans-serif !important;
  letter-spacing:-.045em !important;
}
body:not(.temc-r27-modern) main h1{
  font-weight:800 !important;line-height:1.12 !important;
  font-size:clamp(36px,4.3vw,58px) !important;
}
body:not(.temc-r27-modern) main h2{
  font-weight:780 !important;line-height:1.18 !important;
}
body:not(.temc-r27-modern) main h3{
  font-weight:750 !important;line-height:1.26 !important;
}
body:not(.temc-r27-modern) main .shadow-card {
  box-shadow:0 9px 28px rgba(39,73,55,.09) !important;
}
body:not(.temc-r27-modern) main .rounded-3xl {
  border-radius:22px !important;
}
body:not(.temc-r27-modern) main a:focus-visible,
body:not(.temc-r27-modern) main button:focus-visible{
  outline:3px solid #A68A53 !important;outline-offset:3px;
}
body:not(.temc-r27-modern) main a[class*="bg-or"]{
  background:#B99B59 !important;color:#27332F !important;
}
body:not(.temc-r27-modern) main section:first-child .serif.italic,
body:not(.temc-r27-modern) main section:first-child .font-serif.italic {
  font-style:normal !important;
  color:#477466 !important;
}
@media(max-width:700px){
  body:not(.temc-r27-modern) main>section:first-child h1 {
    font-size:clamp(31px,8.5vw,41px) !important;
    line-height:1.10 !important;
    margin-top:12px !important;
    margin-bottom:11px !important;
  }
  body:not(.temc-r27-modern) main>section:first-child .max-w-7xl{
    padding-top:24px !important;padding-bottom:25px !important;
  }
  body:not(.temc-r27-modern) main>section:first-child p {
    line-height:1.56 !important;
  }
  body:not(.temc-r27-modern) main>section:first-child [class*="mt-5"]{
    margin-top:12px !important;
  }
  body:not(.temc-r27-modern) main>section:first-child [class*="gap-8"]{
    gap:16px !important;
  }
  body:not(.temc-r27-modern) main .rounded-3xl{
    border-radius:18px !important;
  }
}

body:not(.temc-r27-modern) .r27-mobile-filters-toggle{display:none}
body:not(.temc-r27-modern) main [role="group"][aria-label="Filtrer par budget"]{display:none !important}
@media(max-width:700px){
 body:not(.temc-r27-modern) .r27-mobile-filters-toggle{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:12px 18px;border-radius:13px;border:1px solid #B9D0C0;background:#F5F9F4;
  color:#2C6556;font-weight:780;font-size:13px;width:100%;text-align:left;cursor:pointer;
 }
 body:not(.temc-r27-modern) #r27-filters-panel{display:none !important}
 body:not(.temc-r27-modern) #r27-filters-panel.r27-filters-open{display:block !important}
}
