/* Shared navigation; homepage sections retain their own presentation. */
.cosmos-site { --cosmos-gutter:clamp(20px,5vw,80px); --cosmos-header-h:76px; }
.cosmos-site:not(.home) > .cosmos-home { padding-top:var(--cosmos-header-h); }
.cosmos-header { --cosmos-header-gold:#c9a05c; position:fixed; top:var(--wp-admin--admin-bar--height,0px); left:0; right:0; height:var(--cosmos-header-h); z-index:999; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:24px; padding:0 var(--cosmos-gutter); box-sizing:border-box; color:#f3e8d8; background:#231610; border-bottom:1px solid rgba(201,164,106,.2); transition:height 250ms,background 250ms; }
.home .cosmos-header:not(.is-scrolled) { background:transparent; border-bottom-color:transparent; }
.cosmos-header.is-scrolled { height:64px; background:rgba(35,22,16,.92); backdrop-filter:blur(8px); }
.cosmos-header a { color:inherit; text-decoration:none; }
.cosmos-header__brand { --cosmos-logo-h:48px; grid-column:1; grid-row:1; justify-self:start; font-family:'Cormorant Garamond',serif; font-size:34px; letter-spacing:.12em; }
.cosmos-header__brand a { display:flex; align-items:center; }
.cosmos-header__brand img { display:block; height:var(--cosmos-logo-h); width:auto; max-width:200px; object-fit:contain; transition:height 250ms; }
/* Compensate the 128px transparent left inset in the current 2172 × 724 logo. */
.cosmos-header__brand--trimmed img { margin-left:calc(var(--cosmos-logo-h) * -0.17679558); }
.cosmos-header.is-scrolled .cosmos-header__brand { --cosmos-logo-h:40px; }
.cosmos-header__panel { display:contents; }
.cosmos-header__panel nav { grid-column:2; grid-row:1; justify-self:center; margin:0; }
.cosmos-header__menu { display:flex; align-items:center; gap:clamp(16px,2vw,32px); list-style:none; padding:0; margin:0; font-size:clamp(.9375rem,.5vw + .8rem,1.0625rem); }
.cosmos-header__menu a { display:block; padding:10px 0; text-shadow:0 1px 8px #140b07; }
.cosmos-header__menu a[aria-current="page"],.cosmos-header__menu a[aria-current="true"] { text-decoration:underline; text-decoration-color:var(--cosmos-header-gold); text-underline-offset:7px; text-decoration-thickness:1px; }
.cosmos-header a.cosmos-header__order { grid-column:3; grid-row:1; justify-self:end; color:#e3c98a; border:1px solid var(--cosmos-header-gold); border-radius:999px; padding:10px 24px; font-size:14px; text-align:center; transition:background 250ms,color 250ms; }
.cosmos-header a.cosmos-header__order:hover { background:var(--cosmos-header-gold); color:#17100b; }
.cosmos-header__burger,.cosmos-header__close { display:none; background:transparent; color:#f3e8d8; border:0; padding:10px; width:44px; height:44px; cursor:pointer; }
.cosmos-header__whatsapp { display:none; }
.cosmos-header a:focus-visible,.cosmos-header button:focus-visible { outline:2px solid var(--cosmos-header-gold); outline-offset:4px; }
.cosmos-site.cosmos-menu-open { overflow:hidden; }
@media(max-width:899px) {
 .cosmos-site { --cosmos-header-h:60px; }
 .cosmos-header,.cosmos-header.is-scrolled { height:60px; grid-template-columns:1fr auto; }
 .cosmos-header.is-open { backdrop-filter:none; }
 .cosmos-header__brand { font-size:30px; }
 .cosmos-header .cosmos-header__brand,.cosmos-header.is-scrolled .cosmos-header__brand { --cosmos-logo-h:36px; }
 .cosmos-header.is-ready .cosmos-header__burger { display:block; grid-column:2; grid-row:1; justify-self:end; }
 .cosmos-header__panel { display:flex; position:fixed; inset:0; top:var(--wp-admin--admin-bar--height,0px); background:#231610; padding:76px 24px max(28px,env(safe-area-inset-bottom)); flex-direction:column; justify-content:center; gap:24px; overflow-y:auto; box-sizing:border-box; }
 .cosmos-header.is-ready .cosmos-header__panel { visibility:hidden; opacity:0; transform:translateY(12px); transition:opacity 250ms,transform 250ms,visibility 250ms; }
 .cosmos-header.is-open .cosmos-header__panel { visibility:visible; opacity:1; transform:none; transition:opacity 250ms,transform 250ms; }
 .cosmos-header__panel nav { margin:auto 0; }
 .cosmos-header__menu { flex-direction:column; gap:20px; font-family:'Cormorant Garamond',serif; font-size:28px; text-align:center; }
 .cosmos-header__menu a { padding:0; }
 .cosmos-header.is-ready .cosmos-header__close { display:block; position:absolute; top:8px; right:var(--cosmos-gutter); }
 .cosmos-header a.cosmos-header__order { box-sizing:border-box; width:100%; max-width:320px; background:var(--cosmos-header-gold); color:#17100b; }
 .cosmos-header__whatsapp { display:block; font-size:14px; }
 .cosmos-header:not(.is-ready) { position:relative; height:auto; }
 .cosmos-header:not(.is-ready) .cosmos-header__panel { position:static; }
}
@media(prefers-reduced-motion:reduce) { .cosmos-header,.cosmos-header .cosmos-header__panel,.cosmos-header a.cosmos-header__order,.cosmos-header .cosmos-header__brand img { transition:none; } }


