:root {
    color-scheme: light;
    --paper: #fafaf6;
    --white: #fff;
    --ink: #23312a;
    --muted: #526259;
    --green: #264b3d;
    --line: #dce3da;
    --sage: #eaf0e6;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body.nbg { margin: 0; background: var(--paper); color: var(--ink); }
.nbg a { color: inherit; }
.nbg a:focus-visible, .nbg button:focus-visible, .nbg input:focus-visible, .nbg select:focus-visible, .nbg textarea:focus-visible, .nbg summary:focus-visible { outline: 3px solid #997536; outline-offset: 3px; }
.nbg h1, .nbg h2, .nbg h3 { line-height: 1.12; margin: 0 0 .65em; letter-spacing: -.045em; }
.nbg h1 { font-size: clamp(2.65rem, 6.1vw, 5.9rem); font-weight: 650; }
.nbg h2 { font-size: clamp(1.7rem, 3.5vw, 2.75rem); font-weight: 650; }
.nbg h3 { font-size: 1.35rem; }
.nbg p { margin: 0 0 1em; }
.nbg p, .nbg dd { color: var(--muted); }
.shell { width: min(1320px, 100% - 100px); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -100px; z-index: 10000; background: white; padding: 8px 15px; }
.skip:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 92px; display: flex; align-items: center; gap: clamp(1rem, 3.3vw, 3.2rem); justify-content: space-between; }
.brand { display: inline-flex; gap: .75rem; align-items: center; font-weight: 750; line-height: 1.04; letter-spacing: -.045em; text-decoration: none; }
.brand-logo-mark { display: block; width: 72px; height: auto; flex: none; mix-blend-mode: multiply; }
.primary-nav, .header-actions { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); }
.primary-nav a, .search-link { font-size: .92rem; font-weight: 625; white-space: nowrap; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current], .search-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.button, .nbg input[type=submit] { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 44px; padding: .68rem 1.15rem; color: white !important; background: var(--green); border: 1px solid var(--green); border-radius: 5px; font: inherit; font-weight: 650; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.button:hover, .nbg input[type=submit]:hover { background: #18392c; border-color: #18392c; }
.button.button-light { color: var(--green) !important; background: transparent; border-color: #aeb9ad; }
.button.button-light:hover { background: #e2eadf; border-color: var(--green); }
.header-actions .button { font-size: .875rem; white-space: nowrap; }
.hero { margin-bottom: 1rem; background: #eff2ea; border-bottom: 1px solid #e1e8de; }
.hero-grid { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: stretch; }
.hero-copy { align-self: center; padding: 4.25rem 2rem 4.5rem 0; }
.hero-copy h1 { max-width: 12ch; margin-bottom: .34em; }
.hero-copy > p:not(.eyebrow) { font-size: 1.15rem; max-width: 37ch; }
.eyebrow { color: var(--green) !important; font-size: .73rem; font-weight: 750; letter-spacing: .125em; text-transform: uppercase; }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-art { min-height: 100%; display: grid; place-items: center; padding: clamp(1.4rem,5vw,5rem); background: #fff; }
.hero-logo { display: block; width: min(100%,460px); height: auto; }
.home-section { padding-block: 3.3rem; }
.section-top { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.45rem; }
.section-top h2, .section-top p:last-child { margin-bottom: 0; }
.text-link { text-decoration-thickness: 1px; text-underline-offset: 4px; color: var(--green) !important; font-weight: 670; }
.category-grid, .product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.category-card, .product-card, .brand-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease; }
.category-card:hover, .product-card:hover, .brand-card:hover { border-color: #779488; box-shadow: 0 5px 20px #23312a0b; }
.category-art { position: relative; aspect-ratio: 1.75; display: block; overflow: hidden; background: #dee9df; }
.category-art:has(img) { display: grid; place-items: center; }
.category-art img { display: block; width: 68%; height: 68%; object-fit: contain; }
.category-art i { position: absolute; width: 85%; height: 82%; border-radius: 50%; border: 1px solid #5374608a; top: 27%; left: 17%; transform: rotate(-34deg); box-shadow: inset 0 0 0 11px #78998732; }
.category-art i + i { top: 7%; left: 41%; }
.category-art.rtd { background: #ece7d6; }
.category-art.wine { background: #e5dedc; }
.category-art.beer { background: #e7e5db; }
.category-art.beer:has(img) { background: #25463b; }
.category-art.beer img { width: 84%; height: 72%; }
.category-copy { display: grid; grid-template-columns: 1fr auto; gap: .15rem .5rem; padding: 1rem 1.1rem; }
.category-copy strong { font-size: 1.13rem; }
.category-copy small { grid-area: 2/1; color: var(--muted); }
.category-copy > span { grid-column: 2; grid-row: 1; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: .5rem; }
.info-grid article, .empty, .form-card, .account-section, .filter-panel { background: white; border: 1px solid var(--line); border-radius: 8px; padding: clamp(1rem, 3vw, 2rem); }
.contact-band { background: var(--sage); padding-block: 2.5rem; }
.contact-band .section-top { margin-bottom: 0; align-items: center; }
.shell.page { padding-block: 3.5rem 5rem; min-height: 60vh; }
.page-head { margin-block: 0 2rem; max-width: 850px; }
.page-head h1 { font-size: clamp(2.4rem,5vw,4.6rem); margin-bottom: .25em; }
.page-head p, .reading { max-width: 62ch; }
.page-head p { font-size: 1.12rem; }
.filter-panel { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; gap: .8rem 1rem; }
.filter-panel .search-field { grid-column: 1 / -1; }
.nbg label { display: block; font-weight: 650; font-size: .93rem; }
.nbg input:not([type=hidden]):not([type=checkbox]):not([type=submit]), .nbg select, .nbg textarea { display: block; width: 100%; margin-top: .3rem; padding: .65rem .75rem; border: 1px solid #a9b7ac; border-radius: 4px; min-height: 44px; background: white; font: inherit; font-weight: 400; color: var(--ink); }
.results-bar, .chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.results-bar { justify-content: space-between; margin: 1rem 0; }
.results-bar p { margin: 0; }
.chip { border-radius: 25px; background: var(--sage); padding: .3rem .65rem; font-size: .88rem; text-decoration: none; }
.empty h2 { font-size: 1.4rem; }
.empty p { margin-bottom: 0; }
.product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.product-image { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #efefe9; color: var(--muted); font-size: .8rem; padding: 1.2rem; }
.product-image img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.product-copy, .brand-card { padding: 1.2rem; }
.product-copy h2 { font-size: 1.5rem; margin-bottom: .3em; }
.product-copy .eyebrow { margin-bottom: .3rem; }
.product-copy span { display: inline-block; margin-top: .65rem; font-weight: 650; color: var(--green); }
.detail-grid, .form-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1.5rem,5vw,5rem); align-items: start; }
.facts { display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: .5rem 1rem; margin-top: 0; }
.facts dt { font-weight: 650; }
.facts dd { margin: 0; }
.offer { padding: 1rem; border: 1px solid var(--line); border-radius: 6px; }
.brand-logo { max-width: 240px; height: auto; }
.nbg-form { display: grid; gap: .9rem; }
.check { display: flex !important; align-items: baseline; gap: .65rem; }
.steps { padding-left: 1.4rem; }
.steps li { padding: .2rem .25rem .8rem; }
.form-card h2, .account-section h2 { font-size: 1.6rem; }
.login { max-width: 480px; }
.account-section { margin-top: 1rem; }
.record, .cart-row { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.record summary { cursor: pointer; font-weight: 650; }
.record p, .record form { margin-top: .5rem; }
.cart-row { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1rem; }
.notice, .alert { border-left: 4px solid var(--green); background: var(--sage); padding: .8rem; }
.alert { margin-top: 1rem !important; border-color: #9c4436; background: #f8e9e6; }
.site-footer { background: #203b30; color: white; padding-block: 2.8rem; }
.site-footer p { color: #e1eade; margin-top: .5rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem; }
.footer-inner nav { display: flex; gap: .5rem 1.1rem; flex-wrap: wrap; align-content: start; }
@media (max-width: 980px) {
    .shell { width: calc(100% - 48px); }
    .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .75rem; padding-block: .85rem; }
    .primary-nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; }
    .hero-grid { min-height: 400px; }
    .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .shell { width: calc(100% - 32px); }
    .header-actions { gap: .65rem; }
    .header-actions .button { font-size: .75rem; padding-inline: .5rem; }
    .primary-nav { gap: .4rem .85rem; }
    .primary-nav a, .search-link { font-size: .83rem; }
    .hero-grid, .info-grid, .detail-grid, .form-layout, .footer-inner { grid-template-columns: 1fr; }
    .hero-copy { padding: 2.6rem 0 2rem; }
    .desktop-break { display: none; }
    .hero-art { min-height: 200px; margin-bottom: 1rem; }
    .home-section { padding-block: 2rem; }
    .shell.page { padding-block: 2rem 3rem; }
    .brand-logo-mark { width: 46px; }
    .category-grid, .product-grid, .filter-panel { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
    .category-copy, .product-copy { padding: .7rem; }
    .section-top, .cart-row { align-items: start; flex-wrap: wrap; }
    .facts { grid-template-columns: minmax(5rem, auto) 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; }
}
