/* Language editions (job 78): small top-right language dropdown, English-program note, legal translation note */
.ds-lang{position:relative;margin-left:auto;order:5;font:600 15px/1 var(--f-head,Montserrat,sans-serif);z-index:60}
.ds-hdr--full .ds-lang,.ds-hdr--doc .ds-lang{margin-left:12px}
.ds-lang summary{list-style:none;display:flex;align-items:center;gap:6px;cursor:pointer;padding:9px 12px;border-radius:999px;border:1px solid rgba(0,0,0,.14);color:inherit;background:#fff;min-height:40px}
.ds-hdr--doc .ds-lang summary{background:transparent;border-color:rgba(255,255,255,.5);color:#fff}
.ds-lang summary::-webkit-details-marker{display:none}
.ds-lang summary:hover,.ds-lang[open] summary{border-color:currentColor}
.ds-lang ul{position:absolute;right:0;top:calc(100% + 6px);margin:0;padding:6px;list-style:none;background:#fff;border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.16);min-width:170px}
.ds-lang li a{display:block;padding:10px 14px;border-radius:8px;color:#1f1f1f;text-decoration:none;font-size:16px;font-weight:500}
.ds-lang li a:hover{background:#f6efe6}
.ds-lang li a.is-on{font-weight:700;color:#c1272d}
.ds-langnote{background:#fff7e0;border-bottom:1px solid #f0dca0;text-align:center;padding:10px 16px}
.ds-langnote p{margin:0;font:600 16px/1.4 var(--f-head,Montserrat,sans-serif);color:#5a4500}
.ds-trnote{background:#f3f3f3;border-radius:10px;padding:12px 16px;font-size:16px!important;color:#555}
@media(max-width:700px){.ds-lang summary{padding:8px 10px}.ds-lang summary span{display:none}.ds-lang summary{gap:0}}
@media(max-width:820px){.ds-hdr__toggle{order:6}.ds-hdr--full .ds-lang,.ds-hdr--doc .ds-lang{margin-left:auto}.ds-hdr--full .ds-hdr__toggle{margin-left:4px}}
/* homepage phone header with the language menu: logo | Buy | globe | Menu; below 480px the header Buy button gives way (the page has its own Buy buttons) */
@media(max-width:820px){.hp .ds-hdr__in:has(.ds-lang) .ds-lang{order:3;margin-left:0}.hp .ds-hdr__in:has(.ds-lang) .ds-hdr__toggle{order:4;margin-left:0}}
@media(max-width:480px){.hp .ds-hdr__in:has(.ds-lang) .ds-hdr__cta{display:none}.hp .ds-hdr__in:has(.ds-lang) .ds-lang{margin-left:auto}}
/* Layout review 18 Nov: longer words in the language editions (English untouched) */
@media(max-width:600px){html:not([lang="en"]) .fam-order .order-progress,html:not([lang="en"]) .fam-order .order-progress>div:last-child{white-space:normal;text-align:center;font-size:13px;line-height:1.15}
html:not([lang="en"]) .fam-order .order-progress{flex:1 1 0;min-width:0}}
html:not([lang="en"]) .hp-risks__list li,html:not([lang="en"]) .hp-checks li{min-width:0}
html:not([lang="en"]) .hp-risks__list span,html:not([lang="en"]) .hp-checks span{min-width:0;overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto}
@media(max-width:480px){html:not([lang="en"]) .hp-risks__list{grid-template-columns:1fr}}
html:not([lang="en"]) .hp-reasons__grid li,html:not([lang="en"]) .hp-reasons__grid span{min-width:0;overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto}

/* After-purchase offer step bar: the labels come from CSS (r4-offer.css), so each language sets its own (2026-11-18). */
html[lang="es"] .oto-steps li:nth-child(1) span::before{content:"Pago"}
html[lang="es"] .oto-steps li:nth-child(2) span::before{content:"Personalice su pedido"}
html[lang="es"] .oto-steps li:nth-child(3) span::before{content:"Acceso inmediato"}
html[lang="fr"] .oto-steps li:nth-child(1) span::before{content:"Paiement"}
html[lang="fr"] .oto-steps li:nth-child(2) span::before{content:"Personnalisez votre commande"}
html[lang="fr"] .oto-steps li:nth-child(3) span::before{content:"Accès immédiat"}
html[lang="de"] .oto-steps li:nth-child(1) span::before{content:"Zahlung"}
html[lang="de"] .oto-steps li:nth-child(2) span::before{content:"Bestellung zusammenstellen"}
html[lang="de"] .oto-steps li:nth-child(3) span::before{content:"Sofortiger Zugang"}
html[lang="it"] .oto-steps li:nth-child(1) span::before{content:"Pagamento"}
html[lang="it"] .oto-steps li:nth-child(2) span::before{content:"Personalizza il tuo ordine"}
html[lang="it"] .oto-steps li:nth-child(3) span::before{content:"Accesso immediato"}
html[lang="pt-BR"] .oto-steps li:nth-child(1) span::before{content:"Pagamento"}
html[lang="pt-BR"] .oto-steps li:nth-child(2) span::before{content:"Personalize o seu pedido"}
html[lang="pt-BR"] .oto-steps li:nth-child(3) span::before{content:"Acesso imediato"}
html[lang="nl"] .oto-steps li:nth-child(1) span::before{content:"Betalen"}
html[lang="nl"] .oto-steps li:nth-child(2) span::before{content:"Bestelling samenstellen"}
html[lang="nl"] .oto-steps li:nth-child(3) span::before{content:"Direct toegang"}
