/* V39: public navigation typographic continuity. Does not style private accounts, payment or site body. */
.v39-public-nav.header,
.v39-public-nav.header .header-inner,
.v39-public-nav.header nav,
.v39-public-nav.header nav a,
.v39-public-nav.header nav summary,
.v39-public-nav.header .brand,
.v39-public-nav.header .brand-name,
.v39-public-nav.header .brand-sub,
.v39-public-nav.header .sm-language-switch,
.v39-public-nav.header .smv159-account,
.v39-public-nav.header .menu-btn,
.v39-public-nav.header .button--wine{
  font-family:'DM Sans',system-ui,-apple-system,sans-serif;
}
.v39-public-nav.header .smv159-menu-groups{grid-template-columns:repeat(3,minmax(0,1fr));max-width:min(750px,calc(100vw - 28px));width:min(750px,calc(100vw - 28px));right:0!important;left:auto!important}
.v39-public-nav.header .smv159-menu-groups a{font-family:'DM Sans',system-ui,sans-serif;font-weight:620;line-height:1.35}
.v39-public-nav.header .smv159-menu-caption{font-family:'DM Sans',system-ui,sans-serif;font-size:.64rem;line-height:1.45;letter-spacing:.12em}
.v39-public-nav.header .smv159-menu-group a[href$='/area/']{font-weight:850!important;color:#974a3c}
.v39-public-nav.header .smv159-menu-group a[href$='/contacto/'],
.v39-public-nav.header .smv159-menu-group a[href$='/contato/'],
.v39-public-nav.header .smv159-menu-group a[href$='/contact/']{border-top:1px solid #dcd0c6;padding-top:13px!important;margin-top:4px}
.v39-public-nav.header .smv159-menu-group a:focus-visible,
.v39-public-nav.header .sm-language-switch a:focus-visible{outline:2px solid #a5543e;outline-offset:3px}
/* The standalone Free Map / Explore pages previously used system-ui and Georgia.
   Keep their editorial proportions, but align the type families with the approved site. */
.v39-legacy-fonts{font-family:'DM Sans',system-ui,-apple-system,sans-serif}
.v39-legacy-fonts .hero h1,.v39-legacy-fonts .section h2,
.v39-legacy-fonts .panel h3,.v39-legacy-fonts .feature h3,
.v39-legacy-fonts .cta h2,.v39-legacy-fonts .hero-aside strong,
.v39-legacy-fonts .smg-hero h1,.v39-legacy-fonts .smg-section h2,
.v39-legacy-fonts .smg-section h3{font-family:'Instrument Serif',Georgia,serif}
.v39-legacy-fonts .header .brand-name,.v39-legacy-fonts .header .brand-sub{font-family:'DM Sans',system-ui,sans-serif}
@media(max-width:1260px){
 .v39-public-nav.header .smv159-menu-groups{width:100%;max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr));box-shadow:none}
}
@media(max-width:820px){
 .v39-public-nav.header .smv159-menu-groups{grid-template-columns:1fr;gap:13px}
 .v39-public-nav.header .smv159-menu-group a{padding:10px 2px!important;min-height:42px!important}
}
@media(max-width:600px){
 .v39-public-nav.header .header-inner{gap:3px!important}
 .v39-public-nav.header .brand{gap:5px!important;min-width:0!important;flex:0 1 auto!important}
 .v39-public-nav.header .brand-words{min-width:0!important;max-width:115px!important}
 .v39-public-nav.header .brand-name{font-size:.69rem!important;letter-spacing:.035em!important;white-space:nowrap}
 .v39-public-nav.header .brand-sub{display:none!important}
 .v39-public-nav.header .sm-language-switch{gap:1px!important;min-width:0!important;margin-left:auto!important}
 .v39-public-nav.header .sm-language-switch a{font-size:.64rem!important;padding:4px 2px!important;min-width:23px!important}
 .v39-public-nav.header .smv159-account{min-width:39px!important;max-width:44px!important;padding:7px!important;gap:2px!important}
 .v39-public-nav.header .smv159-account span{display:none!important}
 .v39-public-nav.header .smv159-account:after{display:none!important}
 .v39-public-nav.header .menu-btn{min-width:40px!important;padding:6px 2px!important;font-size:.62rem!important;gap:2px!important}
 .v39-public-nav.header .menu-btn svg{width:15px!important;min-width:15px!important}
}
@media(max-width:365px){
 .v39-public-nav.header .brand-words{display:none!important}
 .v39-public-nav.header .brand{width:32px!important;min-width:32px!important;flex:0 0 32px!important}
 .v39-public-nav.header .brand-symbol{width:32px!important;min-width:32px!important;font-size:32px!important}
 .v39-public-nav.header .sm-language-switch a{font-size:.62rem!important;min-width:22px!important}
}
@media(prefers-reduced-motion:reduce){.v39-public-nav.header *{scroll-behavior:auto}}
/* A native <details> must anchor its disclosure as an overlay on wide screens.
   Otherwise its 3-column content expands the entire header horizontally. */
@media(min-width:1261px){
 .v39-public-nav.header .smv159-explore>.smv159-menu-groups,
 .v39-public-nav.header .smv159-explore>.nav-more-links{position:absolute!important;top:calc(100% + 12px)!important;right:0!important;left:auto!important;z-index:900}
}
@media(max-width:1260px){
 .v39-public-nav.header .smv159-explore>.smv159-menu-groups,
 .v39-public-nav.header .smv159-explore>.nav-more-links{position:static!important;top:auto!important;right:auto!important;left:auto!important}
}
