*, *::before, *::after { box-sizing: border-box; }
:root { color-scheme: light; background: #f5f6f2; color: #202b29; font: 1rem/1.55 "Segoe UI", system-ui, sans-serif; }
body {
    --deep: #102f28;
    --green: #176b50;
    --mint: #b9e2c8;
    --ink: #202b29;
    --muted: #4e6158;
    --line: #dce4dc;
    --paper: #fff;
    --soft: #edf3ed;
    --radius: 1.1rem;
    --strong-brand: color-mix(in srgb, var(--shop-brand, #17372c) 20%, #102f28);
    margin: 0;
    overflow-wrap: anywhere;
}
[hidden] { display: none !important; }
html:has(.shop-cart-dock) { scroll-padding-bottom: 5.5rem; }
a { color: var(--green); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
:is(h1, h2, h3, h4, p, dl, dd, ul) { margin: 0; }
:is(h1, h2, h3, h4) { line-height: 1.16; color: var(--deep); }
h1, .shop-category > h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(2.25rem, 7vw, 4.75rem); }
h2 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
small { font-size: .85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 6; top: .5rem; left: .75rem; transform: translateY(-150%); padding: .65rem 1rem; background: var(--paper); border-radius: .5rem; }
.skip-link:focus { transform: none; }
.shop-frame { width: min(100%, 74rem); margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2.2rem); }
main.shop-frame { padding-block: clamp(1rem, 3vw, 2rem) 3rem; }
.shop-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.shop-header-inner { min-height: 4.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.shop-wordmark { display: inline-flex; gap: .55rem; align-items: center; color: var(--deep); font-size: 1.18rem; font-weight: 770; letter-spacing: -.035em; text-decoration: none; }
.shop-mark { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: .7rem .7rem .7rem .25rem; background: var(--deep); background: var(--strong-brand); color: white; font-family: Georgia, serif; font-size: 1.28rem; }
.shop-account { position: relative; font-size: .9rem; }
.shop-account > div { position: absolute; z-index: 4; right: 0; top: calc(100% + .4rem); width: min(14rem, 74vw); padding: .8rem; display: grid; gap: .7rem; background: var(--paper); border: 1px solid var(--line); border-radius: .7rem; box-shadow: 0 8px 26px #102f281e; }
.shop-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(1.35rem, 4vw, 3.2rem);
    color: #e6f1e7;
    background: var(--deep);
    background: linear-gradient(115deg, var(--deep), var(--strong-brand));
    border-radius: clamp(1.1rem, 3vw, 1.85rem);
    box-shadow: inset 0 3px var(--shop-brand, #17372c);
}
.shop-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto -7rem -11rem auto;
    width: min(33rem, 85vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-radial-gradient(ellipse at center, transparent 0 16px, #b9e2c824 17px 18px);
    pointer-events: none;
}
.shop-hero-content { max-width: 48rem; }
.shop-hero h1 { color: white; }
.shop-hero a { color: #edf7ed; }
.shop-hero :focus-visible { outline-color: var(--mint); }
.store-logo { display: block; width: 3.9rem; height: 3.9rem; object-fit: contain; background: white; padding: .3rem; border-radius: .85rem; margin-bottom: .85rem; }
.shop-intro { max-width: 47ch; margin-top: .65rem; color: #e1eee4; font-size: clamp(.95rem, 2vw, 1.12rem); white-space: pre-line; }
.store-info { display: flex; flex-wrap: wrap; align-items: start; gap: .75rem 2rem; margin-top: 1.15rem; font-size: .88rem; }
.store-info:not(:has(div)) { display: none; }
.store-info div { min-width: 0; }
.store-info dt { color: var(--mint); font-weight: 650; }
.store-info dd { white-space: pre-line; }
.shop-fulfillment { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin-top: 1.15rem; list-style: none; }
.shop-fulfillment li { padding: .35rem .65rem; border: 1px solid #b9e2c870; border-radius: 2rem; color: #f2f9f2; font-size: .82rem; }
.shop-menu { padding-bottom: 5rem; }
.shop-menu-tools { display: grid; gap: .75rem; margin-block: 1.6rem 1.25rem; }
.shop-menu-heading { display: flex; gap: .7rem; align-items: baseline; }
.shop-loading { color: var(--muted); font-size: .85rem; }
.shop-search { position: relative; }
.shop-search::before { content: ""; position: absolute; width: .78rem; height: .78rem; border: 2px solid var(--green); border-radius: 50%; top: 1rem; left: 1rem; pointer-events: none; }
.shop-search::after { content: ""; position: absolute; top: 1.73rem; left: 1.61rem; width: .42rem; height: 2px; transform: rotate(45deg); background: var(--green); pointer-events: none; }
.shop-categories { display: flex; gap: .4rem; align-items: center; min-width: 0; overflow-x: auto; padding: .25rem .3rem .55rem; margin-inline: -.3rem; scrollbar-width: thin; }
.shop-categories a { flex: none; min-height: 2.75rem; display: inline-flex; align-items: center; padding: .4rem .85rem; border-radius: 2rem; border: 1px solid var(--line); background: var(--paper); color: var(--deep); font-size: .88rem; font-weight: 630; text-decoration: none; }
.shop-categories a:is(:hover, [aria-current]) { background: var(--soft); border-color: var(--green); }
.shop-category { scroll-margin-top: 1rem; margin-bottom: 1.55rem; }
.shop-category > h3 { font-size: clamp(1.65rem, 3.5vw, 2.2rem); margin-bottom: .65rem; }
.shop-product-grid { display: grid; gap: .7rem; align-items: start; }
.shop-product, .shop-card, .shop-empty {
    min-width: 0;
    padding: clamp(.95rem, 2.4vw, 1.2rem);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 3px 12px #102f2808;
}
.shop-product-overview { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: start; gap: .85rem; }
.shop-product-copy { min-width: 0; margin-inline-end: auto; }
.shop-product--text { border-inline-start: 3px solid var(--shop-brand, #17372c); }
.shop-product--text .shop-product-overview { padding-bottom: .15rem; }
.shop-product h4 { font-size: 1.08rem; }
.shop-product-copy p { margin-top: .35rem; }
.shop-product-copy p:not(.shop-price), .shop-cart-item p { color: var(--muted); font-size: .9rem; }
.shop-price { color: var(--green); font-weight: 760; font-variant-numeric: tabular-nums; }
.product-image { flex: none; width: clamp(4.5rem, 22vw, 6.5rem); height: auto; aspect-ratio: 1; object-fit: cover; background: var(--soft); border-radius: .7rem; }
.shop-disclosure { margin-top: .75rem; }
summary { cursor: pointer; }
.shop-disclosure > summary { display: flex; justify-content: space-between; align-items: center; min-height: 2.75rem; padding: .45rem .75rem; list-style: none; border-radius: .7rem; background: var(--soft); color: var(--deep); font-weight: 700; font-size: .9rem; }
.shop-disclosure > summary::-webkit-details-marker { display: none; }
.shop-disclosure > summary:hover, .shop-disclosure[open] > summary { background: #dcece0; }
.shop-disclosure-mark::before { content: "+"; font-size: 1.3rem; line-height: 1; }
.shop-disclosure[open] .shop-disclosure-mark::before { content: "−"; }
.shop-option-form { padding-top: .45rem; }
.shop-product-dialog {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: .8rem 0 0;
    color: var(--ink);
    background: var(--paper);
    border: 0;
}
.shop-product-dialog:modal {
    position: fixed;
    width: min(calc(100% - 2rem), 34rem);
    max-height: min(88vh, 88dvh);
    margin: auto;
    padding: clamp(1rem, 4vw, 1.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 1.15rem;
    box-shadow: 0 18px 55px #102f2859;
}
.shop-product-dialog::backdrop { background: #102f2894; }
html:has(.shop-product-dialog:modal) { overflow: hidden; }
.shop-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.shop-modal-header h3 { font-family: Georgia, serif; font-size: clamp(1.35rem, 4vw, 1.9rem); font-weight: 500; }
.shop-modal-header button { display: none; }
.shop-product-dialog:modal .shop-modal-header button { display: inline-flex; }
.shop-quote, .shop-preview-status { margin-block: .55rem; color: var(--deep); font-weight: 650; }
.shop-quote { padding: .55rem .7rem; border-radius: .55rem; background: var(--soft); }
.shop-option-group { min-width: 0; margin: .75rem 0; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: .65rem; }
.shop-option-group legend, .shop-option-group summary { font-weight: 650; color: var(--deep); }
.shop-option-group summary { min-height: 2.3rem; align-content: center; }
.shop-option-group small { color: var(--muted); }
.shop-add-row, .shop-quantity-update { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .6rem; }
.shop-add-row > button { flex: 1 1 9rem; }
.shop-quantity label, .shop-quantity-update label { margin: 0; }
.shop-quantity > div { display: flex; gap: .25rem; margin-top: .25rem; }
[data-quantity-step] { display: none; }
[data-shop-js] [data-quantity-step] { display: inline-flex; padding-inline: .55rem; min-width: 2.75rem; background: var(--soft); color: var(--deep); }
.shop-empty { padding: 1.4rem; border-style: dashed; }
.shop-empty p, .shop-empty .button { margin-top: .55rem; }
.shop-cart-dock { position: fixed; z-index: 3; inset: auto 0 0; padding: .75rem max(1rem, env(safe-area-inset-right)) max(.85rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); pointer-events: none; }
.shop-cart-link { pointer-events: auto; display: flex; align-items: center; gap: .7rem; width: min(100%, 26rem); min-height: 3.65rem; padding: .65rem .85rem; margin-inline: auto; border-radius: .95rem; background: var(--deep); background: var(--strong-brand); color: white; text-decoration: none; box-shadow: 0 8px 28px #102f2842; }
.shop-cart-link:hover { background: var(--deep); }
.shop-cart-link small { display: block; color: #e4f4e8; font-size: .78rem; }
.shop-cart-link > :last-child { margin-left: auto; font-size: 1.2rem; }
.shop-cart-amount { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.shop-cart-amount:not([hidden]) + span { margin-left: 0; }
.shop-cart-icon { position: relative; flex: none; width: 1.15rem; height: .85rem; margin-top: .22rem; border: 1.5px solid var(--mint); border-radius: .2rem; }
.shop-cart-icon::before { content: ""; position: absolute; top: -.43rem; left: .26rem; width: .52rem; height: .42rem; border: 1.5px solid var(--mint); border-bottom: 0; border-radius: 1rem 1rem 0 0; }
.shop-page-lead { margin-block: .2rem 1.25rem; }
.shop-page-lead h1 { margin-block: .45rem .25rem; font-size: clamp(2.2rem, 6vw, 3.9rem); }
.shop-page-lead p { color: var(--muted); }
.shop-back { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; }
.shop-checkout-grid, .shop-checkout-column { display: grid; align-items: start; gap: .85rem; min-width: 0; }
.shop-checkout-column h2 { margin-bottom: .2rem; }
.shop-cart-item-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: .55rem; }
.shop-cart-item h3 { font-size: 1rem; }
.shop-quantity-update { margin-top: .6rem; }
.shop-preview > button, .shop-checkout-form > button { margin-top: .45rem; width: 100%; }
.shop-order-total { background: var(--soft); }
.shop-order-total h2 { margin-top: .6rem; }
.shop-checkout-fields { margin: .65rem 0; padding: .4rem .7rem .65rem; min-width: 0; border: 1px solid var(--line); border-radius: .7rem; }
.shop-checkout-fields legend { color: var(--deep); font-weight: 700; }
.shop-checkout-fields small { color: var(--muted); }
.shop-receipt { max-width: 39rem; display: grid; gap: .75rem; }
.shop-receipt .button { justify-self: start; }
.shop-receipt ul { padding-left: 1.2rem; }
.shop-receipt-id { display: grid; gap: .55rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.shop-reference { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .55rem; }
.shop-reference span, .shop-reference code { display: block; }
.shop-reference code { color: var(--deep); user-select: all; font-size: .9rem; }
[data-copy-reference], [data-copy-status]:empty { display: none; }
[data-shop-js] [data-copy-reference] { display: inline-flex; }
.alert { padding: .75rem .9rem; margin-bottom: .9rem; border: 1px solid #e8b6ac; border-radius: .7rem; color: #732c26; background: #fff0ea; }
.alert ul { padding-left: 1.1rem; }
label { display: block; margin-block: .6rem; font-size: .91rem; font-weight: 610; }
.check { display: flex; align-items: center; gap: .55rem; min-height: 2.45rem; margin: 0; font-weight: 500; }
.check input { flex: none; width: 1.1rem; height: 1.1rem; accent-color: var(--green); }
.check small { margin-left: auto; }
input:not([type=checkbox], [type=hidden]), select, textarea { display: block; width: 100%; min-width: 0; min-height: 2.75rem; margin-top: .25rem; padding: .52rem .65rem; border: 1px solid #8b9e92; border-radius: .55rem; color: var(--ink); background: var(--paper); font: inherit; font-size: 1rem; }
textarea { min-height: 5rem; resize: vertical; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem .85rem; border: 1px solid transparent; border-radius: .65rem; background: var(--deep); background: var(--strong-brand); color: white; font: inherit; font-weight: 670; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: var(--deep); }
button:disabled { opacity: .68; cursor: not-allowed; }
.quiet { background: var(--soft); color: var(--deep); }
.quiet:hover { background: #dcece0; }
.shop-search { margin: 0; }
.shop-search input { margin: 0; padding-inline-start: 2.65rem; border-color: var(--line); border-radius: .85rem; min-height: 2.9rem; }
.shop-quantity input, .shop-quantity-update input { width: 4rem; }
.shop-quantity input { margin: 0; text-align: center; }
@media (max-width: 39.99rem) {
    .store-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem .85rem; }
    .shop-product-dialog:modal { inset: auto 0 0; width: 100%; max-width: none; margin: 0; border-radius: 1.15rem 1.15rem 0 0; padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
}
@media (min-width: 40rem) {
    .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-menu-tools { grid-template-columns: 1fr minmax(15rem, 27rem); align-items: center; }
    .shop-categories { grid-column: 1 / -1; }
    .shop-cart-dock { inset-inline-start: auto; padding-inline-end: max(1.4rem, env(safe-area-inset-right)); }
    .shop-cart-link { min-width: 18rem; }
}
@media (min-width: 60rem) {
    .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .shop-checkout-grid:has(.shop-checkout-column + .shop-checkout-column) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.3rem; }
}
@media print {
    .shop-header, .shop-cart-dock, .shop-back { display: none; }
    :root { background: white; }
}
