/* Original Figma Menu: 588px desktop / 440px mobile, 64px padding. */
body.twc-navigation-open{overflow:hidden}
/* Match the centered 1504px header: align Close with its 32px-inset hamburger. */
dialog.twc-navigation{position:fixed;inset:0 max(0px,calc((100% - 1504px)/2 - 32px)) auto auto;margin:0;width:588px;max-width:100%;height:auto;max-height:100dvh;box-sizing:border-box;padding:64px;border:0;border-radius:0;background:#160c04;color:#e3d7ce;overflow-y:auto;overscroll-behavior:contain;font:400 16px/max(19px,var(--twc-mobile-leading-min,0px)) Urbanist,Arial,sans-serif;text-align:left;box-shadow:none}
.twc-navigation::backdrop{background:rgba(22,12,4,.4)}
.twc-navigation .twc-navigation-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}
.twc-navigation .twc-navigation-heading h2{margin:0;color:#e3d7ce;font:400 40px/48px 'DM Serif Display',Georgia,serif}
.twc-navigation .twc-navigation-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:6px;border:0;border-radius:0;background:transparent;color:#e3d7ce}
.twc-navigation .twc-navigation-close:hover{background:transparent;color:white}
.twc-navigation .twc-navigation-section h3{margin:0 0 16px;color:#e3d7ce;font:600 16px/19px Urbanist,Arial,sans-serif;letter-spacing:1.6px;text-transform:uppercase}
.twc-navigation .twc-navigation-list{display:flex;flex-direction:column;gap:16px}
.twc-navigation ul.twc-navigation-list{margin:0;padding:0;list-style:none}
.twc-navigation .twc-navigation-list li{margin:0;padding:0;list-style:none}
.twc-navigation .sub-menu{display:flex;flex-direction:column;gap:16px;margin:16px 0 0 16px;padding:0;list-style:none}
.twc-navigation .twc-navigation-link{display:flex;align-items:center;gap:8px;min-width:0;padding:0;border:0;background:transparent;color:#b8afa8;font:400 16px/max(19px,var(--twc-mobile-leading-min,0px)) Urbanist,Arial,sans-serif;text-decoration:none;overflow-wrap:anywhere}
.twc-navigation .twc-navigation-link:hover{color:#e3d7ce;text-decoration:underline}
.twc-navigation .twc-navigation-link svg{flex-shrink:0;width:16px;height:16px;max-width:none}
.twc-navigation .twc-navigation-categories{margin-top:16px;padding-top:16px;border-top:1px solid #4e4136}
.twc-navigation .twc-navigation-unavailable{flex-wrap:wrap;cursor:default;color:#9b9189}
.twc-navigation .twc-navigation-unavailable:hover{text-decoration:none;color:#9b9189}
.twc-navigation .twc-navigation-red svg,.twc-navigation .twc-navigation-port svg{color:#a9163f}
.twc-navigation .twc-navigation-white svg,.twc-navigation .twc-navigation-sparkling svg,.twc-navigation .twc-navigation-spirits svg{color:#dace7a}
.twc-navigation .twc-navigation-rose svg{color:#ef809c}
.twc-navigation a:focus-visible,.twc-navigation button:focus-visible{outline:2px solid #e3d7ce;outline-offset:5px}
@media(max-width:760px){
  dialog.twc-navigation{width:440px;inset:0 0 auto auto;padding:64px}
  .twc-navigation .twc-navigation-heading h2{font-size:36px;line-height:43px}
  .twc-navigation .twc-navigation-close svg{width:24px;height:24px}
}
@media(max-width:389px){dialog.twc-navigation{padding:40px 32px}}
/* The optional SEO toolbar item otherwise wraps the staff avatar over the hamburger. */
@media(max-width:389px){body.admin-bar #wpadminbar #wp-admin-bar-wpseo-menu{display:none}}
@media(pointer:coarse){.twc-navigation .twc-navigation-link{min-height:28px}.twc-navigation .twc-navigation-list{gap:16px}}

/* Age confirmation reuses the local brand artwork, fonts and shared buttons. */
body.twc-age-consent-open { overflow:hidden; }
.twc-age-consent:not([open]) { display:none; }
dialog.twc-age-consent { position:fixed; inset:0; margin:auto; width:528px; max-width:calc(100% - 32px); max-height:calc(100dvh - 32px); padding:40px; box-sizing:border-box; overflow:auto; overscroll-behavior:contain; border:1px solid #63584e; border-radius:16px; background:#160c04; color:#e3d7ce; text-align:center; font:400 14px/1.5 Urbanist,Arial,sans-serif; box-shadow:0 24px 80px #0004; }
.twc-age-consent::backdrop { background:rgb(22 12 4 / 65%); }
.twc-age-logo { display:block; width:263px; height:auto; max-width:100%; margin:0 auto 24px; }
.twc-age-consent h2 { margin:0 0 16px; color:inherit; font:400 32px/1.35 Prata,Georgia,serif; }
.twc-age-consent h2:focus { outline:none; }
.twc-age-consent p { margin:0 0 24px; color:inherit; }
.twc-age-consent .twc-age-denied { margin:0; color:#f2b9b9; }
.twc-age-consent :is(.twc-age-actions,.twc-age-denied)[hidden] { display:none; }
.twc-age-actions { display:flex; gap:16px; }
.twc-age-actions>.button { flex:1; min-width:0; min-height:49px; padding:12px 16px; font:600 14px/20px Urbanist,Arial,sans-serif; }
.twc-age-privacy { display:inline-block; margin-top:24px; color:inherit; text-decoration:underline; text-underline-offset:3px; }
.twc-age-consent :is(a,button):focus-visible { outline:2px solid #e3d7ce; outline-offset:4px; }
@media(max-width:760px) {
  dialog.twc-age-consent { padding:32px 24px; border-radius:8px; }
  .twc-age-consent h2 { font-size:28px; }
  .twc-age-actions { flex-direction:column; gap:12px; }
  .twc-age-actions>.button { flex:auto; min-height:44px; }
}

/* Native page-link feedback, using existing navigation assets and brand colors. */
.twc-page-transition { position:fixed; inset:0 0 auto; height:3px; z-index:100001; pointer-events:none; }
.twc-page-transition-line { position:absolute; inset:0 0 auto; height:3px; background:#ab876c; transform-origin:left; animation:twc-page-progress 8s cubic-bezier(.12,.7,.12,1) both; }
@keyframes twc-page-progress { from { transform:scaleX(.08); } to { transform:scaleX(.92); } }
/* Fade only the content, keeping the header and fixed controls in position. */
.twc-page-leaving main { opacity:.96; transition:opacity 120ms ease-out; }
.twc-page-arriving main { animation:twc-page-reveal 180ms ease-out both; }
@keyframes twc-page-reveal { from { opacity:.96; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce) {
  .twc-page-transition-line { animation:none; transform:scaleX(.75); }
  .twc-page-leaving main,.twc-page-arriving main { opacity:1; transition:none; animation:none; }
}
