/* 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-slide-txt { max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mk-kicker { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.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; }

/* ---- 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-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; } }

/* ---- Christmas banner ---- */
.t-xmas { background: radial-gradient(55% 95% at 76% 58%, rgba(255, 190, 90, .24), transparent 62%), radial-gradient(40% 60% at 8% 100%, rgba(10, 61, 145, .55), transparent 70%), linear-gradient(105deg, #001230 0%, #002d72 46%, #0b3d91 100%); color: #fff; }
.t-xmas .mk-kicker { color: #ffd23f; }
.mk-slide-art { position: absolute; right: 40px; bottom: -6px; height: 108%; width: auto; max-width: none; pointer-events: none; user-select: none; }
.mk-slide-txt { position: relative; z-index: 2; }
.mk-snow { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .85; background-image: radial-gradient(2px 2px at 20px 30px, #fff, transparent), radial-gradient(2.4px 2.4px at 110px 90px, rgba(255, 255, 255, .9), transparent), radial-gradient(3px 3px at 200px 160px, rgba(255, 255, 255, .85), transparent), radial-gradient(1.6px 1.6px at 60px 200px, #fff, transparent), radial-gradient(2px 2px at 165px 245px, rgba(255, 255, 255, .9), transparent); background-size: 240px 280px; animation: mk-snowfall 16s linear infinite; }
.mk-snow::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.4px 1.4px at 40px 60px, #fff, transparent), radial-gradient(1.8px 1.8px at 150px 20px, rgba(255, 255, 255, .8), transparent), radial-gradient(1.4px 1.4px at 90px 170px, #fff, transparent); background-size: 180px 210px; animation: mk-snowfall 9s linear infinite; }
@keyframes mk-snowfall { to { background-position: 36px 280px; } }
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; padding: 0; list-style: none; }
.mk-chip { min-height: 32px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 99px; background: rgba(255, 255, 255, .1); color: #fff; font: inherit; font-size: 13px; line-height: 18px; cursor: pointer; }
.mk-chip:hover { background: rgba(255, 255, 255, .22); }
.mk-slide-txt { max-width: 600px; }
.mk-cats { margin-top: -8px; }

@media (max-width: 1100px) {
  .mk-slide-art { right: -40px; opacity: .85; }
}
@media (max-width: 768px) {
  .mk-slide-art { height: 46%; right: -50px; bottom: 0; opacity: .95; }
}
@media (max-width: 576px) {
  .mk-chips li:nth-child(n+4) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mk-snow, .mk-snow::after { animation: none; } }


/* ---- banner widget: banners side by side, horizontal scroll on overflow, the first one wide (Košík.cz hero pattern) ---- */
.mk-bw { position: relative; }
.mk-bw-scroll { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; border-radius: 12px; }
.mk-bw-scroll::-webkit-scrollbar { display: none; }
.mk-bw-scroll:focus-visible { outline: 2px solid var(--mk-blue, #005ae0); outline-offset: 3px; }
.mk-bw-item { position: relative; flex: 0 0 clamp(300px, 33%, 520px); min-height: 300px; box-sizing: border-box; padding: 28px; border-radius: 12px; overflow: hidden; scroll-snap-align: start; display: flex; }
.mk-bw-item.wide { flex-basis: 62%; padding: 32px 56px; align-items: center; }
.mk-bw-item.wide .mk-slide-art { height: 92%; right: 16px; }
.mk-bw-item.wide .mk-slide-txt { max-width: 500px; }
.mk-bw-item .mk-slide-txt { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 600px; }
.mk-bw-item:not(.wide) .mk-slide-txt { height: 100%; width: 100%; max-width: none; padding-right: 8px; }
.mk-bw-item:not(.wide) .mk-btn { margin-top: auto; }
.mk-bw-item h2 { margin: 0; color: inherit; font-size: 24px; line-height: 30px; font-weight: 700; }
.mk-bw-item.wide h2 { font-size: 32px; line-height: 40px; }
.mk-bw-item p { margin: 0; font-size: 14px; line-height: 20px; }
.mk-bw-item.wide p { font-size: 16px; line-height: 24px; }
.mk-bw-item .mk-btn { margin-top: 8px; }
.mk-bw-badge { position: absolute; right: 20px; top: 20px; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 99px; background: rgba(255, 255, 255, .18); color: inherit; }
.t-yellow .mk-bw-badge { background: rgba(0, 45, 114, .1); }
.mk-bw-badge svg { width: 40px; height: 40px; }
.t-navy2 { background: linear-gradient(120deg, #0a3d91 0%, #1a5bc0 100%); color: #fff; }
.t-navy2 .mk-kicker { color: #ffe500; }
.t-ink { background: linear-gradient(120deg, #001230 0%, #14294d 100%); color: #fff; }
.t-ink .mk-kicker { color: #ffe500; }
.mk-bw-nav { position: absolute; top: 50%; z-index: 5; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 99px; background: #fff; box-shadow: 0 2px 10px rgba(0, 20, 48, .28); display: grid; place-items: center; cursor: pointer; }
.mk-bw-nav:hover { background: #f2f4f8; }
.mk-bw-nav.prev { left: 12px; transform: rotate(90deg); }
.mk-bw-nav.next { right: 12px; transform: rotate(-90deg); }
.mk-bw :focus-visible { outline-color: #fff; }

@media (max-width: 1100px) {
  .mk-bw-item.wide { flex-basis: 78%; }
  .mk-bw-item.wide.t-xmas::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 18, 48, .88) 35%, rgba(0, 18, 48, 0) 80%); pointer-events: none; }
}
@media (max-width: 768px) {
  .mk-bw-item { flex-basis: 72%; min-height: 280px; padding: 22px; }
  .mk-bw-item.wide { flex-basis: 88%; padding: 24px 20px; align-items: flex-start; min-height: 440px; }
  .mk-bw-item.wide h2 { font-size: 26px; line-height: 32px; }
  .mk-bw-item.wide.t-xmas::before { background: linear-gradient(180deg, rgba(0, 18, 48, .8) 55%, rgba(0, 18, 48, 0) 85%); }
  .mk-bw-item.wide .mk-slide-art { height: 46%; right: -50px; bottom: 0; opacity: .95; }
  .mk-bw-nav { display: none; }
  .mk-bw-scroll { margin-inline: -16px; padding-inline: 16px; border-radius: 0; scroll-padding-inline: 16px; }
}
