/* Homepage (no Figma frame; same tokens as css/store.css). */
.mk-home { display: flex; flex-direction: column; gap: 32px; padding-bottom: 48px; }
.mk-home h2 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; color: #444; }
.mk-home .mk-rail-sec { margin-top: 0; }
.mk-rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mk-rail-head h2 { margin: 0; }
.mk-more { color: var(--mk-navy, #002d72); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---- order status strip ---- */
.mk-os { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 12px 32px; align-items: center; padding: 12px 16px; border-radius: 12px; background: #f2f4f8; }
.mk-os-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mk-os-cell > b, .mk-os-cell > span > b { font-weight: 600; }
.mk-os-k { display: block; color: #444; font-size: 13px; line-height: 18px; }
.mk-os-cell:first-child { flex-direction: column; align-items: flex-start; gap: 0; }
.mk-os-cell:first-child .mk-os-k { color: #666; font-size: 12px; line-height: 16px; }
.mk-os-clock { padding: 6px 12px; border-radius: 8px; background: #d6ead1; color: #136941; }
.mk-os-clock .mk-os-k { color: #136941; font-size: 12px; line-height: 16px; }
.mk-os-time { display: block; font-size: 16px; line-height: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mk-os-min { flex-direction: column; align-items: stretch; gap: 6px; }
.mk-os-bar { display: block; height: 6px; border-radius: 99px; background: #d3d3d3; overflow: hidden; }
.mk-os-bar > span { display: block; height: 100%; border-radius: 99px; background: var(--mk-cta); transition: width .3s; }
.mk-os-min.ok .mk-os-bar > span { background: #1a8a5a; }

/* ---- hero ---- */
.mk-hero { position: relative; border-radius: 12px; overflow: hidden; min-height: 240px; }
.mk-slide { min-height: 240px; box-sizing: border-box; padding: 32px 72px; display: flex; align-items: center; background-size: cover; }
.mk-slide-txt { max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mk-slide h2 { color: inherit; font-size: 32px; line-height: 40px; font-weight: 700; }
.mk-slide p { margin: 0; font-size: 16px; line-height: 24px; }
.mk-kicker { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mk-slide .mk-btn { margin-top: 8px; }
.t-navy { background: linear-gradient(100deg, #002d72 0%, #0a3d91 60%, #1a5bc0 100%); color: #fff; }
.t-navy .mk-kicker { color: #ffe500; }
.t-blue { background: linear-gradient(100deg, #005ae0 0%, #2a7bf0 100%); color: #fff; }
.t-blue .mk-kicker { color: #ffe500; }
.t-yellow { background: linear-gradient(100deg, #ffe500 0%, #ffd84d 100%); color: #002d72; }
.t-yellow .mk-kicker { color: #002d72; }
.mk-btn-yellow { background: #ffe500; color: #002d72; }
.mk-btn-yellow:hover { background: #fff07a; }
.mk-btn-navy { background: #002d72; color: #fff; }
.mk-btn-navy:hover { background: #0a3d91; }
.mk-btn-sec { background: #fff; color: #002d72; box-shadow: inset 0 0 0 1px #002d72; }
.mk-btn-sec:hover { background: #f2f4f8; }
.mk-hero-nav { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .9); display: grid; place-items: center; cursor: pointer; }
.mk-hero-nav:hover { background: #fff; }
.mk-hero-nav.prev { left: 16px; transform: rotate(90deg); }
.mk-hero-nav.next { right: 16px; transform: rotate(-90deg); }
.mk-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 0; }
.mk-dots button { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.mk-dots button::before { content: ""; position: absolute; left: 7px; top: 7px; width: 10px; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .6); }
.mk-dots button.on::before { background: #fff; box-shadow: 0 0 0 2px rgba(0, 45, 114, .5); }
.mk-hero.on-yellow .mk-dots button::before { background: rgba(0, 45, 114, .35); }
.mk-hero.on-yellow .mk-dots button.on::before { background: #002d72; box-shadow: none; }
.mk-hero :focus-visible { outline-color: #fff; }

/* ---- last order + lists ---- */
.mk-h-split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
.mk-card { border: 1px solid var(--mk-line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.mk-lo-body { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.mk-lo-info { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; }
.mk-lo-info dt { color: #666; font-size: 12px; line-height: 16px; }
.mk-lo-info dd { margin: 0; font-weight: 600; }
.mk-chip-ok { display: inline-block; padding: 2px 8px; border-radius: 99px; background: #d6ead1; color: #136941; font-size: 12px; line-height: 16px; font-weight: 600; }
.mk-chip-ok.wait { background: #fff7d6; color: #3d2f00; box-shadow: inset 0 0 0 1px #ffe500; }
.mk-lo-price { text-align: right; }
.mk-lo-price b { display: block; font-size: 20px; line-height: 28px; font-weight: 700; }
.mk-lo-price small { display: block; color: #666; font-size: 12px; line-height: 16px; }
.mk-lo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.mk-lo-actions .mk-btn { flex: 1 1 160px; }
.mk-list-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.mk-list-tiles button { width: 100%; min-height: 84px; box-sizing: border-box; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 8px; border-radius: 8px; text-align: left; cursor: pointer; }
.mk-list-tile { border: 0; background: var(--mk-sel-bg); color: #002d72; }
.mk-list-tile:hover { background: #c8dcf8; }
.mk-list-tile span { color: #444; font-size: 12px; line-height: 16px; }
.mk-list-new { flex-direction: row !important; align-items: center !important; border: 1px dashed #9aacc6; background: #fff; color: #002d72; font-weight: 600; }
.mk-list-new:hover { background: #f2f4f8; }
.mk-list-new b { font-size: 24px; line-height: 24px; font-weight: 400; }

/* ---- categories ---- */
.mk-cats h2 { margin-bottom: 16px; }

/* ---- promo tiles ---- */
.mk-promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mk-promo { min-height: 120px; box-sizing: border-box; padding: 20px; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; gap: 4px; text-decoration: none; }
.mk-promo b { font-size: 18px; line-height: 24px; font-weight: 700; }
.mk-promo span { font-size: 14px; line-height: 18px; }
.mk-promo:hover { filter: brightness(1.06); }

@media (max-width: 1100px) {
  .mk-os { grid-template-columns: 1fr 1fr; }
  .mk-os-min { grid-column: 1 / -1; }
  .mk-h-split { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .mk-home { gap: 24px; }
  .mk-slide { padding: 24px 56px; min-height: 220px; }
  .mk-slide h2 { font-size: 24px; line-height: 30px; }
  .mk-slide p { font-size: 14px; line-height: 20px; }
  .mk-hero-nav { display: none; }
  .mk-slide { padding-inline: 20px; padding-bottom: 40px; }
  .mk-promos { grid-template-columns: 1fr; }
  .mk-os { grid-template-columns: 1fr; padding: 12px; }
  .mk-os-cell:first-child { flex-direction: row; justify-content: space-between; align-items: baseline; }
  .mk-lo-price { text-align: left; }
}
@media (max-width: 576px) {
  .mk-rail-head { flex-wrap: wrap; row-gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .mk-os-bar > span { transition: none; } }
