/* Editorial reading layouts. Keep buying actions inside each exact-part card. */
.guide-page-header .container,.guide-detail-section>.container,.help-page-header>.container,.help-index-section>.container,.catalog-advice-index>.container,.accessory-advice>.container{max-width:1180px}
.guide-page-header{padding-block:2.5rem;background:#f0f5f1}
.guide-page-header .page-header-grid{grid-template-columns:minmax(0,1fr) 260px;gap:2.5rem;align-items:center}
.guide-page-header .page-header-grid>div{grid-column:1;grid-row:1}
.guide-page-header .entity-header-media{grid-column:2;grid-row:1;width:100%;max-width:none;height:210px;min-height:0;box-shadow:none;border-radius:18px}
.guide-page-header .entity-header-media img{height:100%;object-fit:cover}
.guide-page-header .status-badge{display:none}
.guide-page-header h1{font-size:clamp(1.9rem,3.6vw,3rem);max-width:25ch;line-height:1.12;letter-spacing:-.035em}
.guide-page-header .lead{font-size:1.04rem;line-height:1.7;max-width:66ch}
.guide-detail-section{padding-block:2rem 4rem;background:#fffefa}
.guide-detail-section .guide-layout{grid-template-columns:minmax(0,790px) minmax(220px,270px);gap:2.5rem;justify-content:space-between}
.guide-content{width:100%;max-width:none;min-width:0}
.guide-content>section{padding:1.5rem 0;border:0;border-radius:0;box-shadow:none;background:none}
.guide-content>section:nth-child(3n+2){background:none}
.guide-content>section+section{border-top:1px solid #dce6df;margin-top:1rem}
.guide-content p,.guide-content li{font-size:1rem;line-height:1.8}
.guide-content h2{font-size:clamp(1.35rem,2vw,1.75rem);line-height:1.3;margin-top:0}
.guide-content .guide-overview{max-width:72ch;padding:1rem 0;background:none;border:0}
.guide-content .guide-overview p{padding:0;margin:0 0 1.2rem}
.guide-content .notice{border:1px solid #e5d7b9;border-left:3px solid #bf8e38;padding:1.1rem 1.25rem;border-radius:12px;background:#fffaf0}
.guide-content .notice--danger{border-color:#e7c7bd;border-left-color:#b45539;background:#fff6f2}
.guide-aside{position:sticky;top:6rem;min-width:0}
.guide-aside .toc{position:static;padding:1.25rem;background:#f3f7f3;border:1px solid #dce6df;box-shadow:none;border-radius:14px}
.guide-aside .toc a{font-size:.86rem;line-height:1.5;overflow-wrap:anywhere}
.guide-content>.guide-shopping{padding:1.35rem;border:1px solid #cbded3;border-radius:18px;background:#eff6f1;scroll-margin-top:6rem}
.guide-shopping>p:not(.eyebrow){font-size:.9rem;line-height:1.65}
.guide-shopping .guide-part-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.guide-shopping .guide-part-result{border-radius:12px;background:#fff;box-shadow:none;display:flex!important;min-width:0}
.guide-shopping .guide-part-result__body{padding:1rem;min-width:0}
.guide-shopping .guide-part-result__media{height:150px!important;min-height:0!important;background:white}
.guide-shopping .guide-part-result__actions{gap:.7rem;padding-top:.9rem;max-width:100%}
.guide-shopping .merchant-options{grid-template-columns:1fr}
.guide-shopping .part-reference{font-size:.75rem}
.guide-shopping .guide-part-result p{font-size:.86rem;line-height:1.65}
.guide-shopping .guide-part-result__top{gap:.35rem}
.guide-shopping .fit-badge{font-size:.65rem}
.guide-shopping .guide-part-result h4{font-size:1.02rem;line-height:1.4}
.guide-shopping .guide-part-result__actions>.button{font-size:.8rem;min-height:42px;background:#fff;box-shadow:none}
.guide-shopping .merchant-option>.button{min-height:48px}
.guide-shopping .guide-part-results{align-items:stretch}
.guide-shopping .guide-part-result__details:empty{display:none}
.guide-shopping .guide-part-result__details>.button{font-size:.8rem;min-height:42px;background:#fff;box-shadow:none}
.guide-shopping .guide-part-results[data-card-layout="mixed"]{grid-template-columns:1fr}
/* Share content rows across neighbouring cards without clipping descriptions or offer notes. */
@supports(grid-template-rows:subgrid){
 @container(min-width:561px){
  .guide-shopping .guide-part-results[data-card-layout]:not([data-card-layout="mixed"]):has(> :nth-child(2)){row-gap:.65rem}
  .guide-shopping .guide-part-results[data-card-layout]:not([data-card-layout="mixed"]):has(> :nth-child(2))>.guide-part-result{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span var(--guide-card-rows);padding:1rem;gap:.65rem}
  .guide-shopping .guide-part-results[data-card-layout]:not([data-card-layout="mixed"]):has(> :nth-child(2)) .guide-part-result__body,
  .guide-shopping .guide-part-results[data-card-layout]:not([data-card-layout="mixed"]):has(> :nth-child(2)) .guide-part-result__actions{display:contents}
  .guide-shopping .guide-part-results[data-card-layout]:not([data-card-layout="mixed"]):has(> :nth-child(2)) .guide-part-result h4,
  .guide-shopping .guide-part-results[data-card-layout]:not([data-card-layout="mixed"]):has(> :nth-child(2)) .guide-part-result__body>p{margin:0}
  .guide-shopping .guide-part-results[data-card-layout]:not([data-card-layout="mixed"]):has(> :nth-child(2)) .merchant-options{grid-template-rows:subgrid;grid-row:span var(--guide-offer-rows);gap:.65rem}
  .guide-shopping .guide-part-results[data-card-layout]:not([data-card-layout="mixed"]):has(> :nth-child(2)) .merchant-option{display:grid;grid-template-rows:subgrid;grid-row:span 2;gap:.65rem}
  .guide-shopping .guide-part-results[data-card-layout]:not([data-card-layout="mixed"]):has(> :nth-child(2)) .merchant-option>.button{align-self:start;order:0}
  .guide-shopping .guide-part-results[data-card-layout]:not([data-card-layout="mixed"]):has(> :nth-child(2)) .guide-part-result__details{display:block;align-self:end}
 }
}
.guide-decision__grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:'repair professional'}
.guide-decision__heading>p{font-size:.9rem}
.guide-content .guide-step{padding:1.2rem 1.1rem 1.2rem 3.75rem;background:#f6f8f5;border:1px solid #e0e8df;box-shadow:none}
.guide-content .guide-step p{margin:.4rem 0 0}
.guide-content #covered-models{padding:1rem 0;border:0}
#covered-models ul{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:.7rem 0}
#covered-models li{font-size:.85rem;padding:.35rem .65rem;background:#f0f5f0;border-radius:8px}
.guide-card{box-shadow:none;border:1px solid #dce5dd;border-radius:16px;overflow:hidden}
.guide-card h3 a{color:inherit;text-decoration:none}
.guide-card h3 a:hover{text-decoration:underline;text-underline-offset:.2em}
.guide-card .guide-media{height:160px;aspect-ratio:auto;margin:0 0 1rem;padding:0;overflow:hidden;background:#eff3ed}
.guide-card .guide-media img{display:block;width:100%;height:100%;object-fit:cover}
.guide-card .status-badge{display:none}
.guide-card h3{font-size:1.13rem;line-height:1.35}
.guide-card p{font-size:.9rem;line-height:1.65}
.guide-card .card-link{font-size:.86rem;padding-block:.65rem}
.help-index-section .guide-grid,.catalog-advice-index .guide-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.help-filter-panel{box-shadow:none;border-radius:18px}
.help-filter-panel__status{max-width:14rem}
.accessory-advice__header{max-width:none!important;border-bottom:1px solid #dce6df}
.accessory-advice__layout{grid-template-columns:minmax(0,790px) minmax(220px,270px)!important;gap:2.5rem!important;margin-top:2rem}
.accessory-advice__content{max-width:none!important}
.accessory-advice__offers{box-shadow:none;background:#f3f7f3!important}
.accessory-advice__pieces{padding:1.3rem;background:#eff6f1;border:1px solid #cbded3;border-radius:16px}
.accessory-advice__pieces .guide-part-results{grid-template-columns:repeat(2,minmax(0,1fr))}
.accessory-advice__piece{background:#fff;border:1px solid #dce6df;border-radius:12px;padding:1rem;min-width:0}
.accessory-advice__piece h3{font-size:1.05rem;line-height:1.4}
.accessory-advice__piece .button{min-height:44px;width:100%;white-space:normal;text-align:center}
.part-linked-guides ul{padding-left:1.2rem}.part-linked-guides li{margin:.7rem 0;line-height:1.6}
@media(max-width:900px){.guide-detail-section .guide-layout,.accessory-advice__layout{grid-template-columns:minmax(0,1fr)!important;gap:1.5rem!important}.guide-aside{position:static;grid-row:1}.guide-aside .toc ul{display:flex;flex-wrap:wrap;gap:.4rem 1rem;margin-bottom:0}.guide-aside .toc li{margin:0}.guide-aside .toc a{display:block;padding:.4rem 0}.guide-aside .toc strong{display:none}.guide-page-header .page-header-grid{grid-template-columns:minmax(0,1fr) 200px;gap:1.5rem}.guide-page-header .entity-header-media{height:170px}.accessory-advice__offers{order:initial!important}.help-index-section .guide-grid,.catalog-advice-index .guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.guide-page-header{padding-block:1.6rem}.guide-page-header .page-header-grid{display:block}.guide-page-header .entity-header-media{display:none}.guide-page-header h1{font-size:2rem}.guide-commerce-jump>div{flex-direction:row}.guide-commerce-jump .button{font-size:.84rem;padding:.8rem 1rem;min-height:46px}.guide-aside .toc{padding:.75rem 1rem}.guide-detail-section{padding-top:1rem}.guide-content>.guide-shopping{padding:1rem}.guide-shopping .guide-part-results,.accessory-advice__pieces .guide-part-results{grid-template-columns:1fr}.guide-decision__grid{grid-template-columns:1fr;grid-template-areas:'repair' 'professional'}.help-index-section .guide-grid,.catalog-advice-index .guide-grid{grid-template-columns:1fr}.guide-card .guide-media{height:180px}}

/* A warmer editorial rhythm, with useful interaction and visible category photos. */
.guide-page-header{background:linear-gradient(115deg,#edf4ed 0%,#f9f5ec 70%,#faeee2 100%);border-bottom:1px solid #e2e7dc}
.guide-page-header .page-header-grid{grid-template-columns:minmax(0,1fr) minmax(260px,350px);gap:3rem}
.guide-page-header .entity-header-media{height:270px;border-radius:22px 22px 64px 22px;transform:none;box-shadow:0 12px 35px #2947340b}
.guide-page-header .lead{color:#455e50}
.guide-content .guide-overview__first{font-weight:650;color:#224d3d}
.guide-content #diagnosis .diagnostic-options{gap:.75rem}
.guide-content #diagnosis .diagnostic-option{border:1px solid #e3e5d7;border-left:3px solid #ddaa5d;border-radius:10px;background:#faf7ef;padding:1rem 1.2rem}
.guide-content .guide-step{padding:1.25rem 1.25rem 1rem 4.25rem;background:#fff;border-radius:16px;transition:border-color .15s,background-color .15s}
.guide-content .guide-step::before{border:0;background:#e8f2ea;color:#1b5b44;font-weight:800}
.guide-content .guide-step:has(input:checked){background:#f0f7f0;border-color:#95bba2}
.guide-step__done{display:inline-flex;align-items:center;gap:.55rem;min-height:44px;margin-top:.65rem;font-size:.82rem;font-weight:650;color:#37624c;cursor:pointer}
.guide-step__done input{appearance:auto;width:18px;height:18px;min-width:18px;margin:0;accent-color:#247558;cursor:pointer}
.guide-step__done input:focus-visible{outline:3px solid #cf9445;outline-offset:3px}
.guide-content #steps,.guide-content #guide-parts,.guide-content #diagnosis,.guide-content #sources{scroll-margin-top:6rem}
.guide-shopping>h2{max-width:30ch}
.guide-content .source-box{background:#eaf4e9;border:1px solid #c9dfca;border-radius:14px;padding:1.3rem}
.guide-content #sources{font-size:.88rem;color:#526252}
.guide-content #sources li{font-size:.88rem;line-height:1.65;margin:.6rem 0}
.guide-commerce-jump .button{width:auto;flex:0 1 auto;min-height:48px;padding:.85rem 1.15rem}
.accessory-advice__hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,350px);gap:3rem;align-items:center}
.accessory-advice__hero-copy{min-width:0}
.accessory-advice__header h1{font-size:clamp(2rem,3.6vw,3rem);line-height:1.12;max-width:25ch}
.accessory-advice__answer{font-size:1.05rem;line-height:1.8;max-width:65ch}
.accessory-advice__photo{margin:0;min-width:0}
.accessory-advice__photo img{display:block;width:100%;height:270px;object-fit:cover;border-radius:22px 22px 64px 22px}
.accessory-advice__photo figcaption{font-size:.72rem;color:#647565;margin-top:.6rem}
.accessory-advice__header .button{width:auto;min-height:48px;white-space:normal;max-width:100%}
.accessory-advice__content>section[id^="repere-"]{counter-increment:advice-section;border-top:1px solid #dce6df;padding-top:1.5rem}
.accessory-advice__content>section[id^="repere-"] h2::before{content:counter(advice-section,decimal-leading-zero);display:block;font-size:.75rem;letter-spacing:.08em;color:#278166;margin-bottom:.65rem}
.accessory-advice__content>section[id^="repere-"] p{line-height:1.8;max-width:72ch}
.accessory-advice__table tbody tr:nth-child(even){background:#f6f7f1}
.guide-card{transition:border-color .15s,box-shadow .15s}
.guide-card:focus-within,.guide-card:hover{border-color:#95b7a0;box-shadow:0 8px 25px #2448320b}
@media(max-width:900px){.guide-page-header .page-header-grid,.accessory-advice__hero{grid-template-columns:minmax(0,1fr) 230px;gap:1.5rem}.guide-page-header .entity-header-media,.accessory-advice__photo img{height:230px}}
@media(max-width:600px){.guide-page-header .page-header-grid{display:flex;flex-direction:column;align-items:stretch;gap:1.3rem}.guide-page-header .page-header-grid>div{order:0}.guide-page-header .entity-header-media{display:block;order:1;width:100%;height:175px;border-radius:14px 14px 38px 14px;margin:0}.guide-commerce-jump>div{flex-wrap:wrap}.guide-commerce-jump .button{flex:0 1 auto}.guide-content .guide-step{padding-left:3.7rem}.accessory-advice__hero{display:flex;flex-direction:column;align-items:stretch;gap:1.2rem}.accessory-advice__photo img{height:180px;border-radius:14px 14px 38px 14px}.accessory-advice__header{padding-bottom:1.5rem}.accessory-advice__header h1{font-size:2rem}.guide-content .notice{padding:1rem}.guide-content .notice ul{padding-left:1.1rem}}
@media(prefers-reduced-motion:reduce){.guide-card,.guide-content .guide-step{transition:none}}
