.adb-header .adb-brand { min-width: 0; flex: 0 1 auto; }
.adb-header .adb-brand__art {
    display: block;
    position: relative;
    width: clamp(230px, 19vw, 295px);
    max-width: 100%;
}
.adb-header .adb-brand__art img {
    display: block;
    width: 100%;
    height: auto !important;
}
@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
    .adb-header .adb-brand__art img { opacity: 0; }
    .adb-header .adb-brand__art::after {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--adb-logo-color, var(--adb-wine));
        -webkit-mask: var(--adb-brand-image) center / contain no-repeat;
        mask: var(--adb-brand-image) center / contain no-repeat;
    }
}
body:not(.adb-menu-open) .adb-header--hero[data-header-over-hero] {
    --adb-logo-color: white;
}
.adb-nav .adb-nav__disclosure {
    display: inline-flex;
    align-items: center;
    gap: .65em;
    min-height: 44px;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: 600 12px var(--adb-sans);
}
.adb-nav__disclosure::after {
    content: "";
    width: .46em;
    height: .46em;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-20%) rotate(45deg);
}
.adb-nav__disclosure[aria-expanded=true]::after { transform: translateY(20%) rotate(225deg); }
.adb-nav .sub-menu[hidden] { display: none !important; }
.adb-nav .sub-menu a::after { display: none; }
.adb-nav .adb-nav__catalog-photo { display: none; }
.adb-nav__disclosure::after { transition: transform .22s ease; }
.adb-nav .sub-menu { overflow: hidden; }
.adb-nav .sub-menu li:first-child > a::before {
    content: "";
    order: 1;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--adb-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23702c3b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .adb-nav .sub-menu li:first-child > a::before { transition: transform .2s ease; }
    .adb-nav .sub-menu li:first-child > a:hover::before { transform: translateX(3px); }
}
@media (min-width: 1001px) {
    .adb-nav .sub-menu {
        position: absolute;
        top: calc(100% - 5px);
        left: 50%;
        translate: -50% 0;
        width: min(720px, 88vw);
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        gap: 0;
        background: var(--adb-paper);
        color: var(--adb-ink);
        text-shadow: none;
        box-shadow: 0 14px 32px rgba(43, 26, 23, .14);
    }
    .adb-nav .sub-menu li:first-child {
        grid-column: 1 / -1;
        background: linear-gradient(0deg, rgba(19, 29, 20, .77), transparent 95%),
                    var(--adb-menu-vineyard, none) center 57% / cover, #404939;
    }
    .adb-nav .sub-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 64px;
        font: 500 22px/1.15 var(--adb-serif);
    }
    .adb-nav .sub-menu li:first-child a {
        align-items: flex-end;
        justify-content: space-between;
        min-height: clamp(145px, 11vw, 180px);
        padding: 18px 28px;
        color: white;
        font-size: 38px;
    }
    .adb-nav .sub-menu li:nth-child(n+3) a::before {
        content: '';
        position: absolute;
        left: 0;
        height: 19px;
        border-left: 1px solid var(--adb-line);
    }
    .adb-nav .sub-menu li:not(:first-child) a:is(:hover, :focus-visible) {
        color: var(--adb-wine);
        background: rgba(112,44,59,.045);
        text-decoration: underline;
        text-underline-offset: .22em;
    }
    body.adb-site .adb-header .adb-nav .sub-menu :focus-visible { outline-color: var(--adb-wine); outline-offset: -4px; }
    body.adb-site .adb-header .adb-nav .sub-menu li:first-child :focus-visible { outline-color: white; }
    /* Without JavaScript, the parent link still opens the full catalog. */
    .adb-nav .menu-item-has-children:not(:focus-within) > a + .sub-menu { display: none; }
}
@media (max-width: 1000px) {
    .adb-nav { display: flex; flex-direction: column; gap: 18px; }
    .adb-nav > ul { flex: none; width: 100%; }
    .adb-nav.is-open .adb-nav__catalog-photo {
        display: flex;
        flex: 1 0 135px;
        align-items: flex-end;
        width: 100%;
        max-width: 650px;
        margin-inline: auto;
        padding: 22px;
        color: white;
        background: linear-gradient(0deg,rgba(19,29,20,.78),transparent 85%),
                    var(--adb-menu-vineyard,none) center / cover, #404939;
    }
    .adb-nav .adb-nav__catalog-photo svg { width: 23px; height: 23px; }
    .adb-nav:has(.adb-nav__disclosure[aria-expanded=true]) .adb-nav__catalog-photo { display: none; }
    .adb-header .adb-brand__art { width: min(39vw, 236px); }
    .adb-nav .adb-nav__disclosure {
        justify-content: space-between;
        width: 100%;
        min-height: 60px;
        padding: 12px 3px 12px 0;
        font: 400 clamp(32px, 5vw, 40px)/1.18 var(--adb-serif);
    }
    .adb-nav .adb-nav__disclosure::after { width: .32em; height: .32em; }
    .adb-nav .sub-menu { margin: 0 0 16px; padding: 0 0 4px; }
    .adb-nav .sub-menu li:first-child a {
        min-height: 88px;
        padding: 16px;
        align-items: flex-end;
        color: white;
        background: linear-gradient(90deg,rgba(23,31,22,.8),rgba(23,31,22,.15)), var(--adb-menu-vineyard, none) center 65% / cover, #404939;
    }
    .adb-nav .sub-menu li:not(:first-child) { border-bottom: 1px solid var(--adb-line); }
    .adb-nav .sub-menu a { min-height: 44px; padding: 6px 0; font-size: 24px; }
    .adb-nav-fallback .sub-menu { padding-left: 18px; }
}
@media (max-width: 600px) {
    .adb-header .adb-brand__art { width: clamp(138px, 43vw, 211px); }
    .adb-header .adb-header__inner { gap: 5px; padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right)); }
}

@media (prefers-reduced-motion: reduce) {
    .adb-nav__disclosure::after { transition: none; }
}

/* The shop panel shares its outside edges and type scale with the header. */
.adb-mega {
    color: var(--adb-ink);
    background: var(--adb-paper);
    text-shadow: none;
    overflow: hidden;
}
.adb-mega[hidden], .adb-mega [hidden] { display: none !important; }
.adb-mega__heading {
    margin: 0 0 14px;
    color: var(--adb-wine);
    font: 650 11px/1.3 var(--adb-sans);
    text-transform: uppercase;
    letter-spacing: .15em;
}
.adb-nav .adb-mega__categories {
    display: grid;
    grid-template: repeat(var(--adb-category-rows,3),auto) / repeat(2,minmax(0,1fr));
    grid-auto-flow: column;
    align-items: stretch;
    gap: 0 clamp(16px,2.4vw,38px);
    max-width: none;
}
.adb-nav .adb-mega a { white-space: normal; }
.adb-nav .adb-mega a::after, .adb-mega__categories .adb-nav__arrow { display: none; }
.adb-nav .adb-mega__categories a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 49px;
    padding: 5px 0;
    border-bottom: 1px solid var(--adb-line);
    color: var(--adb-ink);
    font: 500 clamp(20px,1.65vw,27px)/1.15 var(--adb-serif);
}
.adb-mega__icon {
    width: 30px;
    height: 30px;
    flex: none;
    color: var(--adb-wine);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.adb-mega__wash { fill: currentColor; fill-opacity: .16; }
.adb-mega__picks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(12px,1.8vw,26px); }
.adb-nav .adb-mega__wine {
    display: grid;
    grid-template-columns: clamp(70px,6.8vw,100px) minmax(0,1fr);
    align-items: center;
    justify-content: start;
    gap: clamp(12px,1.3vw,22px);
    padding: 0;
    min-width: 0;
    font: 400 14px/1.4 var(--adb-sans);
}
.adb-mega__portrait, .adb-mega__picks[aria-busy=true]::before, .adb-mega__picks[aria-busy=true]::after {
    display: flex;
    flex-direction: column;
    height: var(--adb-portrait-height, 166px);
    background: #ebe4d9;
}
.adb-mega__picks[aria-busy=true]::before, .adb-mega__picks[aria-busy=true]::after { content: ''; width: clamp(70px,6.8vw,100px); }
.adb-mega__packshot { display: grid; flex: 1; min-height: 0; place-items: center; }
.adb-mega__packshot img { width: 100%; height: 100%; min-height: 0; padding: 8px 4px; object-fit: contain; }
.adb-mega__signature {
    position: relative;
    height: 30px;
    margin: 0 8px 6px;
    border-top: 1px solid var(--adb-line);
    container-type: size;
    overflow: hidden;
    mix-blend-mode: multiply;
}
.adb-mega__logo { position: absolute; top: 50%; left: 50%; height: 82%; width: 94%; object-fit: contain; transform: translate(-50%, -50%); }
.adb-mega__logo[data-fitted] { width: var(--logo-width); max-width: none; height: auto; transform: translate(var(--logo-x), var(--logo-y)) scale(.84); transform-origin: calc(-1 * var(--logo-x)) calc(-1 * var(--logo-y)); }
.adb-mega__logo[data-light-artwork] { filter: brightness(.28); }
.adb-mega__details { display: flex; flex-direction: column; gap: 5px; overflow-wrap: anywhere; }
.adb-mega__winery { color: var(--adb-wine); font: 650 10px/1.4 var(--adb-sans); letter-spacing: .09em; text-transform: uppercase; }
.adb-mega__name { font: 500 clamp(21px,1.65vw,28px)/1.04 var(--adb-serif); }
.adb-mega__grapes {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: var(--adb-muted);
    font: 400 13px/1.45 var(--adb-sans);
}
.adb-mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; padding-top: 7px; border-top: 1px solid var(--adb-line); color: var(--adb-wine); }
.adb-mega__foot svg { width: 16px; height: 16px; flex: none; }
.adb-mega__price { font: 600 13px/1.4 var(--adb-sans); }
.adb-mega__heading { display: flex; align-items: center; gap: 12px; }
.adb-mega__heading::after { content: ''; height: 1px; flex: 1; background: var(--adb-line); }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    .adb-mega__foot svg, .adb-mega__categories .adb-mega__icon { transition: transform .2s ease; }
    .adb-mega__wine:hover .adb-mega__foot svg, .adb-mega__categories a:hover .adb-mega__icon { transform: translateX(3px); }
}
.adb-nav .adb-mega a:is(:hover,:focus-visible) { color: var(--adb-wine); }
.adb-mega__wine:is(:hover,:focus-visible) .adb-mega__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
body.adb-site .adb-header:has(.adb-mega:not([hidden])) :focus-visible { outline-color: var(--adb-wine); }
@media (min-width:1001px) {
    .adb-mega { position: absolute; inset: 100% 0 auto; border-block: 1px solid var(--adb-line); box-shadow: 0 12px 20px -18px rgba(49,27,30,.3); max-height: calc(100dvh - var(--adb-header) - 40px); overflow-y: auto; }
    .adb-mega__inner { max-width: 1688px; margin-inline: auto; padding: 28px var(--adb-gutter) 32px; display: grid; grid-template-columns: minmax(0, .80fr) minmax(0, 1.20fr); gap: clamp(25px,4vw,66px); }
    .adb-mega__discover { border-left: 1px solid var(--adb-line); padding-left: clamp(24px,3.2vw,54px); }
    body.adb-site .adb-header--hero[data-header-over-hero]:has(.adb-mega:not([hidden])) { --adb-logo-color: var(--adb-wine); background: var(--adb-paper); border-color: var(--adb-line); color: var(--adb-ink); text-shadow: none; }
    body.adb-site .adb-header--hero:has(.adb-mega:not([hidden])) .adb-brand img { filter: none; }
}
@media (max-width:1000px) {
    .adb-mega__inner { padding: 4px 0 20px; }
    .adb-mega__browse > .adb-mega__heading { display: none; }
    .adb-nav .adb-mega__categories { grid-template: none / 1fr; grid-auto-flow: row; }
    .adb-nav .adb-mega__categories a { min-height: 44px; font-size: 22px; }
    .adb-mega__icon { width: 26px; height: 26px; }
    .adb-mega__discover { padding-top: 20px; }
    .adb-mega__heading { margin-bottom: 10px; }
    .adb-mega__picks { grid-template-columns: 1fr; }
    .adb-nav .adb-mega__wine { grid-template-columns: 64px minmax(0,1fr); gap: 16px; }
    .adb-mega { --adb-portrait-height: 114px; }
    .adb-mega__signature { height: 23px; margin: 0 4px 4px; }
    .adb-mega__picks[aria-busy=true]::before { width: 64px; }
    .adb-mega__packshot img { padding: 4px 2px; }
    .adb-nav .adb-mega__wine:nth-child(n+2), .adb-mega__picks[aria-busy=true]::after { display: none; }
}
