/* Calendar follows the existing Anydays brand tokens from custom.css.
   Orange text uses a darker companion shade for small-text contrast. */
.calendar-page, .calendar-home, .shop-calendar {
    --cal-yellow: var(--brand-yellow, #ffcc00);
    --cal-orange: var(--brand-orange, #f37021);
    --cal-ink: var(--text-primary, #111);
    --cal-muted: var(--text-secondary, #666);
    --cal-page: var(--card-bg, #f8f9fa);
    --cal-subtle: #fafafa;
    --cal-line: #e7e5e1;
    --cal-line-strong: #888;
    --cal-soft-yellow: #fff8dd;
    --cal-yellow-edge: #b58f00;
    --cal-soft-orange: #fff2e7;
    --cal-orange-line: #f1d3bd;
    --cal-accent-ink: #97400b;
    --cal-focus: #97400b;
}
.calendar-page, .calendar-home { background: var(--cal-page); overflow: visible; }
.product-page:has(.shop-calendar) { overflow: visible; }
#page-content.calendar-page { padding: 28px 0 64px; }
.calendar-home { padding: 56px 0; }
.calendar-breadcrumb { display: flex; gap: 12px; color: var(--cal-muted); font-size: 12px; margin-bottom: 30px; }
.calendar-breadcrumb a { color: inherit; }
.calendar-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.calendar-heading h1, .calendar-heading h2 { margin: 0; color: var(--cal-ink); font-size: clamp(32px, 3.8vw, 48px); font-weight: 600; line-height: 1.14; letter-spacing: -1.8px; }
.calendar-heading p { color: var(--cal-muted); font-size: 14px; margin: 14px 0 0; line-height: 1.7; }
.calendar-heading__eyebrow { display: block; color: var(--cal-ink); font-size: 11px; font-weight: 600; letter-spacing: 1.8px; margin-bottom: 14px; }
.shop-calendar { --ink: var(--cal-ink); --muted: var(--cal-muted); --line: var(--cal-line); display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; color: var(--ink); scroll-margin-top: 24px; font-variant-numeric: tabular-nums; }
.shop-calendar [hidden] { display: none !important; }
.shop-calendar button, .shop-calendar select { font: inherit; color: inherit; }
.shop-calendar button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.shop-calendar button:focus-visible, .shop-calendar select:focus-visible, .shop-calendar a:focus-visible, .shop-calendar summary:focus-visible { outline: 3px solid var(--cal-focus); outline-offset: 4px; }
.shop-calendar__location { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 20px 24px; border: 1px solid var(--cal-line); background: #fff; border-radius: 18px; }
.shop-calendar__location-icon { flex: 0 0 42px; width: 42px; height: 46px; padding: 11px; background: var(--cal-soft-yellow); border-radius: 13px; color: var(--cal-ink); }
.shop-calendar__location-field { min-width: 0; flex: 1; }
.shop-calendar__eyebrow { display: block; font-size: 10px; line-height: 1.5; letter-spacing: 1.4px; color: var(--muted); font-weight: 600; margin: 0; }
.shop-calendar__store-control { position: relative; margin-top: 8px; }
.shop-calendar select.shop-calendar__store { display: block; width: 100%; min-height: 52px; margin: 0; padding: 12px 48px 12px 14px; border: 1px solid var(--cal-line-strong); border-radius: 10px; background: var(--cal-subtle); appearance: none; -webkit-appearance: none; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.4px; cursor: pointer; text-overflow: ellipsis; transition: border-color .18s, background-color .18s; }
.shop-calendar select.shop-calendar__store:hover { border-color: var(--cal-accent-ink); background: var(--cal-soft-orange); }
.shop-calendar select.shop-calendar__store:focus-visible { border-color: var(--cal-focus); }
.shop-calendar__store-chevron { position: absolute; top: 50%; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--cal-yellow); color: var(--cal-ink); pointer-events: none; transform: translateY(-50%); }
.shop-calendar__store-chevron .shop-calendar__icon { width: 18px; height: 18px; transform: rotate(90deg); }
.shop-calendar__store-name { display: block; font-size: 17px; margin-top: 6px; line-height: 1.5; }
.shop-calendar__store-link { padding: 12px 0; color: var(--cal-ink); font-size: 12px; white-space: nowrap; }
.shop-calendar__store-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.shop-calendar__layout { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 322px; align-items: start; gap: 22px; }
.shop-calendar__main { min-width: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 4px 22px #11111104; }
.shop-calendar__controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 16px; }
.shop-calendar__delivery-jump { min-height: 44px; padding: 8px 0; white-space: nowrap; border: 0; background: transparent; color: var(--cal-accent-ink) !important; font-size: 12px !important; }
.shop-calendar__delivery-jump:hover { text-decoration: underline; text-underline-offset: 5px; }
.shop-calendar__toolbar { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.shop-calendar .shop-calendar__month { order: -1; margin: 0 auto 0 0; font-size: 26px; font-weight: 500; line-height: 1.3; text-transform: capitalize; letter-spacing: -.9px; color: var(--ink); }
.shop-calendar__arrow { display: grid; place-items: center; width: 44px; min-height: 44px; flex-shrink: 0; padding: 0; border-radius: 10px; border: 1px solid var(--cal-line); background: #fff; }
.shop-calendar__arrow span { display: block; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); font-size: 0; margin-left: -3px; }
.shop-calendar__arrow:first-child span { transform: rotate(-135deg); margin-left: 3px; }
.shop-calendar__arrow:disabled { opacity: .3; cursor: default; }
.shop-calendar__arrow:hover:not(:disabled) { background: var(--cal-subtle); border-color: var(--cal-line-strong); }
.shop-calendar__grid, .shop-calendar__weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.shop-calendar__weekdays { color: var(--cal-ink); font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; margin-bottom: 12px; }
.shop-calendar .shop-calendar__day { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 0; min-height: 108px; padding: 10px 8px; border: 1px solid var(--cal-line); border-radius: 10px; background: var(--cal-subtle); text-align: left; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s; }
.shop-calendar__day-top { display: flex; align-items: center; justify-content: space-between; gap: 2px; min-height: 18px; }
.shop-calendar__number { font-size: 13px; line-height: 1.2; color: var(--cal-muted); }
.shop-calendar__today-label { font-size: 9px; line-height: 1.4; padding: 2px 4px; border-radius: 4px; font-weight: 600; background: #ffffff75; }
.shop-calendar__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 3px; line-height: 1.1; }
.shop-calendar__amount { font-size: 22px; font-weight: 500; letter-spacing: -.9px; white-space: nowrap; }
.shop-calendar__unit { font-size: 12px; font-weight: 400; white-space: nowrap; color: var(--cal-muted); }
.shop-calendar__badge { display: flex; align-items: flex-start; gap: 3px; font-size: 11px; line-height: 1.35; color: var(--cal-accent-ink); margin-top: auto; min-height: 14px; }
.shop-calendar__event-symbol { flex-shrink: 0; font-size: 11px; line-height: 1.2; }
.shop-calendar__event-name { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.shop-calendar .has-delivery { background: var(--cal-soft-orange); border-color: var(--cal-orange-line); }
.shop-calendar .has-delivery .shop-calendar__badge { color: var(--cal-accent-ink); }
/* Paint the frame above event bands so every side stays visible. */
.shop-calendar .shop-calendar__day::after { content: ''; position: absolute; inset: -1px; z-index: 2; border: 1.5px solid transparent; border-radius: inherit; pointer-events: none; transition: border-color .18s; }
@media (hover: hover) {
    .shop-calendar .shop-calendar__day:hover { background: #fffdf5; }
    .shop-calendar .shop-calendar__day:hover::after { border-color: var(--cal-line-strong); }
}
.shop-calendar .shop-calendar__day:active { background: #fff8ed; }
/* Today is a date marker; selection is a frame, independent of event colors. */
.shop-calendar .shop-calendar__day.is-today { background: #fffdf5; border-color: var(--cal-line); }
.shop-calendar__day-top { min-height: 26px; }
.shop-calendar__number { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 26px; width: 26px; height: 26px; }
.shop-calendar .shop-calendar__day.is-today .shop-calendar__number { border-radius: 6px; background: var(--cal-yellow); color: #111; font-weight: 600; }
.shop-calendar .shop-calendar__today-label { background: transparent; color: #715616; padding: 0; font-size: 10px; }
.shop-calendar .shop-calendar__day.is-selected { background: var(--cal-subtle); border-color: transparent; color: var(--cal-ink); box-shadow: none; }
.shop-calendar .shop-calendar__day.is-selected::after { border-color: #42403e; }
.shop-calendar .shop-calendar__day.is-selected:focus-visible { outline: none; }
.shop-calendar .shop-calendar__day.is-selected:focus-visible::after { border-width: 2.5px; border-color: #42403e; }
.shop-calendar .shop-calendar__day.is-selected .shop-calendar__number { color: var(--cal-ink); font-weight: 600; }
.shop-calendar .shop-calendar__day.is-selected .shop-calendar__unit { color: var(--cal-muted); }
.shop-calendar .shop-calendar__day.is-selected.is-today { background: var(--cal-subtle); }
.shop-calendar .shop-calendar__day.is-closed { --closed-stripe: #1111110b; isolation: isolate; border-style: dashed; background: var(--cal-subtle); }
.shop-calendar .shop-calendar__day.is-closed::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(135deg, var(--closed-stripe) 0 6px, transparent 6px 13px); }
.shop-calendar .shop-calendar__day.is-closed.is-selected { --closed-stripe: #1111110b; background: var(--cal-subtle); border-style: solid; }
.shop-calendar__closed-label { font-size: 11px; line-height: 1.4; }
.shop-calendar__legend { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 15px; color: var(--cal-muted); font-size: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--cal-line); }
.shop-calendar__legend > span { display: inline-flex; align-items: center; gap: 5px; }
.shop-calendar__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--cal-yellow); }
.shop-calendar .shop-calendar__view-note { margin: 10px 0 0; font-size: 11px; line-height: 1.6; color: var(--cal-muted); }
.shop-calendar__details { position: sticky; top: 20px; align-self: start; min-width: 0; padding: 24px; background: #fff; border: 1px solid var(--cal-line); border-radius: 20px; box-shadow: 0 8px 24px #11111104; }
.shop-calendar__detail-heading { margin: -24px -24px 0; padding: 23px 24px; background: var(--cal-subtle); border-bottom: 1px solid var(--cal-line); border-radius: 19px 19px 0 0; }
.shop-calendar__detail-heading .shop-calendar__eyebrow { color: var(--cal-ink); }
.shop-calendar .shop-calendar__selected-date { margin: 9px 0 0; color: var(--cal-ink); font-size: 22px; font-weight: 500; line-height: 1.4; letter-spacing: -.65px; }
.shop-calendar__selected-date::first-letter { text-transform: uppercase; }
.shop-calendar__prices { padding: 24px 0; }
.shop-calendar__fact-label { display: block; margin-bottom: 7px; font-size: 11px; line-height: 1.5; color: var(--cal-muted); }
.shop-calendar__main-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; line-height: 1; }
.shop-calendar__main-price .shop-calendar__amount { font-size: 64px; font-weight: 500; letter-spacing: -3px; }
.shop-calendar__main-price .shop-calendar__unit { font-size: 18px; color: var(--cal-muted); }
.shop-calendar__main-price.is-empty { font-size: 23px; line-height: 1.4; font-weight: 500; }
.shop-calendar__price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--cal-line); font-size: 12px; line-height: 1.6; }
.shop-calendar__price-row > span { color: var(--cal-muted); }
.shop-calendar__price-row strong { font-size: 12px; font-weight: 500; text-align: right; }
.shop-calendar__hours { padding: 20px 0; border-top: 1px dashed var(--cal-line); border-bottom: 1px dashed var(--cal-line); }
.shop-calendar__hours-value { display: block; font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -.7px; }
.shop-calendar .shop-calendar__muted { margin: 8px 0 0; color: var(--cal-muted); font-size: 11px; line-height: 1.7; }
.shop-calendar__full-hours summary { display: inline-block; cursor: pointer; padding: 12px 0 0; color: var(--cal-ink); font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.shop-calendar__full-hours p { font-size: 12px; line-height: 1.7; margin: 12px 0 0; color: var(--cal-muted); }
.shop-calendar__offers { padding: 20px 0; }
.shop-calendar__offer + .shop-calendar__offer { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--cal-line); }
.shop-calendar__offer strong { display: block; color: var(--cal-accent-ink); font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: -.3px; }
.shop-calendar__offer p { font-size: 13px; color: var(--cal-muted); line-height: 1.75; margin: 8px 0 0; }
.shop-calendar .shop-calendar__discount-note { margin: 12px 0 0; padding: 12px 14px; border-left: 2px solid var(--cal-orange); border-radius: 0 8px 8px 0; background: var(--cal-soft-orange); color: var(--cal-accent-ink); font-size: 12px; line-height: 1.7; }
.shop-calendar__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.shop-calendar a.shop-calendar__action { flex: 1 1 100%; box-sizing: border-box; min-height: 46px; display: flex; align-items: center; justify-content: center; padding: 11px 14px; border: 1px solid var(--cal-line); border-radius: 10px; background: #fff; color: var(--cal-ink); font-size: 12px; font-weight: 500; text-align: center; text-decoration: none; box-shadow: none; transition: background-color .18s, border-color .18s; }
.shop-calendar a.shop-calendar__action--primary { background: var(--cal-yellow); border-color: var(--cal-yellow); }
@media (hover: hover) {
    .shop-calendar a.shop-calendar__action:hover { color: var(--cal-ink); background: var(--cal-subtle); border-color: var(--cal-line-strong); }
    .shop-calendar a.shop-calendar__action--primary:hover { background: #f2c000; border-color: #f2c000; }
}
.shop-calendar a.shop-calendar__action:active { color: var(--cal-ink); background: #f1f0ed; }
.shop-calendar a.shop-calendar__action--primary:active { background: #e5b600; border-color: #e5b600; }
.shop-calendar a.shop-calendar__action:focus { color: var(--cal-ink); outline: none; }
.shop-calendar a.shop-calendar__action:focus-visible { outline: none; border-color: #42403e; box-shadow: inset 0 0 0 1px #42403e; }
.shop-calendar__announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shop-calendar noscript { grid-column: 1 / -1; }
/* A quiet desktop card becomes a native modal sheet on smaller screens. */
.shop-calendar__popover { position: fixed; z-index: 1100; display: none; flex-direction: column; inset: auto; box-sizing: border-box; width: 320px; max-width: calc(100vw - 24px); height: auto; min-height: 0; max-height: none; margin: 0; padding: 20px 20px 10px; overflow: visible; border: 1px solid var(--cal-line); border-radius: 18px; background: #fff; color: var(--cal-ink); box-shadow: 0 18px 48px #11111118, 0 4px 12px #11111108; font: inherit; text-align: left; }
.shop-calendar__popover[open] { display: flex; }
.shop-calendar__popover:focus { outline: none; }
.shop-calendar .shop-calendar__day.is-selected[aria-expanded='true'] { transform: none; transition: none; }
.shop-calendar .shop-calendar__sheet-handle { display: none; flex: 0 0 24px; align-self: center; align-items: center; justify-content: center; width: 80px; height: 24px; min-height: 24px; margin: 0 auto 6px; padding: 0; border: 0; border-radius: 8px; background: transparent; touch-action: none; cursor: grab; }
.shop-calendar__sheet-handle::before { content: ''; display: block; width: 36px; height: 4px; border-radius: 3px; background: #cdcdca; }
.shop-calendar .shop-calendar__sheet-handle:active { cursor: grabbing; }
.shop-calendar__popover-header { position: relative; flex: 0 0 auto; padding: 0 34px 0 0; }
.shop-calendar .shop-calendar__popover-title { margin: 0; color: var(--cal-ink); font-size: 16px; font-weight: 600; letter-spacing: -.35px; line-height: 1.4; }
.shop-calendar__popover-title::first-letter { text-transform: uppercase; }
.shop-calendar__popover-store { display: flex; align-items: center; gap: 6px; color: var(--cal-muted); font-size: 12px; line-height: 1.5; margin-top: 6px; }
.shop-calendar__popover-store > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-calendar__popover-store .shop-calendar__icon { width: 14px; height: 14px; }
.shop-calendar .shop-calendar__popover-close { display: grid; place-items: center; position: absolute; top: -12px; right: -12px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--cal-muted); font-size: 25px; font-weight: 300; line-height: 1; touch-action: manipulation; transition: color .15s, background-color .15s; }
.shop-calendar .shop-calendar__popover-close:hover { color: var(--cal-ink); background: #f3f3f1; }
.shop-calendar__popover-body { flex: 0 0 auto; min-height: 0; padding: 18px 0 0; overflow: visible; }
.shop-calendar__popover-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 18px; }
.shop-calendar__popover-facts.is-closed { grid-template-columns: 1fr; }
.shop-calendar__popover .shop-calendar__prices { min-width: 0; padding: 0; }
.shop-calendar__popover .shop-calendar__fact-label { font-size: 12px; gap: 6px; margin-bottom: 6px; line-height: 1.4; }
.shop-calendar__popover .shop-calendar__fact-label .shop-calendar__icon { width: 15px; height: 15px; }
.shop-calendar__popover .shop-calendar__main-price { gap: 5px; flex-wrap: wrap; margin-bottom: 0; }
.shop-calendar__popover .shop-calendar__main-price .shop-calendar__amount { font-size: 38px; letter-spacing: -1.5px; }
.shop-calendar__popover .shop-calendar__main-price .shop-calendar__unit { font-size: 12px; }
.shop-calendar__popover .shop-calendar__main-price.is-empty { font-size: 18px; line-height: 1.35; }
.shop-calendar__popover .shop-calendar__hours { padding: 0; border: 0; }
.shop-calendar__popover .shop-calendar__hours-value { font-size: 19px; letter-spacing: -.45px; line-height: 1.4; }
.shop-calendar__popover .shop-calendar__muted { font-size: 12px; line-height: 1.5; margin-top: 6px; }
.shop-calendar__popover .shop-calendar__price-row { margin-top: 12px; padding: 0; border: 0; gap: 10px; font-size: 12px; }
.shop-calendar__popover .shop-calendar__price-row strong { font-size: 12px; }
.shop-calendar__popover .shop-calendar__row-label { gap: 6px; }
.shop-calendar__popover .shop-calendar__row-label .shop-calendar__icon { width: 15px; height: 15px; }
.shop-calendar__popover-offer { display: flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--cal-accent-ink); font-size: 13px; line-height: 1.45; }
.shop-calendar__popover-offer > span:first-of-type { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-calendar__popover-offer .shop-calendar__icon { width: 16px; height: 16px; }
.shop-calendar__popover-count { margin-left: auto; white-space: nowrap; }
.shop-calendar__popover-footer { flex: 0 0 auto; margin-top: 10px; }
.shop-calendar .shop-calendar__popover-more { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: var(--cal-ink); font-size: 13px; font-weight: 500; text-align: left; text-decoration: underline; text-decoration-color: #bdbdb8; text-underline-offset: 4px; }
.shop-calendar .shop-calendar__popover-more:hover { text-decoration-color: var(--cal-ink); }
.shop-calendar__popover-more .shop-calendar__icon { width: 15px; height: 15px; transition: transform .16s ease; }
.shop-calendar__popover-more:hover .shop-calendar__icon { transform: translate(2px, -2px); }
.shop-calendar__popover.is-condensed { padding: 14px 16px 4px; }
.shop-calendar__popover.is-condensed:not(.is-sheet) .shop-calendar__popover-store { display: none; }
.shop-calendar__popover.is-condensed .shop-calendar__popover-body { padding-top: 10px; }
.shop-calendar__popover.is-condensed .shop-calendar__popover-offer { margin-top: 8px; }
.shop-calendar__popover.is-condensed .shop-calendar__price-row { margin-top: 8px; }
.shop-calendar__popover.is-condensed .shop-calendar__popover-footer { margin-top: 0; }
.shop-calendar__popover.is-sheet { inset: auto 0 0; width: min(100%, 520px); max-width: 100%; margin: 0 auto; padding: 8px 22px calc(16px + env(safe-area-inset-bottom, 0px)); border: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 48px #11111118; }
.shop-calendar__popover.is-sheet::backdrop { background: #1116; animation: calendar-sheet-backdrop-in 180ms ease-out both; }
.shop-calendar__popover.is-sheet.is-closing::backdrop { animation: calendar-sheet-backdrop-out 170ms ease-in both; }
.shop-calendar .shop-calendar__popover.is-sheet .shop-calendar__sheet-handle { display: flex; }
.shop-calendar__popover.is-sheet .shop-calendar__popover-header { padding-right: 40px; touch-action: none; }
.shop-calendar .shop-calendar__popover.is-sheet .shop-calendar__popover-title { font-size: 20px; line-height: 1.35; letter-spacing: -.5px; }
.shop-calendar__popover.is-sheet .shop-calendar__popover-store { font-size: 13px; line-height: 1.4; }
.shop-calendar__popover.is-sheet .shop-calendar__popover-store .shop-calendar__icon { width: 15px; height: 15px; }
.shop-calendar .shop-calendar__popover.is-sheet .shop-calendar__popover-close { top: -8px; right: -10px; width: 44px; height: 44px; }
.shop-calendar__popover.is-sheet .shop-calendar__popover-body { padding-top: 18px; }
.shop-calendar__popover.is-sheet .shop-calendar__popover-facts { gap: 20px; }
.shop-calendar__popover.is-sheet .shop-calendar__fact-label { font-size: 13px; }
.shop-calendar__popover.is-sheet .shop-calendar__main-price .shop-calendar__amount { font-size: 42px; letter-spacing: -1.6px; }
.shop-calendar__popover.is-sheet .shop-calendar__main-price .shop-calendar__unit { font-size: 13px; }
.shop-calendar__popover.is-sheet .shop-calendar__main-price.is-empty { font-size: 20px; }
.shop-calendar__popover.is-sheet .shop-calendar__hours-value { font-size: 22px; line-height: 1.4; letter-spacing: -.6px; }
.shop-calendar__popover.is-sheet .shop-calendar__price-row, .shop-calendar__popover.is-sheet .shop-calendar__price-row strong { font-size: 13px; }
.shop-calendar__popover.is-sheet .shop-calendar__popover-offer { font-size: 14px; }
.shop-calendar .shop-calendar__popover.is-sheet .shop-calendar__popover-more { font-size: 14px; }
.shop-calendar__popover.is-sheet.is-condensed { padding: 4px 20px calc(8px + env(safe-area-inset-bottom, 0px)); }
.shop-calendar__popover.is-sheet.is-condensed .shop-calendar__sheet-handle { margin-bottom: 2px; }
.shop-calendar__popover.is-sheet.is-condensed .shop-calendar__popover-store { display: flex; margin-top: 4px; font-size: 12px; }
.shop-calendar__popover.is-sheet.is-condensed .shop-calendar__popover-body { padding-top: 12px; }
.shop-calendar__popover.is-sheet.is-condensed .shop-calendar__fact-label { font-size: 12px; margin-bottom: 4px; }
.shop-calendar__popover.is-sheet.is-condensed .shop-calendar__hours-value { font-size: 20px; }
.shop-calendar__popover.is-sheet.is-condensed .shop-calendar__popover-offer { margin-top: 8px; }
.shop-calendar__popover.is-sheet.is-condensed .shop-calendar__price-row { margin-top: 8px; }
.shop-calendar__popover.is-sheet.is-condensed .shop-calendar__popover-footer { margin-top: 0; }
@keyframes calendar-sheet-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes calendar-sheet-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@media (max-width: 359px) {
    .shop-calendar__popover.is-sheet { padding-right: 20px; padding-left: 20px; }
    .shop-calendar__popover.is-sheet .shop-calendar__fact-label { font-size: 12px; }
    .shop-calendar__popover.is-sheet .shop-calendar__hours-value { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .shop-calendar__popover.is-sheet::backdrop, .shop-calendar__popover.is-sheet.is-closing::backdrop { animation: none; }
    .shop-calendar__popover.is-sheet.is-closing::backdrop { opacity: 0; }
    .shop-calendar__popover-more:hover .shop-calendar__icon { transform: none; }
}
.calendar-offer-guide { margin-top: 22px; padding: 0 4px; }
.calendar-offer-guide > summary { padding: 16px 0; color: var(--cal-muted); font-size: 12px; cursor: pointer; }
.calendar-offer-guide .coda-events-note { font-size: 13px; }
@media (min-width: 992px) and (max-width: 1199px) {
    .shop-calendar__layout { grid-template-columns: minmax(0, 1fr) 286px; gap: 16px; }
    .shop-calendar__main { padding: 20px 16px; }
    .shop-calendar__location { padding: 18px; gap: 10px; }
    .shop-calendar__location-icon { display: none; }
    .shop-calendar select.shop-calendar__store { font-size: 15px; }
    .shop-calendar__grid .shop-calendar__unit { display: block; width: 100%; }
    .shop-calendar__grid .shop-calendar__amount { font-size: 20px; }
    .shop-calendar__grid .shop-calendar__day { padding: 10px 6px; }
}
@media (max-width: 991px) {
    .shop-calendar { grid-template-columns: 1fr; gap: 14px; }
    .shop-calendar__layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .shop-calendar__details { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
    .shop-calendar__detail-heading, .shop-calendar__actions { grid-column: 1 / -1; }
    .shop-calendar__hours { border-top: 0; border-bottom: 0; padding-top: 24px; }
    .shop-calendar__offers { grid-column: 1 / -1; border-top: 1px dashed var(--cal-line); }
    .shop-calendar a.shop-calendar__action { flex-basis: 110px; }
}
@media (max-width: 767px) {
    #page-content.calendar-page { padding: 24px 0 36px; }
    .calendar-home { padding: 36px 0; }
    .calendar-page > .container, .calendar-home > .container { padding-left: 16px; padding-right: 16px; }
    .calendar-breadcrumb { display: none; }
    .calendar-heading { display: block; margin-bottom: 24px; }
    .calendar-heading h1, .calendar-heading h2 { font-size: 34px; letter-spacing: -1.3px; max-width: 310px; }
    .calendar-heading__eyebrow { font-size: 10px; margin-bottom: 11px; }
    .calendar-heading p { font-size: 12px; margin-top: 12px; line-height: 1.7; max-width: 310px; }
    .shop-calendar { gap: 10px; }
    .shop-calendar__location { border-radius: 15px; padding: 14px 16px; gap: 12px; }
    .shop-calendar__location:has(.shop-calendar__store-control) > .shop-calendar__location-icon { display: none; }
    .shop-calendar__location-icon { flex-basis: 36px; width: 36px; height: 40px; padding: 9px; border-radius: 10px; }
    .shop-calendar select.shop-calendar__store { font-size: 15px; }
    .shop-calendar__store-name { font-size: 15px; }
    .shop-calendar__store-link { font-size: 11px; white-space: nowrap; flex-shrink: 0; }
    .shop-calendar__eyebrow { font-size: 9px; letter-spacing: 1.1px; }
    .shop-calendar__layout { gap: 14px; }
    .shop-calendar__main { padding: 18px 16px; border-radius: 16px; }
    .shop-calendar__delivery-jump { font-size: 11px !important; padding: 4px 0; }
    .shop-calendar__toolbar { gap: 6px; margin-bottom: 12px; }
    .shop-calendar .shop-calendar__month { font-size: 20px; letter-spacing: -.6px; }
    .shop-calendar__arrow { width: 44px; }
    .shop-calendar__grid, .shop-calendar__weekdays { gap: 4px; }
    .shop-calendar__weekdays { font-size: 11px; }
    .shop-calendar__grid .shop-calendar__day { min-height: 58px; padding: 8px 3px; gap: 4px; align-items: center; border-radius: 8px; }
    .shop-calendar__grid .shop-calendar__number { font-size: 15px; }
    .shop-calendar__grid .shop-calendar__price, .shop-calendar__grid .shop-calendar__event-name, .shop-calendar__grid .shop-calendar__closed-label, .shop-calendar__grid .shop-calendar__today-label { display: none; }
    .shop-calendar__grid .shop-calendar__badge { margin: 0; }
    .shop-calendar__grid .shop-calendar__event-symbol { font-size: 11px; }
    .shop-calendar__legend { gap: 8px 12px; font-size: 10px; margin-top: 15px; padding-top: 14px; }
    .shop-calendar .shop-calendar__view-note { margin-top: 8px; font-size: 11px; }
    .shop-calendar__details { display: block; padding: 22px; border-radius: 16px; }
    .shop-calendar__detail-heading { margin: -22px -22px 0; padding: 20px 22px; border-radius: 15px 15px 0 0; }
    .shop-calendar .shop-calendar__selected-date { font-size: 22px; }
    .shop-calendar__prices { padding: 22px 0; }
    .shop-calendar__main-price .shop-calendar__amount { font-size: 60px; }
    .shop-calendar__price-row, .shop-calendar__price-row strong { font-size: 12px; }
    .shop-calendar__hours { padding: 20px 0; border-top: 1px dashed var(--cal-line); border-bottom: 1px dashed var(--cal-line); }
    .shop-calendar__offers { border-top: 0; }
    .shop-calendar a.shop-calendar__action { font-size: 12px; flex-basis: 100%; }
}
@media (max-width: 359px) {
    .shop-calendar__store-link { display: none; }
    .shop-calendar .shop-calendar__month { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .shop-calendar *, .shop-calendar *::before { transition: none !important; }
    .shop-calendar .shop-calendar__day:hover, .shop-calendar .shop-calendar__day:active { transform: none; }
    .shop-calendar__arrow span { transform: rotate(45deg) !important; }
    .shop-calendar__arrow:first-child span { transform: rotate(-135deg) !important; }
}

/* One local SVG set, shared by server-rendered and interactive calendar views. */
.shop-calendar__icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; pointer-events: none; }
.shop-calendar__fact-label:has(.shop-calendar__icon), .shop-calendar__row-label { display: flex; align-items: center; gap: 8px; }
.shop-calendar__fact-label .shop-calendar__icon { width: 17px; height: 17px; color: var(--cal-muted); }
.shop-calendar__row-label .shop-calendar__icon { width: 16px; height: 16px; color: var(--cal-muted); }
.shop-calendar__detail-heading { position: relative; }
.shop-calendar__detail-heading .shop-calendar__eyebrow { padding-right: 38px; }
.shop-calendar__heading-icon { position: absolute; top: 16px; right: 20px; width: 30px; height: 30px; padding: 6px; margin: 0; color: var(--cal-ink); background: var(--cal-yellow); border-radius: 11px; }
.shop-calendar__delivery-jump, .shop-calendar__store-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.shop-calendar__store-link .shop-calendar__icon { width: 14px; height: 14px; }
.shop-calendar__arrow .shop-calendar__icon { width: 18px; height: 18px; }
.shop-calendar__badge .shop-calendar__icon { width: 14px; height: 14px; margin-top: 1px; }
.shop-calendar__legend .shop-calendar__icon { width: 14px; height: 14px; }
.shop-calendar__action { gap: 9px; }
.shop-calendar__action .shop-calendar__icon { width: 18px; height: 18px; }

/* Refined vector offer symbols retain the original silhouettes and exact legend colors.
   Keep these independent of today/selection colors; labels carry the meaning too. */
.shop-calendar__event-icon { --event-size: 24px; position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: var(--event-size); height: var(--event-size); border-radius: 50%; background: var(--event-color, #666); color: #fff; vertical-align: middle; pointer-events: none; }
.shop-calendar__event-icon::before { content: ''; position: absolute; inset: 0; background: var(--event-glyph, none) center / contain no-repeat; }
.shop-calendar .shop-calendar__event-icon > .shop-calendar__icon { width: 58%; height: 58%; margin: 0; color: #fff; opacity: var(--event-fallback, 1); }
.shop-calendar__event-icon[data-event-type='delivery'], .shop-calendar__event-strip[data-event-type='delivery'] { --event-color: #a52a2a; --event-glyph: url('/images/calendar-offers/shirt-plus.svg'); --event-fallback: 0; }
.shop-calendar__event-icon[data-event-type='sale'], .shop-calendar__event-strip[data-event-type='sale'] { --event-color: #f96400; --event-glyph: url('/images/calendar-offers/sale-percent.svg?v=2'); --event-fallback: 0; }
.shop-calendar__event-icon[data-event-type='restocking'], .shop-calendar__event-strip[data-event-type='restocking'] { --event-color: #f3b2b2; --event-glyph: url('/images/calendar-offers/shirt-filled.svg'); --event-fallback: 0; }
.shop-calendar__event-icon[data-event-type='student_discount'], .shop-calendar__event-strip[data-event-type='student_discount'] { --event-color: #819af6; --event-glyph: url('/images/calendar-offers/graduation-cap.svg'); --event-fallback: 0; }
.shop-calendar__event-icon[data-event-type='child_discount'], .shop-calendar__event-strip[data-event-type='child_discount'] { --event-color: #a0e03d; --event-glyph: url('/img/normalized/child.svg'); --event-fallback: 0; }
.shop-calendar__event-icon[data-event-type='child_discount']::before { inset: 15%; }
.shop-calendar__event-icon[data-event-type='bags_and_jewelry'], .shop-calendar__event-strip[data-event-type='bags_and_jewelry'] { --event-color: #c181f6; --event-glyph: url('/images/calendar-offers/gem.svg'); --event-fallback: 0; }
.shop-calendar__event-icon[data-event-type='promo_4_items_50'], .shop-calendar__event-strip[data-event-type='promo_4_items_50'] { --event-color: #ff391f; --event-glyph: url('/images/calendar-offers/half-discount.svg'); --event-fallback: 0; }
.shop-calendar__event-icon[data-event-type='family_day'], .shop-calendar__event-strip[data-event-type='family_day'] { --event-color: #43c1ef; --event-glyph: url('/images/calendar-offers/family.svg'); --event-fallback: 0; }
.shop-calendar__event-icon[data-event-type='retiree_discount'], .shop-calendar__event-strip[data-event-type='retiree_discount'] { --event-color: #fab805; --event-glyph: url('/images/calendar-offers/glasses.svg'); --event-fallback: 0; }
.shop-calendar__event-icon[data-event-type='style_day'], .shop-calendar__event-strip[data-event-type='style_day'] { --event-color: #42403e; --event-glyph: url('/images/calendar-offers/bag.svg'); --event-fallback: 0; }
.shop-calendar__event-icon[data-event-type='promo_30_zl'], .shop-calendar__event-strip[data-event-type='promo_30_zl'] { --event-color: #1f6dff; --event-glyph: url('/images/calendar-offers/discount.svg'); --event-fallback: 0; }
.shop-calendar__event-icon[data-event-type='buy_more_pay_less'], .shop-calendar__event-strip[data-event-type='buy_more_pay_less'] { --event-color: #56ff7b; --event-glyph: url('/images/calendar-offers/percent.svg'); --event-fallback: 0; }
.shop-calendar__event-icon[data-event-type='restocking_shoes_and_jewelry'], .shop-calendar__event-strip[data-event-type='restocking_shoes_and_jewelry'] { --event-color: #ef4377; --event-glyph: url('/images/calendar-offers/shoes.svg'); --event-fallback: 0; }
.shop-calendar__badge { align-items: center; gap: 4px; }
.shop-calendar__badge .shop-calendar__event-icon { --event-size: 20px; }
.shop-calendar__badge .shop-calendar__event-name { min-width: 0; }
.shop-calendar__offer > .shop-calendar__offer-title { display: flex; align-items: center; gap: 9px; color: var(--cal-ink); }
.shop-calendar__offer-title .shop-calendar__event-icon, .shop-calendar__popover-offer > .shop-calendar__event-icon { --event-size: 32px; }
.shop-calendar__popover-offer { gap: 9px; color: var(--cal-ink); }
.shop-calendar__popover-offer > span.shop-calendar__event-icon { display: inline-flex; overflow: visible; }
.shop-calendar__popover-offer > span:not(.shop-calendar__event-icon):not(.shop-calendar__event-strip):not(.shop-calendar__popover-count) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-calendar__delivery-jump .shop-calendar__event-icon, .shop-calendar__legend .shop-calendar__event-icon { --event-size: 18px; }
@media (max-width: 767px) {
    .shop-calendar__grid .shop-calendar__day { min-height: 68px; padding-inline: 2px; }
    .shop-calendar__grid .shop-calendar__badge { min-height: 28px; }
    .shop-calendar__grid .shop-calendar__event-icon { --event-size: 28px; }
}
@media (max-width: 767px) {
    .shop-calendar__delivery-jump { gap: 5px; }
    .shop-calendar__delivery-jump .shop-calendar__icon { width: 16px; height: 16px; }
}
@media (max-width: 359px) {
    .shop-calendar__grid .shop-calendar__event-icon { --event-size: 26px; }
    .shop-calendar__controls { gap: 4px; }
    .shop-calendar__store-link { display: none; }
}

/* Keep the Lucide location mark in its larger store badge. */
.shop-calendar__icon.shop-calendar__location-icon { width: 42px; height: 46px; flex-basis: 42px; }
@media (max-width: 767px) {
    .shop-calendar__icon.shop-calendar__location-icon { width: 36px; height: 40px; flex-basis: 36px; }
}

/* Make selection, price conditions and the next action explicit. */
.shop-calendar .shop-calendar__instruction { flex: 1 1 210px; margin: 0; color: var(--cal-muted); font-size: 12px; line-height: 1.6; }
.shop-calendar__details { scroll-margin-top: 20px; }
.shop-calendar__prices { padding-bottom: 12px; }
.shop-calendar__main-price { margin-bottom: 0; }
.shop-calendar__offers { padding: 8px 0 20px; }
.shop-calendar__extra-prices { padding: 4px 0 20px; }
.shop-calendar__extra-prices .shop-calendar__price-row:first-child { border-top: 0; }
.shop-calendar__details-jump { display: none; }
.shop-calendar__selection-context { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: center; padding: 12px 14px; margin-top: 18px; border-radius: 10px; background: var(--cal-soft-yellow); color: var(--cal-accent-ink); font-size: 12px; }
.shop-calendar__selection-context button { background: transparent; border: 0; padding: 8px 0; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.shop-calendar__dot--selected { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid #42403e; background: transparent; }
@media (max-width: 991px) {
    .shop-calendar__details { display: block; }
    .shop-calendar__hours { padding: 20px 0; border-top: 1px dashed var(--cal-line); }
    .shop-calendar__offers { border-top: 0; }
    .shop-calendar__details-jump { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; width: 100%; padding: 11px 14px; margin-top: 12px; border: 1px solid var(--cal-line); border-radius: 10px; background: var(--cal-subtle); color: var(--cal-ink); font-size: 13px; }
    .shop-calendar__details-jump:hover { background: var(--cal-soft-yellow); }
    .shop-calendar__details-jump .shop-calendar__icon { transform: rotate(90deg); }
}
@media (max-width: 767px) {
    #page-content.calendar-page { padding-top: 18px; }
    .calendar-page .calendar-heading { margin-bottom: 20px; }
    .calendar-page .calendar-heading h1 { font-size: 29px; max-width: none; letter-spacing: -1px; }
    .calendar-page .calendar-heading p { margin-top: 8px; }
    .shop-calendar__controls { margin-bottom: 14px; }
    .shop-calendar .shop-calendar__instruction { font-size: 12px; }
    .shop-calendar__legend { margin-top: 12px; padding-top: 10px; }
}

/* Full-width event bands keep the offer prominent without changing the date target. */
.shop-calendar__grid .shop-calendar__day { min-height: 120px; padding-bottom: 42px; }
.shop-calendar__event-strip { position: absolute; left: -1px; right: -1px; bottom: -1px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; height: 36px; min-height: 36px; padding: 0 4px; border-radius: 4px 4px 10px 10px; background: var(--event-color, #666); color: var(--strip-ink, #fff); text-align: center; pointer-events: none; }
.shop-calendar__strip-label { display: none; font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: -.2px; }
.shop-calendar__event-strip[data-compact-text='true'] .shop-calendar__strip-label { display: block; font-size: 18px; font-weight: 600; }
.shop-calendar__event-strip > .shop-calendar__event-icon { display: inline-flex; --event-size: 28px; background: transparent; }
.shop-calendar__event-strip[data-compact-text='true'] > .shop-calendar__event-icon { display: none; }
/* Normalize visible artwork, not just its SVG canvas. Circle badges stay unchanged. */
.shop-calendar__event-strip > .shop-calendar__event-icon::before { transform: scale(var(--strip-glyph-scale, 1)); }
.shop-calendar__event-strip > .shop-calendar__event-icon[data-event-type='child_discount']::before { inset: 0; }
.shop-calendar__event-strip > .shop-calendar__event-icon[data-event-type='student_discount'] { --strip-glyph-scale: 1.15; }
.shop-calendar__event-strip > .shop-calendar__event-icon[data-event-type='restocking'] { --strip-glyph-scale: 1.18; }
.shop-calendar__event-strip > .shop-calendar__event-icon[data-event-type='bags_and_jewelry'] { --strip-glyph-scale: 1.08; }

.shop-calendar__event-strip:is([data-event-type='restocking'], [data-event-type='student_discount'], [data-event-type='child_discount'], [data-event-type='bags_and_jewelry'], [data-event-type='family_day'], [data-event-type='retiree_discount'], [data-event-type='buy_more_pay_less'], [data-event-type='restocking_shoes_and_jewelry']) { --strip-ink: #242424; }
.shop-calendar__grid .shop-calendar__day.is-closed { padding-bottom: 10px; }
@media (max-width: 1199px) and (min-width: 992px) {
    .shop-calendar__strip-label { font-size: 11px; }
    .shop-calendar__event-strip[data-compact-text='true'] .shop-calendar__strip-label { font-size: 18px; }
}
@media (max-width: 767px) {
    .shop-calendar__grid .shop-calendar__day { min-height: 96px; padding: 7px 2px 32px; gap: 5px; }
    .shop-calendar__grid .shop-calendar__price { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; }
    .shop-calendar__grid .shop-calendar__amount { font-size: 16px; letter-spacing: -.4px; }
    .shop-calendar__grid .shop-calendar__unit { font-size: 8px; line-height: 1.1; }
    .shop-calendar__event-strip { height: 26px; min-height: 26px; padding: 2px; border-radius: 3px 3px 8px 8px; }
    .shop-calendar__event-strip > .shop-calendar__strip-label { display: none; }
    .shop-calendar__event-strip > .shop-calendar__event-icon { display: inline-flex; --event-size: 24px; }
    .shop-calendar__event-strip[data-compact-text='true'] > .shop-calendar__event-icon { display: none; }
    .shop-calendar__event-strip[data-compact-text='true'] > .shop-calendar__strip-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: -.2px; }
    .shop-calendar__grid .shop-calendar__day.is-closed { padding-bottom: 7px; }
    .shop-calendar__grid .is-closed .shop-calendar__badge { margin: auto 0 2px; }
}
@media (max-width: 359px) {
    .shop-calendar__event-strip[data-compact-text='true'] > .shop-calendar__strip-label { font-size: 11px; }
    .shop-calendar__grid .shop-calendar__amount { font-size: 14px; }
}

/* Match legend samples to the event bands used in the date cells. */
.shop-calendar__legend { display: block; }
.shop-calendar .shop-calendar__legend-title { margin: 0 0 14px; color: var(--cal-ink); font-size: 13px; font-weight: 600; }
.shop-calendar__legend-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; margin: 0; padding: 0; list-style: none; }
.shop-calendar__legend-offers > li { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 11px; line-height: 1.4; }
.shop-calendar__legend-offers > li[hidden] { display: none; }
.shop-calendar__legend-offers .shop-calendar__event-strip { position: static; flex: 0 0 42px; width: 42px; height: 28px; min-height: 28px; padding: 2px; border-radius: 6px; }
.shop-calendar__legend-offers .shop-calendar__event-icon { --event-size: 24px; }
.shop-calendar__legend-offers .shop-calendar__event-strip[data-compact-text='true'] .shop-calendar__strip-label { font-size: 12px; letter-spacing: -.2px; }
.shop-calendar__legend-states { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--cal-line); }
.shop-calendar__legend-states > span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 767px) {
    .shop-calendar__legend-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
    .shop-calendar__legend-offers > li { gap: 7px; }
    .shop-calendar__legend-offers .shop-calendar__event-strip { flex-basis: 36px; width: 36px; }
}

.shop-calendar__legend-offers { row-gap: 18px; }
.shop-calendar__legend-offers > li { align-items: flex-start; }
.shop-calendar__legend-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.shop-calendar__legend-copy > strong { color: var(--cal-ink); font-size: 11px; font-weight: 600; line-height: 1.4; }
.shop-calendar__legend-description { color: var(--cal-muted); font-size: 11px; line-height: 1.5; }
.shop-calendar .shop-calendar__legend-note { margin: 16px 0 0; color: var(--cal-muted); font-size: 10px; line-height: 1.6; }
@media (max-width: 575px) {
    .shop-calendar__legend-offers { grid-template-columns: 1fr; row-gap: 14px; }
    .shop-calendar__legend-copy { gap: 2px; }
    .shop-calendar__legend-copy > strong, .shop-calendar__legend-description { font-size: 12px; }
}

.shop-calendar__legend-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 8px; padding: 8px 0; border: 0; background: transparent; color: var(--cal-ink); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.shop-calendar__legend-toggle[hidden] { display: none; }
.shop-calendar__legend-toggle:hover { color: var(--cal-accent-ink); }
.shop-calendar__legend-toggle:focus-visible { outline: 2px solid var(--cal-accent-ink); outline-offset: 3px; border-radius: 4px; }
.shop-calendar__legend-toggle .shop-calendar__icon { transform: rotate(90deg); }
.shop-calendar__legend-toggle[aria-expanded='true'] .shop-calendar__icon { transform: rotate(-90deg); }
@media (max-width: 359px) {
    .shop-calendar__weekdays { font-size: 10px; }
}

/* Give the next delivery a readable date and the same NEW marker as the grid. */
.shop-calendar .shop-calendar__delivery-jump { justify-content: flex-start; gap: 12px; min-height: 64px; padding: 10px 14px; border: 1px solid #e7c9c9; border-radius: 12px; background: #fff8f8; color: var(--cal-ink) !important; text-align: left; white-space: normal; }
.shop-calendar .shop-calendar__delivery-jump[hidden] { display: none; }
.shop-calendar .shop-calendar__delivery-jump:hover { background: #f9eded; border-color: #a52a2a; text-decoration: none; }
.shop-calendar__delivery-jump > .shop-calendar__event-strip { position: static; flex: 0 0 46px; width: 46px; height: 32px; min-height: 32px; padding: 0; border-radius: 6px; }
.shop-calendar__delivery-jump .shop-calendar__strip-label { font-size: 13px !important; }
.shop-calendar__delivery-copy { display: flex; flex-direction: column; gap: 3px; }
.shop-calendar__delivery-copy > span { color: #762323; font-size: 12px; font-weight: 500; line-height: 1.3; }
.shop-calendar__delivery-copy > strong { color: var(--cal-ink); font-size: 21px; font-weight: 600; line-height: 1.15; }
.shop-calendar__delivery-jump > .shop-calendar__icon { flex: 0 0 18px; width: 18px; height: 18px; margin-left: auto; color: #a52a2a; }
@media (max-width: 767px) {
    .shop-calendar .shop-calendar__delivery-jump { width: 100%; }
}

/* Today's date leads the card; price and schedule share a consistent baseline. */
.shop-calendar__today-summary { align-self: stretch; padding: 20px 22px; border: 1px solid #e8dbab; border-radius: 18px; background: #fffdf5; color: var(--cal-ink); }
.shop-calendar__today-heading { display: flex; align-items: center; gap: 12px; }
.shop-calendar__today-mark { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--cal-yellow); }
.shop-calendar__today-mark .shop-calendar__icon { width: 24px; height: 24px; }
.shop-calendar__today-title { flex: 1; min-width: 0; }
.shop-calendar__today-title > span { display: block; margin-bottom: 3px; color: #6a5b2c; font-size: 11px; font-weight: 600; line-height: 1.3; }
.shop-calendar .shop-calendar__today-title h4 { margin: 0; color: var(--cal-ink); font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.7px; }
.shop-calendar__back-today { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; min-height: 44px; padding: 8px 10px; border: 1px solid #e8dbab; border-radius: 9px; background: transparent; color: var(--cal-ink); font-size: 11px; font-weight: 500; }
.shop-calendar__back-today .shop-calendar__icon { width: 16px; height: 16px; }
.shop-calendar__back-today:hover { background: var(--cal-soft-yellow); border-color: var(--cal-yellow-edge); }
.shop-calendar__today-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #ece4c8; }
.shop-calendar__today-facts > div + div { border-left: 1px solid #ece4c8; padding-left: 16px; }
.shop-calendar__today-facts .shop-calendar__fact-label { color: var(--cal-muted); font-size: 11px; line-height: 1.4; margin-bottom: 5px; }
.shop-calendar__today-facts strong { display: block; color: var(--cal-ink); font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -.5px; }
@media (min-width: 992px) and (max-width: 1199px) {
    .shop-calendar__back-today > span { display: none; }
    .shop-calendar__back-today { width: 40px; }
}
@media (max-width: 767px) {
    .shop-calendar__today-summary { padding: 17px 16px; border-radius: 15px; }
    .shop-calendar__today-heading { gap: 10px; }
    .shop-calendar__today-mark { flex-basis: 38px; height: 38px; border-radius: 10px; }
    .shop-calendar__today-mark .shop-calendar__icon { width: 21px; height: 21px; }
    .shop-calendar .shop-calendar__today-title h4 { font-size: 22px; }
    .shop-calendar__back-today { width: 44px; padding: 8px; }
    .shop-calendar__back-today > span { display: none; }
    .shop-calendar__today-facts { gap: 12px; }
    .shop-calendar__today-facts > div + div { padding-left: 12px; }
    .shop-calendar__today-facts .shop-calendar__fact-label { min-height: 28px; font-size: 10px; }
    .shop-calendar__today-facts strong { font-size: 18px; }
}

@media (max-width: 767px) {
    .shop-calendar__grid .shop-calendar__day-top { min-height: 24px; }
    .shop-calendar__grid .shop-calendar__number { flex-basis: 24px; width: 24px; height: 24px; }
}

/* Detail offers use the same badges as the calendar and legend. */
.shop-calendar__offer-title > .shop-calendar__event-strip,
.shop-calendar__popover-offer > .shop-calendar__event-strip { position: static; display: inline-flex; flex: 0 0 48px; width: 48px; height: 32px; min-height: 32px; padding: 0; border-radius: 6px; overflow: visible; }
.shop-calendar__offer-title > .shop-calendar__event-strip[data-compact-text='true'] .shop-calendar__strip-label,
.shop-calendar__popover-offer > .shop-calendar__event-strip[data-compact-text='true'] .shop-calendar__strip-label { font-size: 13px; font-weight: 600; }
.shop-calendar__offer-title .shop-calendar__event-strip > .shop-calendar__event-icon,
.shop-calendar__popover-offer .shop-calendar__event-strip > .shop-calendar__event-icon { --event-size: 26px; }
.shop-calendar__extra-prices { display: grid; gap: 0; padding: 4px 0 16px; }
.shop-calendar__extra-prices .shop-calendar__price-row { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; margin: 0; padding: 12px 0; border: 0; border-top: 1px solid var(--cal-line); border-radius: 0; background: transparent; }
.shop-calendar__extra-prices .shop-calendar__row-label { font-size: 12px; line-height: 1.4; }
.shop-calendar__extra-prices .shop-calendar__extra-value { flex: 0 0 auto; max-width: 48%; color: var(--cal-ink); font-size: 16px; font-weight: 500; line-height: 1.4; text-align: right; }

/* Keep the mobile sheet's facts and actions consistent with full details. */
.shop-calendar__popover-offer > span.shop-calendar__event-strip { display: inline-flex; align-items: center; justify-content: center; align-self: center; }
.shop-calendar__popover-offer-label { flex: 1; min-width: 0; }
.shop-calendar__popover.is-sheet .shop-calendar__extra-prices { margin-top: 12px; padding: 0; }
.shop-calendar__popover.is-sheet .shop-calendar__extra-prices .shop-calendar__price-row { margin: 0; padding: 10px 0; border-top: 1px solid var(--cal-line); align-items: center; }
.shop-calendar__popover.is-sheet .shop-calendar__extra-prices .shop-calendar__extra-value { font-size: 15px; font-weight: 500; }
.shop-calendar__popover.is-sheet .shop-calendar__actions { margin-top: 8px; gap: 8px; }
.shop-calendar__popover.is-sheet a.shop-calendar__action { flex-basis: 100%; min-height: 44px; padding: 10px 12px; }
.shop-calendar__popover.is-sheet.is-condensed .shop-calendar__extra-prices { margin-top: 8px; }
.shop-calendar__popover.is-sheet.is-condensed .shop-calendar__extra-prices .shop-calendar__price-row { padding: 7px 0; }
