/* Xyncema Round — cream paper, dawn blue, bottle-top yellow. Pills everywhere because the radius token is 999px;
   the calendar is the one place that stays square, so a delivery reads as a box on a step rather than a tag. */

[data-theme="doorstep"] body { background: var(--bg); color: var(--text); font-family: var(--font-body); }
.dr-wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.dr-muted { color: var(--muted); }
.dr-h1, .dr-h2, .dr-h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.dr-h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); }
.dr-h2 { font-size: clamp(1.55rem, 1.3rem + 1.4vw, 2.25rem); }
.dr-h3 { font-size: clamp(1.1rem, 1.02rem + 0.42vw, 1.3rem); }
.dr-h4 { font: 700 1rem/1.3 var(--font-body); margin: 0; }
.dr-h2 a, .dr-h3 a { color: inherit; text-decoration: none; }
.dr-h2 a:hover, .dr-h3 a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.dr-eyebrow { display: inline-block; font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary-ink); margin: 0 0 0.85rem; }
.dr-lead { font-size: clamp(1rem, 0.96rem + 0.3vw, 1.12rem); line-height: 1.75; color: var(--muted); }

/* ---------- Header ---------- */
.dr-notice { background: var(--secondary); color: var(--on-secondary); font-size: 0.8125rem; line-height: 1.45; padding: 0.5rem 0; }
.dr-notice p { margin: 0; }
.dr-header { position: sticky; top: 0; z-index: 30; background: rgba(251, 248, 242, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.dr-header__row { display: flex; align-items: center; gap: 1.25rem; min-height: 4.25rem; }
.dr-logo { display: flex; align-items: baseline; gap: 0.45rem; text-decoration: none; color: var(--text); margin-right: auto; }
.dr-logo svg { width: 1.6rem; height: 1.6rem; color: var(--primary); align-self: center; }
.dr-logo span { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; line-height: 1; letter-spacing: -0.03em; }
.dr-logo small { font-size: 0.6875rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.dr-nav { display: flex; gap: 1.35rem; }
.dr-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.9375rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.dr-nav a:hover, .dr-nav a[aria-current="page"] { border-bottom-color: var(--primary); }
.dr-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 999px; width: 2.75rem; height: 2.75rem; padding: 0.6rem; color: var(--text); cursor: pointer; }
.dr-toggle svg { width: 100%; height: 100%; }
.dr-mobile { display: none; flex-direction: column; padding-bottom: 1rem; }
.dr-mobile a { padding: 0.85rem 0; border-top: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 500; }
.dr-mobile[data-open] { display: flex; }
@media (max-width: 980px) { .dr-nav, .dr-header .dr-btn { display: none; } .dr-toggle { display: block; } }

/* ---------- Buttons ---------- */
.dr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0 1.4rem; border-radius: var(--radius-btn); border: 1.5px solid var(--primary); background: var(--primary); color: var(--on-primary); font: 600 0.9375rem/1 var(--font-body); text-decoration: none; cursor: pointer; }
.dr-btn:hover { background: var(--primary-ink); border-color: var(--primary-ink); }
.dr-btn--line { background: var(--surface); color: var(--primary-ink); }
.dr-btn--line:hover { background: #E7EDF7; }
.dr-btn--ghost { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.6); }
.dr-btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #FFFFFF; }
.dr-btn svg { width: 1.05rem; height: 1.05rem; }

/* ---------- Sections ---------- */
.dr-section { padding-block: clamp(2.75rem, 2rem + 3.5vw, 5rem); }
.dr-section--pale { background: var(--surface); }
.dr-head { display: grid; gap: 0.7rem; margin-bottom: 1.9rem; max-width: 48rem; }

/* ---------- Hero ---------- */
.dr-hero { position: relative; overflow: hidden; display: grid; }
.dr-hero__media, .dr-hero__inner { grid-area: 1 / 1; }
.dr-hero__media { position: relative; min-height: min(62vh, 580px); }
.dr-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dr-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 45, 0.42) 0%, rgba(20, 28, 45, 0.58) 45%, rgba(20, 28, 45, 0.9) 100%); }
.dr-hero__inner { position: relative; z-index: 1; display: grid; align-content: end; padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3.25rem); color: #FFFFFF; }
.dr-hero .dr-eyebrow { color: var(--secondary); }
.dr-hero h1 { max-width: 16ch; }
.dr-hero__copy { max-width: 52ch; line-height: 1.75; margin: 1.1rem 0 1.6rem; color: #DCE3EF; }
.dr-hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Editor ---------- */
.dr-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.dr-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.1rem, 2.4vw, 1.7rem); }
.dr-form { display: grid; gap: 1.8rem; }
.dr-set { border: 0; margin: 0; padding: 0; min-width: 0; min-inline-size: 0; }
.dr-set > legend { font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-ink); padding: 0; margin-bottom: 0.85rem; }

.dr-picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.dr-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.9rem; align-items: center; padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.dr-pick.is-on { border-color: var(--primary); background: #F2F6FC; }
.dr-pick__body { display: grid; gap: 0.15rem; }
.dr-pick__body b { font-size: 0.975rem; }
.dr-pick__body a { color: inherit; text-decoration: none; }
.dr-pick__body a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dr-pick__body small { color: var(--muted); font-size: 0.83rem; }
.dr-pick__sum { min-width: 5.5rem; text-align: right; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.dr-stepper { display: inline-flex; align-items: center; gap: 0.15rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); padding: 0.2rem; }
.dr-stepper button { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg); color: var(--text); cursor: pointer; }
.dr-stepper button:hover:not(:disabled) { background: var(--primary); color: var(--on-primary); }
.dr-stepper button:disabled { opacity: 0.38; cursor: not-allowed; }
.dr-stepper button svg { width: 1.05rem; height: 1.05rem; }
.dr-stepper output { min-width: 1.7rem; text-align: center; font-weight: 700; }
.dr-sub { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.9375rem; }
.dr-sub b { color: var(--text); }

.dr-pause { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: end; }
.dr-pause .xy-field { flex: 1 1 8rem; min-width: 8rem; }
.dr-msg { margin: 0.9rem 0 0; padding: 0.75rem 0.9rem; border-radius: var(--radius); font-size: 0.92rem; line-height: 1.6; border-left: 3px solid var(--primary); background: #EDF2FA; }
.dr-msg.is-no { border-left-color: var(--danger); background: #FBEDEC; }
.dr-msg.is-ok { border-left-color: var(--primary); }
.dr-msg.is-info { border-left-color: var(--secondary); background: rgba(246, 196, 69, 0.18); }

.dr-cal { display: grid; gap: 1rem; margin-top: 1.1rem; }
.dr-week__head { font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.5rem; }
.dr-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 0.5rem; }
.dr-day { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; padding: 0.6rem 0.75rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.dr-day__date { display: grid; gap: 0.1rem; min-width: 0; }
.dr-day__date b { font-size: 0.925rem; }
.dr-day__date small { color: var(--muted); font-size: 0.8rem; }
.dr-day button { flex: none; min-height: 2.25rem; padding: 0 0.85rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--primary-ink); font: 600 0.82rem/1 var(--font-body); cursor: pointer; }
.dr-day button:hover:not(:disabled) { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.dr-day button:disabled { opacity: 0.55; cursor: not-allowed; }
.dr-day.is-skipped { background: #F1EEE6; border-style: dashed; }
.dr-day.is-skipped .dr-day__date b { text-decoration: line-through; text-decoration-thickness: 1px; }
.dr-day.is-paused { background: rgba(246, 196, 69, 0.18); border-color: #E2C263; border-style: solid; }
.dr-day.is-closing { border-color: var(--secondary); box-shadow: inset 3px 0 0 var(--secondary); }
.dr-day.is-locked { opacity: 0.72; background: #F1EEE6; }
.dr-day.is-locked button { color: var(--muted); }
.dr-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }

/* ---------- Summary ---------- */
.dr-sum { position: sticky; top: 6rem; display: grid; gap: 1rem; }
.dr-lines { list-style: none; margin: 0; padding: 0; }
.dr-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.925rem; }
.dr-lines li small { display: block; color: var(--muted); font-size: 0.8rem; }
.dr-lines li b { font-variant-numeric: tabular-nums; }
.dr-lines .is-total { border-bottom: 0; font-weight: 700; }
.dr-note { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.dr-note b { color: var(--text); }
.dr-bill { padding: 0.95rem 1rem; border-radius: var(--radius); background: var(--surface-2); color: var(--on-surface-2); }
.dr-bill h4 { color: var(--primary-on-dark); font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; }
.dr-bill__sum { display: grid; gap: 0.15rem; margin: 0.65rem 0 0; }
.dr-bill__sum b { font-family: var(--font-heading); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.dr-bill__sum span { color: #BFCEE6; font-size: 0.85rem; }
.dr-bill__why { margin: 0.6rem 0 0; color: #BFCEE6; font-size: 0.85rem; line-height: 1.6; }
.dr-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.dr-next li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; color: var(--muted); }
.dr-next b { color: var(--text); font-variant-numeric: tabular-nums; }
.dr-ok { display: flex; gap: 0.6rem; align-items: center; margin: 0 0 1.1rem; font-weight: 700; color: var(--primary-ink); }
.dr-ok svg { flex: none; width: 1.5rem; height: 1.5rem; padding: 0.25rem; border-radius: 50%; background: var(--primary); color: var(--on-primary); }

/* ---------- Content blocks ---------- */
.dr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.dr-info { padding: 1.15rem 1.3rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.dr-section--pale .dr-info { background: var(--bg); }
.dr-info p { margin: 0.45rem 0 0; color: var(--muted); line-height: 1.7; font-size: 0.9375rem; }
.dr-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; }
.dr-area { padding: 1.1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.dr-area p { margin: 0.4rem 0 0; color: var(--primary-ink); font-size: 0.9rem; font-weight: 600; }
.dr-note2 { margin: 1.5rem 0 0; padding: 1rem 1.15rem; border-left: 3px solid var(--secondary); background: rgba(246, 196, 69, 0.14); line-height: 1.7; max-width: 54rem; }
.dr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; max-width: 52rem; }
.dr-list li { display: flex; gap: 0.6rem; line-height: 1.7; }
.dr-list li::before { content: ""; flex: none; width: 0.4rem; height: 0.4rem; margin-top: 0.68rem; border-radius: 50%; background: var(--primary); }
.dr-faq { display: grid; gap: 0.5rem; max-width: 54rem; }
.dr-faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.dr-section--pale .dr-faq details { background: var(--bg); }
.dr-faq summary { padding: 1rem 1.2rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.dr-faq summary::-webkit-details-marker { display: none; }
.dr-faq summary::after { content: "+"; color: var(--primary); font-weight: 700; }
.dr-faq details[open] summary::after { content: "\2212"; }
.dr-faq p { margin: 0; padding: 0 1.2rem 1.2rem; color: var(--muted); line-height: 1.75; }

/* ---------- Cards, table ---------- */
.dr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.25rem; }
.dr-pc { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.dr-section--pale .dr-pc { background: var(--bg); }
.dr-pc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.dr-pc__body { padding: 1.1rem 1.25rem 1.3rem; display: grid; gap: 0.45rem; align-content: start; }
.dr-pc__body p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.9375rem; }
.dr-pc__price { font-size: 0.82rem !important; letter-spacing: 0.03em; text-transform: uppercase; color: var(--primary-ink) !important; }
.dr-tablewrap { overflow-x: auto; padding-bottom: 0.4rem; }
.dr-table { width: 100%; min-width: 34rem; border-collapse: collapse; }
.dr-table th, .dr-table td { text-align: left; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--border); font-size: 0.9375rem; }
.dr-table thead th { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-ink); }
.dr-table tbody th { font-weight: 700; }

/* ---------- Collection & detail ---------- */
.dr-pagehead { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.75rem, 3vw, 2.5rem); background: var(--surface); border-bottom: 1px solid var(--border); }
.dr-dhead { padding-block: clamp(1.75rem, 3vw, 2.75rem) clamp(2rem, 3.5vw, 3.25rem); background: var(--surface); border-bottom: 1px solid var(--border); }
.dr-crumb { margin: 0 0 1.4rem; font-size: 0.85rem; color: var(--muted); }
.dr-crumb a { color: var(--muted); }
.dr-dgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.dr-dgrid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
.dr-dmeta { margin: 1rem 0 0; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary-ink); }
.dr-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.dr-thumb { padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: none; cursor: pointer; }
.dr-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.dr-thumb:hover img { opacity: 0.85; }

/* ---------- Footer ---------- */
.dr-footer { background: var(--surface-2); color: var(--on-surface-2); padding-block: clamp(2.5rem, 4vw, 3.75rem) 2rem; }
.dr-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(9rem, 1fr)); gap: 2rem; }
.dr-footer .dr-logo { color: var(--on-surface-2); }
.dr-footer .dr-logo svg { color: var(--secondary); }
.dr-footer .dr-logo small { color: #A8B9D6; }
.dr-footer__grid p { margin: 0.7rem 0 0; color: #BFCEE6; line-height: 1.6; font-size: 0.9375rem; max-width: 32ch; }
.dr-footer h3 { font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-on-dark); margin: 0 0 0.9rem; }
.dr-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.dr-footer a { color: var(--on-surface-2); text-decoration: none; font-size: 0.9375rem; }
.dr-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dr-footer__note { margin: 2.5rem 0 1.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.16); color: #A8B9D6; font-size: 0.85rem; line-height: 1.65; }
.dr-footer .xy-attribution, .dr-footer .xy-attribution a { color: #A8B9D6; }
.dr-footer :focus-visible { outline-color: var(--secondary); }

/* ---------- Narrow ---------- */
@media (max-width: 1000px) {
  .dr-editor { grid-template-columns: minmax(0, 1fr); }
  .dr-sum { position: static; }
  .dr-dgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .dr-wrap { width: min(100% - 1.75rem, 76rem); }
  .dr-pick { grid-template-columns: minmax(0, 1fr) auto; }
  .dr-pick__sum { grid-column: 1 / -1; text-align: left; }
}
