/* Original header scroll classes remain authoritative. A separate glass layer lets
   the dropdown blur the page too, without an ancestor backdrop-filter boundary. */
.asaya-header:has(.asaya-more) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.asaya-header:has(.asaya-more)::before { content: ''; position: absolute; z-index: -1; inset: 0; background: #00000029; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); pointer-events: none; }
.asaya-header__navigation:has(.asaya-more) { display: flex; align-items: center; }
.asaya-more { position: relative; color: inherit; }
.asaya-more--desktop { margin-left: -16px; }
.asaya-more-toggle { display: grid; place-items: center; position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.asaya-more--desktop .asaya-more-toggle { justify-items: start; padding-left: 11.5px; }
.asaya-more--desktop .asaya-more-toggle::before { content: ''; position: absolute; top: 14.5px; bottom: 14.5px; left: 8px; right: 21px; border: 1px solid currentColor; border-radius: 50%; opacity: .65; transition: opacity .2s,background-color .2s; }
.asaya-more--desktop .asaya-more-toggle:hover::before,.asaya-more--desktop .asaya-more-toggle[aria-expanded=true]::before { opacity: 1; background: rgb(255 255 255 / .1); }
.asaya-more--desktop .asaya-more-toggle svg { width: 8px; height: 8px; transition: transform .25s ease; }
.asaya-more-toggle svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.asaya-more--desktop .asaya-more-toggle[aria-expanded=true] svg { transform: rotate(180deg); }
.asaya-more-toggle:focus-visible,.asaya-more-panel a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.asaya-more-panel { position: absolute; top: calc(100% + 10px); right: 21px; width: max-content; min-width: 0; padding: 8px 20px; background: #00000029; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: inherit; border: 1px solid rgb(255 255 255 / .18); box-shadow: 0 6px 18px rgb(0 0 0 / .06); animation: asaya-more-in .2s ease both; transition: color .3s linear,border-color .3s linear; }
.asaya-more-panel[hidden] { display: none; }
.asaya-more-panel .asaya-more-links { display: block; list-style: none; margin: 0; padding: 0; }
.asaya-more-panel .asaya-more-links li { display: block; padding: 0; margin: 0; height: auto; }
.asaya-more-panel .asaya-more-links a { position: relative; display: block; padding: 10px 0; color: inherit; font: 400 14px/1.5 'Lato',sans-serif; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.asaya-header--stuck .asaya-more-panel { border-color: rgb(140 61 53 / .15); }
.asaya-header:has(.asaya-more-toggle[aria-expanded=true]),.asaya-header:has(:focus-visible) { transform: translateY(0); }
@keyframes asaya-more-in { from { opacity: 0; translate: 0 -5px; } to { opacity: 1; translate: 0 0; } }
@media(max-width:767px) {
 .asaya-header__navigation:has(.asaya-more) { display: none; }
 .asaya-footer__mobile-nav:has(.asaya-more) { display: flex; align-items: center; overflow: visible; }
 .asaya-footer__mobile-nav:has(.asaya-more) > div:first-child { flex: 4 1 0; min-width: 0; }
 .asaya-footer__mobile-nav:has(.asaya-more) ul.menu { gap: 0; justify-content: space-around; }
 .asaya-footer__mobile-nav:has(.asaya-more) ul.menu li { flex: 1 1 0; justify-content: center; }
 .asaya-more--mobile { flex: 1 1 0; min-width: 0; }
 .asaya-more--mobile .asaya-more-toggle { width: 100%; height: var(--footer-height); min-height: 54px; gap: 8px; align-content: center; padding: 8px 0; color: var(--asaya-black); font: inherit; }
 .asaya-more--mobile .asaya-more-toggle svg { width: 16px; height: 16px; }
 .asaya-more--mobile .asaya-more-toggle path { transition: transform .2s,opacity .2s; }
 .asaya-more--mobile [aria-expanded=true] .line-top { transform: translateY(5px) rotate(45deg); transform-origin: 12px 7px; }
 .asaya-more--mobile [aria-expanded=true] .line-middle { opacity: 0; }
 .asaya-more--mobile [aria-expanded=true] .line-bottom { transform: translateY(-5px) rotate(-45deg); transform-origin: 12px 17px; }
 .asaya-more--mobile .asaya-more-panel { top: auto; bottom: calc(100% + 12px); right: 16px; min-width: 144px; max-width: calc(100vw - 32px); padding: 8px 16px; background: #fff9f2; color: var(--asaya-primary); border-color: var(--asaya-accent); }
 .asaya-more--mobile .asaya-more-panel a { min-height: 44px; }
}
@media(prefers-reduced-motion:reduce) { .asaya-more-panel,.asaya-more-toggle svg,.asaya-more-toggle svg path { animation: none; transition: none; } }
body.admin-bar .asaya-header:has(.asaya-more) { top: 32px; }
@media(max-width:782px) { body.admin-bar .asaya-header:has(.asaya-more) { top: 46px; } }
@media(max-width:767px) {
 .asaya-footer__mobile-nav:has(.asaya-more) ul.menu li a { width: 100%; min-height: 54px; }
}

.asaya-more-panel .asaya-more-links a > svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; }
.asaya-more-panel .asaya-more-links a > svg path { transform: none; }
@media(min-width:768px) and (max-width:1199px) {
 .asaya-header__navigation:has(.asaya-more) .menu > li { padding-inline: 12px; }
 .asaya-header__navigation:has(.asaya-more) .menu > li > svg { left: 12px; width: calc(100% - 24px); }
 .asaya-more--desktop { margin-left: -12px; }
}

/* Buyouts is a first-level item: keep six clear targets on phones and room for
   the logo and Book link on smaller desktop/tablet headers. */
@media (min-width:768px) and (max-width:1199px) {
 .asaya-header:has(.menu > .buyouts) { display:grid; grid-template-columns:auto minmax(0,1fr) auto; column-gap:12px; }
 .asaya-header__navigation:has(.menu > .buyouts) { justify-self:center; }
 .asaya-header__navigation:has(.menu > .buyouts) .menu > li { padding-inline:8px; }
 .asaya-header__navigation:has(.menu > .buyouts) .menu > li > a { font-size:clamp(12px,1.22vw,15px); letter-spacing:.075em; white-space:nowrap; }
 .asaya-header__navigation:has(.menu > .buyouts) .menu > li > svg { left:8px; width:calc(100% - 16px); }
 .asaya-header__navigation:has(.menu > .buyouts) .asaya-more--desktop { margin-left:-8px; }
}
@media (max-width:767px) {
 .asaya-footer__mobile-nav:has(.menu > .buyouts) { display:flex; align-items:stretch; padding-bottom:env(safe-area-inset-bottom,0px); }
 .asaya-footer__mobile-nav:has(.menu > .buyouts) > div:first-child { flex:6 1 0; min-width:0; }
 .asaya-footer__mobile-nav:has(.menu > .buyouts) ul.menu { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:0; width:100%; }
 .asaya-footer__mobile-nav:has(.menu > .buyouts) ul.menu li { min-width:0; justify-content:center; }
 .asaya-footer__mobile-nav:has(.menu > .buyouts) ul.menu li a,
 .asaya-footer__mobile-nav:has(.menu > .buyouts) .asaya-more-toggle { width:100%; min-height:54px; padding:8px 0; font:400 clamp(12px,3.2vw,14px)/1.2 var(--font-lato,'Lato',sans-serif); white-space:nowrap; }
 .asaya-footer__mobile-nav:has(.menu > .buyouts) ul.menu li.current-menu-item a { color:var(--asaya-primary); }
 .asaya-footer__mobile-nav:has(.menu > .buyouts) ul.menu li a:focus-visible { outline:2px solid var(--asaya-primary); outline-offset:-4px; border-radius:6px; }
 .asaya-footer__mobile-nav .buyouts > a::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c3d35' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V6l8-3 8 3v15M2 21h20M9 21v-5h6v5M8 8h1m6 0h1M8 12h1m6 0h1'/%3E%3C/svg%3E"); }
}
