.header .navrow{flex-wrap:wrap}
.pw-language-switch{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 44px;width:44px;height:44px;margin-left:auto;color:var(--ink,#233e2b);border:0;border-radius:0;background:transparent;font-size:13px}
.pw-language-switch-current{font-size:18px;line-height:1}
.pw-language-switch-chevron{font-size:12px;line-height:1}
.pw-language-switch select{position:absolute;inset:0;width:100%;height:100%;min-height:44px;margin:0;opacity:0;cursor:pointer;font:inherit}
.pw-language-switch:focus-within{outline:3px solid #6b804f;outline-offset:3px}
@media(max-width:700px){.pw-language-switch{width:44px;flex:0 0 44px;order:2;margin:0 0 0 auto}.header .navrow>.brand{order:1}.header .navrow>.pw-global-nav,.header .navrow>.navlinks{order:3}}

.pw-global-nav{flex-wrap:wrap;min-width:0}.pw-global-nav a{white-space:normal}.pw-language-scope{font-size:14px;color:#526749;padding-top:12px}.pw-global-footer{display:flex;flex-wrap:wrap;gap:12px;padding-block:16px}.pw-locale-hero{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;padding-block:36px}.pw-locale-hero h1{font-size:clamp(32px,4vw,58px);line-height:1.1}.pw-locale-hero img{width:100%;height:auto;border-radius:12px}.pw-locale-hero figure{margin:0}.pw-locale-hero figcaption{font-size:13px}.pw-global-page .card img{max-width:100%;height:auto}.pw-global-page main>section{padding-block:24px}@media(max-width:700px){.pw-locale-hero{grid-template-columns:1fr;gap:16px}.pw-global-nav{width:100%;gap:12px}.header .brand{max-width:100%}.header .brand img{max-width:100%;height:auto}}

/* Locale chrome wraps onto additional rows; keep those rows in header flow. */
html[lang="fr"] .header .navrow,
html[lang="en"] .header .navrow{
  height:auto;
  min-height:98px;
  padding-top:12px;
  padding-bottom:16px;
  row-gap:16px;
}

/* DE card-media layout wins over the earlier generic locale img fallback. */
.pw-global-page .card-media>img{width:100%;height:100%;object-fit:cover}

/* Preserve the DE search panel spacing against older pilot rules. */
.pilot-search.flora-finder{padding:28px;margin:30px 0}
.pilot-search.flora-finder .flora-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media(max-width:900px){.pilot-search.flora-finder .flora-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.pilot-search.flora-finder{padding:20px}.pilot-search.flora-finder .flora-filters{grid-template-columns:1fr}}

/* Locale wordmark must not inherit the DE <=340px flower-logo width. */
@media(max-width:700px){
  html[lang|="fr"] .header .navrow>.brand,
  html[lang|="en"] .header .navrow>.brand{width:205px;max-width:calc(100% - 56px);flex:0 0 auto}
}

/* Exact existing DE directory subgroup tiles; FR/EN omit plant-finder.css. */
:is(html[lang|="fr"],html[lang|="en"]) .plant-directory .directory-subgroups{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 28px}
:is(html[lang|="fr"],html[lang|="en"]) .plant-directory .directory-subgroups a{border:1px solid var(--line,#dce2d8);border-radius:10px;padding:12px 16px;background:var(--cream,#f7f8f2);display:flex;flex-direction:column;gap:4px;font-size:15px}
:is(html[lang|="fr"],html[lang|="en"]) .plant-directory .directory-subgroups span{font-size:12px;color:var(--muted,#596650)}
:is(html[lang|="fr"],html[lang|="en"]) .plant-directory .directory-subgroups a:hover{border-color:var(--green);background:#edf3e3}
@media(max-width:560px){:is(html[lang|="fr"],html[lang|="en"]) .plant-directory .directory-subgroups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}:is(html[lang|="fr"],html[lang|="en"]) .plant-directory .directory-subgroups a{font-size:14px;padding:10px}:is(html[lang|="fr"],html[lang|="en"]) .plant-directory .directory-subgroups strong{overflow-wrap:anywhere}}

/* One shared floating book control on every page; hidden stays hidden. */
.book-floating[hidden]{display:none!important}

/* Long translated information links wrap within the shared mobile column. */
:is(html[lang|="fr"],html[lang|="en"]) .pw-general-information-page .textlink{white-space:normal;max-width:100%;overflow-wrap:anywhere}

/* Header shop navigation uses the same plain link treatment in all languages. */
.header .shoplink{border:0;border-radius:0;background:transparent;box-shadow:none}
