/* The marketing store pages (UI overhaul phases 3a and 3b): the store, search, checkout, the order page and
   service pictures in lists. Every rule is scoped under .mkp (the page wrapper) or a .mkp-* class. */
.mkp { --mkp-blue: #3a75fa; --mkp-blue-d: #295ccf; --mkp-ink: #1a2340; --mkp-muted: #6b7a99; --mkp-line: #e6ecf8; --mkp-soft: #f4f7fe; }
.mkp [hidden] { display: none !important; }
.mkp a { color: var(--mkp-blue-d); }

/* the page frame (phase 3b: replaces the retired _store_style.php) */
.mkp-wrap { font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--mkp-ink); max-width: 1180px; margin: 0 auto; padding: 8px 16px 40px; width: 100%; overflow-wrap: anywhere; }
.mkp-wrap, .mkp-wrap *, .mkp-wrap *::before, .mkp-wrap *::after { box-sizing: border-box; }
.mkp-wrap img { max-width: 100%; }
.mkp-wrap h1, .mkp-wrap h2, .mkp-wrap h3 { color: var(--mkp-ink); margin: 0; }
.mkp-banner { border-radius: 10px; padding: 10px 14px; font-size: 13px; margin: 10px 0 16px; background: #fff7e6; color: #8a5a00; border: 1px solid #ffe2a8; }
.mkp-crumb { font-size: 13px; color: var(--mkp-muted); margin: 6px 0 12px; }
.mkp-crumb a { color: var(--mkp-muted); text-decoration: none; }
.mkp-crumb a:hover { color: var(--mkp-blue-d); }
.mkp-crumb .mkp-sep { margin: 0 6px; }
.mkp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* service pictures and tiles (usable on their own, e.g. in admin tables) */
.mkp-th { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 9px; object-fit: cover; vertical-align: middle; color: #fff; font-weight: 800; font-size: 15px; line-height: 1; background: #dfe6f5; }
.mkp-th.mkp-sm { width: 32px; height: 32px; border-radius: 8px; font-size: 13px; }
.mkp-th.mkp-lg { width: 64px; height: 48px; border-radius: 10px; font-size: 20px; }
.mkp-th.mkp-xl { width: 100%; height: 150px; border-radius: 12px; font-size: 40px; }
/* The same eight tile colours are also defined as .mkb-c0-7 in site-header.css and .mki-c0-7 in _inbox_shell.php — change all three together. */
.mkp-c0 { background: linear-gradient(135deg, #7b2cbf, #5a189a); }
.mkp-c1 { background: linear-gradient(135deg, #ff006e, #d6005c); }
.mkp-c2 { background: linear-gradient(135deg, #f77f00, #d65f00); }
.mkp-c3 { background: linear-gradient(135deg, #2a9d8f, #1f7a70); }
.mkp-c4 { background: linear-gradient(135deg, #3a75fa, #295ccf); }
.mkp-c5 { background: linear-gradient(135deg, #e63946, #b5212d); }
.mkp-c6 { background: linear-gradient(135deg, #118ab2, #0b6a8a); }
.mkp-c7 { background: linear-gradient(135deg, #6a994e, #4e7337); }
.mkp-svc { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mkp-svc span { min-width: 0; }

/* step bar */
.mkp-steps { display: flex; align-items: center; gap: 8px; list-style: none; margin: 4px 0 18px; padding: 0; font-size: 13px; color: var(--mkp-muted); flex-wrap: wrap; }
.mkp-steps li { display: inline-flex; align-items: center; gap: 6px; }
.mkp-steps li + li::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--mkp-line); margin-right: 2px; }
.mkp-steps b { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: var(--mkp-line); color: #4b5a78; font-size: 11px; }
.mkp-steps .done b { background: #14804a; color: #fff; }
.mkp-steps .current { color: var(--mkp-ink); font-weight: 700; }
.mkp-steps .current b { background: var(--mkp-blue-d); color: #fff; }

/* two columns: choices / summary */
.mkp-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.mkp-side { position: sticky; top: 90px; }
.mkp-card { background: #fff; border: 1px solid var(--mkp-line); border-radius: 14px; padding: 18px; margin-bottom: 16px; box-shadow: 0 2px 12px rgba(26,35,64,.04); }
.mkp-card h2, .mkp-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: var(--mkp-ink); }
.mkp-muted { color: var(--mkp-muted); font-size: 13px; }
.mkp-note { border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }
.mkp-note.mkp-info { background: #eef3ff; color: var(--mkp-blue-d); border: 1px solid #dbe6fd; }
.mkp-note.mkp-err { background: #fdecec; color: #b42318; border: 1px solid #f7c6c6; }
.mkp-note.mkp-warn { background: #fff7e6; color: #8a5a00; border: 1px solid #ffe2a8; }
.mkp-note.mkp-ok { background: #e7f8ef; color: #067647; border: 1px solid #b7ebcf; }

/* package and extra choices */
.mkp-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.mkp-opt { position: relative; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--mkp-line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; }
.mkp-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mkp-opt.on { border: 2px solid var(--mkp-blue-d); background: var(--mkp-soft); padding: 11px 13px; }
.mkp-opt:has(input:checked) { border: 2px solid var(--mkp-blue-d); background: var(--mkp-soft); padding: 11px 13px; }
.mkp-opt input:focus-visible + b { outline: 2px solid var(--mkp-blue); outline-offset: 2px; }
.mkp-opt b { font-size: 14px; }
.mkp-opt small { color: var(--mkp-muted); font-size: 12.5px; }
.mkp-opt .mkp-price { font-weight: 800; font-size: 15px; color: var(--mkp-ink); }
.mkp-extra { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid #f0f4fc; cursor: pointer; }
.mkp-extra:first-of-type { border-top: 0; }
.mkp-extra span { flex: 1 1 auto; min-width: 0; }
.mkp-extra small { display: block; color: var(--mkp-muted); }
.mkp-extra b { white-space: nowrap; }
.mkp-extra.off { opacity: .45; cursor: not-allowed; }
.mkp-in { width: 100%; padding: 10px 12px; border: 1px solid #d5deef; border-radius: 9px; font-family: inherit; font-size: 14px; color: var(--mkp-ink); background: #fff; }
.mkp-in:focus { border-color: var(--mkp-blue-d); outline: none; box-shadow: 0 0 0 3px rgba(58,117,250,.12); }
.mkp-row2 { display: flex; gap: 8px; }
.mkp-row2 .mkp-in { min-width: 0; }
.mkp-msg { font-size: 13px; margin-top: 6px; min-height: 1em; }
.mkp-msg.bad { color: #b42318; }
.mkp-msg.ok { color: #067647; }

/* summary card */
.mkp-sum .mkp-th.mkp-xl { margin-bottom: 12px; }
.mkp-sum-t { font-weight: 700; font-size: 15px; }
.mkp-line { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14px; }
.mkp-line.mkp-disc { color: #067647; }
.mkp-total { border-top: 1px solid var(--mkp-line); margin-top: 6px; padding-top: 10px; font-weight: 800; font-size: 17px; }
.mkp-btn { display: block; width: 100%; margin-top: 12px; padding: 12px; border: 0; border-radius: 10px; background: linear-gradient(135deg, var(--mkp-blue), var(--mkp-blue-d)); color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.mkp a.mkp-btn { color: #fff; }
.mkp-btn[disabled] { opacity: .5; cursor: not-allowed; }
.mkp-btn2 { display: inline-block; padding: 9px 14px; border: 1px solid #cfdcf7; border-radius: 10px; background: #fff; color: var(--mkp-blue-d); font-family: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.mkp-btn2.mkp-full { display: block; width: 100%; margin-top: 8px; text-align: center; }
.mkp-trust { list-style: none; margin: 12px 0 0; padding: 0; color: #4b5a78; font-size: 13px; line-height: 1.9; }

/* the order header and progress bar */
.mkp-head { display: flex; align-items: center; gap: 14px; }
.mkp-head-t { flex: 1 1 auto; min-width: 0; }
.mkp-head-t b { display: block; font-size: 17px; }
.mkp-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #e8f0ff; color: var(--mkp-blue-d); white-space: nowrap; }
.mkp-pill.paid { background: #e7f8ef; color: #067647; }
.mkp-pill.cancelled, .mkp-pill.refunded { background: #f2f4f7; color: #475467; }
.mkp-pill.mkp-draft { background: #fff7e6; color: #8a5a00; }
.mkp-pill.mkp-off { background: #fdecec; color: #b42318; }
.mkp-prog { display: flex; align-items: flex-start; list-style: none; margin: 16px 0 0; padding: 0; font-size: 12px; color: var(--mkp-muted); }
.mkp-prog li { flex: 1 1 0; position: relative; text-align: center; padding-top: 26px; }
.mkp-prog li::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--mkp-line); z-index: 1; }
.mkp-prog li + li::after { content: ""; position: absolute; top: 8px; right: 50%; width: 100%; height: 2px; background: var(--mkp-line); }
.mkp-prog .done::before, .mkp-prog li.done + li::after { background: #14804a; }
.mkp-prog .current { color: var(--mkp-ink); font-weight: 700; }
.mkp-prog .current::before { background: var(--mkp-blue-d); box-shadow: 0 0 0 4px #dbe6fd; }
.mkp-closed { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #f2f4f7; color: #475467; font-size: 14px; }

/* the Next step box */
.mkp-next { border: 2px solid var(--mkp-blue-d); background: var(--mkp-soft); }
.mkp-next > p { color: #4b5a78; margin: 0 0 12px; }

/* payment methods */
.mkp-pay { border: 1px solid var(--mkp-line); border-radius: 12px; padding: 14px; margin-bottom: 10px; background: #fff; }
.mkp-pay-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.mkp-pay-h b { font-size: 15px; }
.mkp-pay summary { cursor: pointer; list-style: none; }
.mkp-pay summary::-webkit-details-marker { display: none; }
.mkp-pay .mkp-in { margin-top: 8px; }
.mkp-pay summary .mkp-muted { display: block; }
.mkp #mkoPay { scroll-margin-top: 80px; }

/* ---------------- the store (phase 3b) ---------------- */

/* the landing hero and its search box */
.mkp-hero { background: linear-gradient(135deg, #1d3f94, #3a75fa); color: #fff; border-radius: 18px; padding: 28px 20px; margin: 8px 0 26px; }
.mkp-wrap .mkp-hero h1 { color: #fff; font-size: 26px; font-weight: 800; line-height: 1.25; margin: 0 0 8px; }
.mkp-hero p { color: #e6eeff; font-size: 15px; line-height: 1.55; margin: 0 0 16px; max-width: 60ch; }
.mkp-search { display: flex; gap: 6px; max-width: 580px; background: #fff; border: 1px solid #d5deef; border-radius: 12px; padding: 5px; }
.mkp-search input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; padding: 9px 10px; font-family: inherit; font-size: 15px; color: var(--mkp-ink); background: transparent; }
.mkp-search button { flex: none; border: 0; border-radius: 9px; padding: 9px 18px; background: var(--mkp-blue-d); color: #fff; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.mkp-hero .mkp-search { border-color: transparent; }
.mkp-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 13px; }
.mkp-chips li { background: rgba(255,255,255,.16); border-radius: 999px; padding: 4px 12px; }
.mkp-hero-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.mkp a.mkp-hbtn { display: inline-block; padding: 8px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.75); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.mkp a.mkp-hbtn:hover { background: rgba(255,255,255,.14); }

/* section headings */
.mkp-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 28px 0 12px; }
.mkp-wrap .mkp-sec-h h2 { font-size: 19px; font-weight: 800; }
.mkp-sec-h small { color: var(--mkp-muted); font-size: 13px; }

/* category tiles: the colour of the category's marketing-bar button */
.mkp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.mkp a.mkp-tile { display: flex; flex-direction: column; gap: 4px; min-height: 100px; padding: 14px 16px; border-radius: 14px; color: #fff; text-decoration: none; box-shadow: 0 4px 14px rgba(26,35,64,.08); }
.mkp a.mkp-tile:hover { filter: brightness(1.07); }
.mkp-tile-i { display: inline-flex; width: 32px; height: 32px; border-radius: 9px; align-items: center; justify-content: center; background: rgba(255,255,255,.22); font-size: 15px; font-weight: 800; }
.mkp-tile b { font-size: 15px; }
.mkp-tile small { font-size: 12.5px; opacity: .92; }
.mkp-tile .mkp-pill { align-self: flex-start; }

/* service cards */
.mkp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.mkp a.mkp-scard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mkp-line); border-radius: 14px; overflow: hidden; color: var(--mkp-ink); text-decoration: none; box-shadow: 0 2px 12px rgba(26,35,64,.05); }
.mkp a.mkp-scard:hover { border-color: var(--mkp-blue); box-shadow: 0 8px 22px rgba(58,117,250,.12); }
.mkp-scard .mkp-th.mkp-xl { height: auto; aspect-ratio: 16 / 10; border-radius: 0; font-size: 44px; }
.mkp-scard-b { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1 1 auto; }
.mkp-scard-c { font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--mkp-muted); font-weight: 700; }
.mkp-scard-t { font-size: 15px; font-weight: 700; line-height: 1.35; }
.mkp-rate { color: #b7791f; font-size: 13px; font-weight: 600; }
.mkp-scard-m { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--mkp-muted); }
.mkp-scard-m b { color: var(--mkp-ink); font-size: 15px; }

/* what customers say, how it works, ask us, empty states */
.mkp-quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.mkp-quote { margin: 0; background: #fff; border: 1px solid var(--mkp-line); border-radius: 14px; padding: 16px; }
.mkp-quote blockquote { margin: 8px 0; font-size: 14px; line-height: 1.6; }
.mkp-quote figcaption { font-size: 12.5px; color: var(--mkp-muted); }
.mkp-stars { color: #f5a524; letter-spacing: 1px; }
.mkp-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; counter-reset: mkphow; }
.mkp-how li { background: #fff; border: 1px solid var(--mkp-line); border-radius: 14px; padding: 14px 16px; }
.mkp-how li::before { counter-increment: mkphow; content: counter(mkphow); display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: #e8f0ff; color: var(--mkp-blue-d); font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.mkp-how b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.mkp-how span { display: block; font-size: 13px; color: var(--mkp-muted); line-height: 1.5; }
.mkp-askus { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; background: #fff; border: 2px dashed #cfdcf7; border-radius: 14px; padding: 16px 18px; }
.mkp-askus b { display: block; font-size: 15px; }
.mkp-askus span { color: var(--mkp-muted); font-size: 13.5px; }
.mkp-empty { background: #fafbff; border: 1px dashed #d8e2f5; border-radius: 14px; padding: 22px 18px; text-align: center; color: var(--mkp-muted); font-size: 14px; }

/* the category header and the sort switch */
.mkp-cathead { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--mkp-line); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.mkp-cat-i { display: inline-flex; flex: none; width: 52px; height: 52px; border-radius: 12px; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 800; }
.mkp-cathead > div { min-width: 0; }
.mkp-wrap .mkp-cathead h1 { font-size: 24px; font-weight: 800; }
.mkp-cathead p { margin: 4px 0 0; color: #4b5a78; font-size: 14px; line-height: 1.55; }
.mkp-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.mkp-sorts { display: flex; gap: 6px; flex-wrap: wrap; }
.mkp a.mkp-sort { padding: 6px 13px; border-radius: 999px; background: #eef2fb; color: #4b5a78; font-size: 13px; font-weight: 600; text-decoration: none; }
.mkp a.mkp-sort.on { background: var(--mkp-blue-d); color: #fff; }

/* the service page: two columns, the package box stays in view */
.mkp-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "top box" "body box"; column-gap: 24px; align-items: start; }
.mkp-page-top { grid-area: top; min-width: 0; }
.mkp-page-body { grid-area: body; min-width: 0; }
.mkp-box-w { grid-area: box; position: sticky; top: 90px; min-width: 0; }
.mkp-wrap .mkp-page h1 { font-size: 26px; font-weight: 800; line-height: 1.3; margin: 0 0 6px; }
.mkp-sub { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; color: #4b5a78; font-size: 14.5px; margin: 0 0 14px; }
.mkp a.mkp-rate-l { color: #b7791f; font-weight: 700; text-decoration: none; }
.mkp-gal-main { display: flex; width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--mkp-line); align-items: center; justify-content: center; color: #fff; font-size: 64px; font-weight: 800; }
.mkp-gal-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mkp-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.mkp-thumb { width: 74px; height: 56px; padding: 0; border: 2px solid var(--mkp-line); border-radius: 9px; overflow: hidden; background: #eef3ff; cursor: pointer; }
.mkp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mkp-thumb[aria-pressed="true"] { border-color: var(--mkp-blue); }
.mkp-secbar { display: flex; gap: 2px; overflow-x: auto; background: #fff; border: 1px solid var(--mkp-line); border-radius: 12px; margin: 18px 0 16px; padding: 0 6px; }
.mkp a.mkp-secl { padding: 11px 12px; color: #4b5a78; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: inset 0 -3px 0 transparent; }
.mkp a.mkp-secl:hover { color: var(--mkp-blue-d); box-shadow: inset 0 -3px 0 var(--mkp-blue-d); }
.mkp-sec { scroll-margin-top: 100px; }
.mkp-wrap .mkp-sec h2 { font-size: 18px; font-weight: 800; margin: 0 0 12px; }
.mkp-desc { font-size: 15px; line-height: 1.7; color: #33415c; }
.mkp-desc p { margin: 0 0 12px; }
.mkp-desc ul, .mkp-desc ol { margin: 0 0 12px; padding-left: 22px; }
.mkp-desc li { margin-bottom: 6px; }
.mkp-desc img { border-radius: 10px; height: auto; }
.mkp-desc table { width: 100%; border-collapse: collapse; }
.mkp-scroll { overflow-x: auto; }
.mkp-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.mkp-tbl th, .mkp-tbl td { padding: 10px 12px; border-bottom: 1px solid #f0f4fc; text-align: left; vertical-align: top; }
.mkp-tbl thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--mkp-muted); background: #fafbff; white-space: nowrap; }
.mkp-tbl tbody th { font-weight: 600; color: #4b5a78; }
.mkp-tbl tr:last-child th, .mkp-tbl tr:last-child td { border-bottom: 0; }
.mkp-yes { color: #14804a; font-weight: 700; }
.mkp-no { color: #b9c4da; }
.mkp-samples { display: flex; gap: 10px; flex-wrap: wrap; }
.mkp-sample { width: 150px; border-radius: 12px; overflow: hidden; border: 1px solid var(--mkp-line); background: #eef3ff; }
.mkp-sample img { width: 100%; height: 110px; object-fit: cover; display: block; }
.mkp-addon { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; padding: 12px 0; border-top: 1px solid #f0f4fc; }
.mkp-addon:first-of-type { border-top: 0; padding-top: 0; }
.mkp-addon-b { flex: 1 1 220px; min-width: 0; }
.mkp-addon-b b { display: block; font-size: 14.5px; }
.mkp-addon-b small { display: block; color: var(--mkp-muted); font-size: 13px; line-height: 1.5; margin-top: 2px; }
.mkp-addon-p { font-weight: 800; white-space: nowrap; }
.mkp-addon-p small { display: block; font-size: 12px; font-weight: 600; color: var(--mkp-muted); }
.mkp-faq { border-top: 1px solid #f0f4fc; }
.mkp-faq:first-of-type { border-top: 0; }
.mkp-faq summary { cursor: pointer; font-size: 14.5px; font-weight: 700; padding: 12px 0; list-style: none; }
.mkp-faq summary::-webkit-details-marker { display: none; }
.mkp-faq summary::after { content: "+"; float: right; color: var(--mkp-muted); font-weight: 700; }
.mkp-faq[open] summary::after { content: "\2212"; }
.mkp-faq p { margin: 0 0 12px; color: #4b5a78; font-size: 14px; line-height: 1.65; }

/* the package box */
.mkp-box { background: #fff; border: 1px solid #d9e2f5; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px rgba(26,35,64,.08); }
.mkp-tabs { display: flex; border-bottom: 1px solid var(--mkp-line); background: #fafbfe; }
.mkp-tab { flex: 1 1 0; min-width: 0; border: 0; background: transparent; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--mkp-muted); padding: 12px 8px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-shadow: inset 0 -3px 0 transparent; }
.mkp-tab[aria-selected="true"] { color: var(--mkp-ink); background: #fff; box-shadow: inset 0 -3px 0 var(--mkp-blue-d); }
.mkp-pane { padding: 16px 18px 18px; }
.mkp-pane-n { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--mkp-muted); font-weight: 700; margin-bottom: 4px; }
.mkp-pane .mkp-price { font-size: 28px; font-weight: 800; }
.mkp-facts { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: #4b5a78; margin: 8px 0 10px; }
.mkp-psum { font-size: 14px; color: #4b5a78; line-height: 1.55; margin: 0 0 10px; }
.mkp-inc { list-style: none; margin: 0 0 12px; padding: 0; }
.mkp-inc li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.5; margin-bottom: 6px; }
.mkp-inc li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #14804a; font-weight: 700; }
.mkp-chat-s { font-size: 12px; color: var(--mkp-muted); text-align: center; margin: 6px 0 0; }
.mkp-box .mkp-trust { border-top: 1px solid #eef2fa; margin: 0; padding: 12px 18px; }

/* ask before you buy (the pre-sale assistant panel) */
.mkp-ask-note, .mkp-ask-small { font-size: 13px; color: var(--mkp-muted); line-height: 1.5; margin: 0 0 12px; }
.mkp-ask-small { margin: 12px 0 0; }
.mkp-ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mkp-ask-chip { border: 1px solid #cfdcf7; background: var(--mkp-soft); color: var(--mkp-blue-d); border-radius: 20px; padding: 7px 12px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; }
.mkp-ask-chip:hover { background: #e8effd; }
.mkp-ask-log { display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; margin-bottom: 10px; }
.mkp-ask-log:empty { display: none; }
.mkp-ask-b { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.mkp-ask-you { align-self: flex-end; background: var(--mkp-blue-d); color: #fff; }
.mkp-ask-bot { align-self: flex-start; background: #f1f4fa; color: var(--mkp-ink); }
.mkp-ask-row { display: flex; gap: 8px; flex-wrap: wrap; }
.mkp-ask-row .mkp-in { flex: 1 1 220px; min-width: 0; width: auto; }
.mkp-ask-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mkp-ask-msg { font-size: 13px; color: #b42318; margin: 8px 0 0; min-height: 1em; }
.mkp-ask-msg.ok { color: #067647; }
.mkp-ask-person { border-top: 1px solid #eef2fa; margin-top: 14px; padding-top: 12px; }
.mkp-ask-person summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--mkp-blue-d); }
.mkp-ask-f { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.mkp-ask-f label { font-size: 13px; font-weight: 600; color: #4b5a78; }

/* reviews */
.mkp-rv-sum { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.mkp-rv-avg { font-size: 38px; font-weight: 800; line-height: 1; }
.mkp-rv-stars { color: #d69e2e; letter-spacing: 1px; }
.mkp-rv-bars { flex: 1 1 220px; max-width: 360px; }
.mkp-rv-bar { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4b5a78; }
.mkp-rv-track { flex: 1; height: 7px; background: #eef2fb; border-radius: 99px; overflow: hidden; }
.mkp-rv-fill { display: block; height: 100%; background: #d69e2e; }
.mkp-rv { border-top: 1px solid #eef2fb; padding: 14px 0; }
.mkp-rv-h { font-size: 13.5px; color: var(--mkp-muted); margin: 2px 0 6px; }
.mkp-rv-h b { color: var(--mkp-ink); }
.mkp-rv-ok { color: #067647; }
.mkp-rv-body { white-space: pre-line; overflow-wrap: anywhere; font-size: 14.5px; }
.mkp-rv-reply { border-left: 3px solid var(--mkp-line); margin-top: 10px; padding: 4px 0 4px 12px; font-size: 14px; }
.mkp-rv-more { display: flex; gap: 12px; margin-top: 12px; }

/* search results and the not-found page */
.mkp-wrap.mkp-find h1 { font-size: 24px; font-weight: 800; margin: 8px 0 12px; }
.mkp-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 10px; }
.mkp a.mkp-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--mkp-line); border-radius: 12px; color: var(--mkp-ink); text-decoration: none; }
.mkp a.mkp-row:hover { border-color: var(--mkp-blue); }
.mkp-row > span { flex: 1 1 auto; min-width: 0; }
.mkp-row b { display: block; font-size: 14.5px; }
.mkp-row small { display: block; color: var(--mkp-muted); font-size: 12.5px; }
.mkp-row em { flex: none; font-style: normal; color: var(--mkp-blue-d); font-size: 13px; font-weight: 700; white-space: nowrap; }
.mkp-tips { margin: 8px 0 0; padding-left: 20px; color: #4b5a78; font-size: 14px; line-height: 1.7; }
.mkp-lost { text-align: center; padding: 26px 0 8px; }
.mkp-wrap .mkp-lost h1 { font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.mkp-lost p { color: #4b5a78; font-size: 15px; margin: 0 0 16px; }
.mkp-lost .mkp-search { margin: 0 auto 14px; }

/* the phone bar: pinned to the bottom of the screen while the page scrolls, it stops where the page ends */
.mkp-bar { display: none; }

@media (min-width: 861px) {
  .mkp-box-w { max-height: calc(100vh - 100px); overflow-y: auto; }
  .mkp-hero { padding: 44px 40px; }
  .mkp-wrap .mkp-hero h1 { font-size: 34px; }
}

@media (max-width: 860px) {
  .mkp-cols { grid-template-columns: minmax(0, 1fr); }
  .mkp-side { position: static; }
  .mkp-page { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "box" "body"; }
  .mkp-box-w { position: static; margin-top: 16px; }
  .mkp-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; bottom: 0; z-index: 1025; margin: 16px -16px 0; padding: 10px 88px 10px 16px; background: #fff; border-top: 1px solid var(--mkp-line); box-shadow: 0 -6px 18px rgba(26,35,64,.1); }
  .mkp-bar b { font-size: 17px; }
  .mkp-bar .mkp-btn { width: auto; margin: 0; padding: 11px 18px; }
  .mkp-prog { font-size: 10.5px; }
  .mkp-head { flex-wrap: wrap; }
  .mkp-cathead { align-items: flex-start; }
}
/* the home page's marketing section (phase 4): inside the theme's page, so it sets its own frame */
.mkp-home { padding: 48px 0 16px; font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--mkp-ink); text-align: left; scroll-margin-top: 72px; }
.mkp-home, .mkp-home *, .mkp-home *::before, .mkp-home *::after { box-sizing: border-box; }
.mkp-home img { max-width: 100%; }
.mkp-home h2 { font-size: 28px; font-weight: 800; line-height: 1.25; color: var(--mkp-ink); text-align: center; margin: 0 0 8px; }
.mkp-home .mkp-home-sub { color: var(--mkp-muted); font-size: 15px; line-height: 1.55; text-align: center; margin: 0 auto 22px; max-width: 60ch; }
.mkp-home .mkp-tiles { margin-bottom: 18px; }
.mkp-home .mkp-home-go { text-align: center; margin-top: 22px; }
.mkp-home a.mkp-home-btn { display: inline-block; width: auto; margin: 0; padding: 12px 22px; }
.mkp-home .mkp-home-trust { justify-content: center; }
.mkp-home .mkp-home-trust li { background: #f0f4fc; color: #4b5a78; }

/* the Terms checkbox at checkout (phase 5) */
.mkp-agree { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: #4b5a78; cursor: pointer; }
.mkp-agree input { flex: none; margin-top: 2px; }
/* subcategory chips on a category page (the old catalog import); one scrolling row on phones */
.mkp .mkp-subs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.mkp .mkp-sub { display: inline-block; padding: 7px 14px; border: 1px solid var(--mkp-line); border-radius: 999px; background: #fff; color: var(--mkp-ink); font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.mkp .mkp-sub:hover { border-color: var(--mkp-blue); color: var(--mkp-blue-d); }
.mkp .mkp-sub.on { background: var(--mkp-blue); border-color: var(--mkp-blue); color: #fff; }
@media (max-width: 640px) { .mkp .mkp-subs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; } }
