:root {
    --plum: #4a193f;
    --plum-deep: #271326;
    --berry: #8d2c55;
    --rose: #d78a8b;
    --leaf: #2f6b4f;
    --honey: #c9872c;
    --ink: #20191d;
    --muted: #6e6268;
    --paper: #fffdf8;
    --surface: #ffffff;
    --warm: #f5efe5;
    --line: #e3d9ce;
    --danger: #a83a35;
    --shadow: 0 18px 45px rgba(59, 32, 27, .09);
    color-scheme: light;
}

[data-theme="dark"] {
    --plum: #f0b8d0;
    --plum-deep: #fff4f8;
    --berry: #f09ab8;
    --rose: #c9787e;
    --leaf: #83cfaa;
    --honey: #efbd78;
    --ink: #f6efe9;
    --muted: #c9bbb4;
    --paper: #171313;
    --surface: #211b1b;
    --warm: #261f1d;
    --line: #493c37;
    --danger: #ff9c91;
    --shadow: 0 18px 45px rgba(0, 0, 0, .28);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Tenor Sans', Georgia, serif;
    font-size: 16px;
    line-height: 1.55;
}
img { max-width: 100%; }
main { flex: 1 0 auto; }
a { color: inherit; }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--plum-deep);
    color: var(--paper);
    text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    min-height: 108px;
    padding: 10px 5vw 9px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px 28px;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(16px);
}
.brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--plum-deep);
    text-decoration: none;
    font-size: 21px;
    white-space: nowrap;
}
.brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
}
.site-header nav {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: min(620px, 100%);
    min-height: 38px;
    padding: 4px;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    box-shadow: 0 10px 22px rgba(59, 32, 27, .05);
}
.utility-nav { grid-column: 3; grid-row: 1; justify-self: end; }
.site-header nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--berry); }
.primary-nav a {
    flex: 1 1 0;
    min-width: 116px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 6px;
    color: var(--muted);
}
.primary-nav a:hover {
    background: var(--warm);
    color: var(--plum-deep);
}
.site-header .primary-nav a[aria-current="page"] {
    background: var(--plum-deep);
    color: var(--paper);
}
.social-links { display: inline-flex; align-items: center; gap: 9px; }
.social-link {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    line-height: 0;
    transition: transform .18s ease, border-color .18s ease;
}
.social-link img { width: 18px; height: 18px; display: block; }
.social-link:hover { transform: translateY(-1px); border-color: var(--rose); }

.theme-toggle,
.cart-link,
.button,
button {
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.theme-toggle {
    width: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--plum-deep) !important;
    font-size: 20px;
}
.cart-link,
.button,
button:not(.theme-toggle):not(.product-image-main):not(.product-thumbnail):not(.product-gallery-arrow):not(.lightbox-close):not(.lightbox-arrow):not(.notice-close):not(.text-button):not(.quantity-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background: var(--plum-deep);
    color: var(--paper) !important;
    box-shadow: 0 10px 24px rgba(74, 25, 63, .16);
}
.secondary-button {
    border: 1px solid var(--line);
    background: var(--surface) !important;
    color: var(--plum-deep) !important;
    box-shadow: none !important;
}
.cart-link:hover,
.button:hover,
button:not(.theme-toggle):not(.product-image-main):not(.product-thumbnail):not(.product-gallery-arrow):not(.lightbox-close):not(.lightbox-arrow):not(.notice-close):not(.text-button):not(.quantity-button):hover {
    background: var(--berry);
    transform: translateY(-1px);
}
.secondary-button:hover { background: var(--warm) !important; }
button:disabled,
.button[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--honey) 55%, transparent);
    outline-offset: 3px;
}

.notice {
    position: fixed;
    top: 108px;
    right: 24px;
    z-index: 120;
    width: min(420px, calc(100vw - 32px));
    padding: 16px 44px 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
    animation: notice-in .24s ease-out;
}
.notice-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font: 800 18px/1 Arial, sans-serif;
}
.notice-copy { display: grid; gap: 4px; line-height: 1.45; }
.notice-copy strong { color: var(--plum-deep); font-size: 15px; }
.notice-copy span { color: var(--muted); font-size: 14px; }
.notice.success .notice-icon { background: #e7f3eb; color: var(--leaf); }
.notice.error .notice-icon { background: #fff0ec; color: var(--danger); }
.notice-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: transparent;
    color: var(--muted) !important;
    font: 24px/1 Arial, sans-serif;
    box-shadow: none;
}
.notice-close:hover { background: var(--warm); color: var(--plum-deep) !important; transform: none; }
.notice.is-hiding { animation: notice-out .18s ease-in forwards; }
@keyframes notice-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes notice-out { to { opacity: 0; transform: translateY(-6px); } }

h1, h2, h3 {
    margin-top: 0;
    font-family: 'Tenor Sans', Georgia, serif;
    font-weight: 400;
    line-height: 1.05;
    color: var(--plum-deep);
    letter-spacing: 0;
}
h1 { margin-bottom: 20px; font-size: 64px; }
h2 { font-size: 34px; }
h3 { font-size: 24px; }
p { margin-top: 0; }
.eyebrow {
    margin: 0 0 12px;
    color: var(--berry);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.lead {
    max-width: 720px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
}

.welcome-hero {
    min-height: calc(100vh - 88px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .7fr);
    align-items: center;
    gap: 54px;
    padding: 72px 7vw 92px;
    background: var(--warm);
}
.welcome-copy { max-width: 780px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.welcome-button { min-width: 230px; }
.trust-row {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.trust-row span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: color-mix(in srgb, var(--surface) 74%, transparent);
    color: var(--plum-deep);
    font-size: 13px;
    font-weight: 800;
}
.welcome-visual {
    justify-self: center;
    width: min(430px, 100%);
    display: grid;
    gap: 18px;
}
.welcome-mark {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.welcome-mark img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.hero-note {
    padding: 18px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}
.hero-note strong { color: var(--plum-deep); font-size: 20px; }
.hero-note span { color: var(--muted); }

.catalog,
.narrow,
.about-page,
.content-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 64px 24px 88px;
}
.catalog { max-width: 1380px; }
.catalog-hero,
.page-heading,
.section-title {
    margin-bottom: 28px;
}
.catalog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 32px;
    align-items: end;
}
.catalog-hero h1,
.page-heading h1 { max-width: 780px; margin-bottom: 16px; }

.filters {
    align-self: stretch;
    display: grid;
    align-content: end;
}
.filters label,
.form-grid label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.filters select,
input,
textarea,
select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 13px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
}
textarea { min-height: 118px; resize: vertical; }

.process-strip {
    margin: 0 0 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
}
.process-strip div {
    min-height: 74px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 1px solid var(--line);
}
.process-strip div:last-child { border-right: 0; }
.process-strip strong {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--warm);
    color: var(--berry);
    font-family: Arial, sans-serif;
}
.process-strip span { font-weight: 800; color: var(--plum-deep); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 410px));
    justify-content: start;
    gap: 22px;
}
.product-grid > .empty-state { grid-column: 1 / -1; }
.product-card,
.panel,
.summary,
.empty-state,
.about-card,
.contact-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.product-card {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}
.product-card:hover { transform: translateY(-2px); transition: transform .2s ease; }
.product-gallery { background: var(--warm); border-bottom: 1px solid var(--line); }
.product-image {
    position: relative;
    height: 285px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--warm);
    color: var(--berry);
    font-size: 64px;
}
.product-image-main {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
}
.product-image-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.product-image-main:hover img { transform: scale(1.025); }
.gallery-zoom-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(32, 25, 29, .78);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease;
}
.gallery-zoom-hint svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}
.product-image-main:hover .gallery-zoom-hint,
.product-image-main:focus-visible .gallery-zoom-hint { opacity: 1; transform: translateY(0); }
.product-gallery-arrow {
    position: absolute;
    top: 60%;
    z-index: 2;
    width: 36px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 6px;
    background: rgba(32,25,29,.7);
    color: #fff !important;
    font: 30px/1 Arial, sans-serif;
    opacity: 0;
    transform: translateY(-50%);
}
.product-gallery-arrow.previous { left: 12px; }
.product-gallery-arrow.next { right: 12px; }
.product-image:hover .product-gallery-arrow,
.product-gallery-arrow:focus-visible { opacity: 1; }
.product-gallery-arrow:hover { background: var(--berry); }
.product-thumbnails {
    display: flex;
    gap: 8px;
    padding: 10px;
    overflow-x: auto;
    background: var(--surface);
}
.product-thumbnail {
    flex: 0 0 58px;
    width: 58px;
    height: 46px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    background: var(--warm);
    opacity: .7;
}
.product-thumbnail:hover,
.product-thumbnail.active { border-color: var(--berry); opacity: 1; }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-body {
    padding: 22px;
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
    gap: 14px;
}
.product-meta,
.buy-row,
.summary p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.product-meta { font-size: 13px; color: var(--muted); }
.available,
.sold-out {
    padding: 5px 8px;
    border-radius: 6px;
    font-weight: 800;
    white-space: nowrap;
}
.available { background: color-mix(in srgb, var(--leaf) 12%, transparent); color: var(--leaf); }
.sold-out { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
.product-body h3 { margin: 0; }
.product-body > p { margin: 0; color: var(--muted); }
.product-ingredients {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: color-mix(in srgb, var(--warm) 62%, transparent);
    font-size: 13px;
    color: var(--muted);
}
.product-ingredients strong { display: block; margin-bottom: 5px; color: var(--plum-deep); }
.product-ingredients p { margin: 0; }
.offer-schedule {
    display: grid;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--surface);
}
.schedule-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}
.schedule-row:last-child { border-bottom: 0; }
.schedule-row span { color: var(--muted); }
.schedule-row strong { color: var(--plum-deep); text-align: right; }
.schedule-row.delivery strong { color: var(--leaf); }
.buy-row {
    margin-top: 2px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.product-price {
    color: var(--plum-deep);
    font-size: 22px;
    white-space: nowrap;
}
.product-price small { color: var(--muted); font-size: 13px; }
.buy-form {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}
.quantity-control {
    flex: 0 0 116px;
    height: 46px;
    display: grid;
    grid-template-columns: 36px 42px 36px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
}
.quantity-button {
    width: 36px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--plum-deep) !important;
    font-size: 19px;
    box-shadow: none;
}
.quantity-button:first-child { border-right: 1px solid var(--line); }
.quantity-button:last-child { border-left: 1px solid var(--line); }
.quantity-button:hover { background: var(--warm); transform: none; }
.quantity-control input {
    width: 42px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    text-align: center;
    font-weight: 800;
    appearance: textfield;
}
.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.add-to-cart-button {
    min-width: 126px;
    min-height: 46px;
    padding: 10px 14px !important;
}

.gallery-lightbox[hidden] { display: none; }
.lightbox-open { overflow: hidden; }
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: minmax(52px, 1fr) minmax(0, 1100px) minmax(52px, 1fr);
    align-items: center;
    padding: 34px;
    background: rgba(18, 14, 16, .92);
}
.gallery-lightbox figure {
    grid-column: 2;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    max-height: calc(100vh - 68px);
    margin: 0;
}
.gallery-lightbox figure img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 125px);
    margin: auto;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 25px 80px rgba(0,0,0,.45);
}
.gallery-lightbox figcaption {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding-top: 15px;
    color: rgba(255,255,255,.88);
    font-size: 13px;
}
.lightbox-counter { color: rgba(255,255,255,.6); }
.lightbox-close,
.lightbox-arrow {
    position: absolute;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 6px;
    background: rgba(255,255,255,.1);
    color: #fff !important;
    box-shadow: none;
}
.lightbox-close { top: 22px; right: 22px; width: 46px; height: 46px; font: 31px/1 Arial, sans-serif; }
.lightbox-arrow { top: 60%; width: 48px; height: 62px; font: 38px/1 Arial, sans-serif; transform: translateY(-50%); }
.lightbox-arrow.previous { left: 24px; }
.lightbox-arrow.next { right: 24px; }
.lightbox-close:hover,
.lightbox-arrow:hover { background: var(--berry); }

.checkout-page { max-width: 1180px; }
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
    gap: 22px;
    align-items: start;
}
.panel,
.summary,
.empty-state { padding: 26px; }
.summary {
    position: sticky;
    top: 126px;
    display: grid;
    gap: 6px;
}
.summary h2,
.panel h2 { margin-bottom: 14px; }
.summary p {
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}
.summary .total {
    border-bottom: 0;
    color: var(--plum-deep);
    font-size: 21px;
}
.full { width: 100%; text-align: center; }
.empty-state {
    max-width: 680px;
    display: grid;
    gap: 12px;
    justify-items: start;
}
.empty-state p { color: var(--muted); }
.cart-schedule-banner {
    margin: 0 0 22px;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--warm);
    color: var(--ink);
}
.cart-schedule-banner strong {
    margin-right: auto;
    color: var(--plum-deep);
    font-size: 17px;
}
.cart-schedule-banner span {
    padding: 7px 9px;
    border-radius: 6px;
    background: var(--surface);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.cart-panel { display: grid; }
.cart-item {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 120px 112px 62px;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.cart-item > div:first-child { min-width: 0; }
.cart-item small { display: block; margin-top: 4px; color: var(--muted); }
.cart-item [data-line-total] {
    justify-self: end;
    color: var(--plum-deep);
    white-space: nowrap;
}
.cart-item form:last-child { justify-self: end; }
.cart-quantity-form {
    display: grid !important;
    justify-items: center;
    gap: 4px !important;
}
.cart-quantity-form label {
    display: grid;
    justify-items: center;
    gap: 6px;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
.cart-quantity-form input {
    width: 88px;
    min-height: 48px;
    text-align: center;
    font-weight: 800;
}
.clear-cart-form { margin-top: 20px; }
.text-button {
    min-height: auto;
    padding: 4px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--berry) !important;
    box-shadow: none;
}
.text-button:hover { color: var(--plum-deep) !important; background: var(--warm); transform: none; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.wide { grid-column: 1 / -1; }
.form-section-label {
    display: block;
    margin-bottom: 10px;
    color: var(--plum-deep);
    font-weight: 800;
}
.fulfillment-options {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--warm) 60%, transparent);
}
.shipping-panel {
    display: grid;
    gap: 14px;
}
.delivery-method-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.delivery-method-options .checkbox {
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}
.delivery-method-options .checkbox:has(input:checked) {
    border-color: color-mix(in srgb, var(--berry) 55%, var(--line));
    background: color-mix(in srgb, var(--warm) 70%, transparent);
    color: var(--plum-deep) !important;
}
.delivery-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.delivery-fields-grid[hidden],
.locker-number-card[hidden] {
    display: none !important;
}
.locker-number-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}
.locker-number-card label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.inpost-picker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}
.inpost-picker-copy {
    display: grid;
    align-content: center;
    gap: 4px;
    min-height: 54px;
}
.inpost-picker-copy strong { color: var(--plum-deep); }
.inpost-picker-copy span { color: var(--muted); font-size: 14px; }
.inpost-picker-copy.is-empty strong { color: var(--berry); }
.inpost-modal[hidden] { display: none; }
.inpost-modal-open { overflow: hidden; }
.inpost-modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(18, 14, 16, .68);
}
.inpost-modal-panel {
    position: relative;
    width: min(1120px, 100%);
    height: min(760px, calc(100vh - 44px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.inpost-modal-header {
    display: grid;
    gap: 4px;
    padding: 18px 56px 16px 20px;
    border-bottom: 1px solid var(--line);
}
.inpost-modal-header strong { color: var(--plum-deep); font-size: 20px; }
.inpost-modal-header span { color: var(--muted); font-size: 14px; }
.inpost-modal-close {
    position: absolute;
    top: 13px;
    right: 14px;
    width: 34px;
    height: 34px;
    min-height: 0;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: transparent;
    color: var(--muted) !important;
    font: 28px/1 Arial, sans-serif;
    box-shadow: none;
}
.inpost-modal-close:hover { background: var(--warm); color: var(--plum-deep) !important; transform: none; }
.inpost-widget-shell { min-height: 0; }
.inpost-widget-shell inpost-geowidget { display: block; width: 100%; height: 100%; min-height: 620px; }
.checkbox {
    min-height: 48px;
    display: flex !important;
    align-items: center;
    gap: 11px;
    color: var(--ink) !important;
}
.checkbox input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
    accent-color: var(--berry);
}
.terms-checkbox {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}
.terms-inline-link {
    color: var(--berry);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.terms-inline-link:hover { color: var(--plum-deep); }
.terms-modal[hidden] { display: none; }
.terms-modal-open { overflow: hidden; }
.terms-modal {
    position: fixed;
    inset: 0;
    z-index: 180;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(18, 14, 16, .68);
}
.terms-modal-panel {
    position: relative;
    width: min(760px, 100%);
    max-height: min(780px, calc(100vh - 44px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}
.terms-modal-header {
    padding: 22px 58px 18px 24px;
    border-bottom: 1px solid var(--line);
}
.terms-modal-header h2 {
    margin: 0;
    font-size: 34px;
}
.terms-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    min-height: 0;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--muted) !important;
    font: 28px/1 Arial, sans-serif;
}
.terms-modal-close:hover {
    background: var(--warm);
    color: var(--plum-deep) !important;
}
.terms-modal-content {
    min-height: 0;
    overflow: auto;
    padding: 8px 24px 24px;
    line-height: 1.7;
}
.terms-modal-content h2 {
    margin: 24px 0 8px;
    font-size: 22px;
}
.terms-modal-content p {
    margin: 0;
    color: var(--muted);
}
.terms-modal-actions {
    padding: 16px 24px 22px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--warm) 44%, transparent);
}
#checkout-error {
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--line));
    border-radius: 6px;
    background: color-mix(in srgb, var(--danger) 10%, transparent);
}

.about-page { max-width: 1080px; }
.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 42px;
    align-items: center;
}
.about-hero img {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.about-values {
    margin: 34px 0 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.about-values div {
    padding: 18px;
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}
.about-values strong { color: var(--plum-deep); font-size: 18px; }
.about-values span { color: var(--muted); }
.about-card {
    padding: 30px;
    display: grid;
    gap: 18px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}
.about-card p { margin: 0; }
.about-card p:first-child { color: var(--ink); font-size: 20px; }
.about-cta { margin-top: 26px; text-align: center; }
.about-manifesto-page {
    position: relative;
    isolation: isolate;
    max-width: 760px;
    padding-top: 54px;
    overflow: hidden;
}
.about-manifesto-page::before {
    content: "";
    position: absolute;
    top: 60%;
    left: 50%;
    z-index: -1;
    width: min(620px, 86vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: url('/images/brand/sliwki-na-sosnie-logo.jpg') center / cover no-repeat;
    opacity: .028;
    transform: translate(-50%, -50%) rotate(-5deg);
    pointer-events: none;
}
.about-manifesto {
    max-width: 410px;
    margin: 0 auto;
    padding: 0 4px;
    color: #151515;
    font-family: 'Tenor Sans', Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: 0;
    text-transform: uppercase;
}
.about-manifesto h1 {
    margin: 0 0 4px;
    color: inherit;
    font-family: 'Tenor Sans', Georgia, serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.05;
    text-transform: uppercase;
}
.about-manifesto p {
    margin: 0 0 23px;
}
.about-manifesto strong {
    font-weight: 900;
}
.about-manifesto em {
    font-style: italic;
    font-weight: 900;
}
.about-arrow {
    display: inline-block;
    margin-top: 1px;
}
.about-spaced {
    letter-spacing: .34em;
    white-space: nowrap;
}
.content-page {
    max-width: 850px;
    line-height: 1.75;
}
.content-page h1 { font-size: 54px; }
.content-page h2 { margin-top: 34px; color: var(--plum-deep); }
.contact-card { padding: 30px; }
.confirmation {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 12px;
    padding-top: 96px;
    padding-bottom: 120px;
}
.confirmation p { font-size: 18px; }
.offer-stop-page {
    min-height: calc(100vh - 108px);
    display: grid;
    place-items: center;
    padding: 72px 24px 92px;
    background: var(--warm);
}
.offer-stop-panel {
    width: min(760px, 100%);
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 52px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    text-align: center;
}
.offer-stop-panel h1 {
    max-width: 680px;
    margin-bottom: 0;
    font-size: 54px;
}
.offer-stop-panel p:not(.eyebrow) {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
}
.offer-stop-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

footer {
    padding: 38px 5vw;
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    align-items: center;
    gap: 26px;
    border-top: 1px solid var(--line);
    background: var(--plum-deep);
    color: var(--paper);
}
footer a { color: var(--paper); font-weight: 800; }
.footer-cookie-button {
    appearance: none;
    border: 0;
    padding: 0;
    color: var(--paper);
    background: transparent;
    box-shadow: none;
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}
.footer-cookie-button:hover,
.footer-cookie-button:focus-visible {
    color: var(--warm);
    background: transparent;
    box-shadow: none;
    transform: none;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
}
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer-company { display: grid; gap: 7px; line-height: 1.5; color: color-mix(in srgb, var(--paper) 92%, transparent); }
.footer-company small { color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: 12px; }
.footer-links { display: flex; gap: 16px; align-items: center; }
.footer-social-links .social-link {
    border-color: color-mix(in srgb, var(--paper) 26%, transparent);
    background: color-mix(in srgb, var(--paper) 10%, transparent);
}

@media (max-width: 1100px) {
    .site-header { gap: 16px; }
    .primary-nav { width: min(560px, 100%); }
    .social-links { display: none; }
    h1 { font-size: 54px; }
    .welcome-hero { grid-template-columns: 1fr .72fr; gap: 36px; }
    .product-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 390px)); }
}

@media (max-width: 850px) {
    .site-header {
        min-height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        justify-items: center;
        gap: 8px;
        padding: 10px 18px;
    }
    .brand { grid-column: 1; grid-row: 1; justify-self: center; }
    .primary-nav { grid-column: 1; grid-row: 2; justify-self: center; }
    .utility-nav { grid-column: 1; grid-row: 3; justify-self: center; }
    .primary-nav,
    .utility-nav { flex-wrap: wrap; justify-content: center; }
    .social-links { display: inline-flex; }
    .welcome-hero,
    .catalog-hero,
    .checkout-grid,
    .about-hero {
        grid-template-columns: 1fr;
    }
    .welcome-hero { min-height: auto; padding: 52px 24px 68px; }
    .welcome-visual { max-width: 360px; }
    .process-strip { grid-template-columns: 1fr 1fr; }
    .process-strip div:nth-child(2) { border-right: 0; }
    .process-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .summary { position: static; }
    .cart-item { grid-template-columns: minmax(0, 1fr) 120px; }
    .cart-item [data-line-total] { justify-self: start; }
    .cart-item form:last-child { justify-self: end; }
    .about-hero { justify-items: center; text-align: center; }
    .about-values { grid-template-columns: 1fr; }
    footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    body { font-size: 15px; }
    h1 { font-size: 38px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }
    .lead { font-size: 17px; }
    .brand { font-size: 19px; }
    .brand img { width: 38px; height: 38px; }
    .primary-nav { width: 100%; }
    .primary-nav a { min-width: 0; padding: 6px 10px; }
    .catalog,
    .narrow,
    .about-page,
    .content-page { padding: 44px 16px 58px; }
    .hero-actions,
    .trust-row,
    .buy-form { display: grid; grid-template-columns: 1fr; }
    .welcome-button,
    .secondary-button { width: 100%; }
    .welcome-visual { max-width: 290px; }
    .process-strip { grid-template-columns: 1fr; }
    .process-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
    .process-strip div:last-child { border-bottom: 0; }
    .product-image { height: 235px; }
    .product-grid { grid-template-columns: 1fr; }
    .gallery-zoom-hint,
    .product-gallery-arrow { opacity: 1; }
    .buy-row { display: grid; align-items: stretch; }
    .buy-form { justify-content: stretch; }
    .quantity-control { width: 116px; }
    .add-to-cart-button { width: 100%; }
    .form-grid { grid-template-columns: 1fr; }
    .wide { grid-column: auto; }
    .delivery-method-options,
    .delivery-fields-grid { grid-template-columns: 1fr; }
    .inpost-picker { grid-template-columns: 1fr; }
    .inpost-picker .secondary-button { width: 100%; }
    .inpost-modal { padding: 10px; }
    .inpost-modal-panel { height: calc(100vh - 20px); }
    .inpost-widget-shell inpost-geowidget { min-height: calc(100vh - 116px); }
    .terms-modal { padding: 10px; }
    .terms-modal-panel { max-height: calc(100vh - 20px); }
    .terms-modal-header,
    .terms-modal-content,
    .terms-modal-actions { padding-left: 18px; padding-right: 18px; }
    .terms-modal-header h2 { font-size: 28px; }
    .terms-modal-actions { display: grid; }
    .terms-modal-actions .button { width: 100%; }
    .cart-schedule-banner { display: grid; }
    .cart-schedule-banner strong { margin-right: 0; }
    .cart-item { grid-template-columns: 1fr; gap: 10px; }
    .cart-item form:last-child { justify-self: start; }
    .panel,
    .summary,
    .empty-state,
    .about-card,
    .contact-card { padding: 20px; }
    .about-manifesto-page { padding-top: 36px; }
    .about-manifesto {
        max-width: 330px;
        font-size: 12px;
        line-height: 1.24;
    }
    .about-manifesto h1 { font-size: 17px; }
    .about-manifesto p { margin-bottom: 18px; }
    .about-spaced { letter-spacing: .28em; }
    .gallery-lightbox { grid-template-columns: 1fr; padding: 70px 14px 24px; }
    .offer-stop-page { padding: 44px 16px 64px; }
    .offer-stop-panel { padding: 34px 20px; }
    .offer-stop-panel h1 { font-size: 34px; }
    .offer-stop-panel p:not(.eyebrow) { font-size: 17px; }
    .offer-stop-actions { display: grid; width: 100%; }
    .gallery-lightbox figure { grid-column: 1; }
    .gallery-lightbox figure img { max-height: calc(100vh - 150px); }
    .lightbox-arrow { top: auto; bottom: 22px; width: 44px; height: 44px; transform: none; }
    .lightbox-arrow.previous { left: 16px; }
    .lightbox-arrow.next { right: 16px; }
    .footer-links { flex-wrap: wrap; }
}

[data-theme="dark"] .notice.success .notice-icon { background: #1d3d2f; }
[data-theme="dark"] .notice.error .notice-icon { background: #4b2421; }
[data-theme="dark"] .about-manifesto-page::before { opacity: .014; filter: brightness(1.08); }
[data-theme="dark"] .about-manifesto { color: var(--ink); }

/* Mobile UX refinements for the customer storefront. */
@media (max-width: 850px) {
    .checkout-grid .summary {
        order: -1;
    }
}

@media (max-width: 560px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: center;
        justify-items: stretch;
        gap: 9px 12px;
        padding: 8px 14px 10px;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        color: var(--plum-deep);
        font-size: 17px;
        text-overflow: ellipsis;
    }

    .brand img {
        flex: 0 0 auto;
        width: 34px;
        height: 34px;
    }

    .utility-nav {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        flex-wrap: nowrap;
        gap: 7px;
    }

    .utility-nav .social-links {
        display: none;
    }

    .theme-toggle {
        width: 38px;
        min-height: 38px;
        font-size: 18px;
    }

    .cart-link {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .primary-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        justify-content: flex-start;
        gap: 6px;
        overflow-x: auto;
        padding: 4px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .primary-nav a {
        flex: 0 0 auto;
        min-width: 104px;
        padding: 7px 12px;
        scroll-snap-align: start;
    }

    .catalog,
    .narrow,
    .about-page,
    .content-page {
        padding: 28px 14px 48px;
    }

    .welcome-hero {
        padding: 30px 16px 42px;
        gap: 22px;
    }

    .welcome-copy {
        max-width: none;
    }

    .welcome-copy h1 {
        margin-bottom: 14px;
    }

    .welcome-copy .lead {
        line-height: 1.55;
    }

    .hero-actions,
    .trust-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .welcome-button,
    .secondary-button {
        width: 100%;
    }

    .welcome-visual {
        display: none;
    }

    .catalog-hero {
        gap: 18px;
        margin-bottom: 18px;
    }

    .catalog-hero h1,
    .page-heading h1 {
        margin-bottom: 12px;
    }

    .catalog-hero .lead,
    .page-heading .lead {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .filters {
        position: sticky;
        top: 101px;
        z-index: 30;
        margin: 0 -14px;
        padding: 10px 14px;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        background: color-mix(in srgb, var(--paper) 95%, transparent);
        backdrop-filter: blur(14px);
    }

    .filters label {
        gap: 6px;
    }

    .filters select {
        min-height: 44px;
        padding: 10px 11px;
    }

    .process-strip {
        display: flex;
        gap: 8px;
        margin: 0 -14px 18px;
        overflow-x: auto;
        padding: 0 14px 4px;
        border: 0;
        border-radius: 0;
        background: transparent;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .process-strip div,
    .process-strip div:last-child {
        flex: 0 0 178px;
        min-height: 52px;
        padding: 10px 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--surface);
        scroll-snap-align: start;
    }

    .process-strip strong {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }

    .process-strip span {
        font-size: 13px;
    }

    .product-card {
        box-shadow: 0 10px 28px rgba(59, 32, 27, .08);
    }

    .product-body {
        grid-template-rows: none;
        gap: 11px;
        padding: 16px;
    }

    .product-meta {
        order: 1;
        flex-wrap: wrap;
        gap: 8px;
    }

    .product-body h3 {
        order: 2;
    }

    .product-body > p {
        order: 3;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .offer-schedule {
        order: 4;
    }

    .buy-row {
        order: 5;
    }

    .product-ingredients {
        order: 6;
        font-size: 12px;
    }

    .schedule-row {
        grid-template-columns: 76px minmax(0, 1fr);
        padding: 8px 10px;
    }

    .schedule-row strong {
        font-size: 11px;
    }

    .buy-form {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
        justify-content: stretch;
        gap: 8px;
    }

    .summary {
        gap: 4px;
        box-shadow: 0 12px 30px rgba(59, 32, 27, .10);
    }

    .summary h2 {
        margin-bottom: 6px;
    }

    .summary p {
        padding: 9px 0;
    }

    .summary .total {
        font-size: 19px;
    }

    .cart-schedule-banner {
        display: flex;
        flex-wrap: nowrap;
        margin: 0 -14px 18px;
        overflow-x: auto;
        padding: 0 14px 4px;
        border: 0;
        border-radius: 0;
        background: transparent;
        -webkit-overflow-scrolling: touch;
    }

    .cart-schedule-banner strong,
    .cart-schedule-banner span {
        flex: 0 0 auto;
        border: 1px solid var(--line);
        background: var(--surface);
    }

    .cart-schedule-banner strong {
        margin-right: 0;
        padding: 7px 9px;
        border-radius: 6px;
        font-size: 13px;
    }

    footer {
        gap: 18px;
        padding: 28px 18px;
        text-align: center;
    }

    .footer-brand,
    .footer-links {
        justify-content: center;
    }
}

/* Tablet and mobile polish: denser navigation, clearer buying flow, safer thumb zones. */
@media (min-width: 561px) and (max-width: 850px) {
    .site-header {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: center;
        justify-items: stretch;
        gap: 10px 18px;
        padding: 12px 24px 14px;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .utility-nav {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .utility-nav .social-links {
        display: none;
    }

    .primary-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: none;
    }

    .catalog,
    .narrow,
    .about-page,
    .content-page {
        padding: 40px 20px 64px;
    }

    .welcome-hero {
        grid-template-columns: minmax(0, 1fr) 260px;
        min-height: auto;
        gap: 28px;
        padding: 44px 28px 58px;
    }

    .welcome-copy h1,
    .catalog-hero h1,
    .page-heading h1 {
        font-size: 44px;
    }

    .welcome-visual {
        width: min(260px, 100%);
    }

    .hero-note {
        padding: 14px;
    }

    .catalog-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .filters {
        max-width: none;
    }

    .process-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .process-strip div {
        min-height: 64px;
        padding: 12px;
        gap: 9px;
    }

    .process-strip span {
        font-size: 13px;
        line-height: 1.3;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 18px;
    }

    .product-image {
        height: 240px;
    }

    .product-body {
        padding: 18px;
        gap: 12px;
    }

    .product-meta,
    .buy-row {
        flex-wrap: wrap;
    }

    .buy-row {
        align-items: stretch;
    }

    .buy-form {
        width: 100%;
        justify-content: space-between;
    }

    .add-to-cart-button {
        flex: 1 1 auto;
    }

    .checkout-grid {
        gap: 18px;
    }

    .summary {
        top: auto;
    }

    .cart-item {
        grid-template-columns: minmax(0, 1fr) 116px 104px;
    }

    .cart-item form:last-child {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .about-manifesto-page {
        padding-top: 42px;
    }
}

@media (max-width: 720px) {
    .notice {
        top: auto;
        right: 14px;
        bottom: 14px;
        left: 14px;
        width: auto;
        padding: 14px 42px 14px 14px;
    }

    .notice-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 430px) {
    h1 {
        font-size: 34px;
    }

    .brand {
        gap: 8px;
        font-size: 15px;
    }

    .cart-link {
        padding-inline: 10px;
    }

    .primary-nav a {
        min-width: 94px;
        font-size: 13px;
    }

    .product-image {
        height: 218px;
    }

    .buy-form {
        grid-template-columns: 1fr;
    }

    .quantity-control {
        width: 100%;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
    }

    .quantity-control input {
        width: 100%;
    }

    .schedule-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .schedule-row strong {
        text-align: left;
    }
}

@media (min-width: 561px) and (max-width: 680px) {
    .welcome-hero {
        grid-template-columns: 1fr;
    }

    .welcome-visual {
        display: none;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 260px;
    }

    .cart-item {
        grid-template-columns: minmax(0, 1fr) 112px;
    }

    .cart-item [data-line-total],
    .cart-item form:last-child {
        justify-self: start;
    }
}

/* Refined catalog intro and order steps. */
.catalog-hero {
    position: relative;
    margin-bottom: 22px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--rose) 16%, transparent), transparent 30%),
        linear-gradient(135deg, color-mix(in srgb, var(--warm) 74%, transparent), var(--surface));
    box-shadow: 0 14px 34px rgba(59, 32, 27, .07);
}

.catalog-hero-copy {
    display: grid;
    gap: 12px;
}

.catalog-hero-copy .lead {
    max-width: 660px;
    margin: 0;
}

.catalog-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.catalog-highlights span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    color: var(--plum-deep);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.offer-date-card {
    align-self: stretch;
    padding: 18px;
    border: 1px solid color-mix(in srgb, var(--berry) 26%, var(--line));
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    box-shadow: 0 14px 30px rgba(74, 25, 63, .08);
}

.offer-date-card label {
    gap: 9px;
}

.filter-kicker {
    color: var(--berry);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.offer-date-card strong {
    color: var(--plum-deep);
    font-size: 18px;
    line-height: 1.2;
}

.offer-date-card select {
    min-height: 54px;
    border-color: color-mix(in srgb, var(--berry) 24%, var(--line));
    background-color: var(--surface);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--surface) 50%, transparent);
    font-weight: 800;
}

.filter-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.order-steps {
    position: relative;
    gap: 0;
    margin-bottom: 34px;
    border: 0;
    background: transparent;
    overflow: visible;
}

.order-steps::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 7%;
    right: 7%;
    height: 2px;
    background: color-mix(in srgb, var(--line) 82%, transparent);
}

.order-steps div,
.order-steps div:last-child {
    position: relative;
    z-index: 1;
    min-height: 92px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 9px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    text-align: center;
}

.order-steps strong {
    width: 42px;
    height: 42px;
    border: 2px solid var(--surface);
    background: var(--warm);
    box-shadow: 0 8px 18px rgba(59, 32, 27, .10);
    color: var(--berry);
}

.order-steps .is-current strong {
    background: var(--plum-deep);
    color: var(--paper);
}

.order-steps span {
    display: grid;
    gap: 3px;
    color: var(--plum-deep);
    line-height: 1.25;
}

.order-steps b {
    font-size: 14px;
    font-weight: 900;
}

.order-steps small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 850px) {
    .catalog-hero {
        padding: 22px;
    }

    .catalog-highlights {
        gap: 7px;
    }

    .catalog-highlights span {
        min-height: 32px;
        font-size: 11px;
    }

    .offer-date-card {
        padding: 15px;
    }

    .order-steps::before {
        left: 9%;
        right: 9%;
    }

    .order-steps div,
    .order-steps div:last-child {
        min-height: 86px;
        padding: 0 6px;
    }

    .order-steps b {
        font-size: 13px;
    }

    .order-steps small {
        font-size: 11px;
    }
}

@media (max-width: 560px) {
    .catalog-hero {
        margin: 0 -14px 16px;
        padding: 20px 14px 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .catalog-hero-copy {
        gap: 10px;
    }

    .catalog-hero .eyebrow {
        margin-bottom: 0;
    }

    .catalog-highlights {
        display: grid;
        grid-template-columns: 1fr;
    }

    .catalog-highlights span {
        justify-content: center;
        border-radius: 6px;
        text-align: center;
    }

    .offer-date-card.filters {
        top: 97px;
        margin: 16px -14px 0;
        padding: 11px 14px 12px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        border-left: 0;
        border-radius: 0;
        box-shadow: 0 10px 22px rgba(59, 32, 27, .08);
    }

    .offer-date-card strong {
        font-size: 15px;
    }

    .filter-note {
        display: none;
    }

    .order-steps.process-strip {
        gap: 9px;
        margin: 0 -14px 22px;
        padding: 2px 14px 8px;
        overflow-x: auto;
    }

    .order-steps::before {
        display: none;
    }

    .order-steps div,
    .order-steps div:last-child {
        flex: 0 0 202px;
        min-height: 72px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 11px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--surface);
        text-align: left;
        box-shadow: 0 8px 20px rgba(59, 32, 27, .06);
    }

    .order-steps strong {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        border: 0;
    }

    .order-steps span {
        min-width: 0;
    }
}

.catalog .product-card.is-cart-added {
    border-color: color-mix(in srgb, var(--leaf) 45%, var(--line));
    box-shadow: 0 12px 34px rgba(47, 107, 79, .16);
}

.catalog .buy-form .add-to-cart-button:disabled {
    opacity: .72;
}

/* Cart page: keep summary below selected items. */
.cart-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 920px;
    margin: 0 auto;
}

.cart-grid .summary {
    position: static;
    order: 0;
}

.cart-grid .cart-panel {
    order: 0;
}

.cart-grid .summary .full {
    justify-self: start;
    width: min(320px, 100%);
}

@media (max-width: 560px) {
    .cart-grid {
        max-width: none;
    }

    .cart-grid .summary .full {
        width: 100%;
    }
}

/* Stronger cart checkout CTA. */
.cart-summary .cart-checkout-button {
    width: 100%;
    min-height: 68px;
    margin-top: 12px;
    padding: 14px 18px;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid color-mix(in srgb, var(--berry) 38%, var(--plum-deep));
    border-radius: 8px;
    background: linear-gradient(135deg, var(--plum-deep) 0%, var(--berry) 100%) !important;
    box-shadow: 0 16px 34px rgba(74, 25, 63, .24);
    text-align: left;
}

.cart-summary .cart-checkout-button:hover,
.cart-summary .cart-checkout-button:focus-visible {
    background: linear-gradient(135deg, var(--berry) 0%, var(--plum-deep) 100%) !important;
    box-shadow: 0 20px 42px rgba(74, 25, 63, .30);
}

.cart-checkout-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.cart-checkout-copy strong {
    color: var(--paper);
    font-size: 17px;
    line-height: 1.2;
}

.cart-checkout-copy small {
    color: color-mix(in srgb, var(--paper) 78%, transparent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.cart-checkout-arrow {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--paper) 16%, transparent);
    color: var(--paper);
    font: 800 22px/1 Arial, sans-serif;
    transition: transform .18s ease, background .18s ease;
}

.cart-checkout-button:hover .cart-checkout-arrow,
.cart-checkout-button:focus-visible .cart-checkout-arrow {
    transform: translateX(3px);
    background: color-mix(in srgb, var(--paper) 24%, transparent);
}

.cart-grid .summary .cart-checkout-button {
    justify-self: stretch;
    width: 100%;
}

@media (max-width: 430px) {
    .cart-summary .cart-checkout-button {
        min-height: 64px;
        padding: 13px 15px;
    }

    .cart-checkout-copy strong {
        font-size: 16px;
    }

    .cart-checkout-arrow {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 20px;
    }
}

/* Checkout payment CTA aligned with cart CTA. */
.checkout-submit-button {
    width: 100%;
    min-height: 68px;
    padding: 14px 18px !important;
    justify-content: space-between !important;
    gap: 14px;
    border: 1px solid color-mix(in srgb, var(--berry) 38%, var(--plum-deep));
    border-radius: 8px;
    background: linear-gradient(135deg, var(--plum-deep) 0%, var(--berry) 100%) !important;
    box-shadow: 0 16px 34px rgba(74, 25, 63, .24);
    text-align: left;
}

.checkout-submit-button:hover,
.checkout-submit-button:focus-visible {
    background: linear-gradient(135deg, var(--berry) 0%, var(--plum-deep) 100%) !important;
    box-shadow: 0 20px 42px rgba(74, 25, 63, .30);
}

.checkout-submit-button:disabled {
    opacity: .78;
    transform: none;
}

.checkout-submit-button:hover .cart-checkout-arrow,
.checkout-submit-button:focus-visible .cart-checkout-arrow {
    transform: translateX(3px);
    background: color-mix(in srgb, var(--paper) 24%, transparent);
}

.checkout-submit-button:disabled .cart-checkout-arrow {
    transform: none;
}

@media (max-width: 430px) {
    .checkout-submit-button {
        min-height: 64px;
        padding: 13px 15px !important;
    }
}

/* Desktop catalog date card: remove empty vertical stretch. */
@media (min-width: 851px) {
    .catalog-hero {
        align-items: center;
        grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
        gap: 42px;
        padding: 30px 34px;
    }

    .catalog-hero .filters.offer-date-card {
        align-self: center;
        align-content: start;
        min-height: 0;
        padding: 22px 22px 18px;
    }

    .catalog-hero .offer-date-card label {
        align-content: start;
    }

    .catalog-hero .offer-date-card select {
        margin-top: 2px;
    }

    .catalog-hero .filter-note {
        margin-top: 9px;
    }
}

@media (max-width: 850px) {
    .catalog-highlights {
        display: none;
    }

    .product-ingredients {
        order: 4;
    }

    .offer-schedule {
        order: 5;
    }

    .buy-row {
        order: 6;
    }
}

.contact-map {
    margin: 22px 0 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--warm);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

@media (max-width: 560px) {
    .contact-map {
        margin: 18px -4px 14px;
    }

    .contact-map iframe {
        height: 300px;
    }
}

.contact-social-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 560px) {
    .contact-social-actions {
        display: grid;
    }
}

.contact-page {
    max-width: 1120px;
}

.contact-heading {
    max-width: 760px;
}

.contact-heading .lead {
    margin: 0;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
    padding: 0;
    overflow: hidden;
}

.contact-copy {
    display: grid;
    align-content: start;
    gap: 20px;
    padding: 36px;
}





.contact-details {
    display: grid;
    margin: 0;
    border-top: 1px solid var(--line);
}

.contact-detail-row {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.contact-detail-row dt {
    color: var(--berry);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.contact-detail-row dd {
    margin: 0;
    min-width: 0;
    color: var(--plum-deep);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.contact-detail-row a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.contact-note {
    margin: 0;
    padding: 16px 18px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--warm) 72%, transparent);
    color: var(--muted);
}

.contact-note strong {
    color: var(--plum-deep);
}

.contact-location {
    display: grid;
    grid-template-rows: auto minmax(320px, 1fr) auto;
    gap: 14px;
    padding: 24px;
    border-left: 1px solid var(--line);
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--rose) 18%, transparent), transparent 34%),
        color-mix(in srgb, var(--warm) 64%, var(--surface));
}

.contact-location-header {
    display: grid;
    gap: 3px;
}

.contact-location-header span {
    color: var(--berry);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.contact-location-header strong {
    color: var(--plum-deep);
    font-size: 24px;
    line-height: 1.2;
}

.contact-map {
    min-height: 380px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 14px 28px rgba(59, 32, 27, .08);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
}

.contact-map-link {
    justify-self: start;
}

@media (max-width: 850px) {
    .contact-page {
        max-width: 760px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-copy {
        padding: 28px;
    }

    .contact-location {
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

@media (max-width: 560px) {
    .contact-copy,
    .contact-location {
        padding: 20px;
    }





    .contact-detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 13px 0;
    }

    .contact-location {
        grid-template-rows: auto minmax(280px, 1fr) auto;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 280px;
    }
}

.contact-simple-title {
    margin: 0;
    color: var(--plum-deep);
    font-size: 28px;
    line-height: 1.2;
}

@media (max-width: 560px) {
    .contact-simple-title {
        font-size: 24px;
    }
}

.contact-copy .contact-details {
    border-top: 0;
}
