/* V10: camada de acabamento - desktop preservado, mobile prioritario. */
:root,html[data-theme="light"]{--v10-surface:#fff;--v10-muted:#546677;--v10-line:#cfdbe4;--v10-subtle:#f1f5f8;--v10-ink:#243544}
html[data-theme="dark"]{--v10-surface:#243440;--v10-muted:#c4d2df;--v10-line:#526777;--v10-subtle:#1c2b36;--v10-ink:#eff5f8}
/* camera igual a Foto Rapida de Produtos - estilos originais em v7.css */
.v10-quick-camera{position:fixed!important;inset:0!important;z-index:4000!important;display:flex!important;justify-content:center!important;align-items:center!important;padding:16px!important;margin:0!important;box-sizing:border-box!important;background:rgba(7,15,23,.81)!important;backdrop-filter:blur(5px)!important;border:0!important}
.v10-quick-camera.hidden{display:none!important}
.v10-quick-camera .v10-camera-dialog{width:min(95vw,540px);max-height:calc(100dvh - 34px);overflow:auto;background:var(--ar-surface);color:var(--ar-ink);border:1px solid var(--ar-border);border-radius:19px;padding:19px;box-shadow:0 15px 65px #0008}
.v10-quick-camera .ar-home-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}
.v10-quick-camera .ar-home-modal-head h2{font-size:19px;color:var(--ar-ink);margin:4px 0 3px}
.v10-quick-camera .ar-home-modal-head p{font-size:12px;color:var(--ar-ink-soft);margin:0}
.v10-quick-camera .ar-home-close{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:11px;background:var(--ar-surface-2);color:var(--ar-ink);border:1px solid var(--ar-border);font-size:25px;line-height:1}
.v10-quick-camera video{display:block;width:100%;height:auto;max-height:52dvh;min-height:190px;object-fit:contain;background:#081017;border-radius:13px}
.v10-quick-camera .ar-home-feedback{font-size:12px;color:var(--ar-ink-soft);margin:12px 0 0;line-height:1.45}
.v10-quick-camera .ar-home-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
.v10-quick-camera .ar-home-modal-actions .btn{min-height:44px;min-width:0}
/* pesquisa harmonizada */
.v10-shop-search{display:flex;align-items:center;gap:9px;margin:4px 0 14px}
.v10-search-field{display:flex;align-items:center;min-width:0;flex:1;gap:9px;padding:0 12px;border-radius:12px;background:var(--v10-surface);border:1px solid var(--v10-line);color:var(--v10-ink)}
.v10-search-field:focus-within{border-color:var(--ar-orange);box-shadow:0 0 0 2px color-mix(in srgb,var(--ar-orange) 18%,transparent)}
.v10-search-glyph{font-size:22px;color:var(--ar-orange)}
.v10-search-field input{min-width:0;flex:1;width:100%;height:44px;padding:0;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;color:var(--v10-ink)!important;font-size:14px}
.v10-search-field input::placeholder{color:var(--v10-muted)!important;opacity:1}
.v10-search-clear{min-width:64px;height:44px;padding:0 13px;font-weight:750;font-size:12px;border:1px solid var(--v10-line);border-radius:12px;background:var(--v10-subtle);color:var(--v10-ink)}
/* carrinho com loja e retorno */
.v10-cart-store{padding:12px 20px 5px;display:flex;gap:5px;flex-direction:column}
.v10-cart-store span{font-size:11px;color:var(--v10-muted);font-weight:750;text-transform:uppercase;letter-spacing:.06em}
.v10-cart-store b{font-size:14px;color:var(--v10-ink)}
.v10-cart-actions{display:flex;flex-direction:column;gap:8px}
.v10-cart-actions .btn{min-height:42px}
.v10-cart-actions-secondary{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:9px}
.v10-cart-actions-secondary .btn{min-width:0}
/* ajustes especificos do modo noturno */
html[data-theme="dark"] .v10-search-clear,html[data-theme="dark"] .v10-search-field{background:#263844;color:#eff6fa;border-color:#576c7d}
html[data-theme="dark"] .v8-cart-dialog,html[data-theme="dark"] .v6-store-dialog{background:#253541!important;color:#f3f7fa!important}
html[data-theme="dark"] .v8-cart-dialog-head p,html[data-theme="dark"] .v8-cart-item-info small{color:#c5d3de!important}
html[data-theme="light"] .v8-cart-dialog,html[data-theme="light"] .v6-store-dialog{background:#fff!important;color:#263949!important}
html[data-theme="light"] .v8-cart-dialog-head p,html[data-theme="light"] .v8-cart-item-info small{color:#566b7a!important}
@media(max-width:700px){
 /* reduzido e sem destaque permanente: apenas aba ativa */
 .v10-mobile-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:center!important;gap:2px!important;padding:5px 7px calc(5px + env(safe-area-inset-bottom))!important;min-height:56px!important;box-shadow:0 -2px 12px #00000014!important}
 .v10-mobile-nav>a,.v10-mobile-nav>.v9-more-menu{min-height:49px!important;max-height:58px!important;border-radius:10px!important;margin:0!important;border:0!important;box-shadow:none!important;transform:none!important;background:transparent!important;min-width:0!important}
 .v10-mobile-nav>a,.v10-mobile-nav .v9-more-menu>summary{display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;padding:5px 2px!important;flex-direction:column!important;min-height:49px!important;border-radius:10px!important}
 .v10-mobile-nav .v9-nav-buy{background:transparent!important;border:0!important;color:var(--v8-nav-text)!important;box-shadow:none!important}
 .v10-mobile-nav .v9-nav-buy .nav-icon,.v10-mobile-nav .v9-nav-buy small{color:var(--v8-nav-text)!important}
 .v10-mobile-nav>a .nav-icon,.v10-mobile-nav summary .nav-icon{width:23px!important;height:23px!important;display:grid!important;place-items:center!important;line-height:1!important}
 .v10-mobile-nav>a small,.v10-mobile-nav summary small{font-size:10.5px!important;line-height:1.2!important;font-weight:750!important}
 .v10-mobile-nav>a.active{background:color-mix(in srgb,var(--ar-orange) 13%,var(--v8-nav))!important;border:1px solid color-mix(in srgb,var(--ar-orange) 30%,var(--v8-nav-border))!important;box-shadow:none!important;transform:none!important}
 .v10-mobile-nav>a.active .nav-icon,.v10-mobile-nav>a.active small,.v10-mobile-nav>a.active span{color:var(--ar-orange)!important;background:transparent!important}
 html[data-theme="dark"] .v10-mobile-nav>a.active{background:#463325!important;border-color:#956040!important}
 html[data-theme="dark"] .v10-mobile-nav>a.active .nav-icon,html[data-theme="dark"] .v10-mobile-nav>a.active small{color:#ffbc83!important}
 html[data-theme="light"] .v10-mobile-nav>a:not(.active) .nav-icon,html[data-theme="light"] .v10-mobile-nav>a:not(.active) small{color:#526776!important}
 html[data-theme="dark"] .v10-mobile-nav>a:not(.active) .nav-icon,html[data-theme="dark"] .v10-mobile-nav>a:not(.active) small{color:#cbd9e3!important}
 .v10-mobile-nav .v9-more-menu[open]>summary{background:var(--v10-subtle)!important}
 /* barra unica do carrinho quando ha compra em andamento */
 body.v10-has-cart .v8-cart-strip{display:none!important}
 .v9-global-cart{margin:6px 10px 7px!important}
 .v9-global-cart-inner{padding:8px 12px!important;border-radius:12px!important;box-shadow:0 4px 12px #0001!important}
 .v9-global-cart-copy .eyebrow{font-size:9px!important;letter-spacing:.1em}
 .v9-global-cart-copy b{font-size:12px!important}
 .v9-global-cart-copy small{font-size:11px!important}
 .v10-quick-camera{align-items:flex-end!important;padding:0!important}
 .v10-quick-camera .v10-camera-dialog{width:100vw!important;max-width:none!important;max-height:91dvh!important;padding:18px 15px calc(18px + env(safe-area-inset-bottom))!important;border-radius:21px 21px 0 0!important}
 .v10-quick-camera video{max-height:58dvh}
 .v10-cart-store{padding:10px 15px 5px}
 .v10-search-field input{font-size:14px!important}
 .v8-cart-dialog{max-height:91dvh}
 .v8-cart-dialog-head h2{font-size:21px!important}
 .v8-cart-dialog-head p{font-size:11px!important;line-height:1.4}
 .v10-shop-search{margin:7px 0 13px}
 .purchase-status-summary{margin-top:5px!important}
 .purchase-list-heading{margin-bottom:10px!important}
}
@media(min-width:701px){.v10-shop-search{max-width:680px}}
/* Prioridade final aos estados do menu, sobre estilos legados da V8/V9. */
@media(max-width:700px){
 html[data-theme] .mobile-nav.v10-mobile-nav>a.active,html[data-theme] .mobile-nav.v10-mobile-nav>a.active:hover{background:color-mix(in srgb,var(--ar-orange) 13%,var(--v8-nav))!important;color:var(--ar-orange)!important;border:1px solid color-mix(in srgb,var(--ar-orange) 30%,var(--v8-nav-border))!important;box-shadow:none!important;transform:none!important}
 html[data-theme] .mobile-nav.v10-mobile-nav>a.active .nav-icon,html[data-theme] .mobile-nav.v10-mobile-nav>a.active small,html[data-theme] .mobile-nav.v10-mobile-nav>a.active span{color:var(--ar-orange)!important;background:transparent!important}
 html[data-theme='dark'] .mobile-nav.v10-mobile-nav>a.active{background:#463325!important;border-color:#956040!important;color:#ffbc83!important}
 html[data-theme='dark'] .mobile-nav.v10-mobile-nav>a.active .nav-icon,html[data-theme='dark'] .mobile-nav.v10-mobile-nav>a.active small,html[data-theme='dark'] .mobile-nav.v10-mobile-nav>a.active span{color:#ffbc83!important}
 html[data-theme] .mobile-nav.v10-mobile-nav>a.v9-nav-buy:not(.active){background:transparent!important;border:0!important;color:var(--v8-nav-text)!important;box-shadow:none!important;transform:none!important}
 html[data-theme] .mobile-nav.v10-mobile-nav>a.v9-nav-buy:not(.active) .nav-icon,html[data-theme] .mobile-nav.v10-mobile-nav>a.v9-nav-buy:not(.active) small{color:var(--v8-nav-text)!important}
}

/* V10.1 – contraste dos ícones no menu inferior, sem mudar o layout. */
@media (max-width:700px) {
  html[data-theme="light"] .mobile-nav.v10-mobile-nav > a:not(.active) .nav-icon,
  html[data-theme="light"] .mobile-nav.v10-mobile-nav .v9-more-menu > summary .nav-icon,
  html[data-theme="light"] .mobile-nav.v10-mobile-nav > a:not(.active) small,
  html[data-theme="light"] .mobile-nav.v10-mobile-nav .v9-more-menu > summary small {
    color:#344c5f!important;
  }
  html[data-theme="light"] .mobile-nav.v10-mobile-nav > a.active .nav-icon,
  html[data-theme="light"] .mobile-nav.v10-mobile-nav > a.active small {
    color:#a64e17!important;
  }
  html[data-theme="light"] .mobile-nav.v10-mobile-nav .nav-icon svg,
  html[data-theme="light"] .mobile-nav.v10-mobile-nav .nav-icon svg * {
    stroke:currentColor!important;
    fill:none!important;
  }
  html[data-theme="dark"] .mobile-nav.v10-mobile-nav .nav-icon svg,
  html[data-theme="dark"] .mobile-nav.v10-mobile-nav .nav-icon svg * {
    stroke:currentColor!important;
    fill:none!important;
  }
  html[data-theme="dark"] .mobile-nav.v10-mobile-nav > a:not(.active) .nav-icon,
  html[data-theme="dark"] .mobile-nav.v10-mobile-nav .v9-more-menu > summary .nav-icon {
    color:#d0dce7!important;
  }
}

/* V10.2: sem fundos de selecao; icones e textos legiveis em ambos os temas.
   Nao altera tamanho, posicao, espacamento ou funcionamento do menu. */
@media(max-width:700px){
 html[data-theme] body .mobile-nav.v10-mobile-nav > a,
 html[data-theme] body .mobile-nav.v10-mobile-nav > a.active,
 html[data-theme] body .mobile-nav.v10-mobile-nav > a:hover,
 html[data-theme] body .mobile-nav.v10-mobile-nav > a:active,
 html[data-theme] body .mobile-nav.v10-mobile-nav > a:focus,
 html[data-theme] body .mobile-nav.v10-mobile-nav > a:focus-visible,
 html[data-theme] body .mobile-nav.v10-mobile-nav .v9-more-menu > summary,
 html[data-theme] body .mobile-nav.v10-mobile-nav .v9-more-menu[open] > summary {
   background:transparent!important;
   background-image:none!important;
   border-color:transparent!important;
   border-width:0!important;
   box-shadow:none!important;
   outline:0!important;
   transform:none!important;
   -webkit-tap-highlight-color:transparent!important;
 }
 html[data-theme] body .mobile-nav.v10-mobile-nav a::before,
 html[data-theme] body .mobile-nav.v10-mobile-nav a::after,
 html[data-theme] body .mobile-nav.v10-mobile-nav .v9-more-menu > summary::before,
 html[data-theme] body .mobile-nav.v10-mobile-nav .v9-more-menu > summary::after{
   background:transparent!important;
   box-shadow:none!important;
 }
 /* Cor diretamente no SVG: nao depende de heranca dos estilos legados. */
 html[data-theme='light'] body .mobile-nav.v10-mobile-nav > a:not(.active),
 html[data-theme='light'] body .mobile-nav.v10-mobile-nav > a:not(.active) .nav-icon,
 html[data-theme='light'] body .mobile-nav.v10-mobile-nav > a:not(.active) small,
 html[data-theme='light'] body .mobile-nav.v10-mobile-nav .v9-more-menu > summary,
 html[data-theme='light'] body .mobile-nav.v10-mobile-nav .v9-more-menu > summary .nav-icon,
 html[data-theme='light'] body .mobile-nav.v10-mobile-nav .v9-more-menu > summary small{
   color:#344759!important;
 }
 html[data-theme='dark'] body .mobile-nav.v10-mobile-nav > a:not(.active),
 html[data-theme='dark'] body .mobile-nav.v10-mobile-nav > a:not(.active) .nav-icon,
 html[data-theme='dark'] body .mobile-nav.v10-mobile-nav > a:not(.active) small,
 html[data-theme='dark'] body .mobile-nav.v10-mobile-nav .v9-more-menu > summary,
 html[data-theme='dark'] body .mobile-nav.v10-mobile-nav .v9-more-menu > summary .nav-icon,
 html[data-theme='dark'] body .mobile-nav.v10-mobile-nav .v9-more-menu > summary small{
   color:#d9e4ee!important;
 }
 html[data-theme='light'] body .mobile-nav.v10-mobile-nav > a.active,
 html[data-theme='light'] body .mobile-nav.v10-mobile-nav > a.active .nav-icon,
 html[data-theme='light'] body .mobile-nav.v10-mobile-nav > a.active small{
   color:#a34d16!important;
 }
 html[data-theme='dark'] body .mobile-nav.v10-mobile-nav > a.active,
 html[data-theme='dark'] body .mobile-nav.v10-mobile-nav > a.active .nav-icon,
 html[data-theme='dark'] body .mobile-nav.v10-mobile-nav > a.active small{
   color:#ffb477!important;
 }
 html[data-theme] body .mobile-nav.v10-mobile-nav .nav-icon svg,
 html[data-theme] body .mobile-nav.v10-mobile-nav .nav-icon svg rect,
 html[data-theme] body .mobile-nav.v10-mobile-nav .nav-icon svg circle,
 html[data-theme] body .mobile-nav.v10-mobile-nav .nav-icon svg path,
 html[data-theme] body .mobile-nav.v10-mobile-nav .nav-icon svg line{
   fill:none!important;
   stroke:currentColor!important;
   stroke-width:1.8px!important;
 }
 html[data-theme] body .mobile-nav.v10-mobile-nav > a.active .nav-icon svg,
 html[data-theme] body .mobile-nav.v10-mobile-nav > a.active .nav-icon svg *,
 html[data-theme] body .mobile-nav.v10-mobile-nav > a:not(.active) .nav-icon svg,
 html[data-theme] body .mobile-nav.v10-mobile-nav > a:not(.active) .nav-icon svg *,
 html[data-theme] body .mobile-nav.v10-mobile-nav .v9-more-menu .nav-icon svg,
 html[data-theme] body .mobile-nav.v10-mobile-nav .v9-more-menu .nav-icon svg *{
   color:inherit!important;
   fill:none!important;
   stroke:currentColor!important;
 }
}
