/* Pâtisserie Chula — site public
   Couleurs tirées du logo : papier crème, brique du mot « Chula », cacao de « Pâtisserie »,
   orange des fleurs de cempasúchil, vert olive des feuilles ; papel picado accordé au logo. */

@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-ext-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-ext-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --brique: #b3401f;
  --brique-ink: #93331a;
  --brique-wash: #fbebe2;
  --cacao: #4a2414;
  --cacao-2: #7a5140;
  --cempa: #f0951c;
  --cempa-wash: #fdeccf;
  --nopal: #4f6f22;
  --papel: #faf1e4;
  --surface: #fffdf9;
  --line: #ecdccb;
  --line-strong: #d8c0a8;
  --off: #b9a898;
  --error: #b0122b;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --gutter: 16px;
  --shadow-bar: 0 10px 30px -12px rgba(74, 36, 20, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--cacao);
  font: 400 1.0625rem/1.5 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.has-cart main { padding-bottom: 104px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brique-ink); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
:focus-visible { outline: 3px solid var(--cempa); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Papel picado et en-tête ---------- */

.papel {
  height: 58px;
  background: url('/papel-picado.svg') repeat-x 0 0 / auto 58px;
}
.site-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 6px var(--gutter) 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.site-header { align-items: center; }
.brand { display: block; flex: none; padding: 4px 0; }
.brand img { height: clamp(56px, 15vw, 72px); width: auto; }
.site-header-hero { position: relative; display: block; text-align: center; padding-top: 2px; }
.site-header-hero .lang-switch { position: absolute; top: 0; right: var(--gutter); margin: 0; }
.logo-hero { margin: 0 auto; width: clamp(230px, 70vw, 360px); }
.logo-hero img { width: 100%; }
.lang-switch {
  flex: none;
  margin-top: 8px;
  padding: 7px 14px;
  border: 1.5px solid var(--cacao);
  border-radius: 999px;
  color: var(--cacao);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  background: var(--surface);
}
.pause-banner {
  max-width: 1080px;
  margin: 16px auto 0;
  padding: 12px var(--gutter);
  background: var(--cempa-wash);
  border-left: 5px solid var(--cempa);
}
.pause-banner strong { display: block; }

main { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter) 40px; }

.hero { padding: 6px 0 4px; max-width: 32rem; margin: 0 auto; text-align: center; }
.intro { margin: 0; color: var(--cacao-2); text-wrap: pretty; }

/* ---------- Catalogue ---------- */

.catalogue { margin-top: 28px; }
.catalogue h2 { font-size: 1.625rem; font-weight: 700; margin-bottom: 14px; }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.produit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.produit-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.produit-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.produit-title h3 { font-size: 1.375rem; font-weight: 700; }
.produit-title h3 a { color: inherit; text-decoration: none; }
.produit-title h3 a:hover { text-decoration: underline; }
.produit-desc { margin: 0; color: var(--cacao-2); }
.produit-note { margin: 0; font-weight: 600; color: var(--cacao-2); }
.produit-rupture .photos img, .produit-a_venir .photos img { filter: saturate(0.55); opacity: 0.85; }
.catalogue-bientot .produit { background: transparent; border-style: dashed; border-color: var(--line-strong); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; line-height: 1.4; }
.badge-rupture { background: #efe4d8; color: var(--cacao-2); }
.badge-bientot { background: var(--cempa); color: var(--cacao); }
.tag-urgent {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 6px;
  background: var(--cempa); color: var(--cacao); font-size: 0.8125rem; font-weight: 700; vertical-align: 0.1em;
}

/* Photos défilables (V-02) */
.photos { position: relative; background: var(--brique-wash); }
.photos-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.photos-track::-webkit-scrollbar { display: none; }
.photos-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
.photos-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.photos-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 1px rgba(74, 36, 20, 0.25); }
.photos-dots span.on { background: #fff; width: 20px; border-radius: 4px; }
.photos-empty { aspect-ratio: 4 / 3; display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--brique-wash) 0 14px, #f6dccd 14px 28px); }
.photos-empty span { font-size: 5rem; font-weight: 700; color: var(--brique); }

/* ---------- Panneau de commande ---------- */

.order { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.formats { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.formats legend, .order-label { font-size: 0.9375rem; font-weight: 600; color: var(--cacao-2); padding: 0; margin-bottom: 6px; }
.fmt {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 11px 14px; min-height: 52px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; background: var(--surface);
}
.fmt input { width: 20px; height: 20px; margin: 0; accent-color: var(--brique); }
.fmt:has(input:checked) { border-color: var(--brique); box-shadow: inset 0 0 0 1px var(--brique); background: var(--brique-wash); }
.fmt-name { font-weight: 600; }
.fmt-price { text-align: right; font-weight: 700; line-height: 1.2; }
.fmt-price small { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--cacao-2); }
.fmt-price small.deal { color: var(--nopal); font-weight: 600; }

.order-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-row .order-label { margin: 0; }
.order-row-date { flex-direction: column; align-items: stretch; gap: 6px; }

.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: var(--surface);
  font-size: 1.375rem; line-height: 1; cursor: pointer; color: var(--cacao);
}
.stepper button:disabled { color: var(--off); cursor: default; }
.stepper output { min-width: 2.2ch; text-align: center; font-weight: 700; font-size: 1.25rem; }

.date-btn {
  min-height: 52px; width: 100%; padding: 10px 14px; text-align: left;
  border: 1.5px dashed var(--brique); border-radius: var(--r-md); background: var(--surface);
  color: var(--brique-ink); font-weight: 600; cursor: pointer;
}
.date-btn::before { content: ''; display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px;
  background: currentColor; -webkit-mask: url('/icons/calendar.svg') center / contain no-repeat; mask: url('/icons/calendar.svg') center / contain no-repeat; }
.date-btn.has-date { border-style: solid; border-color: var(--line-strong); color: var(--cacao); }
.need-date .date-btn { border-color: var(--error); color: var(--error); }
.order-msg { margin: 0; min-height: 0; color: var(--error); font-weight: 600; font-size: 0.9375rem; }
.order-msg:empty { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 12px 20px; border: 0; border-radius: var(--r-md);
  background: var(--brique); color: #fff; font-weight: 700; font-size: 1.0625rem; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--brique-ink); }
.btn:disabled { background: var(--off); cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--cacao); border: 1.5px solid var(--cacao); }
.btn-ghost:hover { background: var(--surface); }
.btn-add { width: 100%; justify-content: space-between; }
.btn-add-total { font-variant-numeric: tabular-nums; }
.order.added .btn-add { background: var(--nopal); }

/* ---------- Fiche produit ---------- */

.back { display: inline-block; margin: 14px 0 12px; font-weight: 600; }
.back::before { content: '‹ '; }
.fiche { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.fiche-body { padding: 16px 16px 22px; display: flex; flex-direction: column; gap: 12px; }
.fiche h1 { font-size: 2.0625rem; font-weight: 700; }
.fiche-desc { margin: 0; font-size: 1.125rem; color: var(--cacao-2); max-width: 36rem; }
.allergenes { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.allergenes h2 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.allergenes p { margin: 0; color: var(--cacao-2); }
@media (min-width: 860px) {
  .fiche { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; }
  .fiche .photos { height: 100%; }
  .fiche-body { padding: 26px; }
}

/* ---------- Barre panier ---------- */

.cart-bar {
  position: fixed; z-index: 20; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-radius: 16px;
  background: var(--cacao); color: #fff; text-decoration: none; box-shadow: var(--shadow-bar);
}
.cart-bar-count { font-weight: 600; opacity: 0.9; }
.cart-bar-cta { font-weight: 700; }
.cart-bar-cta strong { margin-left: 8px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.35); }

/* ---------- Calendrier ---------- */

dialog.cal {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 440px;
  border-radius: 22px 22px 0 0; background: var(--surface); color: var(--cacao);
  max-height: 92vh; overflow: auto;
}
@media (min-width: 560px) { dialog.cal { margin: auto; border-radius: 22px; } }
dialog.cal::backdrop { background: rgba(74, 36, 20, 0.5); }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 6px; }
.cal-head h2 { font-size: 1.25rem; }
.cal-close { border: 0; background: none; color: var(--brique-ink); font-weight: 700; padding: 8px; cursor: pointer; }
.cal-body { padding: 0 14px calc(18px + env(safe-area-inset-bottom, 0px)); }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 10px; }
.cal-nav h3 { font-size: 1.0625rem; font-weight: 700; }
.cal-nav h3::first-letter { text-transform: uppercase; }
.cal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); font-size: 1.5rem; cursor: pointer; }
.cal-nav button:disabled { color: var(--off); border-color: var(--line); cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow { text-align: center; font-size: 0.8125rem; font-weight: 600; color: var(--cacao-2); padding-bottom: 2px; }
.cal-day {
  position: relative; aspect-ratio: 1; min-height: 42px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--surface); font-weight: 600; cursor: pointer; color: var(--cacao);
}
.cal-day:disabled { border-color: transparent; background: transparent; color: var(--off); font-weight: 400; cursor: default; text-decoration: line-through; text-decoration-color: rgba(185, 168, 152, 0.7); }
.cal-day.is-urgent { background: var(--cempa-wash); border-color: var(--cempa); }
.cal-day.is-urgent i { position: absolute; top: 1px; right: 5px; font-style: normal; font-size: 0.75rem; font-weight: 700; color: #8a4e00; }
.cal-day.is-selected { background: var(--brique); border-color: var(--brique); color: #fff; }
.cal-day.is-selected i { color: #fff; }
.cal-legend { display: flex; align-items: center; gap: 8px; margin: 10px 2px 0; font-size: 0.875rem; color: var(--cacao-2); }
.cal-legend span { flex: none; width: 16px; height: 16px; border-radius: 5px; }
.lg-urgent { background: var(--cempa-wash); border: 1.5px solid var(--cempa); }
.lg-off { background: repeating-linear-gradient(135deg, #efe4d8 0 3px, transparent 3px 6px); border: 1px solid var(--line); }

/* ---------- Tunnel de commande ---------- */

.page-title { font-size: 2.0625rem; font-weight: 700; margin: 18px 0 14px; }
.panier-vide { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 22px 18px; }
.panier-vide p { margin: 0 0 14px; }
.checkout { max-width: 640px; display: flex; flex-direction: column; gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 16px 18px; }
.step h2 { font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.step-n {
  flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--brique); color: var(--brique-ink); font-size: 0.9375rem; font-weight: 700;
}

.recap-date + .recap-date { margin-top: 14px; }
.recap-date h2, .recap-date h3 { font-size: 1rem; font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.recap-date h2::first-letter, .recap-date h3::first-letter { text-transform: uppercase; }
.recap-date ul { list-style: none; margin: 0; padding: 0; }
.recap-line { padding: 12px 0; border-bottom: 1px solid var(--line); }
.recap-line:last-child { border-bottom: 0; }
.rl-main, .recap-final .recap-line { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.recap-name { font-weight: 600; }
.recap-name small { display: block; font-weight: 400; color: var(--cacao-2); font-size: 0.9375rem; }
.recap-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rl-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.stepper-sm button { width: 38px; height: 38px; font-size: 1.125rem; }
.stepper-sm output { font-size: 1.0625rem; }
.link-btn { border: 0; background: none; padding: 8px 0; color: var(--brique-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn.danger { color: var(--cacao-2); }
.recap-line.has-error { background: #fdf0ee; margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 10px; }
.line-error { margin: 6px 0 0; color: var(--error); font-weight: 600; font-size: 0.9375rem; }

.modes { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.mode {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 12px;
  padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer;
}
.mode input { width: 20px; height: 20px; margin: 0; accent-color: var(--brique); }
.mode:has(input:checked) { border-color: var(--brique); box-shadow: inset 0 0 0 1px var(--brique); background: var(--brique-wash); }
.mode-name { display: block; font-weight: 600; }
.mode-communes { display: block; font-size: 0.875rem; color: var(--cacao-2); }
.mode-price { grid-column: 2; font-weight: 600; font-size: 0.9375rem; color: var(--brique-ink); }
.alerte { margin: 12px 0 0; padding: 12px 14px; background: var(--cempa-wash); border-left: 5px solid var(--cempa); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.urgence { margin-top: 14px; }
.urgence-aide { margin: 4px 0 0 32px; color: var(--cacao-2); font-size: 0.9375rem; }

.field { margin-bottom: 14px; }
.field > label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input[type='text'], .field input[type='tel'], .field textarea, .phone select {
  width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .phone select:focus { border-color: var(--cacao); outline: none; box-shadow: 0 0 0 3px rgba(240, 149, 28, 0.45); }
.field [aria-invalid='true'], .field input[aria-invalid='true'] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.phone { display: flex; gap: 8px; }
.phone select { width: auto; flex: none; padding-right: 8px; }
.field-help { margin: 6px 0 0; font-size: 0.875rem; color: var(--cacao-2); }
.field-error, .form-error { margin: 6px 0 0; color: var(--error); font-weight: 600; font-size: 0.9375rem; }
.field-error:empty, .form-error:empty { display: none; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brique); }
.check input:disabled + span { cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.totaux { margin: 0; }
.totaux > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.totaux dt { color: var(--cacao-2); }
.totaux dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.totaux .total { border-top: 1.5px solid var(--cacao); margin-top: 6px; padding-top: 12px; }
.totaux .total dt { color: var(--cacao); font-weight: 700; }
.totaux .total dd { font-size: 1.5rem; font-weight: 700; }
.sans-paiement { margin: 6px 0 14px; color: var(--nopal); font-weight: 600; }
.btn-submit { width: 100%; margin-top: 4px; }
.cf-turnstile { margin-bottom: 12px; }

/* ---------- Confirmation ---------- */

.merci { padding: 28px 0 8px; max-width: 34rem; }
.merci-mark {
  width: 64px; height: 64px; border-radius: 50%; margin-bottom: 16px;
  background: var(--nopal) url('/icons/check.svg') center / 34px no-repeat;
}
.merci h1 { font-size: 2.0625rem; margin-bottom: 10px; }
.merci-texte { font-size: 1.125rem; margin: 0 0 14px; }
.merci-numero { margin: 0; color: var(--cacao-2); }
.merci-numero strong { color: var(--cacao); font-size: 1.125rem; letter-spacing: 0.02em; }
.recap-final { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin-top: 18px; max-width: 640px; }
.recap-final .recap-line { padding: 8px 0; border-bottom: 0; }
.recap-final .totaux { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.merci-retour { margin-top: 20px; }

/* ---------- Pages légales ---------- */

.legal { max-width: 68ch; padding: 10px 0 20px; }
.legal h1 { font-size: 2.0625rem; margin: 10px 0 18px; }
.legal h2 { font-size: 1.25rem; margin: 22px 0 6px; }
.legal p { margin: 0 0 10px; }
mark.todo { background: var(--cempa-wash); color: var(--cacao); padding: 0 3px; border-radius: 3px; }

/* ---------- Pied de page ---------- */

.site-footer {
  max-width: 1080px; margin: 0 auto; padding: 22px var(--gutter) 40px;
  border-top: 1px solid var(--line); color: var(--cacao-2); font-size: 0.9375rem;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}
body.has-cart .site-footer { padding-bottom: 110px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--cacao-2); }
.noscript { max-width: 1080px; margin: 0 auto; padding: 12px var(--gutter); background: var(--cempa-wash); }

@media (prefers-reduced-motion: no-preference) {
  .btn, .fmt, .mode, .cal-day { transition: background-color 0.15s ease, border-color 0.15s ease; }
  .photos-track { scroll-behavior: smooth; }
}
