/* Local tokens make the delivery card follow MegaPets without changing other UI. */
.mpd-product-card,
.mpd-calendar,
.mpd-order-delivery,
.mpd-checkout-delivery {
    --mpd-ink: var(--mp-color-dark, #342a24);
    --mpd-muted: var(--mp-color-brown-chocolate, #705c4c);
    --mpd-gold: var(--mp-color-gold-dark, #9c6b2e);
    --mpd-line: #e7dbc7;
    --mpd-paper: #fffdf8;
    --mpd-day: #f5ecd9;
    color: var(--mpd-ink);
    font-family: var(--mp-font-sans, inherit);
    box-sizing: border-box;
}
.mpd-product-card *,
.mpd-calendar * { box-sizing: border-box; }
.mpd-product-card [hidden],
.mpd-calendar [hidden] { display: none !important; }

/* Measure the available product area, including any neighbouring mini-catalog. */
.mpd-product-stage {
    --mpd-mobile-photo-width: var(--mp-product-card-max-width, 380px);
    --mpd-layout-gap: 24px;
    container: mpd-product / inline-size;
    width: 100%;
    min-width: 0;
}
body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    width: 100%;
    max-width: none;
    gap: var(--mpd-layout-gap);
    align-items: start;
    margin-right: auto;
    margin-left: auto;
}
body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero > .ast-sticky-row {
    display: contents;
}
body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero::after,
body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero > .ast-sticky-row::before,
body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero > .ast-sticky-row::after {
    display: none;
    content: none;
}
body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .summary,
body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .woocommerce-product-gallery {
    float: none;
    width: 100% !important;
    min-width: 0;
    margin: 0;
    padding: 0;
    justify-self: center;
    align-self: start;
}
body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .summary {
    max-width: 440px;
    grid-column: 1;
    grid-row: 2;
}
body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .woocommerce-product-gallery {
    display: block;
    max-width: var(--mpd-mobile-photo-width);
    grid-column: 1;
    grid-row: 1;
}
/* Keep the native slider, responsive image sources and gallery controls. */
body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: var(--mp-product-card-media-ratio, 3 / 2);
    object-fit: contain;
    object-position: center;
    background: #fff;
}
body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .mpd-product-card {
    grid-column: 1;
    grid-row: 3;
    max-width: 440px;
    justify-self: center;
}
body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .summary .mpd-product-card {
    margin: 18px 0;
    max-width: none;
}
.mpd-product-card {
    width: 100%;
    min-width: 0;
    margin: 24px 0 0;
    border: 1px solid var(--mpd-line);
    border-radius: var(--mp-radius, 12px);
    background: var(--mpd-paper);
    overflow-wrap: anywhere;
    box-shadow: none;
}
.mpd-product-layout .mp-single-product-hero .mpd-product-card { margin: 0; }
.mpd-product-card__details {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.mpd-product-card__summary {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 17px 18px 0;
    color: var(--mpd-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    list-style: none;
    cursor: default;
}
.mpd-product-card__summary::-webkit-details-marker { display: none; }
.mpd-product-card__summary::marker { content: ''; }
.mpd-product-card__icon { display: inline-flex; flex: 0 0 21px; color: var(--mpd-gold); }
.mpd-product-card__icon svg { display: block; width: 21px; height: 21px; }

.mpd-product-card__body { padding: 0 18px 18px; }
.mpd-product-card__area { margin: 4px 0 16px; }
.mpd-product-card__scope {
    margin: 0;
    color: var(--mpd-muted);
    font-size: 11px;
    line-height: 1.5;
}
.mpd-product-card__free { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.mpd-product-card__free > li { margin: 0; padding: 0; color: var(--mpd-gold); font-size: 11px; line-height: 1.55; }
.mpd-delivery-facts { display: grid; gap: 9px; margin: 0; padding: 0; }
.mpd-delivery-facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 0; }
.mpd-delivery-facts dt { margin: 0; padding: 0; color: var(--mpd-muted); font-size: 11px; font-weight: 400; line-height: 1.4; }
.mpd-delivery-facts dd { margin: 0; padding: 0; color: var(--mpd-ink); font-size: 12px; font-weight: 500; line-height: 1.5; }
.mpd-product-card__estimate {
    display: grid;
    gap: 4px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--mpd-line);
}
.mpd-product-card__estimate > span { color: var(--mpd-muted); font-size: 11px; line-height: 1.4; }
.mpd-product-card__estimate strong { color: var(--mpd-gold); font-size: 17px; font-weight: 600; line-height: 1.35; }
.mpd-product-card__estimate small { color: var(--mpd-muted); font-size: 10px; line-height: 1.5; }
.mpd-product-card__calendar-label {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin: 12px 0 0;
    padding: 11px 0;
    color: var(--mpd-ink);
    font: 600 12px/1.5 var(--mp-font-sans, sans-serif);
    letter-spacing: 0;
    text-transform: none;
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.mpd-product-card__calendar-label::-webkit-details-marker { display: none; }
.mpd-product-card__calendar-label::marker { content: ''; }
.mpd-product-card__calendar-panel { padding-top: 6px; }
.mpd-product-card__details:not([open]) > .mpd-product-card__calendar-panel { display: none; }
.mpd-product-card__status { margin: 16px 0 0; padding-top: 13px; border-top: 1px solid var(--mpd-line); color: var(--mpd-muted); font-size: 12px; line-height: 1.6; }
.mpd-product-card__hint { margin: 10px 0 0; color: var(--mpd-muted); font-size: 10px; line-height: 1.6; }
.mpd-product-card__link { display: inline-block; margin-top: 14px; color: var(--mpd-gold); font-size: 11px; font-weight: 500; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.mpd-product-card__link:hover { color: var(--mpd-ink); }
.mpd-calendar-legend { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; color: var(--mpd-muted); font-size: 10px; line-height: 1.5; }
.mpd-calendar-legend > span { flex: 0 0 9px; width: 9px; height: 9px; border: 1px solid #dcc79f; border-radius: 3px; background: var(--mpd-day); }
.mpd-calendar-key { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--mpd-muted); font-size: 10px; line-height: 1.5; }
.mpd-calendar-key li { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.mpd-calendar-key li > span { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 3px; border: 1px solid var(--mpd-gold); }
.mpd-calendar-key__preparing { background: var(--mpd-day); }
.mpd-calendar-key__forecast { background: var(--mpd-gold); }

.mpd-calendar { width: 100%; max-width: 370px; margin: 0; padding: 0; font-size: 12px; }
.mpd-calendar__heading { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; align-items: center; gap: 7px; margin-bottom: 9px; }
.mpd-calendar [data-mpd-month] { color: var(--mpd-ink); font-size: 12px; font-weight: 600; line-height: 1.4; text-align: center; }
.mpd-calendar [data-mpd-prev],
.mpd-calendar [data-mpd-next] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 0;
    min-height: 30px;
    margin: 0;
    padding: 2px;
    border: 1px solid var(--mpd-line);
    border-radius: 6px;
    background: transparent;
    color: var(--mpd-gold);
    font: 400 20px/1 sans-serif;
    box-shadow: none;
    cursor: pointer;
}
.mpd-calendar [data-mpd-prev]:disabled,
.mpd-calendar [data-mpd-next]:disabled { border-color: transparent; opacity: .35; cursor: default; }
.mpd-calendar__weekdays,
.mpd-calendar__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.mpd-calendar__weekdays { margin: 0 0 6px; }
.mpd-calendar__weekdays > span { min-width: 0; color: var(--mpd-muted); font-size: 9px; line-height: 1.6; text-align: center; }
.mpd-calendar .mpd-calendar__day,
.mpd-calendar .mpd-calendar__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 29px;
    margin: 0;
    padding: 5px 0;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: #93887c;
    font: 400 11px/1.5 var(--mp-font-sans, sans-serif);
    font-variant-numeric: tabular-nums;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    opacity: 1;
    transform: none;
}
.mpd-calendar .mpd-calendar__day.is-available { color: #775421; background: var(--mpd-day); }
.mpd-calendar .mpd-calendar__day.is-today { border-color: #b4a38c; }
.mpd-calendar .mpd-calendar__day.is-selected { color: #fff; border-color: var(--mpd-gold); background: var(--mpd-gold); font-weight: 600; }
.mpd-calendar button.mpd-calendar__day { cursor: pointer; }
.mpd-calendar button.mpd-calendar__day:disabled { cursor: default; }
.mpd-calendar button.mpd-calendar__day.is-available:hover { border-color: var(--mpd-gold); }
.mpd-calendar button.mpd-calendar__day.is-selected:hover { color: #fff; background: var(--mpd-gold); }
.mpd-calendar button:focus-visible,
.mpd-product-card a:focus-visible,
.mpd-product-card summary:focus-visible { outline: 2px solid var(--mpd-gold); outline-offset: 3px; }

/* On tablet/compact desktop, delivery sits directly below the photograph. */
@media (min-width: 768px) {
    @container mpd-product (min-width: 640px) {
        body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero {
            grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.1fr);
            grid-template-rows: min-content 1fr;
        }
        body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .woocommerce-product-gallery { grid-area: 1 / 1; max-width: none; }
        body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .summary { grid-area: 1 / 2 / span 2 / 3; max-width: none; }
        body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .mpd-product-card { grid-area: 2 / 1; max-width: none; }
    }
    @container mpd-product (min-width: 980px) {
        body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero {
            /* The photo uses about one third, like the description media below.
             * All three columns fill the existing main content area. */
            grid-template-columns: minmax(0, 1fr) minmax(300px, 1.15fr) minmax(280px, .85fr);
            grid-template-rows: auto;
        }
        body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .summary { grid-area: 1 / 2; }
        body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .mpd-product-card { grid-area: 1 / 3; }
    }
}
@media (max-width: 767px) {
    .mpd-product-card__summary { font-size: 15px; }
    .mpd-product-card__body { padding: 0 17px 17px; }
    .mpd-calendar { max-width: none; }
    .mpd-calendar .mpd-calendar__day,
    .mpd-calendar .mpd-calendar__empty { min-height: 36px; font-size: 12px; }
    .mpd-calendar[data-interactive="1"] .mpd-calendar__day { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .mpd-product-card *, .mpd-calendar * { scroll-behavior: auto; animation: none; transition: none; }
}

/* Forecast phases stand out without enlarging or shifting the calendar cells. */
.mpd-product-card .mpd-calendar__day.is-outside-month { color: #9a9083; }
.mpd-product-card .mpd-calendar__day.is-preparing { background: var(--mpd-day); color: var(--mpd-ink); font-size: 14px; font-weight: 600; border-bottom: 2px solid var(--mpd-gold); }
.mpd-product-card .mpd-calendar__day.is-forecast { background: var(--mpd-gold); color: #fff; font-size: 15px; font-weight: 600; }
.mpd-product-card .mpd-calendar__day.is-today { border: 1px solid var(--mpd-gold); color: var(--mpd-ink); font-weight: 600; }

/* 1.0.3 — product card: calm MegaPets surfaces; header, estimate, facts, collapsed calendar last. */
.mpd-product-card {
    --mpd-bar: rgba(239, 229, 215, .5);
    --mpd-cream: rgba(247, 239, 226, .55);
    --mpd-card-line: rgba(199, 154, 87, .32);
    --mpd-rule: var(--mp-color-border-subtle, rgba(199, 154, 87, .24));
    --mpd-deco: var(--mp-color-decorative-line, rgba(199, 154, 87, .48));
    --mpd-solid: var(--mp-color-border-solid, #d8c09c);
    --mpd-icon: var(--mp-color-gold-dark, #b8833e);
    --mpd-accent: var(--mp-color-action-primary-dark, #a56d24);
    --mpd-accent-text: var(--mp-color-action-primary-active-dark, #8f581b);
    overflow: hidden;
    border-color: var(--mpd-card-line);
    background: var(--mp-color-surface, #fff);
    font-family: var(--mp-font-body, var(--mp-font-sans, inherit));
}
.mpd-product-card .mpd-product-card__summary { gap: 10px; padding: 14px 18px; background: var(--mpd-bar); border-bottom: 1px solid var(--mpd-deco); font-size: 16px; line-height: 1.3; }
.mpd-product-card .mpd-product-card__icon { flex: 0 0 20px; color: var(--mpd-icon); }
.mpd-product-card .mpd-product-card__icon svg { width: 20px; height: 20px; }
.mpd-product-card .mpd-product-card__area { margin: 0 0 0 auto; }
.mpd-product-card .mpd-product-card__scope { color: var(--mpd-muted); font-size: 12px; font-weight: 400; line-height: 1.4; }
.mpd-product-card .mpd-product-card__estimate { gap: 4px; margin: 0; padding: 16px 18px; border-top: 0; border-bottom: 1px solid var(--mpd-rule); background: var(--mpd-cream); }
.mpd-product-card .mpd-product-card__estimate > span { color: var(--mpd-muted); font-size: 12px; line-height: 1.4; }
.mpd-product-card .mpd-product-card__estimate strong { color: var(--mpd-accent); font-family: var(--mp-font-accent, Georgia, serif); font-size: 19px; font-weight: 600; line-height: 1.3; }
.mpd-product-card .mpd-product-card__body { padding: 14px 18px 8px; }
.mpd-product-card .mpd-product-card__status { margin: 0 0 8px; padding: 0; border: 0; color: var(--mpd-muted); font-size: 13px; line-height: 1.5; }
.mpd-product-card .mpd-product-card__free { gap: 6px; margin: 0 0 4px; }
.mpd-product-card .mpd-product-card__free > li { position: relative; padding-left: 16px; color: var(--mpd-accent-text); font-size: 13px; font-weight: 500; line-height: 1.45; }
.mpd-product-card .mpd-product-card__free > li::before { content: ''; position: absolute; top: .5em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--mpd-icon); }
.mpd-product-card .mpd-delivery-facts { gap: 0; }
.mpd-product-card .mpd-delivery-facts > div { padding: 10px 0; }
.mpd-product-card .mpd-delivery-facts > div:not([hidden]) ~ div:not([hidden]) { border-top: 1px solid var(--mpd-rule); }
.mpd-product-card .mpd-delivery-facts dt { color: var(--mpd-muted); font-size: 12px; line-height: 1.4; }
.mpd-product-card .mpd-delivery-facts dd { color: var(--mpd-ink); font-size: 13px; font-weight: 500; line-height: 1.45; }
.mpd-product-card .mpd-product-card__calendar-label { position: relative; overflow: hidden; gap: 10px; min-height: 48px; margin: 0; padding: 0 18px; border-top: 1px solid var(--mpd-deco); background: var(--mpd-bar); color: var(--mpd-ink); font-size: 15px; font-weight: 600; line-height: 1.3; }
.mpd-product-card .mpd-product-card__calendar-label .mpd-product-card__icon { flex-basis: 18px; }
.mpd-product-card .mpd-product-card__calendar-label .mpd-product-card__icon svg { width: 18px; height: 18px; }

.mpd-product-card .mpd-product-card__calendar-panel { padding: 16px 18px 18px; background: var(--mp-color-surface, #fff); }
.mpd-product-card .mpd-calendar { max-width: none; font-size: 13px; }
.mpd-product-card .mpd-calendar__heading { grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 8px; margin-bottom: 10px; }
.mpd-product-card .mpd-calendar [data-mpd-month] { font-size: 13px; }
.mpd-product-card .mpd-calendar [data-mpd-prev],
.mpd-product-card .mpd-calendar [data-mpd-next] { width: 32px; height: 32px; min-height: 32px; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--mpd-card-line); color: var(--mpd-ink); font-size: 18px; }
.mpd-product-card .mpd-calendar [data-mpd-prev]:disabled,
.mpd-product-card .mpd-calendar [data-mpd-next]:disabled { box-shadow: inset 0 0 0 1px var(--mpd-card-line); }
.mpd-product-card .mpd-calendar__weekdays,
.mpd-product-card .mpd-calendar__days { gap: 2px; }
.mpd-product-card .mpd-calendar__weekdays > span { font-size: 12px; }
.mpd-product-card .mpd-calendar .mpd-calendar__day { width: 100%; max-width: 34px; height: auto; min-height: 0; aspect-ratio: 1; margin: 0 auto; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: var(--mpd-muted); font-size: 13px; font-weight: 400; }
.mpd-product-card .mpd-calendar .mpd-calendar__day.is-outside-month { color: #9d8f7e; }
.mpd-product-card .mpd-calendar .mpd-calendar__day.is-today { border: 0; box-shadow: inset 0 0 0 1.5px var(--mpd-ink); color: var(--mpd-ink); font-weight: 600; }
.mpd-product-card .mpd-calendar .mpd-calendar__day.is-preparing { border: 0; background: var(--mpd-cream); box-shadow: inset 0 0 0 1px var(--mpd-solid); color: var(--mpd-ink); font-size: 13px; font-weight: 600; }
.mpd-product-card .mpd-calendar .mpd-calendar__day.is-forecast { border: 0; background: var(--mpd-accent); box-shadow: none; color: #fff; font-size: 13px; font-weight: 600; }
.mpd-product-card .mpd-calendar-key { gap: 6px 14px; margin: 12px 0 0; color: var(--mpd-muted); font-size: 12px; }
.mpd-product-card .mpd-calendar-key li > span { width: 10px; height: 10px; flex-basis: 10px; border: 0; border-radius: 50%; }
.mpd-product-card .mpd-calendar-key__today { box-shadow: inset 0 0 0 1.5px var(--mpd-ink); }
.mpd-product-card .mpd-calendar-key__preparing { background: var(--mpd-cream); box-shadow: inset 0 0 0 1px var(--mpd-solid); }
.mpd-product-card .mpd-calendar-key__forecast { background: var(--mpd-accent); }
.mpd-product-card .mpd-product-card__hint { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--mpd-deco); color: var(--mpd-muted); font-size: 12px; line-height: 1.5; }
@media (max-width: 767px) {
    .mpd-product-card .mpd-product-card__summary { font-size: 16px; }
    .mpd-product-card .mpd-product-card__body { padding: 14px 17px 8px; }
    .mpd-product-card .mpd-calendar .mpd-calendar__day { max-width: 40px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .mpd-product-card .mpd-product-card__calendar-label::after { animation: none; opacity: 0; }
}

/* 1.0.4 — quiet column (no card), calendar bar on top; opening swaps the content for the month view. */
.mpd-product-card { overflow: visible; border: 0; border-radius: 0; background: transparent; }
.mpd-product-card[data-mpd-state="ready"] .mpd-product-card__summary { display: none; }
.mpd-product-card .mpd-product-card__summary { padding: 0 0 12px; background: transparent; border-bottom: 1px solid var(--mpd-deco); font-size: 15px; }
.mpd-product-card button.mpd-product-card__calendar-label {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 0; margin: 0; padding: 0 0 12px;
    border: 0; border-bottom: 1px solid var(--mpd-deco); border-radius: 0; background: transparent; box-shadow: none;
    color: var(--mpd-ink); font: 600 15px/1.3 var(--mp-font-body, var(--mp-font-sans, inherit)); letter-spacing: 0; text-align: left; text-transform: none; cursor: pointer;
}
.mpd-product-card button.mpd-product-card__calendar-label:hover,
.mpd-product-card button.mpd-product-card__calendar-label:focus { background: transparent; color: var(--mpd-ink); box-shadow: none; }
.mpd-product-card button.mpd-product-card__calendar-label:focus-visible { outline: 2px solid var(--mpd-icon); outline-offset: 3px; }

.mpd-product-card .mpd-product-card__calendar-panel { padding: 14px 0 16px; background: transparent; border-bottom: 1px solid var(--mpd-rule); }
.mpd-product-card .mpd-product-card__estimate { gap: 3px; padding: 14px 0 12px; border: 0; background: transparent; }
.mpd-product-card .mpd-product-card__estimate strong { font-size: 18px; }
.mpd-product-card .mpd-product-card__body { padding: 0; }
.mpd-product-card .mpd-product-card__body > .mpd-product-card__status { margin: 14px 0 8px; }
.mpd-product-card .mpd-product-card__free { margin: 0 0 10px; }
.mpd-product-card .mpd-delivery-facts > div { padding: 11px 0; }
.mpd-product-card .mpd-delivery-facts > div:not([hidden]) { border-top: 1px solid var(--mpd-rule); }
@media (min-width: 768px) {
    @container mpd-product (min-width: 980px) {
        body.mpd-product-layout.mp-single-product-page div.product .mp-single-product-hero .mpd-product-card { align-self: stretch; padding-left: 32px; border-left: 1px solid var(--mpd-rule); }
    }
}
@media (max-width: 767px) {
    .mpd-product-card .mpd-product-card__body { padding: 0; }
}

/* 1.0.10 — free-delivery progress shared with MegaPets mini-cart. */
.mpd-product-card .mpd-product-card__free-progress {
    --mpdd-brand: var(--mp-global-color-background-brand, #efe5d7);
    --mpdd-text: var(--mp-color-dark, #2a221b);
    --mpdd-muted: var(--mp-color-grey, #5b544d);
    --mpdd-gold-dark: var(--mp-color-gold-dark, #b8833e);
    --mpdd-gold-light: var(--mp-color-gold-light, #d7ac69);
    --mpdd-ease: var(--mp-ease, cubic-bezier(.22, 1, .36, 1));
    margin: 0 0 10px;
}
.mpd-product-card .mpd-product-card__free-progress:empty { display: none; }
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-wrap {
    margin: 0;
    padding: 0;
}
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-message {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 7px;
    margin: 0 !important;
    color: var(--mpdd-muted);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.3;
}
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-message strong {
    color: var(--mpdd-text);
    font-weight: 600;
    white-space: nowrap;
}
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-wrap.is-active .mpdd-progress-message {
    color: var(--mpdd-gold-dark);
    font-weight: 600;
}
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-track {
    height: 3px;
    margin-top: 5px;
    overflow: hidden;
    background: var(--mpdd-brand);
    border-radius: 999px;
}
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--mpdd-gold-dark), var(--mpdd-gold-light));
    border-radius: inherit;
    transition: width .3s var(--mpdd-ease);
}

/* 1.0.11 — free-delivery progress: "quiet line". 12px text, amount on the right, 2px track, gold fill. */
.mpd-product-card .mpd-product-card__free-progress { margin: 14px 0 12px; }
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-message {
    gap: 10px; color: var(--mpd-muted, #6b5643); font-size: 12px; font-weight: 400; line-height: 1.35; letter-spacing: 0;
}
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-message strong { color: var(--mpd-ink, #2a221b); font-weight: 600; }
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-wrap.is-active .mpdd-progress-message { color: var(--mpd-accent-text, #8f581b); font-weight: 600; }
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-track { height: 2px; margin-top: 8px; background: var(--mpdd-brand); border-radius: 999px; box-shadow: none; border: 0; }
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-track span { background: linear-gradient(90deg, var(--mpdd-gold-dark), var(--mpdd-gold-light)); border-radius: 999px; box-shadow: none; }

/* Free-delivery progress inside the estimate block. */
.mpd-product-card .mpd-product-card__estimate { padding-bottom: 12px; }
.mpd-product-card .mpd-product-card__content > .mpd-product-card__free-progress { margin: 0 0 14px; }
.mpd-product-card .mpd-product-card__content > .mpd-product-card__estimate[hidden] + .mpd-product-card__free-progress { margin-top: 14px; }

/* No extra rule between the progress and the first fact. */
.mpd-product-card .mpd-product-card__free-progress + .mpd-product-card__body .mpd-delivery-facts > div:not([hidden]) { border-top: 0; }
.mpd-product-card .mpd-product-card__free-progress + .mpd-product-card__body .mpd-delivery-facts > div:not([hidden]) ~ div:not([hidden]) { border-top: 1px solid var(--mpd-rule); }
.mpd-product-card .mpd-product-card__free-progress + .mpd-product-card__body .mpd-delivery-facts > div:not([hidden]):first-child { padding-top: 4px; }

/* ==========================================================================
   Product card (1.0.24): facts on top, calendar bar at the bottom opening upwards.
   ========================================================================== */
/* Stage: facts and month view share one place, so the bar below never moves. */
.mpd-product-card .mpd-product-card__stage { display: grid; }
.mpd-product-card .mpd-product-card__stage > [data-mpd-content],
.mpd-product-card .mpd-product-card__stage > [data-mpd-panel] { grid-area: 1 / 1; min-width: 0; }
.mpd-product-card .mpd-product-card__stage > [data-mpd-panel] { align-self: end; }
.mpd-product-card[data-mpd-state="ready"] .mpd-product-card__stage > [data-mpd-content][hidden],
.mpd-product-card[data-mpd-state="ready"] .mpd-product-card__stage > [data-mpd-panel][hidden] { display: block !important; visibility: hidden; }
.mpd-product-card .mpd-product-card__content { margin-bottom: 14px; }
.mpd-product-card .mpd-product-card__calendar-panel { padding: 4px 0 14px !important; border-bottom: 0 !important; }

/* Estimate. */
.mpd-product-card [data-mpd-scope-inline] { display: none !important; }
.mpd-product-card .mpd-product-card__estimate { padding-bottom: 14px !important; }
.mpd-product-card [data-mpd-estimate-label] { color: #8a7a68; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* Free-delivery progress. */
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-message { align-items: center !important; }
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-message > span { color: #8a7a68; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-message strong { font-size: 12px; }
.mpd-product-card .mpd-product-card__free-progress .mpdd-progress-track { height: 4px !important; }

/* Facts: dark label, softer value starting in lower case. */
.mpd-product-card .mpd-delivery-facts dt { margin-bottom: 3px; color: #946328 !important; font-size: 12px; font-weight: 500 !important; letter-spacing: 0; text-transform: none; }
.mpd-product-card .mpd-delivery-facts dd { color: #5b4a3b !important; font-size: 13px !important; font-weight: 400 !important; line-height: 1.5 !important; text-wrap: pretty; }
.mpd-product-card .mpd-delivery-facts dd::first-letter { text-transform: lowercase; }

/* Calendar bar: thin gold frame with theme radius, sized to text and arrow. */
.mpd-product-card button.mpd-product-card__calendar-label,
.mpd-product-card button.mpd-product-card__calendar-label:hover {
    display: inline-flex !important; align-items: center; gap: 10px !important; width: auto !important; max-width: 100%;
    min-height: 46px !important; padding: 0 16px 0 18px !important; border: 0 !important;
    border-radius: var(--mp-radius, 8px) !important; background: transparent !important;
    box-shadow: inset 0 0 0 1px rgba(199, 154, 87, .42) !important; overflow: visible !important;
}
.mpd-product-card button.mpd-product-card__calendar-label::before,
.mpd-product-card button.mpd-product-card__calendar-label::after { content: none !important; animation: none !important; }
.mpd-product-card button.mpd-product-card__calendar-label .mpd-product-card__icon { display: inline-flex; align-items: center; }
.mpd-product-card button.mpd-product-card__calendar-label .mpd-product-card__label {
    font-size: 13px !important; font-weight: 500 !important; line-height: 1.2;
    background-image: linear-gradient(100deg, #2a221b 0%, #2a221b 35%, #a56d24 44%, #f0cf8e 50%, #a56d24 56%, #2a221b 65%, #2a221b 100%) !important;
    background-size: 250% 100% !important; background-repeat: repeat !important; background-color: transparent !important;
    -webkit-background-clip: text !important; background-clip: text !important;
    color: transparent !important; -webkit-text-fill-color: transparent !important;
    animation: mpd-card-sheen 5s ease-in-out infinite !important;
    transition: color .2s ease, -webkit-text-fill-color .2s ease;
}
.mpd-product-card button.mpd-product-card__calendar-label:hover .mpd-product-card__label,
.mpd-product-card button.mpd-product-card__calendar-label:focus-visible .mpd-product-card__label,
.mpd-product-card.is-calendar-open button.mpd-product-card__calendar-label .mpd-product-card__label {
    color: var(--mp-color-gold-dark, #b8833e) !important; -webkit-text-fill-color: var(--mp-color-gold-dark, #b8833e) !important;
}
.mpd-product-card.is-calendar-open button.mpd-product-card__calendar-label .mpd-product-card__label { animation: none !important; background-image: none !important; }
@keyframes mpd-card-sheen { 0% { background-position: 150% 0; } 60%, 100% { background-position: -50% 0; } }
/* Theme arrow (mobile language selector tokens): right when closed, up when open. */
.mpd-product-card button.mpd-product-card__calendar-label .mpd-product-card__toggle {
    display: inline-flex !important; align-items: center; align-self: center; justify-content: center; width: 20px; min-width: 0 !important;
    margin-left: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; overflow: visible !important;
}
.mpd-product-card .mpd-product-card__toggle .mpd-product-card__arrow {
    position: relative; top: -1.5px; display: inline-block; flex: 0 0 auto; margin: 0 !important;
    font-family: var(--mp-premium-italic-font-family, 'Cormorant Garamond', Georgia, serif); font-style: italic; font-weight: 700;
    font-size: 26px; line-height: 0 !important; color: var(--mp-color-gold-dark, #b8833e);
    transform: rotate(0deg); transition: transform .25s ease;
}
.mpd-product-card.is-calendar-open .mpd-product-card__toggle .mpd-product-card__arrow { transform: rotate(-90deg); }

/* Month heading. */
.mpd-product-card .mpd-calendar__heading { grid-template-columns: 32px minmax(0, 1fr) 32px !important; align-items: center; }
.mpd-product-card .mpd-calendar__heading strong { display: block; font-family: 'Manrope', Arial, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-align: center; }
.mpd-product-card .mpd-calendar__heading strong::first-letter { text-transform: uppercase; }
.mpd-product-card .mpd-calendar .mpd-calendar__heading button {
    -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; padding: 0 0 5px !important; border: 0; border-radius: 50%; background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(199, 154, 87, .24); color: #2a221b; cursor: pointer;
    font-family: 'Cormorant Garamond', Georgia, serif !important; font-style: italic; font-weight: 700; font-size: 26px; line-height: 0 !important;
}
.mpd-product-card .mpd-calendar__heading button:disabled { opacity: .35; cursor: default; }
.mpd-product-card .mpd-calendar__weekdays span { font-family: 'Manrope', Arial, sans-serif; font-size: 11px; color: #8a7a68; }

/* Days: one ring style, only the fill differs. */
.mpd-product-card .mpd-calendar .mpd-calendar__day { font-size: 13px !important; font-weight: 400; color: #4a3d31; font-variant-numeric: tabular-nums; }
.mpd-product-card .mpd-calendar .mpd-calendar__day.is-outside-month { color: #c3b6a5 !important; }
.mpd-product-card .mpd-calendar .mpd-calendar__day.is-today,
.mpd-product-card .mpd-calendar .mpd-calendar__day.is-preparing,
.mpd-product-card .mpd-calendar .mpd-calendar__day.is-forecast { border: 0 !important; box-shadow: inset 0 0 0 1px #a56d24 !important; color: #2a221b !important; font-weight: 600 !important; }
.mpd-product-card .mpd-calendar .mpd-calendar__day.is-today { background: transparent !important; box-shadow: inset 0 0 0 1.5px #5f5750 !important; }
.mpd-product-card .mpd-calendar .mpd-calendar__day.is-preparing { background: rgba(247, 239, 226, .55) !important; box-shadow: inset 0 0 0 1px #d8c09c !important; }
.mpd-product-card .mpd-calendar .mpd-calendar__day.is-forecast { background: #d0a96f !important; box-shadow: inset 0 0 0 1px #946328 !important; }
.mpd-product-card .mpd-calendar .mpd-calendar__day.is-preparing.is-forecast { background: linear-gradient(90deg, rgba(247, 239, 226, .9) 0 50%, #d0a96f 50% 100%) !important; box-shadow: inset 0 0 0 1px #c49a5e !important; }

/* Legend: one item per line, same marks as the days. */
.mpd-product-card .mpd-calendar-key { display: grid !important; gap: 8px !important; margin: 14px 0 0 !important; padding: 12px 0 0 !important; border-top: 1px solid rgba(199, 154, 87, .24); color: #6b5643 !important; font-size: 12px !important; line-height: 1.4; }
.mpd-product-card .mpd-calendar-key li { gap: 10px !important; }
.mpd-product-card .mpd-calendar-key li > span { flex: 0 0 12px !important; width: 12px !important; height: 12px !important; border: 0 !important; border-radius: 50% !important; box-shadow: inset 0 0 0 1px #a56d24; }
.mpd-product-card .mpd-calendar-key .mpd-calendar-key__today { background: transparent !important; box-shadow: inset 0 0 0 1.5px #5f5750 !important; }
.mpd-product-card .mpd-calendar-key .mpd-calendar-key__preparing { background: rgba(247, 239, 226, .55) !important; box-shadow: inset 0 0 0 1px #d8c09c !important; }
.mpd-product-card .mpd-calendar-key .mpd-calendar-key__forecast { background: #d0a96f !important; box-shadow: inset 0 0 0 1px #946328 !important; }
.mpd-product-card .mpd-calendar-key .mpd-calendar-key__both { background: linear-gradient(90deg, rgba(247, 239, 226, .9) 0 50%, #d0a96f 50% 100%) !important; box-shadow: inset 0 0 0 1px #c49a5e !important; }

@media (prefers-reduced-motion: reduce) {
    .mpd-product-card button.mpd-product-card__calendar-label .mpd-product-card__label { animation: none !important; }
    .mpd-product-card .mpd-product-card__toggle .mpd-product-card__arrow { transition: none; }
}

/* Customer order page (My account / order received): stage scale + read-only calendar. */
.mpd-order-delivery .mpd-track { display: grid; gap: 12px; margin: 4px 0 22px; }
.mpd-order-delivery .mpd-track__title, .mpd-order-delivery .mpd-order-cal__month { color: #6b5643; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.mpd-order-delivery .mpd-track__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; max-width: 420px; margin: 0; padding: 0; list-style: none; }
.mpd-order-delivery .mpd-track__steps::before, .mpd-order-delivery .mpd-track__steps::after { content: ''; position: absolute; left: 12.5%; top: 6px; height: 2px; border-radius: 2px; }
.mpd-order-delivery .mpd-track__steps::before { right: 12.5%; background: rgba(199, 154, 87, .26); }
.mpd-order-delivery .mpd-track__steps::after { width: var(--mpd-track-fill, 0%); background: #b8833e; }
.mpd-order-delivery .mpd-track__step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; margin: 0; text-align: center; }
.mpd-order-delivery .mpd-track__dot { width: 14px; height: 14px; border-radius: 50%; background: #fbfbfb; box-shadow: inset 0 0 0 1.5px rgba(199, 154, 87, .55); }
.mpd-order-delivery .mpd-track__step.is-done .mpd-track__dot { background: #b8833e; box-shadow: none; }
.mpd-order-delivery .mpd-track__step.is-current .mpd-track__dot { background: #b8833e; box-shadow: 0 0 0 3px #fbfbfb, 0 0 0 4px #b8833e; }
.mpd-order-delivery .mpd-track__label { color: #8a7a68; font-size: 12px; font-weight: 500; line-height: 1.3; }
.mpd-order-delivery .mpd-track__step.is-done .mpd-track__label { color: #342a24; }
.mpd-order-delivery .mpd-track__step.is-current .mpd-track__label { color: #946328; }
.mpd-order-delivery .mpd-track__date { min-height: 14px; color: #8a7a68; font-size: 11px; line-height: 1.3; }
.mpd-order-delivery .mpd-order-cal { display: grid; gap: 10px; max-width: 320px; padding: 16px; border-radius: var(--mp-radius, 8px); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(199, 154, 87, .26); }
.mpd-order-delivery .mpd-order-cal__month { text-align: center; }
.mpd-order-delivery .mpd-order-cal__weekdays, .mpd-order-delivery .mpd-order-cal__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.mpd-order-delivery .mpd-order-cal__weekdays span { text-align: center; color: #8a7a68; font-size: 11px; }
.mpd-order-delivery .mpd-order-cal__day { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 34px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; color: #b9ab99; font-size: 13px; line-height: 1; font-variant-numeric: tabular-nums; }
.mpd-order-delivery .mpd-order-cal__day.is-today { box-shadow: inset 0 0 0 1.5px #5f5750; color: #2a221b; font-weight: 600; }
.mpd-order-delivery .mpd-order-cal__day.is-sent { background: rgba(247, 239, 226, .55); box-shadow: inset 0 0 0 1px #d8c09c; color: #2a221b; font-weight: 600; }
.mpd-order-delivery .mpd-order-cal__day.is-delivery { background: #d0a96f; box-shadow: inset 0 0 0 1px #946328; color: #2a221b; font-weight: 600; }
.mpd-order-delivery .mpd-order-cal__day.is-choice { background: #946328; box-shadow: 0 0 0 2px #fbfbfb, 0 0 0 3px #946328; color: #fff; font-weight: 600; }
.mpd-order-delivery .mpd-order-cal__key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(199, 154, 87, .24); list-style: none; color: #6b5643; font-size: 12px; }
.mpd-order-delivery .mpd-order-cal__key li { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; min-width: 0; margin: 0; padding: 0; white-space: nowrap; line-height: 1.4; }
.mpd-order-delivery .mpd-order-cal__key li > span { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; }
.mpd-order-delivery .mpd-order-cal__key-today { box-shadow: inset 0 0 0 1.5px #5f5750; }
.mpd-order-delivery .mpd-order-cal__key-sent { background: rgba(247, 239, 226, .55); box-shadow: inset 0 0 0 1px #d8c09c; }
.mpd-order-delivery .mpd-order-cal__key-delivery { background: #d0a96f; box-shadow: inset 0 0 0 1px #946328; }
.mpd-order-delivery .mpd-order-cal__key-yours { background: #946328; box-shadow: inset 0 0 0 1.5px #946328, inset 0 0 0 3px #fbfbfb; }

/* Order summary rows: muted labels; customer's day in dark gold, forecast quieter, shop-confirmed in ink. */
.mpd-order-delivery .mpd-order-summary dt.mpd-row { margin-top: 12px !important; color: #8a7a68; font-size: 10.5px; font-weight: 600 !important; letter-spacing: .1em; text-transform: uppercase; }
.mpd-order-delivery .mpd-order-summary dd.mpd-row { margin: 2px 0 0 !important; color: #342a24; font-size: 14px; }
.mpd-order-delivery .mpd-order-summary dd.mpd-row--preferred { color: #946328; font-weight: 600; }
.mpd-order-delivery .mpd-order-summary dd.mpd-row--estimated { color: #6b5643; font-weight: 400; }
.mpd-order-delivery .mpd-order-summary dd.mpd-row--confirmed { color: #2a221b; font-weight: 600; }
