/* Compatibility and accessibility fixes; page-specific visual styles stay intact. */
html { scroll-padding-top: 150px; }
body { overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
video { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible { outline: 3px solid #315c91; outline-offset: 5px; }
section[id], [id="camera"], [id="milk"] { scroll-margin-top: 150px; }
.wo-product-card { display: block; color: inherit; text-decoration: none; }
.wo-coming-soon { cursor: default; }
.card > .wo-coming-soon { display: inline-block; margin: 0 24px 20px; font-size: .8rem; color: #555; }
.b2c-btn.wo-coming-soon { opacity: .8; }
.wo-menu-toggle { display: none; border: 1px solid currentColor; color: inherit; background: transparent; border-radius: 5px; padding: 9px 12px; font: inherit; cursor: pointer; }
.lang-switch { display: flex; align-items: center; justify-content: center; gap: 2px; flex-shrink: 0; }
.lang-switch button { font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 600; color: #666; border: 0; background: transparent; padding: 8px 7px; border-radius: 3px; cursor: pointer; line-height: 1.2; min-height: 32px; }
.lang-switch button.active { color: #1a1a1a; background: #f0f0ee; }
.lang-sep { color: #999; }
.wo-skip { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 12px; color: #111; background: white; border: 2px solid #111; transform: translateY(-200%); }
.wo-skip:focus { transform: translateY(0); }
.nav-in { gap: 18px; }
.seg { flex-wrap: wrap; }
.seg button { white-space: normal; }
[role="button"] { cursor: pointer; }
.footer-nav, .footer .fnav { flex-wrap: wrap; }
@media (max-width: 1100px) {
  #navbar, .nav-in { position: relative; display: flex; flex-wrap: wrap; height: auto; min-height: 72px; padding-top: 12px; padding-bottom: 10px; gap: 10px; }
  #navbar > .nav-brand, .nav-in > .brand { order: 0; max-width: calc(100% - 90px); }
  .wo-menu-toggle { display: inline-block; order: 1; margin-left: auto; min-height: 44px; }
  #navbar > .lang-switch, .nav-in > .lang-switch { order: 2; flex-basis: 100%; margin-left: 0; }
  #wo-navigation { display: none; }
  .wo-nav-open #wo-navigation { display: flex; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 24px; margin: 0; flex-direction: column; align-items: stretch; gap: 12px; background: white; color: #1a1a1a; border-bottom: 1px solid #ddd; box-shadow: 0 12px 16px rgba(0,0,0,.06); z-index: 250; max-height: 65vh; overflow: auto; list-style: none; }
  .wo-nav-open #wo-navigation a { display: block; padding: 10px; min-height: 44px; }
  .wo-nav-open #wo-navigation .hide-sm { display: block; }
}
@media (max-width: 600px) {
  .nav-in { padding-inline: 0; }
  #navbar { padding-inline: 20px; }
  .lang-switch button { min-height: 40px; padding-inline: 10px; }
  .footer-nav { gap: 12px 18px; }
  .card h3, h1, h2 { overflow-wrap: anywhere; }
  table { width: 100%; table-layout: fixed; }
  th, td { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
