/* Heritawi navigation: a calm header, clear routes, one landscape per panel. */
.skip-navigation { position: fixed; inset-block-start: 8px; inset-inline-start: 16px; z-index: 100; padding: 12px 18px; background: #fff; color: #102b20; transform: translateY(-160%); }
.skip-navigation:focus { transform: translateY(0); }
.safari-header { --navigation-height: 132px; background: linear-gradient(180deg, rgba(8, 29, 20, .88), rgba(8, 29, 20, .50)); }
.safari-header.is-scrolled, .safari-header.nav-open, .safari-header:has(details[open]) { background: #102b20; }
.safari-header .wrap { width: min(1320px, calc(100% - 64px)); }
.safari-header .topline-inner { min-height: 34px; }
.safari-header .topline-links { gap: 24px; }
.navigation-location { color: rgba(255,255,255,.76); font-size: 12px; }
.safari-header .social-inline a { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; }
.safari-header .main-nav { min-height: 98px; gap: 40px; }
.safari-header .brand { flex: 0 0 110px; min-width: 0; }
.safari-header .brand-logo--white, .safari-header .brand-logo--white:hover { width: 110px; height: 94px; object-fit: contain; transform: none; }
.primary-navigation { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; }
.navigation-links, .navigation-actions { display: flex; align-items: center; gap: 8px; }
.navigation-disclosure { min-width: 0; }
.navigation-trigger, .navigation-direct { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 12px; border: 0; border-radius: 4px; color: #fff; font-size: 14px; line-height: 1.35; font-weight: 600; white-space: nowrap; cursor: pointer; list-style: none; }
.navigation-trigger::-webkit-details-marker { display: none; }
.navigation-trigger::marker { content: ''; }
.navigation-trigger:hover, details[open] > .navigation-trigger { background: rgba(255,255,255,.09); color: #fff; }
.navigation-trigger > .icon:last-child { width: 14px; height: 14px; transition: transform .18s ease; }
details[open] > .navigation-trigger > .icon:last-child { transform: rotate(180deg); }
.navigation-direct { color: #f0cb88; }
.navigation-direct:hover { background: rgba(240,203,136,.10); color: #fff; }
.navigation-panel { color: #17221c; background: #fff; border: 1px solid #dbe2db; border-radius: 8px; box-shadow: 0 24px 56px rgba(5,27,17,.22); }
.navigation-panel--mega { display: grid; grid-template-columns: minmax(0,1fr) 32%; position: absolute; inset-block-start: calc(100% + 8px); inset-inline: 0; width: min(1180px, calc(100% - 64px)); margin-inline: auto; max-height: calc(100dvh - var(--navigation-height) - 32px); overflow-y: auto; overscroll-behavior: contain; }
.navigation-panel-content { min-width: 0; padding: 28px 32px 20px; }
.navigation-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-block-end: 24px; }
.navigation-panel-heading h2 { margin: 0; max-width: 21ch; font: 600 25px/1.25 "Playfair Display", Georgia, serif; }
.navigation-panel-heading > a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; color: #315c44; font-size: 13px; font-weight: 700; white-space: nowrap; }
.navigation-panel-heading > a:hover { color: #ad562f; }
.navigation-columns, .navigation-destination-links { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 28px; }
.navigation-link-group { min-width: 0; }
.navigation-link-group h3 { margin: 0 0 10px; color: #66736a; font-size: 12px; line-height: 1.5; font-weight: 600; }
.navigation-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; padding: 10px 8px; margin-inline: -8px; border-radius: 4px; color: #17221c; font-size: 14px; font-weight: 500; line-height: 1.45; }
.navigation-link .icon { flex: 0 0 15px; width: 15px; height: 15px; color: #708675; }
.navigation-link:hover { background: #f0f5ef; color: #102b20; }
.navigation-link small { display: block; margin-block-start: 4px; color: #66736a; font-size: 12px; line-height: 1.5; font-weight: 400; }
.navigation-link--featured { color: #315c44; font-weight: 700; }
.navigation-panel-footer { display: flex; align-items: center; gap: 10px; padding-block-start: 18px; margin-block-start: 20px; border-block-start: 1px solid #e3e9e2; color: #66736a; font-size: 12px; line-height: 1.6; }
.navigation-panel-footer > .icon { flex: 0 0 17px; color: #315c44; }
.navigation-panel-footer a { color: #315c44; text-decoration: underline; text-underline-offset: 3px; }
.navigation-text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-block-start: 8px; color: #315c44; font-size: 13px; font-weight: 600; }
.navigation-feature { position: relative; display: flex; align-items: end; min-height: 390px; isolation: isolate; overflow: hidden; background: #1f4a38; border-start-end-radius: 7px; border-end-end-radius: 7px; color: #fff; }
.navigation-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.navigation-feature::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(3,20,12,.55) 55%, rgba(3,20,12,.94)); }
.navigation-feature-copy { display: block; padding: 30px; }
.navigation-feature-copy > span:first-child { display: block; margin-block-end: 12px; font-size: 13px; color: #f1dfbd; }
.navigation-feature-copy strong { display: block; font: 600 32px/1.15 "Playfair Display", Georgia, serif; text-wrap: balance; }
.navigation-feature-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 22px; padding-block-start: 16px; border-block-start: 1px solid rgba(255,255,255,.45); font-size: 13px; font-weight: 600; }
.navigation-feature:hover, .navigation-feature:focus-visible { color: #fff; }
.navigation-feature:hover .navigation-feature-link { color: #f0cb88; }
.navigation-contact > a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #315c44; font-size: 13px; overflow-wrap: anywhere; }
.navigation-contact > a .icon { flex: 0 0 16px; }
.navigation-contact p { color: #66736a; font-size: 13px; line-height: 1.7; }
.navigation-actions { flex-shrink: 0; gap: 10px; }
.navigation-cart { display: flex; align-items: center; justify-content: center; position: relative; width: 44px; height: 46px; color: #fff; }
.navigation-cart:hover { background: rgba(255,255,255,.09); color: #f0cb88; border-radius: 4px; }
.navigation-cart > .icon { width: 20px; height: 20px; }
.navigation-cart > span { position: absolute; inset-block-start: 0; inset-inline-end: -1px; min-width: 18px; height: 18px; padding-inline: 4px; border-radius: 50%; color: #102b20; background: #f0cb88; font-size: 10px; text-align: center; }
.navigation-account { position: relative; }
.navigation-account > .navigation-trigger { padding-inline: 10px; }
.navigation-language-code { padding-inline-start: 8px; margin-inline-start: 1px; border-inline-start: 1px solid rgba(255,255,255,.28); color: #d9c69f; font-size: 11px; font-weight: 600; }
.navigation-account-panel { position: absolute; inset-block-start: calc(100% + 18px); inset-inline-end: 0; width: 310px; max-height: calc(100dvh - var(--navigation-height) - 36px); overflow-y: auto; padding: 24px; }
.navigation-account-heading h2 { margin: 0; font: 600 24px/1.25 "Playfair Display", Georgia, serif; }
.navigation-account-heading p { margin: 8px 0 20px; color: #66736a; font-size: 13px; line-height: 1.6; }
.navigation-account-buttons { display: grid; gap: 10px; }
.navigation-account-buttons a { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 10px 16px; border: 1px solid #becdbf; border-radius: 4px; font-size: 14px; font-weight: 600; }
.navigation-account-buttons .navigation-signin { background: #102b20; border-color: #102b20; color: #fff; }
.navigation-account-buttons .navigation-signin:hover { background: #315c44; }
.navigation-register:hover { background: #f0f5ef; color: #102b20; }
.navigation-language { margin-block-start: 22px; padding-block-start: 20px; border-block-start: 1px solid #dbe2db; }
.navigation-language label { display: flex; align-items: center; gap: 8px; margin-block-end: 10px; color: #17221c; font-size: 13px; font-weight: 600; }
.navigation-language > div { display: flex; gap: 8px; }
.navigation-language select { width: 100%; min-width: 0; min-height: 44px; padding: 8px; border: 1px solid #becdbf; border-radius: 4px; background: #fff; color: #17221c; font-size: 13px; }
.navigation-language button { min-height: 44px; padding: 8px 10px; border: 1px solid #becdbf; border-radius: 4px; background: #f0f5ef; color: #102b20; font-size: 12px; font-weight: 600; }
.navigation-logout { margin: 0; }
.navigation-logout button { width: calc(100% + 16px); border: 0; background: transparent; text-align: start; font-family: inherit; }
.navigation-logout button:hover { background: #f0f5ef; }
.navigation-plan { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 11px 18px; border: 1px solid #e4bd78; border-radius: 4px; background: #e4bd78; color: #102b20; font-size: 14px; font-weight: 700; white-space: nowrap; }
.navigation-plan:hover { background: #f0cb88; color: #102b20; }
.navigation-toggle { display: none; }
body.menu-open .ai-chat-widget { visibility: hidden; }
.safari-header :is(a,button,summary,select):focus-visible { outline: 3px solid #d5a04f; outline-offset: 3px; }
.navigation-feature:focus-visible { outline-offset: -5px !important; }
.safari-header.is-scrolled .topline { display: none; }
.safari-header.is-scrolled .main-nav { min-height: 90px; }
.safari-header.is-scrolled .brand-logo--white { height: 86px; }
@media (min-width: 1200px) and (max-width: 1320px) {
    .safari-header .main-nav { gap: 24px; }
    .navigation-links { gap: 2px; }
    .navigation-trigger, .navigation-direct { padding-inline: 10px; }
    .navigation-actions { gap: 6px; }
}
@media (max-width: 1199px) {
    .safari-header .wrap { width: calc(100% - 40px); }
    .safari-header .topline { display: none; }
    .safari-header .main-nav, .safari-header.is-scrolled .main-nav { min-height: 84px; gap: 16px; }
    .safari-header .brand { flex-basis: 94px; }
    .safari-header .brand-logo--white, .safari-header.is-scrolled .brand-logo--white { width: 94px; height: 80px; }
    .navigation-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 4px; background: transparent; color: #fff; font-size: 14px; font-weight: 600; }
    .navigation-toggle-lines { position: relative; width: 18px; height: 12px; border-block: 1.5px solid currentColor; }
    .navigation-toggle-lines::after { content: ''; position: absolute; inset-block-start: 4px; inset-inline: 0; border-block-start: 1.5px solid currentColor; }
    .nav-open .navigation-toggle-lines { border: 0; }
    .nav-open .navigation-toggle-lines::before, .nav-open .navigation-toggle-lines::after { content: ''; position: absolute; inset-block-start: 5px; inset-inline: 0; border-block-start: 1.5px solid currentColor; transform: rotate(45deg); }
    .nav-open .navigation-toggle-lines::after { transform: rotate(-45deg); }
    .primary-navigation { display: none; position: fixed; inset-block-start: var(--navigation-height); inset-inline: 0; bottom: 0; max-height: calc(100dvh - var(--navigation-height)); overflow-y: auto; overscroll-behavior: contain; padding: 16px max(24px,calc((100vw - 760px)/2)) max(30px,env(safe-area-inset-bottom)); background: #fff; color: #17221c; }
    .nav-open .primary-navigation { display: block; }
    .navigation-links { display: block; }
    .navigation-links > :is(details,a) { border-block-end: 1px solid #e3e9e2; }
    .navigation-trigger, .navigation-direct { justify-content: space-between; min-height: 54px; padding: 14px 0; border-radius: 0; color: #17221c; font-size: 16px; white-space: normal; }
    .navigation-trigger:hover, details[open] > .navigation-trigger, .navigation-direct:hover { background: transparent; color: #315c44; }
    .navigation-direct { color: #315c44; font-weight: 700; }
    .navigation-panel--mega { display: block; position: static; width: 100%; max-height: none; margin: 0; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
    .navigation-panel-content { padding: 4px 0 20px; }
    .navigation-panel-heading { margin-block-end: 12px; }
    .navigation-panel-heading h2, .navigation-feature, .navigation-panel-footer { display: none; }
    .navigation-panel-heading > a { min-height: 44px; font-size: 14px; }
    .navigation-columns { grid-template-columns: 1fr 1fr; gap: 20px; }
    .navigation-link { min-height: 48px; padding-block: 12px; font-size: 14px; }
    .navigation-destination-links { gap: 0 20px; }
    .navigation-actions { display: grid; grid-template-columns: minmax(0,1fr) 48px; align-items: start; gap: 16px; padding-block-start: 12px; }
    .navigation-cart { grid-column: 2; grid-row: 1; height: 54px; color: #315c44; }
    .navigation-cart:hover { background: #f0f5ef; color: #102b20; }
    .navigation-cart > span { inset-block-start: 4px; }
    .navigation-account { grid-column: 1; grid-row: 1; }
    .navigation-account > .navigation-trigger { justify-content: flex-start; gap: 12px; padding-inline: 0; }
    .navigation-account > .navigation-trigger > .icon:last-child { margin-inline-start: auto; }
    .navigation-language-code { color: #66736a; border-color: #becdbf; }
    .navigation-account-panel { position: static; width: 100%; max-height: none; padding: 20px; margin-block-end: 8px; border-color: #e3e9e2; background: #f8faf7; box-shadow: none; }
    .navigation-account-heading h2 { font-size: 22px; }
    .navigation-plan { grid-column: 1 / -1; min-height: 50px; margin-block-start: 4px; }
}
@media (max-width: 560px) {
    .safari-header .wrap { width: calc(100% - 32px); }
    .primary-navigation { padding-inline: 24px; }
    .navigation-columns, .navigation-destination-links { grid-template-columns: 1fr; }
    .navigation-link-group + .navigation-link-group { margin-block-start: 14px; }
    .navigation-account-panel { padding: 18px 16px; }
}
@media (prefers-reduced-motion: no-preference) {
    .navigation-disclosure[open] > .navigation-panel { animation: navigation-reveal .16s ease-out; }
    @keyframes navigation-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
    .safari-header, .navigation-trigger > .icon:last-child { transition: none; }
}
