:root {
    --ink: #17241e;
    --muted: #536359;
    --green: #204c3d;
    --sage: #edf1ea;
    --gold: #a96a15;
    --brown: #4e2e20;
    --border: #dce4dc;
    font-family: "DM Sans", system-ui, sans-serif;
    color: var(--ink);
    background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, form { margin: 0; }
p + p { margin-top: .65rem; }
h1, h2, h3 { line-height: 1.14; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); letter-spacing: -.035em; }
h3 { font-size: 1rem; }
a { color: var(--green); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(calc(100% - 2rem), 1156px); margin-inline: auto; }
.announcement { background: var(--gold); color: #fff; text-align: center; padding: .55rem; font-weight: 700; font-size: .88rem; letter-spacing: .04em; }
.site-header { background: white; border-bottom: 1px solid var(--border); }
.masthead { min-height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem; }
.brand { grid-column: 2; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: clamp(.55rem, 2vw, 1.5rem); font-size: .9rem; }
.header-actions a, .shop-nav a { text-decoration: none; }
.bag { white-space: nowrap; }
.bag span { display: inline-grid; place-items: center; min-width: 1.45rem; height: 1.45rem; border-radius: 1rem; background: var(--green); color: #fff; font-size: .75rem; }
.shop-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.6rem; padding-block: .55rem 1rem; font-size: .92rem; }
.shop-nav a { padding-block: .25rem; }
.main { padding-block: 1.5rem 4rem; min-height: 65vh; }
.main > h1 { margin-bottom: 1.2rem; }
.hero { background: var(--sage); border-radius: 24px; padding: clamp(1.3rem, 5vw, 4rem); display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero.has-images { grid-template-columns: 1fr 1fr; }
.hero-copy { display: grid; gap: 1.25rem; }
.hero-copy > p:not(.eyebrow) { color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); max-width: 37rem; }
.hero h1 em { color: var(--brown); font-style: normal; }
.eyebrow { color: var(--gold); text-transform: uppercase; font-weight: 750; letter-spacing: .12em; font-size: .76rem; }
.hero-gallery { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: repeat(2, clamp(100px, 15vw, 195px)); gap: .65rem; }
.hero-gallery a { position: relative; border-radius: 16px; overflow: hidden; background: #dce5db; min-width: 0; }
.hero-gallery a:first-child { grid-row: span 2; }
.hero-gallery.featured-1, .hero-gallery.featured-2 { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-template-rows: clamp(150px, 29vw, 390px); }
.hero-gallery.featured-1 a:first-child, .hero-gallery.featured-2 a:first-child { grid-row: auto; }
.hero-gallery img { width: 100%; height: 100%; object-fit: cover; }
.hero-gallery span { position: absolute; bottom: .65rem; left: .65rem; right: .65rem; width: fit-content; max-width: calc(100% - 1.3rem); background: #fff; color: var(--ink); border-radius: 1rem; padding: .3rem .65rem; font-weight: 700; font-size: .72rem; overflow-wrap: anywhere; }
.catalog { padding-top: clamp(1.5rem, 5vw, 3.5rem); }
.main > .catalog:first-child { padding-top: 0; }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.3rem; }
.catalog-heading p, .muted, small { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.product { min-width: 0; background: var(--sage); border-radius: 17px; padding: .5rem; display: flex; flex-direction: column; }
.product-photo { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 11px 11px 0 0; background: #e1e8dd; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-copy { display: flex; flex: 1; flex-direction: column; gap: .65rem; padding: .85rem .65rem .7rem; }
.product-copy h3 a { color: var(--ink); text-decoration: none; }
.product-copy h3 a:hover { text-decoration: underline; }
.product-copy form { margin-top: auto; }
.product-copy button, .product-info button { width: 100%; color: var(--green); background: transparent; border-color: var(--green); }
.product-copy button:hover, .product-info button:hover { background: var(--green); color: white; }
.back { display: inline-block; margin-bottom: 1rem; }
.product-detail { display: grid; grid-template-columns: 1.24fr 1fr; gap: clamp(1rem, 4vw, 3.25rem); align-items: start; }
.detail-image { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 18px; background: var(--sage); }
.product-info { min-width: 0; display: grid; gap: .9rem; }
.product-info h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.product-info h2 { margin-top: .65rem; font-size: 1.35rem; }
.detail-price { font-size: 1.25rem; }
.description { white-space: pre-wrap; overflow-wrap: anywhere; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); gap: .6rem; margin-top: .75rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
button, .cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1rem; border: 1px solid transparent; border-radius: 999px; background: var(--green); color: #fff; font: inherit; font-size: .9rem; font-weight: 650; text-align: center; text-decoration: none; cursor: pointer; }
button:hover, .cta:hover { background: #16392d; }
.hero .cta:not(.outline) { background: var(--brown); }
.outline, button.secondary { color: var(--green); background: transparent; border-color: var(--green); }
.outline:hover, button.secondary:hover { background: var(--sage); }
label { display: grid; gap: .25rem; font-size: .9rem; font-weight: 650; min-width: 0; }
input, textarea, select { width: 100%; min-width: 0; background: #fff; border: 1px solid #a8b6ab; border-radius: 9px; color: var(--ink); font: inherit; padding: .65rem .7rem; }
input[type=checkbox] { width: auto; }
textarea { resize: vertical; }
.toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem; }
.stack { display: grid; gap: .8rem; }
.stack > button { justify-self: start; }
.check { display: flex; align-items: center; }
.panel { padding: clamp(.85rem, 2vw, 1.4rem); border: 1px solid var(--border); border-radius: 15px; background: #fff; min-width: 0; }
.panel h2, .panel h3 { margin-bottom: .55rem; }
.narrow { max-width: 32rem; }
.grid, .checkout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .9rem; }
.checkout { grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr)); align-items: start; }
.checkout .line { padding-block: .65rem; border-bottom: 1px solid var(--border); }
.checkout .line > div { flex: 1 1 8rem; }
.qty { max-width: 5rem; }
.notice { border: 1px solid #e6c88d; background: #fff4df; border-radius: .65rem; padding: .8rem; margin-bottom: 1rem; }
.admin-page { background: #f4f6f2; }
.admin-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.admin-heading h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.admin-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.admin-nav a { border-radius: 999px; background: white; border: 1px solid var(--border); padding: .45rem .95rem; font-weight: 650; font-size: .9rem; text-decoration: none; }
.admin-nav a:hover { background: var(--sage); }
.metrics strong { display: block; margin-top: .25rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.admin-page section { margin-top: 1.75rem; scroll-margin-top: 1rem; }
.admin-page section > h2 { font-size: 1.5rem; margin-bottom: .65rem; }
.order { margin-top: .6rem; overflow-wrap: anywhere; }
.order summary, .product-editor summary { cursor: pointer; }
.order[open] summary { padding-bottom: .75rem; margin-bottom: .75rem; border-bottom: 1px solid var(--border); }
.product-editor { border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.product-editor summary { padding: .8rem 1rem; font-weight: 700; }
.product-editor .panel { border-width: 1px 0 0; border-radius: 0; }
.product-search { margin: .9rem 0; }
.admin-products { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.admin-products > p { padding: 1rem; }
.product-row { padding: .8rem 1rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(5.5rem, auto) 5rem auto; gap: .55rem; align-items: center; overflow-wrap: anywhere; }
.product-row + .product-row { border-top: 1px solid var(--border); }
.product-row small { display: block; }
.status { border-radius: 1rem; background: #eef0ee; padding: .15rem .55rem; width: fit-content; font-size: .8rem; }
.status.visible { background: #e1efe5; color: #165235; }
footer { background: var(--sage); padding-block: 1.6rem; }
footer .wrap { display: flex; gap: .55rem 1.4rem; flex-wrap: wrap; }
@media (max-width: 850px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .masthead { min-height: 72px; grid-template-columns: auto 1fr; }
    .brand { grid-column: 1; }
    .brand img { width: 105px; height: auto; }
    .shop-nav { gap: .2rem .85rem; justify-content: flex-start; font-size: .82rem; }
    .hero.has-images, .product-detail { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
    .product-copy { padding: .6rem .2rem .35rem; }
    .product-copy button { padding-inline: .35rem; font-size: .8rem; }
    .product-row { grid-template-columns: minmax(0, 1fr) auto; }
    .product-row a { justify-self: end; }
}

/* Checkout */
.cart-page { background: #f5f6f8; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.cart-page .main { max-width: 1060px; padding-top: 2rem; }
.cart-page .main > h1 { font-size: clamp(1.9rem, 5vw, 2.65rem); letter-spacing: -.045em; margin-bottom: 1.5rem; }
.cart-page .checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .95fr); gap: 1.4rem; align-items: start; }
.cart-page .checkout-delivery, .cart-page .checkout-summary { min-width: 0; background: white; padding: clamp(1.1rem, 3vw, 1.8rem); border: 1px solid #e6e8eb; border-radius: 22px; box-shadow: 0 5px 24px #18251e05; }
.cart-page .checkout-delivery { gap: 1.25rem; }
.cart-page .checkout h2 { font-size: 1.22rem; letter-spacing: -.025em; margin-bottom: .4rem; }
.cart-page .delivery-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.cart-page .delivery-fields label { grid-column: 1 / -1; }
.cart-page .delivery-fields .delivery-postal, .cart-page .delivery-fields .delivery-city { grid-column: auto; }
.cart-page label { color: #4e5b54; font-size: .82rem; font-weight: 600; gap: .4rem; }
.cart-page input:not([type=checkbox]):not([type=radio]), .cart-page select { min-height: 48px; border-radius: 12px; border: 1px solid #dfe3e2; padding: .75rem; background: #fafbfa; color: #17241e; font-size: 16px; }
.cart-page input:focus { background: white; outline: 2px solid #6d9b89; outline-offset: 2px; }
.cart-page .newsletter-optin { font-size: .8rem; font-weight: 400; align-items: start; gap: .6rem; line-height: 1.5; }
.cart-page input[type=checkbox], .cart-page input[type=radio] { accent-color: var(--green); width: 18px; height: 18px; flex-shrink: 0; }
.cart-page .shipping-options { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: .6rem; }
.cart-page .shipping-options legend { font-size: .8rem; color: #536359; margin-bottom: .6rem; }
.cart-page .shipping-options label { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .55rem; padding: .9rem; border-radius: 13px; border: 1px solid #e0e6e1; }
.cart-page .shipping-options label:has(:checked) { background: #eff6f1; border-color: #729c87; }
.cart-page button { border-radius: 12px; }
.cart-page button[value=pay] { width: 100%; min-height: 52px; font-size: 1rem; margin-top: .4rem; }
.cart-page .cart-item { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; align-items: start; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid #edf0ed; }
.cart-page .cart-item:not(:has(> img)) { grid-template-columns: minmax(0,1fr) auto; }
.cart-page .cart-item > img { width: 52px; height: 60px; object-fit: contain; border: 1px solid #ecefec; background: #f6f8f5; border-radius: 10px; }
.cart-page .cart-item strong { font-size: .88rem; line-height: 1.4; display: block; overflow-wrap: anywhere; }
.cart-page .cart-item > span { font-size: .88rem; white-space: nowrap; }
.cart-page .cart-quantity { margin-top: .6rem; align-items: end; }
.cart-page .cart-quantity .qty { min-height: 40px !important; padding: .35rem .5rem !important; max-width: 68px; }
.cart-page .cart-quantity button { min-height: 40px; font-size: .76rem; padding: .35rem .55rem; }
.cart-page .checkout-summary > small { display: block; margin-block: .6rem 1rem; font-size: .74rem; }
.cart-page .checkout-summary > .toolbar label { flex: 1 1 8rem; }
.cart-page .cart-totals { margin: 1.2rem 0 0; }
.cart-page .cart-totals > div { display: flex; justify-content: space-between; gap: .7rem; padding-block: .45rem; font-size: .92rem; }
.cart-page .cart-totals dd { margin: 0; text-align: right; }
.cart-page .cart-totals .grand-total { font-size: 1.25rem; font-weight: 700; border-top: 1px solid #e2e7e2; margin-top: .5rem; padding-top: 1rem; }
.cart-page .cart-status { margin-bottom: .75rem; font-size: .88rem; }
.cart-page .cart-status:empty { display: none; }
footer .newsletter-footer { padding-bottom: 1rem; margin-bottom: 1rem; gap: .6rem; }
footer .newsletter-footer h2 { font-size: 1.05rem; }
footer .newsletter-signup { max-width: 28rem; }
footer .newsletter-signup label { font-size: .78rem; }
footer .newsletter-signup input { min-height: 42px; padding: .55rem .7rem; }
footer .newsletter-signup button { min-height: 42px; font-size: .82rem; }
@media (max-width: 720px) {
    .cart-page .checkout { grid-template-columns: minmax(0,1fr); }
    .cart-page .checkout-summary { grid-row: 1; }
    .cart-page .main { width: calc(100% - 1.25rem); padding-top: 1.25rem; }
    .cart-page .checkout-delivery, .cart-page .checkout-summary { border-radius: 18px; }
}
@media (max-width: 380px) {
    .cart-page .cart-item { grid-template-columns: 42px minmax(0,1fr); }
    .cart-page .cart-item > img { width: 42px; height: 48px; }
    .cart-page .cart-item > span { grid-column: 2; }
}

/* Pickup and delivery choice */
.delivery-mode { margin: 0 0 1rem; padding: 0; border: 0; min-width: 0; }
.delivery-mode legend { padding: 0; margin-bottom: .7rem; font-weight: 650; font-size: .95rem; }
.delivery-choices { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.delivery-choice { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; min-height: 100%; padding: .95rem .9rem; border: 1.5px solid #dfe6e0; border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.delivery-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.delivery-choice svg { color: #6b7a70; margin-bottom: .35rem; }
.delivery-choice strong { font-size: .92rem; font-weight: 650; line-height: 1.3; color: #17241e; }
.delivery-choice small { font-size: .78rem; line-height: 1.45; color: #5d6d63; }
.delivery-choice em { margin-top: .3rem; font-style: normal; font-size: .72rem; font-weight: 650; color: #1f5a3c; background: #e3efe6; padding: .15rem .5rem; border-radius: 99px; }
.delivery-choice:hover { border-color: #b8cbbd; }
.delivery-choice:has(input:checked) { border-color: #204e40; background: #f2f7f2; box-shadow: 0 0 0 3px #d9e8dc; }
.delivery-choice:has(input:checked) svg { color: #204e40; }
.delivery-choice:has(input:checked)::after { content: ''; position: absolute; top: .75rem; right: .75rem; width: 20px; height: 20px; border-radius: 50%; background: #204e40 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.delivery-choice:has(input:focus-visible) { outline: 2px solid #204e40; outline-offset: 2px; }
#checkout .delivery-fields label[hidden] { display: none; }
.pickup-admin { margin-block: 1.25rem; }
.pickup-admin p { line-height: 1.7; }
.pickup-admin form { margin-block: 1rem; }

/* Storefront (merged from shopfront.css) */
.store-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.nav-burger { display:none; }
.bag-label { font-weight:inherit; }
.nav-burger > summary { list-style:none; display:grid; place-items:center; width:44px; height:44px; margin-left:-.4rem; border-radius:12px; cursor:pointer; color:#204c3d; }
.nav-burger > summary::-webkit-details-marker { display:none; }
.nav-burger > summary:hover,.nav-burger[open] > summary { background:#eef3ee; }
.burger-icon { position:relative; display:block; width:22px; height:16px; }
.burger-icon i { position:absolute; left:0; width:100%; height:2px; border-radius:2px; background:currentColor; transition:transform .2s, opacity .2s, top .2s; }
.burger-icon i:nth-child(1) { top:0; }
.burger-icon i:nth-child(2) { top:7px; }
.burger-icon i:nth-child(3) { top:14px; }
.nav-burger[open] .burger-icon i:nth-child(1) { top:7px; transform:rotate(45deg); }
.nav-burger[open] .burger-icon i:nth-child(2) { opacity:0; }
.nav-burger[open] .burger-icon i:nth-child(3) { top:7px; transform:rotate(-45deg); }
.burger-menu { position:absolute; top:100%; left:0; right:0; z-index:40; display:flex; flex-direction:column; padding:.5rem 1rem 1rem; max-height:calc(100dvh - 120px); overflow:auto; background:#fff; border-top:1px solid #e7ece5; box-shadow:0 18px 40px #1c33232b; }
.burger-title { margin:.5rem .4rem .35rem; font-size:.7rem; font-weight:650; letter-spacing:.08em; text-transform:uppercase; color:#a06a1d; }
.burger-menu a { display:flex; align-items:center; min-height:48px; padding:.6rem .75rem; border-radius:12px; text-decoration:none; font-size:1rem; color:#26402f; }
.burger-menu a + a { border-top:1px solid #f0f3ef; }
.burger-menu a[aria-current] { background:#edf4ed; color:#1f5236; font-weight:650; border-top-color:transparent; }
.burger-menu a[aria-current] + a { border-top-color:transparent; }
.burger-menu a:hover { background:#f3f6f2; }
.shop-page .announcement { padding:.4rem 1rem; font-size:.75rem; font-weight:600; letter-spacing:.015em; line-height:1.6; }
.shop-page .bag { display:inline-flex; align-items:center; gap:.5rem; min-height:44px; font-size:.85rem; }
.shop-page .bag span { min-width:1.35rem; height:1.35rem; font-size:.7rem; }
.shop-page .shop-nav-desktop { gap:.25rem .65rem; padding-block:.45rem .85rem; font-size:.83rem; }
.shop-nav-desktop a { padding:.4rem .65rem; border-radius:10px; }
.shop-nav-desktop a[aria-current] { background:#edf3ed; color:#204c3d; font-weight:650; }
.shop-page .catalog-heading { display:grid; grid-template-columns:1fr; align-items:center; gap:1rem; margin-bottom:1.3rem; }
.catalog-heading > div:first-child { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.6rem; }
.catalog-heading h2 { font-size:clamp(1.45rem,3.4vw,2.2rem); letter-spacing:-.045em; line-height:1.2; }
.catalog-heading > div > p { font-size:.76rem; color:#79857c; font-weight:400; background:#f1f4f0; border-radius:99px; padding:.25rem .6rem; white-space:nowrap; }
.catalog-filters { display:grid; grid-template-columns:minmax(0,1fr) minmax(115px,.64fr); gap:.6rem; align-items:center; width:100%; }
.catalog-search { position:relative; min-width:0; }
.catalog-search input { width:100%; padding:.65rem 2.8rem .65rem .85rem; border:1px solid #e4e9e3; border-radius:13px; background:#f6f8f5; min-height:46px; font-size:1rem; font-weight:400; }
.catalog-search input::placeholder { color:#8b958e; font-weight:400; }
.catalog-search .catalog-search-button { position:absolute; right:3px; top:3px; min-height:40px; height:40px; width:40px; padding:0; border:0; border-radius:10px; background:transparent; color:#41624f; }
.catalog-search .catalog-search-button:hover { background:#e7eee7; }
.catalog-sort { display:block; min-width:0; }
.catalog-sort select { width:100%; min-height:46px; border:1px solid #e4e9e3; border-radius:13px; font-size:.86rem; font-weight:500; color:#4c6356; padding:.65rem 1.65rem .65rem .75rem; background-color:#fff; }
.catalog-search input:focus,.catalog-sort select:focus { border-color:#8eaf9b; background-color:#fff; outline:2px solid #d8e8dc; outline-offset:1px; }
.shop-page .product { border-radius:18px; background:#f1f4ef; padding:.45rem; border:1px solid #edf0e9; overflow:hidden; }
.shop-page .product-photo { border-radius:13px; background:#f7f8f5; }
.shop-page .product-copy { padding:.85rem .45rem .5rem; gap:.6rem; }
.shop-page .product-copy h3 { font-size:.88rem; line-height:1.45; letter-spacing:-.01em; font-weight:600; }
.shop-page .product-copy > p:not(.stock-note) { font-size:.95rem; font-weight:550; color:#254535; }
.shop-page .product-copy button { min-height:44px; border-radius:12px; font-size:.78rem; padding:.5rem .45rem; border-color:#b8cbbd; background:#fff; font-weight:550; }
.shop-page .product-copy button:hover { background:#204c3d; color:#fff; }
@media (min-width:850px) {
    .shop-page .catalog-heading { grid-template-columns:minmax(0,1fr) minmax(360px,.9fr); gap:2rem; }
    .catalog-heading > div:first-child { justify-content:flex-start; gap:1rem; }
    .catalog-filters { grid-template-columns:minmax(0,1fr) 150px; }
}
@media (max-width:760px) {
    .shop-page .shop-nav-desktop { display:none; }
    .shop-page .site-header { position:relative; }
    .shop-page .masthead { min-height:72px; grid-template-columns:1fr auto 1fr; }
    .nav-burger { display:block; grid-column:1; justify-self:start; }
    .shop-page .brand { grid-column:2; }
    .shop-page .brand img { width:92px; height:auto; }
    .shop-page .header-actions { grid-column:3; gap:.7rem; flex-wrap:wrap; justify-content:flex-end; }
    .shop-page .bag-label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
    .shop-page .header-actions > a:not(.bag) { font-size:.72rem; }
    .shop-page .header-actions button { font-size:.72rem; min-height:36px; padding:.4rem .7rem; }
    .shop-page:not(.cart-page) .main { padding-top:1.3rem; }
    .shop-page .catalog-heading { gap:.9rem; margin-bottom:1rem; }
    .shop-page .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
    .shop-page .product-copy h3 { font-size:.8rem; }
    .shop-page .product-copy { padding:.7rem .3rem .35rem; }
    .shop-page .product-copy button { font-size:.73rem; }
}
@media (max-width:350px) {
    .catalog-filters { grid-template-columns:minmax(0,1fr) 113px; gap:.4rem; }
    .catalog-search input { font-size:1rem; padding-left:.6rem; }
    .catalog-sort select { font-size:.78rem; padding-left:.5rem; }
}
@media (prefers-reduced-motion:reduce) { .burger-icon i { transition:none; } }

/* Cart heading and actions */
.cart-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-bottom:1rem; }
.cart-heading h1 { margin:0; }
.cart-empty-action form { margin:0; }
.cart-empty-action button { min-height:40px; padding:.4rem .2rem; background:none; border:0; border-radius:8px; color:#7a5a3a; font-size:.82rem; font-weight:550; text-decoration:underline; text-underline-offset:3px; }
.cart-empty-action button:hover { background:none; color:#a2361f; }
.js .cart-quantity button { display:none; }
.discount-entry > summary { list-style:none; display:inline-flex; align-items:center; gap:.45rem; min-height:44px; cursor:pointer; color:#315740; font-size:.88rem; font-weight:550; }
.discount-entry > summary::-webkit-details-marker { display:none; }
.discount-entry > summary::before { content:'+'; display:inline-grid; place-items:center; width:1.35rem; height:1.35rem; border-radius:50%; background:#edf3ed; font-weight:700; line-height:1; }
.discount-entry[open] > summary::before { content:'−'; }
.pay-button { width:100%; min-height:52px; font-size:1rem; border-radius:14px; }
.pay-trust { display:flex; align-items:center; justify-content:center; gap:.4rem; margin:.7rem 0 0; font-size:.75rem; color:#6b7a70; text-align:center; }

/* Added to cart dialog */
.cart-dialog { width:min(400px, calc(100vw - 2rem)); padding:1.2rem; border:0; border-radius:20px; box-shadow:0 24px 60px #1c332340; background:#fff; color:#17241e; }
.cart-dialog::backdrop { background:#17241e66; backdrop-filter:blur(2px); }
.cart-dialog-head { display:flex; gap:.8rem; align-items:flex-start; margin-bottom:1rem; }
.cart-dialog-check { flex-shrink:0; display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#e3efe6; color:#1f5a3c; }
.cart-dialog h2 { margin:0 0 .15rem; font-size:1.05rem; letter-spacing:-.01em; }
.cart-dialog [data-cart-message] { margin:0; font-size:.88rem; color:#56665c; line-height:1.45; }
.cart-dialog .toolbar { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; }
.cart-dialog .toolbar form { margin:0; }
.cart-dialog .toolbar .cta, .cart-dialog .toolbar button { width:100%; min-height:46px; font-size:.86rem; border-radius:12px; }
@media (max-width:760px) {
    .cart-dialog { margin:auto auto 1rem; }
}

/* Receipt */
.receipt { max-width:980px; margin:0 auto; }
.receipt-hero { text-align:center; padding:1.6rem 1rem 1.8rem; }
.receipt-icon { display:inline-grid; place-items:center; width:64px; height:64px; margin-bottom:1rem; border-radius:50%; background:#e3efe6; color:#1f5a3c; }
.receipt-pending .receipt-icon { background:#f6ecd9; color:#a06a1d; }
.receipt-failed .receipt-icon { background:#f6e3df; color:#a2361f; }
.receipt-eyebrow { margin:0 0 .4rem; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#a06a1d; }
.receipt-hero h1 { margin:0 0 .6rem; font-size:clamp(1.6rem,4.5vw,2.4rem); letter-spacing:-.04em; line-height:1.15; }
.receipt-hero p { max-width:34rem; margin:0 auto; color:#4c5f53; line-height:1.6; }
.receipt-actions { margin-top:1.1rem; display:flex; justify-content:center; }
.receipt-actions form { margin:0; }
.receipt-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:1rem; align-items:start; }
.receipt-card { padding:1.3rem; border:1px solid #e7ece5; border-radius:20px; background:#fff; }
.receipt-card h2 { margin:0 0 .8rem; font-size:1.05rem; letter-spacing:-.01em; }
.receipt-items { list-style:none; margin:0; padding:0; }
.receipt-items li { display:grid; grid-template-columns:56px minmax(0,1fr) auto; gap:.8rem; align-items:center; padding:.7rem 0; border-bottom:1px solid #eff2ed; }
.receipt-items img, .receipt-thumb { width:56px; height:56px; border-radius:12px; object-fit:cover; background:#f4efe6; display:block; }
.receipt-items strong { display:block; font-size:.9rem; font-weight:600; line-height:1.35; }
.receipt-items small { color:#6b7a70; font-size:.78rem; }
.receipt-items li > span { font-size:.9rem; white-space:nowrap; }
.receipt-totals { margin:.8rem 0 0; }
.receipt-totals div { display:flex; justify-content:space-between; padding:.3rem 0; font-size:.88rem; color:#56665c; }
.receipt-totals dt, .receipt-totals dd { margin:0; }
.receipt-totals .grand-total { margin-top:.4rem; padding-top:.7rem; border-top:1px solid #e3e8e1; font-size:1.05rem; font-weight:700; color:#17241e; }
.receipt-side p { margin:0 0 .8rem; font-size:.9rem; line-height:1.55; color:#26402f; }
.receipt-side a { display:inline-block; font-size:.88rem; color:#204e40; }
.receipt-muted { color:#6b7a70 !important; font-size:.82rem !important; }
.receipt-badge { display:inline-block; padding:.25rem .65rem; border-radius:99px; background:#e3efe6; color:#1f5a3c !important; font-size:.78rem !important; font-weight:650; }
.receipt-status { margin-top:1rem !important; padding-top:.8rem; border-top:1px solid #eff2ed; }
.receipt-back { margin-top:.2rem; font-weight:600; text-decoration:none; }
@media (max-width:760px) {
    .receipt-grid { grid-template-columns:1fr; }
    .receipt-hero { padding:1rem .5rem 1.4rem; }
    .receipt-card { padding:1.1rem; }
}
.receipt-eyebrow span { text-transform:none; letter-spacing:.02em; }

/* Add-to-cart celebration */
.confetti-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 2147483647; }
.bag-bump span { animation: bag-bump .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes bag-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .bag-bump span { animation: none; } }

/* Add-to-cart button feedback */
.shop-page .product-copy button.is-added, .product-detail button.is-added { background: #204e40; border-color: #204e40; color: #fff; }
.shop-page .product-copy button.is-error, .product-detail button.is-error { background: #fbeee9; border-color: #e3b5a8; color: #8a2f1c; }

/* Remove item from cart */
.cart-page .cart-item { grid-template-columns: 52px minmax(0,1fr) auto 32px; transition: opacity .2s; }
.cart-page .cart-item:not(:has(> img)) { grid-template-columns: minmax(0,1fr) auto 32px; }
.cart-page .cart-item.is-removing { opacity: .35; }
.cart-remove { grid-column: -2 / -1; grid-row: 1; justify-self: end; display: grid; place-items: center; width: 32px; height: 32px; min-height: 32px; padding: 0; border: 1px solid #e3e8e1; border-radius: 50%; background: #fff; color: #6b7a70; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.cart-remove:hover, .cart-remove:focus-visible { background: #fbeee9; border-color: #e3b5a8; color: #a2361f; }
.js .cart-quantity button { display: none; }
@media (max-width: 380px) {
    .cart-page .cart-item { grid-template-columns: 42px minmax(0,1fr) 32px; }
}

/* Cart item links and sale prices */
.cart-page .cart-item:not(:has(> .cart-item-photo)) { grid-template-columns: minmax(0,1fr) auto 32px; }
.cart-page .cart-item:has(> .cart-item-photo) { grid-template-columns: 52px minmax(0,1fr) auto 32px; }
.cart-item-photo img { display: block; width: 52px; height: 60px; object-fit: contain; border: 1px solid #ecefec; background: #f6f8f5; border-radius: 10px; }
.cart-item-name { color: inherit; text-decoration: none; }
.cart-item-name:hover strong, .cart-item-name:focus-visible strong { color: #204e40; text-decoration: underline; text-underline-offset: 3px; }
.cart-line-price { display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; font-size: .88rem; white-space: nowrap; }
.cart-line-price .sale-badge { display: none; }
.price-sale { color: #a2361f; font-weight: 650; }
.price-was { color: #8b958e; font-size: .85em; font-weight: 400; }
.sale-badge { display: inline-block; padding: .05rem .4rem; border-radius: 6px; background: #a2361f; color: #fff; font-size: .7rem; font-weight: 700; vertical-align: middle; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .4rem; }
.detail-price .price-was { font-size: .7em; }
@media (max-width: 380px) {
    .cart-page .cart-item:has(> .cart-item-photo) { grid-template-columns: 42px minmax(0,1fr) 32px; }
    .cart-item-photo img { width: 42px; height: 48px; }
    .cart-page .cart-item > .cart-line-price { grid-column: 2; align-items: flex-start; }
}

/* Admin: sales */
.sales-admin .sale-row { padding: 1rem; border: 1px solid #e3e8e1; border-radius: 14px; background: #fff; display: grid; gap: .8rem; }
.sales-admin .sale-new { border-style: dashed; background: #fafbf9; }
.sale-row-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.sale-state { font-size: .75rem; font-weight: 650; padding: .15rem .55rem; border-radius: 99px; background: #eef1ec; color: #5d6d63; }
.sale-state.is-live { background: #e3efe6; color: #1f5a3c; }
.sale-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .7rem; }
.sale-grid label { display: grid; gap: .3rem; font-size: .82rem; }
.sale-grid [hidden] { display: none; }

/* Sale announcement in the brown bar */
.announcement a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.announcement a:hover { color: #ffe9b3; }
.announcement strong { font-weight: 750; }
.announce-sep { opacity: .7; }
@media (max-width: 760px) {
    .announcement-sale .announce-sep, .announcement-sale .announce-item:not(.is-active) { display: none; }
    .announcement-sale .announce-item.is-active { animation: announce-in .35s ease; }
}
@keyframes announce-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .announcement-sale .announce-item.is-active { animation: none; } }

/* Endless product list */
.load-more { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin: 1.6rem 0 .5rem; }
.load-more .cta { min-width: 220px; }
.load-more.is-loading .cta { opacity: .5; pointer-events: none; }
.load-more-status { font-size: .82rem; color: #6b7a70; min-height: 1.2em; }

/* Newsletter campaigns */
.newsletter-campaign summary { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; cursor: pointer; }
.nl-state { margin-left: auto; padding: .15rem .6rem; border-radius: 99px; font-size: .75rem; font-weight: 650; background: #eef1ec; color: #5d6d63; }
.nl-running { background: #f6ecd9; color: #8a5a12; }
.nl-done { background: #e3efe6; color: #1f5a3c; }
.nl-paused { background: #fbeee9; color: #a2361f; }
.nl-progress { display: block; width: 100%; height: 8px; margin: .8rem 0 .4rem; border: 0; border-radius: 99px; background: #eef1ec; overflow: hidden; appearance: none; }
.nl-progress::-webkit-progress-bar { background: #eef1ec; border-radius: 99px; }
.nl-progress::-webkit-progress-value { background: #204e40; border-radius: 99px; }
.nl-progress::-moz-progress-bar { background: #204e40; border-radius: 99px; }

/* Admin dashboard (iOS style) */
.ios-dash { --ios-bg: #f2f2f7; --ios-card: #fff; --ios-text: #1c1c1e; --ios-sub: #8e8e93; --ios-sep: #e5e5ea; --ios-green: #204e40;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif; color: var(--ios-text);
    background: var(--ios-bg); border-radius: 28px; padding: clamp(1rem, 3vw, 1.75rem); margin-top: 1rem; display: grid; gap: 1rem; }
.ios-dash-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.ios-segment { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 12px; background: #e3e3e8; min-width: min(100%, 320px); }
.ios-segment a { padding: .45rem 1rem; border-radius: 9px; text-align: center; text-decoration: none; color: var(--ios-text); font-size: .9rem; font-weight: 550; }
.ios-segment a[aria-current] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 1px rgba(0,0,0,.04); font-weight: 650; }
.ios-source { font-size: .82rem; color: var(--ios-green); text-decoration: none; padding: .4rem .8rem; border-radius: 99px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.ios-dash-head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; text-align: center; }
.ios-dash-head h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.ios-dash-head p { margin: .2rem 0 0; color: var(--ios-sub); font-size: .9rem; }
.ios-step { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ios-green); font-size: 1.6rem; line-height: 1; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.ios-step.is-disabled { opacity: .3; }
.ios-card { background: var(--ios-card); border-radius: 22px; padding: 1.15rem 1.25rem; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04); min-width: 0; }
.ios-card h2 { margin: 0; font-size: 1.02rem; font-weight: 650; }
.ios-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .8rem; }
.ios-card-head span { color: var(--ios-sub); font-size: .88rem; }
.ios-kpis { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; }
.ios-kpi p { margin: 0; }
.ios-label { color: var(--ios-sub); font-size: .82rem; font-weight: 550; }
.ios-value { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 750; letter-spacing: -.03em; margin: .25rem 0 .35rem !important; font-variant-numeric: tabular-nums; }
.ios-kpi.is-main { background: linear-gradient(145deg, #204e40, #2f6b57); color: #fff; }
.ios-kpi.is-main .ios-label, .ios-kpi.is-main .ios-change { color: rgba(255,255,255,.78); }
.ios-change { font-size: .78rem; color: var(--ios-sub); line-height: 1.45; }
.ios-change span { display: inline-block; padding: .05rem .45rem; border-radius: 99px; font-weight: 700; margin-right: .2rem; background: #f2f2f7; color: var(--ios-sub); }
.ios-change.is-up span { background: #e3f5e8; color: #1e7a3c; }
.ios-change.is-down span { background: #fde8e6; color: #c0362c; }
.ios-kpi.is-main .ios-change span { background: rgba(255,255,255,.18); color: #fff; }
.ios-chart { display: block; width: 100%; height: 180px; }
.ios-chart rect { fill: #c9dccf; transition: fill .15s; }
.ios-chart rect:hover { fill: #2f6b57; }
.ios-chart rect.is-active { fill: #204e40; }
.ios-chart rect.is-future { fill: #ececf0; }
.ios-chart-labels { display: flex; margin-top: .4rem; }
.ios-chart-labels span { flex: 1; text-align: center; font-size: .68rem; color: var(--ios-sub); white-space: nowrap; overflow: visible; }
.ios-chart-labels span.is-hidden { visibility: hidden; }
.ios-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ios-list { list-style: none; margin: 0; padding: 0; }
.ios-list li { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: .75rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--ios-sep); font-size: .9rem; }
.ios-list li:first-child { border-top: 0; padding-top: .2rem; }
.ios-details li { grid-template-columns: minmax(0,1fr) auto; }
.ios-list-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ios-list-meta { color: var(--ios-sub); font-size: .82rem; }
.ios-list strong { font-weight: 650; font-variant-numeric: tabular-nums; }
.ios-empty { margin: 0; color: var(--ios-sub); font-size: .9rem; }
.ios-footnote { margin: 0; color: var(--ios-sub); font-size: .76rem; text-align: center; }
@media (max-width: 760px) {
    .ios-kpis { grid-template-columns: 1fr 1fr; }
    .ios-kpi.is-main { grid-column: 1 / -1; }
    .ios-grid-2 { grid-template-columns: 1fr; }
    .ios-dash { border-radius: 22px; }
}
@media (max-width: 760px) { .ios-chart-labels span.is-alt { visibility: hidden; } }

/* Admin: VAT categories */
.vat-step { margin: 0 0 .6rem; font-weight: 650; }
.vat-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.vat-chip { display: inline-flex; cursor: pointer; }
.vat-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vat-chip span { padding: .45rem .9rem; border-radius: 99px; border: 1.5px solid #dfe6e0; background: #fff; font-size: .86rem; }
.vat-chip input:checked + span { background: #204e40; border-color: #204e40; color: #fff; }
.vat-chip input:focus-visible + span { outline: 2px solid #204e40; outline-offset: 2px; }
.vat-table { border: 1px solid #e3e8e1; border-radius: 16px; overflow: hidden; background: #fff; }
.vat-row { display: grid; grid-template-columns: minmax(0,1fr) 210px; gap: .8rem; align-items: center; padding: .65rem .9rem; border-top: 1px solid #eef1ec; }
.vat-row:first-child { border-top: 0; }
.vat-row strong { display: block; font-size: .9rem; font-weight: 600; }
.vat-row small { color: #6b7a70; font-size: .76rem; }
.vat-row select { min-height: 40px; border-radius: 10px; font-size: .84rem; }
.vat-row select.vat-food { background-color: #eef6f0; }
.vat-row select.vat-book { background-color: #f6f0e4; }
@media (max-width: 600px) { .vat-row { grid-template-columns: 1fr; } }

/* ---- merged from customer-fields.css ---- */
.customer-details { grid-column: 1 / -1; }
.customer-details summary { cursor: pointer; }
.customer-details dt { font-weight: 650; }
.customer-details dd { margin: 0 0 .5rem; }

/* ---- merged from newsletter.css ---- */
.newsletter-admin textarea { min-height: 10rem; }
.newsletter-admin details summary { cursor: pointer; overflow-wrap: anywhere; }
.newsletter-admin details p { margin: .6rem 0; }
footer .newsletter-footer { display: grid; gap: .75rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.newsletter-footer h2 { font-size: clamp(1.15rem, 3vw, 1.65rem); }
.newsletter-signup { display: grid; gap: .6rem; width: min(100%, 34rem); }
.newsletter-signup input, .newsletter-optin input { font-size: 1rem; }
.newsletter-optin input { flex: 0 0 auto; accent-color: var(--green); }
@media (min-width: 560px) {
    .newsletter-signup { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* ---- merged from admin-tabs.css ---- */
.admin-nav a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }
.product-pagination { margin-top: 1rem; align-items: center; }
.quick-product { padding: 1rem; display: grid; gap: .85rem; }
.quick-product + .quick-product { border-top: 1px solid var(--border); }
.quick-product-head { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.quick-product-head > div { flex: 1 1 9rem; }
.quick-product-head small { display: block; }
.mini-product-photo { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.quick-product-fields { display: grid; gap: .65rem; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); }
.visibility-button { min-width: 42px; min-height: 42px; padding: .4rem; }
.product-copy .visibility-form { margin-top: 0; }
.storefront-admin { align-items: center; }

/* ---- merged from admin-footer.css ---- */
footer .admin-footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.admin-footer-grid h2 { font-size: 1.15rem; margin: 0 0 .65rem; }
.admin-footer-grid h3 { margin: .85rem 0 .35rem; }
.admin-footer-grid p { max-width: 38ch; }
.admin-footer-grid ul { padding: 0; list-style: none; }
.admin-footer-grid .footer-social { display: flex; flex-wrap: wrap; gap: .45rem .85rem; }
.admin-footer-grid address { margin-top: .85rem; font-style: normal; }
@media (min-width: 760px) {
    footer .admin-footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.admin-footer-grid > section:nth-child(2) > ul:first-of-type { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem .75rem; }
footer .footer-policies { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; border-top: 1px solid var(--border,#ddd); padding-block: 1rem; margin-top: 1.25rem; }
.shop-policy { max-width: 72ch; margin-inline: auto; padding-block: 1rem 2rem; }
.shop-policy h1 { font-size: clamp(1.7rem,5vw,2.7rem); }
.shop-policy h2 { font-size: 1.2rem; margin: 1.5rem 0 .4rem; }
.shop-policy a { overflow-wrap: anywhere; }
@media (max-width: 340px) { .admin-footer-grid > section:nth-child(2) > ul:first-of-type { grid-template-columns: 1fr; } }
.stock-note { font-weight: 650; color: #74522b; }

/* Public footer and related products: mobile first. */
footer .admin-footer-grid { padding-block: 2rem; gap: 2rem; align-items: start; }
.admin-footer-grid > section { min-width: 0; }
.admin-footer-grid p { line-height: 1.75; margin-block: .75rem; }
.admin-footer-grid ul { margin-block: .5rem 1rem; }
.admin-footer-grid li { line-height: 1.65; }
.admin-footer-grid a { display: inline-block; padding-block: .4rem; overflow-wrap: anywhere; }
.admin-footer-grid address { line-height: 1.75; }
footer .footer-policies { justify-content: center; text-align: center; align-items: center; }
.footer-policies a { padding-block: .65rem; line-height: 1.5; }
footer .newsletter-footer { padding-block: 1.25rem; }
.newsletter-footer .footer-consent { max-width: 65ch; font-size: .85rem; line-height: 1.6; margin-block: .5rem 1rem; }
.related-products { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border,#ddd); }
.related-products > h2 { margin-bottom: .5rem; font-size: clamp(1.4rem,4vw,2rem); }
.related-products > p { margin-bottom: 1.5rem; }
.related-products .product-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 1rem; }
.header-actions { flex-wrap: wrap; }
footer a:focus-visible, .related-products a:focus-visible { outline: 2px solid #204e40; outline-offset: 3px; }
@media (min-width: 480px) {
    .related-products .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 1000px) {
    .related-products .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 480px) {
    footer .footer-policies { flex-direction: column; gap: .1rem; }
    .newsletter-signup { flex-wrap: wrap; }
    .newsletter-signup label { min-width: 0; width: 100%; }
    .admin-footer-grid .footer-social a { min-height: 44px; }
}

footer .newsletter-footer { display: block; }

.footer-admin-tools { justify-content: flex-end; padding-block: .25rem 1rem; }
.footer-editor { margin-block: 1.5rem; }
.footer-editor > p { max-width: 75ch; line-height: 1.7; }
.footer-editor-fields { display: grid; grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
.footer-editor-fields label { display: grid; gap: .5rem; min-width: 0; }
.footer-editor-fields textarea { width: 100%; min-width: 0; line-height: 1.6; resize: vertical; }
@media (min-width: 760px) {
    .footer-editor-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

footer .footer-copyright { justify-content: center; align-items: center; text-align: center; padding-block: 1.25rem .25rem; font-size: .85rem; gap: .75rem; }
.footer-copyright [hidden], .tracking-consent[hidden] { display: none; }
.tracking-consent { position: fixed; z-index: 1000; inset-inline: 1rem; bottom: 1rem; margin: 0 auto; max-width: 42rem; max-height: calc(100dvh - 2rem); overflow-y: auto; background: #fff; color: #18251f; box-shadow: 0 12px 50px #0003; border-radius: 1rem; padding: 1.25rem; }
.tracking-consent h2 { font-size: 1.15rem; margin: 0 0 .75rem; }
.tracking-consent p { line-height: 1.65; }
.tracking-consent .toolbar { margin-top: 1rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.tracking-consent .toolbar button { width: 100%; min-height: 44px; }
#site-scripts-editor textarea { width: 100%; min-width: 0; line-height: 1.55; font-family: ui-monospace, monospace; font-size: .85rem; }
.order-delete { margin-top: 1.5rem; }
.order-delete > summary { color: #8b2727; }
@media (max-width: 360px) {
    .tracking-consent .toolbar { grid-template-columns: 1fr; }
}

/* ---- merged from shop-policy.css ---- */
main .shop-policy {
    max-width: 48rem;
    margin: clamp(1rem, 4vw, 3rem) auto;
    padding: clamp(1.25rem, 5vw, 3.5rem);
    border: 1px solid #dde5df;
    border-radius: 18px;
    background: #fff;
    font-size: 1.0625rem;
    line-height: 1.75;
}
main .shop-policy h1 { margin: 0 0 1.5rem; font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.13; }
main .shop-policy h2 {
    margin: 2rem 0 .65rem;
    padding-top: 1.15rem;
    border-top: 1px solid #dde5df;
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    line-height: 1.3;
}
main .shop-policy p { margin: 0 0 1rem; }
main .shop-policy p:last-child { margin-bottom: 0; }
@media (max-width: 550px) {
    main .shop-policy { margin-block: .75rem 1.5rem; padding: 1.15rem; font-size: 1rem; }
    main .shop-policy h2 { margin-top: 1.55rem; }
}

/* ---- merged from stock-watch.css ---- */
.stock-watch { margin-top: .55rem; }
.stock-watch summary { cursor: pointer; color: var(--green); font-size: .9rem; }
.stock-watch form { display: grid; margin-top: .6rem; }
.stock-watch button { width: 100%; }

/* ---- merged from orders-admin.css ---- */
.orders-page { display: grid; gap: 1rem; }
.orders-heading { display:flex; align-items:center; justify-content:space-between; gap:.65rem; flex-wrap:wrap; }
.orders-heading h2 { margin:0; }
.orders-heading p { color:#536359; margin:0; }
.orders-filters { display:flex; flex-wrap:wrap; gap:.38rem; }
.orders-filters a { padding:.45rem .8rem; border-radius:1rem; text-decoration:none; color:var(--green); background:#fff; border:1px solid var(--border); font-weight:650; }
.orders-filters a[aria-current="page"] { background:var(--green); color:#fff; }
.orders-search { background:#fff; border:1px solid var(--border); padding:.8rem; border-radius:12px; }
.orders-search label { flex:1 1 14rem; max-width:34rem; }
.orders-table-wrap { overflow:auto; background:#fff; border:1px solid var(--border); border-radius:14px; }
.orders-table { width:100%; border-collapse:collapse; font-size:.89rem; text-align:left; }
.orders-table th { background:#f6f8f5; color:#344a40; font-weight:700; }
.orders-table th, .orders-table td { padding:.75rem .65rem; border-bottom:1px solid var(--border); }
.orders-table tbody tr:last-child td { border-bottom:0; }
.orders-table tbody tr:hover { background:#f7faf7; }
.order-link { color:var(--green); font-weight:750; white-space:nowrap; }
.order-badge { display:inline-block; border-radius:999px; padding:.2rem .55rem; color:#344a40; background:#eef2ee; font-size:.78rem; font-weight:650; }
.payment-paid { background:#e3f1e6; color:#205637; }
.payment-authorized, .payment-pending { background:#fff1ce; color:#684900; }
.payment-refunded, .payment-cancelled { background:#f2eaf0; color:#603654; }
.orders-empty, .order-detail { background:#fff; padding:clamp(1rem,3vw,1.65rem); border-radius:14px; }
.order-detail { display:grid; gap:.8rem; }
.order-detail p, .order-detail ul { margin-block:.2rem; }
.orders-back { justify-self:start; }
@media (max-width: 760px) {
    .orders-table-wrap { border:0; background:none; overflow:visible; }
    .orders-table, .orders-table tbody { display:block; }
    .orders-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
    .orders-table tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem .85rem; background:white; border:1px solid var(--border); border-radius:12px; padding:.85rem; margin-bottom:.65rem; }
    .orders-table td { display:block; padding:0; border:0; overflow-wrap:anywhere; }
    .orders-table td::before { content:attr(data-label); display:block; color:#536359; font-size:.75rem; }
}

/* ---- merged from stock-watch-admin.css ---- */
#stock-watch-admin summary { cursor: pointer; overflow-wrap: anywhere; }
#stock-watch-admin details > p { margin-block: .7rem; }
#stock-watch-admin .stock-subscriber { grid-template-columns: minmax(0,1fr) minmax(0,11rem) auto; }
#stock-watch-admin .stock-subscriber a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
    #stock-watch-admin .stock-subscriber { grid-template-columns: minmax(0,1fr); }
    #stock-watch-admin .stock-subscriber a { justify-self: start; }
}
