/* Mobile navigation owns its layout; the desktop navigation keeps its existing shell. */
.store-mobile-navigation { display: none; }
.store-mobile-navigation[hidden] { display: none !important; }

@media (max-width: 980px) {
  html.store-nav-open, body.store-nav-open { overflow: hidden; overscroll-behavior: none; }
  body.store-nav-open>#floating-whatsapp, body.store-nav-open>#compare-dock, body.store-nav-open>.back-to-top { visibility: hidden; pointer-events: none; }
  body.store-nav-ready .site-header .header-nav .nav-links,
  body.store-nav-ready .site-header .header-nav .nav-links.active { display: none !important; }

  .store-mobile-navigation { position: fixed; inset: 0; z-index: 1280; display: block; min-width: 0; color: #e8eff9; text-align: start; isolation: isolate; }
  .store-mobile-navigation *, .store-mobile-navigation *::before, .store-mobile-navigation *::after { box-sizing: border-box; }
  .store-nav-backdrop { appearance: none; position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: #030b16a6; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); cursor: pointer; }
  .store-nav-panel { position: absolute; top: 12px; bottom: 12px; inset-inline-start: 12px; display: flex; flex-direction: column; width: min(460px, calc(100% - 24px)); min-width: 0; min-height: 0; max-height: calc(100dvh - 24px); margin: 0; padding: 0; overflow: hidden; border: 1px solid #ffffff21; border-radius: 17px; background: #0f1d30; box-shadow: 0 24px 70px #0006; }
  .store-nav-head { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; min-width: 0; gap: 20px; margin: 0; padding: 24px 22px 22px; border-bottom: 1px solid #ffffff15; background: #142337; }
  .store-nav-brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
  .store-nav-brand>img { position: static; display: block; flex: 0 0 42px; width: 42px; height: 42px; min-width: 42px; margin: 0; padding: 0; object-fit: contain; object-position: center; border: 0; border-radius: 0; background: transparent; filter: none; }
  .store-nav-brand>div { min-width: 0; }
  .store-nav-kicker { display: block; margin: 0 0 3px; color: #c5a97e; font-size: 10px; font-weight: 500; line-height: 1.8; }
  .store-nav-head h2 { margin: 0; padding: 0; color: #eff4fb; font-size: 21px; font-weight: 800; line-height: 1.7; letter-spacing: 0; overflow-wrap: anywhere; }
  .store-nav-close { appearance: none; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; margin: 0; padding: 10px; border: 1px solid #ffffff27; border-radius: 9px; background: #ffffff04; color: #b8c9df; cursor: pointer; box-shadow: none; }
  .store-nav-close:hover { background: #ffffff0a; color: #edcb99; border-color: #d3ad7655; }
  .store-nav-close svg { display: block; width: 20px; height: 20px; flex: 0 0 auto; }

  .store-nav-scroll { display: block; flex: 1 1 auto; min-width: 0; min-height: 0; padding: 14px 22px 20px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #40536b #0f1d30; }
  .store-nav-primary { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; }
  .store-nav-link { appearance: none; display: flex; align-items: center; justify-content: flex-start; gap: 13px; width: 100%; min-width: 0; min-height: 72px; margin: 0; padding: 14px 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #d9e5f5; font: inherit; line-height: 1.8; text-align: start; text-decoration: none; cursor: pointer; list-style: none; }
  .store-nav-link:hover { background: #172a40; border-color: #ffffff16; color: #efd0a0; }
  .store-nav-link[aria-current="page"], .store-nav-link.is-active { background: #eab7650b; border-color: #eab76538; color: #efc58c; }
  .store-nav-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; margin: 0; padding: 7px; border: 1px solid #ffffff12; border-radius: 9px; background: #182a40; color: #a6bed8; }
  .store-nav-icon>svg { display: block; width: 24px; height: 24px; flex: 0 0 auto; }
  .store-nav-link[aria-current="page"] .store-nav-icon, .store-nav-link.is-active .store-nav-icon { border-color: #eab76525; background: #eab7650b; color: #e3b981; }
  .store-nav-copy { display: grid; flex: 1 1 auto; gap: 3px; min-width: 0; }
  .store-nav-copy>strong { display: block; color: inherit; font-size: 13px; font-weight: 700; line-height: 1.8; overflow-wrap: anywhere; }
  .store-nav-copy>small { display: block; color: #8ea6c1; font-size: 10px; font-weight: 400; line-height: 1.8; overflow-wrap: anywhere; }
  .store-nav-arrow { display: block; flex: 0 0 18px; width: 18px; height: 18px; color: #849db9; }

  .store-nav-brands { display: block; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; box-shadow: none; }
  .store-nav-brands>summary { list-style: none; }
  .store-nav-brands>summary::-webkit-details-marker { display: none; }
  .store-nav-brands>summary::marker { content: ''; }
  .store-nav-brands[open]>summary { background: #172a40; border-color: #ffffff17; color: #ecc58e; }
  .store-nav-caret { position: relative; display: block; flex: 0 0 22px; width: 22px; height: 22px; color: #91a9c4; }
  .store-nav-caret::before { content: ''; position: absolute; top: 6px; left: 7px; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
  .store-nav-brands[open]>summary .store-nav-caret::before { top: 10px; transform: rotate(225deg); }
  .store-nav-brand-content { min-width: 0; padding: 14px 2px 16px; margin: 0; overflow: visible; }
  .store-nav-brands-hint { margin: 0 6px 13px; padding: 0; color: #91a9c4; font-size: 10px; font-weight: 400; line-height: 1.9; }
  .store-nav-brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-height: none; min-width: 0; margin: 0; padding: 0; overflow: visible; }
  .store-nav-brand-card { display: flex; flex-direction: column; align-items: stretch; gap: 9px; min-width: 0; margin: 0; padding: 6px 6px 10px; border: 1px solid #ffffff18; border-radius: 9px; background: #14253a; color: #cbd8e9; text-align: center; text-decoration: none; box-shadow: none; }
  .store-nav-brand-card:hover { border-color: #d8b27c66; background: #192d44; color: #edc994; }
  .store-nav-brand-logo { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; height: 58px; margin: 0; padding: 9px 8px; border: 1px solid #e4e7eb; border-radius: 5px; background: #f8f8f5; }
  .store-mobile-navigation .store-nav-brand-logo>.brand-mini-logo,
  .store-mobile-navigation .store-nav-brand-logo>.brand-mini-logo.is-menu { position: static; display: flex; align-items: center; justify-content: center; flex: 0 1 auto; width: 100%; min-width: 0; max-width: 86px; height: 100%; min-height: 0; max-height: 40px; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .store-mobile-navigation .store-nav-brand-logo .brand-mini-logo>img { position: static; display: block; inset: auto; width: 100%; height: 100%; min-width: 0; max-width: 100%; max-height: 100%; margin: 0; padding: 0; object-fit: contain; object-position: center; border: 0; border-radius: 0; background: transparent; filter: none; opacity: 1; mix-blend-mode: normal; transform: none !important; }
  .store-nav-brand-name { display: block; min-width: 0; margin: 0; padding: 0 2px; color: inherit; font-size: 10px; font-weight: 600; line-height: 1.8; overflow-wrap: anywhere; }
  .store-nav-brand-empty { margin: 0; padding: 16px 6px; color: #9eb3ca; font-size: 11px; line-height: 1.9; }
  .store-nav-brand-empty[hidden] { display: none; }
  .store-nav-brands-all { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; margin: 14px 2px 0; padding: 10px 6px 0; border-top: 1px solid #ffffff14; color: #d9b783; font-size: 10px; font-weight: 600; line-height: 1.8; text-decoration: none; }
  .store-nav-brands-all:hover { color: #efc994; }

  .store-nav-footer { display: block; flex: 0 0 auto; min-width: 0; margin: 0; padding: 19px 22px 18px; border-top: 1px solid #ffffff17; background: #142337; }
  .store-nav-footer-label { margin: 0 0 11px; padding: 0; color: #90a8c3; font-size: 10px; font-weight: 500; line-height: 1.8; }
  .store-nav-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
  .store-nav-action { appearance: none; display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 0; min-height: 48px; width: 100%; margin: 0; padding: 11px 10px; border: 1px solid #ffffff22; border-radius: 9px; background: #0e1e32; color: #c8d7e9; font: inherit; font-size: 11px; font-weight: 600; line-height: 1.8; cursor: pointer; box-shadow: none; }
  .store-nav-action:hover { background: #1b3048; border-color: #d6b17b55; color: #edc894; }
  .store-nav-action>svg { display: block; flex: 0 0 18px; width: 18px; height: 18px; }
  .store-nav-action>span:not(.badge) { min-width: 0; overflow-wrap: anywhere; }
  .store-nav-action>.badge { position: static; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 19px; height: 19px; margin: 0; padding: 0 5px; border: 0; border-radius: 20px; background: #eab765; color: #172337; font-size: 10px; font-weight: 800; line-height: 1; box-shadow: none; }
  .store-nav-help { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: 44px; margin: 10px 0 0; padding: 9px 6px; color: #d9b783; font-size: 11px; font-weight: 600; line-height: 1.8; text-align: center; text-decoration: none; }
  .store-nav-help:hover { color: #f0cd99; }
  .store-nav-help>svg { display: block; flex: 0 0 17px; width: 17px; height: 17px; }
  .store-mobile-navigation a:focus-visible, .store-mobile-navigation button:focus-visible, .store-mobile-navigation summary:focus-visible { outline: 2px solid #e8bd7e; outline-offset: 3px; }
  .store-nav-panel:focus-visible { outline: 2px solid #e8bd7e; outline-offset: -3px; }
  html[dir="ltr"] .store-nav-arrow { transform: scaleX(-1); }
}

@media (max-width: 600px) {
  .store-nav-panel { top: 0; bottom: 0; inset-inline-start: 0; width: min(100%, 420px); max-height: 100dvh; border-top: 0; border-bottom: 0; border-radius: 0; }
  .store-nav-head { padding-top: max(22px, env(safe-area-inset-top, 0px)); }
  .store-nav-scroll { padding-top: 12px; }
  .store-nav-footer { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 380px) {
  .store-nav-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-nav-link { gap: 11px; padding-inline: 10px; }
  .store-nav-copy>strong { font-size: 12px; }
  .store-nav-action { gap: 7px; padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .store-mobile-navigation *, .store-mobile-navigation *::before, .store-mobile-navigation *::after { transition: none !important; animation: none !important; }
}
