/* The AlgerExpress marketplace (market.js, docs/marketplace.md), loaded after shop.css. Green is the brand,
   red is the price. Logical properties only: Arabic is right to left. */
@font-face {
  font-family: "Din Next";
  src: url("/panel/assets/fonts/text/DINNextLTW23-Regular.woff") format("woff");
  font-weight: 100 550;
  font-display: swap;
}
@font-face {
  font-family: "Din Next";
  src: url("/panel/assets/fonts/text/DINNextLTW23-Bold.woff") format("woff");
  font-weight: 551 1000;
  font-display: swap;
}
@font-face {
  font-family: "Cera";
  src: url("/panel/assets/fonts/text/CeraRoundPro-Regular.woff") format("woff");
  font-weight: 100 450;
  font-display: swap;
}
@font-face {
  font-family: "Cera";
  src: url("/panel/assets/fonts/text/CeraRoundPro-Medium.woff") format("woff");
  font-weight: 451 640;
  font-display: swap;
}
@font-face {
  font-family: "Cera";
  src: url("/panel/assets/fonts/text/CeraRoundPro-Bold.woff") format("woff");
  font-weight: 641 1000;
  font-display: swap;
}
:root {
  --font: "Cera", "Din Next", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  --mk-brand: #0b7a4b;
  --mk-brand-2: #096640;
  --mk-brand-soft: #e6f3ec;
  --mk-price: #d22b3a;
  --mk-bg: #f3f5f4;
  --mk-card: #ffffff;
  --mk-ink: #17201b;
  --mk-ink-2: #46524b;
  --mk-muted: #78837d;
  --mk-line: #e2e7e4;
  --mk-radius: 14px;
  --mk-shadow: 0 1px 2px rgb(16 32 24 / 0.06), 0 4px 14px rgb(16 32 24 / 0.05);
  --mk-shadow-up: 0 6px 22px rgb(16 32 24 / 0.12);
  --mk-max: 1240px;
}
.mk-market { --accent: var(--mk-brand); background: var(--mk-bg); color: var(--mk-ink); }
.mk-market .wrap { max-width: var(--mk-max); }
.mk-flip { font-size: 0.8em; }
[dir="rtl"] .mk-flip { transform: scaleX(-1); }

/* ---- header ---------------------------------------------------------------------------------------------- */
.mk-top { background: #fff; backdrop-filter: none; border-block-end: 0; box-shadow: 0 1px 0 var(--mk-line); }
.mk-top-in { max-width: var(--mk-max); gap: 18px; padding-block: 12px; }
.mk-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.mk-logo-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--mk-brand); color: #fff;
  font-weight: 800; font-size: 20px; line-height: 1; }
.mk-logo-text { font-size: 21px; font-weight: 700; color: var(--mk-ink); letter-spacing: -0.01em; direction: ltr; }
.mk-logo-text b { color: var(--mk-brand); font-weight: 800; }
.mk-search { position: relative; flex: 1; max-width: 700px; display: flex; align-items: center; border: 2px solid var(--mk-brand); border-radius: 999px;
  background: #fff; }
.mk-search input { flex: 1; min-width: 0; height: 42px; border: 0; background: transparent; padding-inline: 18px 8px; border-radius: 999px; font-size: 15px; }
.mk-search input:focus { outline: none; }
.mk-search:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--mk-brand) 18%, transparent); }
.mk-search-go { flex: none; width: 58px; height: 36px; margin-inline-end: 3px; border: 0; border-radius: 999px; background: var(--mk-brand); color: #fff;
  font-size: 17px; cursor: pointer; display: grid; place-items: center; }
.mk-search-go:hover { background: var(--mk-brand-2); }
.mk-suggest { position: absolute; inset-inline: 0; inset-block-start: calc(100% + 8px); z-index: 40; background: #fff; border: 1px solid var(--mk-line);
  border-radius: 14px; box-shadow: var(--mk-shadow-up); padding: 6px; max-height: 420px; overflow: auto; }
.mk-sg-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 4px; font-size: 12px; color: var(--mk-muted); font-weight: 600; }
.mk-sg-head:empty { display: none; }
.mk-sg-clear { border: 0; background: none; color: var(--mk-brand); font-size: 12px; cursor: pointer; padding: 0; }
.mk-sg-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; background: none; border-radius: 9px;
  text-align: start; cursor: pointer; font-size: 14.5px; color: var(--mk-ink); }
.mk-sg-item i { width: 18px; color: var(--mk-muted); text-align: center; }
.mk-sg-item:hover, .mk-sg-item.on { background: var(--mk-brand-soft); }
.mk-nav { margin-inline-start: auto; gap: 6px; }
.mk-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--mk-ink); }
.mk-nav a:hover { background: var(--mk-bg); }
.mk-nav i { font-size: 19px; }
.mk-nav-lang { font-size: 13px !important; color: var(--mk-ink-2) !important; }
.mk-nav-cart { position: relative; }
.mk-nav-cart .pill, .mk-tab-pill { background: var(--mk-price); }
.mk-cats { background: #fff; border-block-start: 1px solid var(--mk-line); }
.mk-cats-in { max-width: var(--mk-max); margin: 0 auto; padding: 0 20px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.mk-cats-in::-webkit-scrollbar { display: none; }
.mk-cats a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 14px; color: var(--mk-ink-2);
  text-decoration: none; white-space: nowrap; border-block-end: 2px solid transparent; }
.mk-cats a:hover { color: var(--mk-brand); }
.mk-cats a.on { color: var(--mk-brand); border-block-end-color: var(--mk-brand); font-weight: 600; }
.mk-cat-all { font-weight: 700 !important; color: var(--mk-ink) !important; }

/* ---- buttons ------------------------------------------------------------------------------------------------ */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.mk-btn.primary { background: var(--mk-brand); color: #fff; }
.mk-btn.primary:hover { background: var(--mk-brand-2); }
.mk-btn.ghost { background: transparent; border-color: var(--mk-line); color: var(--mk-ink); }
.mk-btn.ghost:hover { border-color: var(--mk-brand); color: var(--mk-brand); }
.mk-btn.light { background: #fff; color: var(--mk-brand); }
.mk-btn.more { background: #fff; border-color: var(--mk-line); color: var(--mk-ink); width: min(320px, 100%); }
.mk-btn.more:hover { border-color: var(--mk-brand); color: var(--mk-brand); }
.mk-btn:disabled { opacity: 0.6; cursor: progress; }

/* ---- home ---------------------------------------------------------------------------------------------------- */
.mk-home, .mk-page { padding-block: 16px 44px; }
.mk-hero { display: grid; grid-template-columns: 250px 1fr; gap: 16px; }
.mk-hero.is-skel { grid-template-columns: 1fr; }
.mk-hero.is-skel .mk-banner { background: #e4e9e6; }
.mk-side { background: var(--mk-card); border-radius: var(--mk-radius); padding: 8px; box-shadow: var(--mk-shadow); align-self: start; }
.mk-side-h { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-weight: 700; }
.mk-side-link { display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-radius: 9px; text-decoration: none; font-size: 14.5px; color: var(--mk-ink); }
.mk-side-link i { width: 20px; text-align: center; color: var(--mk-brand); font-size: 16px; }
.mk-side-link:hover { background: var(--mk-brand-soft); color: var(--mk-brand); }
.mk-banner { position: relative; overflow: hidden; border-radius: 18px; min-height: 330px; padding: 40px 38px; color: #fff; display: grid;
  grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
  background: radial-gradient(circle at 85% 15%, rgb(255 255 255 / 0.14) 0 120px, transparent 121px),
    radial-gradient(circle at 10% 110%, rgb(255 255 255 / 0.08) 0 160px, transparent 161px),
    linear-gradient(135deg, #0d8a55 0%, #0b6b43 55%, #084a30 100%); }
.mk-banner h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; font-weight: 800; max-width: 540px; }
.mk-banner p { margin-block-start: 12px; font-size: 16.5px; opacity: 0.92; max-width: 480px; }
.mk-banner-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 24px; }
.mk-banner .mk-btn.primary { background: #fff; color: var(--mk-brand); }
.mk-banner .mk-btn.primary:hover { background: #eef7f2; }
.mk-banner .mk-btn.ghost { color: #fff; border-color: rgb(255 255 255 / 0.55); }
.mk-banner .mk-btn.ghost:hover { background: rgb(255 255 255 / 0.12); color: #fff; border-color: #fff; }
.mk-banner-art { display: grid; grid-template-columns: repeat(3, 76px); gap: 14px; }
.mk-bubble { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: rgb(255 255 255 / 0.14);
  font-size: 30px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); }
.mk-bubble:nth-child(2n) { transform: translateY(14px); }
.mk-trust { margin-block-start: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--mk-line); border-radius: var(--mk-radius);
  overflow: hidden; box-shadow: var(--mk-shadow); }
.mk-trust-item { background: var(--mk-card); display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.mk-trust-item i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mk-brand-soft);
  color: var(--mk-brand); font-size: 20px; }
.mk-trust-item div { display: flex; flex-direction: column; min-width: 0; }
.mk-trust-item b { font-size: 14.5px; }
.mk-trust-item span { font-size: 12.5px; color: var(--mk-muted); }

.mk-sec { margin-block-start: 28px; }
.mk-sec-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-block-end: 12px; }
.mk-sec-h h2 { font-size: 21px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.mk-sec-h h2 i { color: var(--mk-brand); font-size: 18px; }
.mk-see { display: inline-flex; align-items: center; gap: 6px; color: var(--mk-brand); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.mk-see:hover { text-decoration: underline; }
.mk-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.mk-cat-tile { background: var(--mk-card); border-radius: var(--mk-radius); padding: 16px 8px 14px; display: flex; flex-direction: column; align-items: center;
  gap: 10px; text-align: center; text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--mk-ink); box-shadow: var(--mk-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease; }
.mk-cat-tile:hover { transform: translateY(-2px); box-shadow: var(--mk-shadow-up); color: var(--mk-brand); }
.mk-cat-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--mk-brand-soft); color: var(--mk-brand); font-size: 23px; flex: none; }

/* ---- product cards ------------------------------------------------------------------------------------------- */
.mk-row { display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 12px; overflow-x: auto; padding-block-end: 8px; scroll-snap-type: x proximity;
  scrollbar-width: thin; }
.mk-row > * { scroll-snap-align: start; }
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; }
.mk-card { position: relative; background: var(--mk-card); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
  color: var(--mk-ink); box-shadow: var(--mk-shadow); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.mk-card:hover { transform: translateY(-2px); box-shadow: var(--mk-shadow-up); }
.mk-card-img { position: relative; aspect-ratio: 1; background: #eef1ef; overflow: hidden; }
.mk-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-card-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; color: color-mix(in srgb, var(--mk-brand) 38%, #c9d3ce);
  background: linear-gradient(160deg, #f3f7f5, #e4ece8); }
.mk-card.is-out .mk-card-img img { opacity: 0.5; }
.mk-card-out { position: absolute; inset-block-end: 8px; inset-inline-start: 8px; background: rgb(17 22 19 / 0.8); color: #fff; font-size: 12px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; }
.mk-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.mk-card-title { font-size: 14px; line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; }
.mk-price { color: var(--mk-price); font-weight: 800; font-size: 17.5px; line-height: 1.2; }
.mk-card-meta { margin-block-start: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12px; color: var(--mk-muted); }
.mk-sold { color: var(--mk-ink-2); }
.mk-card-store { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.mk-card.is-skel { box-shadow: none; }
.is-skel .mk-card-img, .skel-line { background: linear-gradient(90deg, #e6ebe8 0%, #f1f4f2 40%, #e6ebe8 80%); background-size: 200% 100%;
  animation: mk-shimmer 1.3s linear infinite; }
.skel-line { display: block; height: 12px; border-radius: 6px; }
.skel-line.short { width: 55%; }
@keyframes mk-shimmer { to { background-position: -200% 0; } }

/* ---- stores ---------------------------------------------------------------------------------------------------- */
.mk-stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
.mk-store { background: var(--mk-card); border-radius: var(--mk-radius); padding: 18px 10px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; color: var(--mk-ink); box-shadow: var(--mk-shadow); transition: transform 0.15s ease, box-shadow 0.15s ease; min-width: 0; }
.mk-store:hover { transform: translateY(-2px); box-shadow: var(--mk-shadow-up); }
.mk-store-logo { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; flex: none;
  background: var(--store, var(--mk-brand)); color: #fff; font-weight: 800; font-size: 23px; }
.mk-store-logo img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.mk-store-name { font-weight: 700; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-store-n { font-size: 12.5px; color: var(--mk-muted); }
.mk-sell { margin-block-start: 32px; border-radius: 18px; padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: #fff; background: radial-gradient(circle at 100% 0%, rgb(255 255 255 / 0.1) 0 140px, transparent 141px), linear-gradient(120deg, #11291d, #0b5c39); }
.mk-sell h2 { font-size: 24px; font-weight: 800; }
.mk-sell p { margin-block-start: 6px; opacity: 0.88; max-width: 620px; }

/* ---- lists: categories and search -------------------------------------------------------------------------- */
.mk-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--mk-muted); }
.mk-crumbs a { color: inherit; text-decoration: none; }
.mk-crumbs a:hover { color: var(--mk-brand); }
.mk-list-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 20px; flex-wrap: wrap; margin-block: 10px 14px; }
.mk-title { font-size: 25px; font-weight: 800; display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.mk-title i { color: var(--mk-brand); font-size: 22px; }
.mk-count { font-size: 13.5px; color: var(--mk-muted); }
.mk-sort-l { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--mk-muted); }
.mk-sort { height: 40px; border-radius: 10px; border: 1px solid var(--mk-line); background: #fff; padding: 0 10px; color: var(--mk-ink); }
.mk-chips { display: flex; gap: 8px; overflow-x: auto; padding-block-end: 8px; margin-block-end: 12px; scrollbar-width: thin; }
.mk-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--mk-line);
  font-size: 13.5px; text-decoration: none; color: var(--mk-ink); white-space: nowrap; }
.mk-chip i { color: var(--mk-brand); }
.mk-chip:hover { border-color: var(--mk-brand); }
.mk-chip.on { background: var(--mk-brand); border-color: var(--mk-brand); color: #fff; }
.mk-chip.on i { color: #fff; }
.mk-chip-n { font-size: 12px; opacity: 0.7; }
.mk-more { text-align: center; margin-block-start: 22px; }
.mk-empty { background: var(--mk-card); border-radius: 16px; padding: 48px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
  box-shadow: var(--mk-shadow); }
.mk-empty > i { font-size: 42px; color: var(--mk-muted); }
.mk-empty h2 { font-size: 20px; }
.mk-empty p { color: var(--mk-muted); max-width: 420px; }
.mk-catlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-block-start: 14px; }
.mk-catlist-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--mk-card); border-radius: 12px; text-decoration: none; color: var(--mk-ink);
  box-shadow: var(--mk-shadow); }
.mk-catlist-item:hover { color: var(--mk-brand); }
.mk-catlist-item .mk-cat-ico { width: 46px; height: 46px; font-size: 19px; }
.mk-catlist-name { flex: 1; font-weight: 600; }
.mk-catlist-n { font-size: 13px; color: var(--mk-muted); }
.mk-catlist-item.is-empty { opacity: 0.55; }

/* ---- product page blocks --------------------------------------------------------------------------------------- */
.mk-extras { margin-block-start: 26px; }
.mk-seller { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--mk-card); border: 1px solid var(--mk-line); border-radius: var(--mk-radius); }
.mk-seller-t { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mk-seller-t b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-muted { color: var(--mk-muted); font-size: 12.5px; }

/* ---- footer and the phone tab bar ------------------------------------------------------------------------------ */
.mk-foot { display: block; max-width: none; margin: 40px 0 0; padding: 0; background: #0f1a14; color: #b9c6bf; font-size: 14px; }
.mk-foot-cols { max-width: var(--mk-max); margin: 0 auto; padding: 34px 20px 22px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.mk-foot-cols > div { display: flex; flex-direction: column; gap: 8px; }
.mk-foot-cols b { color: #fff; font-size: 14.5px; }
.mk-foot-cols a { color: inherit; text-decoration: none; }
.mk-foot-cols a:hover { color: #fff; }
.mk-foot .mk-logo-text { color: #fff; }
.mk-foot .mk-logo-text b { color: #4cc48d; }
.mk-foot-note { max-width: var(--mk-max); margin: 0 auto; padding: 14px 20px 22px; border-block-start: 1px solid rgb(255 255 255 / 0.08); display: flex;
  justify-content: space-between; gap: 12px; font-size: 12.5px; }
body:not(.mk-market) .mk-foot { background: transparent; color: var(--muted); }
body:not(.mk-market) .mk-foot-note { border: 0; }
.mk-tabbar { display: none; }

@media (max-width: 1000px) {
  .mk-hero { grid-template-columns: 1fr; }
  .mk-side { display: none; }
  .mk-trust { grid-template-columns: repeat(2, 1fr); }
  .mk-foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .mk-top-in { flex-wrap: wrap; gap: 10px 8px; padding: 10px 14px; }
  .mk-logo-text { font-size: 19px; }
  .mk-logo-mark { width: 32px; height: 32px; font-size: 18px; }
  .mk-search { order: 3; flex-basis: 100%; max-width: none; }
  .mk-search input { height: 40px; }
  .mk-nav { gap: 0; }
  .mk-nav a { padding: 8px; }
  .mk-nav-label, .mk-nav-sell span, .mk-nav-account span { display: none; }
  .mk-market .mk-cats { display: none; }
  .mk-market .wrap { padding: 0 12px; }
  .mk-banner { grid-template-columns: 1fr; padding: 28px 22px; min-height: 0; }
  .mk-banner-art { display: none; }
  .mk-banner p { font-size: 15px; }
  .mk-trust-item { padding: 12px; gap: 10px; }
  .mk-trust-item i { width: 38px; height: 38px; font-size: 17px; }
  .mk-trust-item span { display: none; }
  .mk-catgrid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .mk-cat-tile { padding: 12px 4px 10px; font-size: 12px; gap: 7px; box-shadow: none; }
  .mk-cat-ico { width: 46px; height: 46px; font-size: 19px; }
  .mk-row { grid-auto-columns: 150px; gap: 8px; }
  .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mk-card-body { padding: 8px 10px 10px; }
  .mk-card-title { font-size: 13.5px; }
  .mk-price { font-size: 16px; }
  .mk-sec-h h2 { font-size: 18px; }
  .mk-title { font-size: 21px; }
  .mk-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mk-sell { flex-direction: column; align-items: stretch; padding: 24px 20px; }
  .mk-sell .mk-btn { width: 100%; }
  .mk-market .mk-tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 30; background: #fff;
    border-block-start: 1px solid var(--mk-line); padding-block-end: env(safe-area-inset-bottom); }
  .mk-tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11.5px; color: var(--mk-muted);
    text-decoration: none; }
  .mk-tabbar a i { font-size: 20px; }
  .mk-tabbar a.on { color: var(--mk-brand); font-weight: 700; }
  .mk-tab-pill { position: absolute; inset-block-start: 3px; inset-inline-start: calc(50% + 6px); min-width: 18px; height: 18px; font-size: 11px; padding: 0 5px; }
  .mk-market { padding-block-end: calc(62px + env(safe-area-inset-bottom)); }
  .mk-foot-cols { grid-template-columns: 1fr; padding-block: 26px 14px; }
  .mk-foot-note { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-card, .mk-cat-tile, .mk-store { transition: none; }
  .is-skel .mk-card-img, .skel-line { animation: none; }
}

/* ---- cart, checkout and account pieces from shop.js (both sites) --------------------------------------------- */
.cart-store-h { display: flex; align-items: center; gap: 8px; padding-block-end: 8px; margin-block-end: 4px; border-block-end: 1px solid var(--mk-line, #e4e3dd);
  font-weight: 700; }
.cart-store-h a { text-decoration: none; }
.cart-store-h a:hover { color: var(--mk-brand); }
.cart-store-h i { color: var(--mk-brand); }
.co-store { display: flex; align-items: center; gap: 8px; margin-block: 10px 2px; font-weight: 700; font-size: 14px; }
.co-store i { color: var(--mk-brand); }
.done-order { padding: 10px 14px; margin-block: 8px; border: 1px solid var(--mk-line, #e4e3dd); border-radius: 12px; background: #fff; }
.done-order p { margin: 2px 0; }
.confirm-note { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-block-end: 16px; border-radius: 14px;
  background: #fff8e6; border: 1px solid #f2dc9b; }
.confirm-note > i { font-size: 24px; color: #a46a00; flex: none; }
.confirm-note > div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
@media (max-width: 560px) { .confirm-note { flex-wrap: wrap; } .confirm-note .btn { width: 100%; } }
