/* ==========================================================================
   Marketplace — listings, store page and the product card ("m2" facelift)
   --------------------------------------------------------------------------
   Loaded after marketplace-m2-ui.css, so equal selectors here win without
   !important. Covers:
     - the shared product card (every grid and rail: home, listings, store
       page, "More to love", similar items under a product);
     - listing pages: all products, deals, a category, search results;
     - a store's own page (/stores/<slug>).

   Type scale on phones: body 14px, card names 13px, section titles 16px,
   page titles 19–22px. Primary text is true black; greys stay legible.
   Colour comes from the admin theme (--m2-brand*, --m2-btn*), the store's
   own colours (--store-*, set by renderStorePage), soft tints on icons and
   chips, and red for discounts. No coloured top borders, no cream fills.

   Removing this file (and its <link> in marketplace.php) restores the
   previous look; the markup it styles degrades to the older m2 rules.
   ========================================================================== */


/* ==========================================================================
   Product card
   ========================================================================== */

body.m2 .m2-feed { padding: 0 10px 10px; }
body.m2 .m2-grid { gap: 10px; }

body.m2 .m2-card {
    border-radius: var(--m2-card-r, 14px);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 0 0 1px rgba(16, 24, 40, .045);
    transition: transform .18s ease, box-shadow .18s ease;
}
body.m2 .m2-card-img { background: #f5f6f8; }
body.m2 .m2-card-img img { transition: transform .35s ease, filter .2s ease; }
@media (hover: hover) {
    body.m2 .m2-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(16, 24, 40, .28), 0 0 0 1px rgba(16, 24, 40, .06); }
    body.m2 .m2-card:hover .m2-card-img img { transform: scale(1.035); }
    body.m2 .m2-card:hover .m2-card-name { color: #000; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 2px; }
}

/* discount and "top pick" flags */
body.m2 .m2-tag {
    z-index: 2;
    top: 8px; left: 8px;
    display: inline-flex; align-items: center; gap: 2px;
    padding: 3px 8px 3px 6px;
    border-radius: 999px;
    background: var(--m2-deal);
    color: #fff;
    font-size: 11px; font-weight: 800; line-height: 14px; letter-spacing: -.01em;
    box-shadow: 0 2px 6px rgba(225, 37, 27, .3);
}
body.m2 .m2-tag i { font-size: 9.5px; }
body.m2 .m2-tag.pick { background: #fff; color: #000; box-shadow: 0 1px 4px rgba(16, 24, 40, .16); }
body.m2 .m2-tag.pick i { color: var(--m2-gold); }
body.m2 .m2-tag + .m2-tag { top: 32px; }

body.m2 .m2-wish {
    z-index: 2;
    top: 8px; right: 8px;
    width: 32px; height: 32px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 1px 4px rgba(16, 24, 40, .16);
    color: #000;
    font-size: 14px;
}
body.m2 .m2-wish.wished { color: var(--m2-deal); }

/* low stock: a small flag; sold out / store on a break: the picture is veiled */
body.m2 .m2-card-state {
    z-index: 1;
    left: 8px; right: auto; bottom: 8px; top: auto;
    padding: 0;
    background: none;
    text-align: left;
    pointer-events: none;
}
body.m2 .m2-card-state span {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 9px 3px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: #c2410c;
    font-size: 11px; font-weight: 800; line-height: 14px;
    box-shadow: 0 1px 4px rgba(16, 24, 40, .14);
}
body.m2 .m2-card-state span i { font-size: 10px; }
body.m2 .m2-card-state.out {
    inset: 0;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .5);
}
body.m2 .m2-card-state.out span { padding: 5px 12px; background: rgba(17, 24, 39, .84); color: #fff; box-shadow: none; }
body.m2 .m2-card.is-out .m2-card-img img { filter: grayscale(.4); }

/* body: name, rating, price + add, store */
body.m2 .m2-card-body { padding: 10px 10px 11px; gap: 6px; }
body.m2 .m2-card-name {
    font-size: 13px;
    line-height: 1.38;
    font-weight: 500;
    letter-spacing: -.005em;
    color: #000;
    min-height: 2.76em;
}
body.m2 .m2-card-body .m2-meta,
body.m2 .m2-card-body .m2-card-store { padding-right: 0; }
body.m2 .m2-card .m2-meta { gap: 4px; min-height: 17px; font-size: 12px; color: #5c636e; }
body.m2 .m2-card .m2-meta .m2-star { font-size: 11px; }
body.m2 .m2-card .m2-meta b { color: #000; font-weight: 700; }
body.m2 .m2-card .m2-meta .m2-new {
    display: inline-flex; align-items: center;
    padding: 1px 7px; border-radius: 999px;
    background: var(--m2-brand-soft); color: var(--m2-brand);
    font-size: 10.5px; font-weight: 700; line-height: 15px;
}

/* price + add sit at the foot of every card, so they line up across a row;
   on sale, the old price and the saving sit just above */
body.m2 .m2-card-buy { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
body.m2 .m2-was-row + .m2-card-buy { margin-top: -3px; }
body.m2 .m2-card-prices { flex: 1; min-width: 0; }
body.m2 .m2-card .m2-price-row { display: block; }
body.m2 .m2-card .m2-price { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the old price and the saving share one line; the saving drops out of sight
   (it wraps onto a hidden second line) when a narrow card has no room */
body.m2 .m2-was-row {
    display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px;
    height: 16px; overflow: hidden; margin-top: auto;
}
body.m2 .m2-card .m2-was { font-size: 11.5px; line-height: 16px; color: #5c636e; }
body.m2 .m2-save { font-size: 11px; line-height: 16px; font-weight: 800; color: var(--m2-deal); white-space: nowrap; }

body.m2 .m2-card .m2-add {
    position: static;
    flex: none;
    width: 34px; height: 34px;
    background: var(--m2-brand-soft);
    color: var(--m2-brand);
    font-size: 15px;
    transition: background .15s, color .15s, transform .15s;
}
body.m2 .m2-card .m2-add:active { background: var(--m2-btn, var(--m2-brand)); color: var(--m2-btn-text, #fff); transform: scale(.94); }
@media (hover: hover) {
    body.m2 .m2-card .m2-add:not([disabled]):hover { background: var(--m2-btn, var(--m2-brand)); color: var(--m2-btn-text, #fff); }
}
body.m2 .m2-card .m2-add[disabled] { background: #f1f2f4; color: #a3a9b1; }

body.m2 .m2-card .m2-card-store { gap: 5px; font-size: 11.5px; color: #5c636e; }
body.m2 .m2-card .m2-card-store > .bi-shop { font-size: 11px; color: #8a9099; }

/* rails (home shelves, top picks) */
body.m2 .m2-card.rail { width: 150px; }
body.m2 .m2-card.rail .m2-card-body { padding: 8px 9px 10px; gap: 5px; }
body.m2 .m2-card.rail .m2-card-name { font-size: 12.5px; }
body.m2 .m2-card.rail .m2-price { font-size: 14.5px; }
body.m2 .m2-card.rail .m2-add { width: 30px; height: 30px; font-size: 13.5px; }
body.m2 .m2-card.rail .m2-tag { top: 6px; left: 6px; }
body.m2 .m2-card.rail .m2-wish { top: 6px; right: 6px; width: 30px; height: 30px; font-size: 13px; }

@media (max-width: 359px) {
    body.m2 .m2-feed { padding: 0 8px 8px; }
    body.m2 .m2-grid { gap: 8px; }
    body.m2 .m2-card-body { padding: 9px 8px 10px; }
    body.m2 .m2-card-name { font-size: 12.5px; }
    body.m2 .m2-card .m2-price { font-size: 14.5px; }
    body.m2 .m2-card .m2-add { width: 30px; height: 30px; font-size: 13.5px; }
    body.m2 .m2-tag { font-size: 10.5px; padding: 2px 7px 2px 5px; }
}
@media (min-width: 600px) {
    body.m2 .m2-feed { padding: 0 14px 14px; }
    body.m2 .m2-grid { gap: 14px; }
}
@media (min-width: 900px) {
    body.m2 .m2-grid { gap: 16px; }
    body.m2 .m2-card-body { padding: 12px 12px 13px; gap: 7px; }
    body.m2 .m2-card-name { font-size: 13.5px; }
    body.m2 .m2-card .m2-price { font-size: 17px; }
    body.m2 .m2-card.rail { width: 184px; }
}


/* ==========================================================================
   Listing pages: all products, deals, a category, search results
   ========================================================================== */

/* breadcrumbs (a category, large screens) */
body.m2 .m2-lcrumbs { display: none; }

/* page header */
body.m2 .m2-lhead {
    position: relative;
    overflow: hidden;
    padding: 16px var(--m2-pad) 14px;
    background: radial-gradient(130% 160% at 100% 0%, var(--m2-brand-soft) 0%, rgba(255, 255, 255, 0) 55%), #fff;
}
body.m2 .m2-lhead-main { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
body.m2 .m2-lhead .m2-lhead-ic {
    width: 44px; height: 44px; flex: none;
    border-radius: 14px;
    display: grid; place-items: center;
    background: var(--m2-brand-soft); color: var(--m2-brand);
    font-size: 20px;
}
body.m2 .m2-list-search .m2-lhead .m2-lhead-ic { background: var(--m2-blue-soft); color: var(--m2-blue); }
body.m2 .m2-lhead-tx { flex: 1; min-width: 0; }
body.m2 .m2-lhead h1 {
    display: block;
    margin: 0;
    font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2;
    color: #000;
    overflow-wrap: anywhere;
}
body.m2 .m2-lhead p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.4; color: #5c636e; }
body.m2 .m2-lhead p .m2-linkbtn { font-size: 12.5px; }
body.m2 .m2-lhead-more {
    flex: none;
    display: inline-flex; align-items: center; gap: 3px;
    padding: 7px 10px 7px 12px;
    border: 0; border-radius: 999px;
    background: var(--m2-brand-soft); color: var(--m2-brand);
    font-size: 12px; font-weight: 700;
    cursor: pointer; white-space: nowrap;
}
body.m2 .m2-lhead-more i { font-size: 10px; }

/* deals: a warm hero strip */
body.m2 .m2-lhead.deal {
    padding: 18px var(--m2-pad) 16px;
    background: linear-gradient(118deg, #c81e1e 0%, #e5341f 42%, #ff7a2f 100%);
    color: #fff;
}
body.m2 .m2-lhead.deal::before,
body.m2 .m2-lhead.deal::after {
    content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); pointer-events: none;
}
body.m2 .m2-lhead.deal::before { width: 190px; height: 190px; right: -50px; top: -80px; }
body.m2 .m2-lhead.deal::after { width: 110px; height: 110px; right: 70px; bottom: -70px; background: rgba(255, 255, 255, .08); }
body.m2 .m2-lhead.deal .m2-lhead-ic {
    width: 48px; height: 48px; border-radius: 16px; font-size: 22px;
    background: rgba(255, 255, 255, .18); color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
body.m2 .m2-lhead.deal h1 { color: #fff; font-size: 22px; }
body.m2 .m2-lhead.deal p { color: rgba(255, 255, 255, .92); opacity: 1; }
body.m2 .m2-lhead-perks { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
body.m2 .m2-lhead-perks span {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap;
}
body.m2 .m2-lhead-perks i { font-size: 11px; }

/* the admin's category banner, on the category's own page */
body.m2 .m2-cbanner.page { min-height: 150px; padding: 16px var(--m2-pad); }
body.m2 .m2-cbanner.page .m2-cbanner-txt b { font-size: 22px; letter-spacing: -.025em; }
body.m2 .m2-cbanner.page .m2-cbanner-txt small { margin-top: 4px; font-size: 13px; line-height: 1.4; max-width: 520px; }
body.m2 .m2-cbanner.page .m2-cbanner-badge { font-size: 11px; padding: 4px 10px; background: rgba(255, 255, 255, .22); backdrop-filter: blur(4px); }
body.m2 .m2-cbanner.page .m2-cbanner-btn { padding: 9px 14px; font-size: 12.5px; }

/* category chips: their own row, which scrolls away with the page */
body.m2 .m2-lcats {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    padding: 12px var(--m2-pad) 2px; background: #fff;
}
body.m2 .m2-lcats::-webkit-scrollbar { display: none; }

/* tool bar: sort, price, filters, quick toggles. It sticks under the header,
   so it is solid white and carries no categories: the header's tabs already
   list them, and a stuck row of the same names showed each one twice. */
body.m2 .m2-ltools {
    top: 101px;
    gap: 8px;
    padding: 10px var(--m2-pad);
    margin-bottom: 0;
    background: #fff;
    border-bottom: 0;
    box-shadow: 0 1px 0 #eef0f2, 0 8px 14px -14px rgba(16, 24, 40, .35);
}
/* "more this way" at the right edge: a white fade that stays put while the
   row scrolls (a mask would let the page show through the stuck bar) */
body.m2 .m2-ltools::after,
body.m2 .m2-lcats::after {
    content: ""; position: sticky; right: calc(-1 * var(--m2-pad)); flex: none; align-self: stretch;
    width: 32px; margin-left: -32px; margin-right: calc(-1 * var(--m2-pad)); pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 80%);
}
body.m2 .m2-tool {
    height: 34px;
    padding: 0 13px;
    gap: 6px;
    border: 1px solid #e3e6ea;
    font-size: 12.5px; font-weight: 600;
    transition: background .15s, border-color .15s, color .15s;
}
body.m2 .m2-tool i { font-size: 13px; }
body.m2 .m2-tool .m2-chev { font-size: 10px; color: #5c636e; margin-left: 1px; }
body.m2 .m2-tool.on .m2-chev { color: inherit; }
body.m2 .m2-tool.c-green i { color: var(--m2-brand); }
body.m2 .m2-tool.on i { color: inherit; }
body.m2 .m2-tool.cat { background: #f4f5f7; border-color: transparent; }
body.m2 .m2-tool.cat i { color: var(--m2-brand); }
body.m2 .m2-tool.cat.on { background: var(--m2-brand); border-color: var(--m2-brand); color: #fff; cursor: default; }
body.m2 .m2-tool.cat.on i { color: #fff; }
body.m2 .m2-tool-sep { height: 22px; }
@media (hover: hover) {
    body.m2 .m2-tool:not(.on):hover { border-color: #c9ced5; }
    body.m2 .m2-tool.cat:not(.on):hover { background: #eceef1; }
}

/* chosen filters and the result count */
body.m2 .m2-lactive { padding: 10px var(--m2-pad) 0; }
body.m2 .m2-lactive span { padding: 4px 6px 4px 11px; background: var(--m2-brand-soft); color: #000; font-size: 12px; }
body.m2 .m2-lactive span button { color: var(--m2-brand); }
body.m2 .m2-lcount {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    min-height: 16px;
    padding: 12px 4px 10px;
    font-size: 12.5px; color: #5c636e;
}
body.m2 .m2-lcount:empty { min-height: 0; padding: 6px 0 4px; }
body.m2 .m2-lcount b { color: #000; font-weight: 800; }
body.m2 .m2-lcount .m2-linkbtn { flex: none; padding: 0; font-size: 12.5px; }

/* empty states: say what happened and where to go next */
body.m2 .m2-empty-card {
    margin: 2px 0 8px;
    padding: 30px 18px 24px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
    font-size: 13px; line-height: 1.5; color: #5c636e;
}
body.m2 .m2-empty-card .m2-empty-ic {
    width: 64px; height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--m2-brand-soft); color: var(--m2-brand);
}
body.m2 .m2-empty-card .m2-empty-ic i { display: block; margin: 0; font-size: 26px; color: inherit; }
body.m2 .m2-empty-card .m2-empty-ic.deal { background: var(--m2-deal-soft); color: var(--m2-deal); }
body.m2 .m2-empty-card > b { font-size: 16px; line-height: 1.3; margin-bottom: 4px; }
body.m2 .m2-empty-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
body.m2 .m2-empty-acts .m2-b { min-height: 40px !important; padding: 0 16px !important; font-size: 13px !important; }
body.m2 .m2-empty-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
body.m2 .m2-empty-cats .m2-chip { font-size: 12px; padding: 7px 12px; }
/* .m2-empty sizes every icon inside it as the big one; not these */
body.m2 .m2-empty .m2-empty-cats i,
body.m2 .m2-empty .m2-empty-acts i { display: inline-block; margin: 0; font-size: 13px; color: inherit; }
body.m2 .m2-empty .m2-empty-cats .m2-chip i { color: var(--m2-brand); }

@media (min-width: 900px) {
    body.m2 .m2-lcrumbs {
        display: flex; align-items: center; gap: 7px; min-width: 0;
        padding: 16px 4px 12px;
        font-size: 12.5px; color: #5c636e;
    }
    body.m2 .m2-lcrumbs button { border: 0; background: none; padding: 0; font: inherit; color: #373d47; cursor: pointer; white-space: nowrap; }
    body.m2 .m2-lcrumbs button:hover { color: var(--m2-brand); text-decoration: underline; }
    body.m2 .m2-lcrumbs > i { font-size: 9px; color: #9aa1aa; }
    body.m2 .m2-lcrumbs span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #000; font-weight: 600; }

    body.m2 .m2-list > .m2-lhead:first-child,
    body.m2 .m2-list > .m2-cbanner:first-child { margin-top: 16px; }
    body.m2 .m2-lhead { border-radius: 22px; padding: 22px 24px; }
    body.m2 .m2-lhead .m2-lhead-ic { width: 52px; height: 52px; border-radius: 16px; font-size: 23px; }
    body.m2 .m2-lhead h1 { font-size: 24px; }
    body.m2 .m2-lhead p { font-size: 13.5px; }
    body.m2 .m2-lhead.deal { padding: 26px 28px 24px; }
    body.m2 .m2-lhead.deal .m2-lhead-ic { width: 58px; height: 58px; border-radius: 18px; font-size: 26px; }
    body.m2 .m2-lhead.deal h1 { font-size: 28px; }
    body.m2 .m2-lhead.deal::before { width: 320px; height: 320px; right: -60px; top: -150px; }
    body.m2 .m2-lhead.deal::after { width: 180px; height: 180px; right: 200px; bottom: -120px; }
    body.m2 .m2-lhead-perks { margin-top: 16px; gap: 8px; }
    body.m2 .m2-lhead-perks span { font-size: 12.5px; padding: 6px 12px; }
    body.m2 .m2-cbanner.page { min-height: 200px; padding: 26px 28px; border-radius: 22px; }
    body.m2 .m2-cbanner.page .m2-cbanner-txt b { font-size: 28px; }
    body.m2 .m2-cbanner.page .m2-cbanner-txt small { font-size: 14px; }

    /* wide screens: every category and tool in view (wrapping), no fade */
    body.m2 .m2-lcats { flex-wrap: wrap; overflow: visible; margin-top: 12px; padding: 12px 14px; border-radius: 16px; }
    body.m2 .m2-ltools {
        top: 113px; margin-top: 10px; padding: 10px 14px; border-radius: 16px;
        flex-wrap: wrap; overflow: visible;
    }
    body.m2 .m2-ltools::after,
    body.m2 .m2-lcats::after { display: none; }
    body.m2 .m2-lactive { padding: 12px 4px 0; }
    body.m2 .m2-list .m2-feed { padding: 0 0 16px; }
    body.m2 .m2-lcount { padding: 14px 2px 12px; font-size: 13px; }
    body.m2 .m2-empty-card { padding: 44px 24px 36px; }
}


/* ==========================================================================
   Store page (/stores/<slug>)
   --------------------------------------------------------------------------
   The store's own colours arrive as --store-theme / --store-accent /
   --store-ink / --store-soft on .m2-sp (renderStorePage).
   ========================================================================== */

body.m2 .m2-sp {
    --store-theme: #0e6b50; --store-accent: #12936c; --store-ink: #fff; --store-soft: #e7f4ef; --store-tint: #eef7f3; --store-deep: #0e6b50;
    background: #f3f4f6;
}

/* ---- stage: the cover on a wash of the store colour ------------------------
   The banner (or the Branding cover) is a rounded card; the identity card
   floats over its lower edge with the logo rising out of it. */
body.m2 .m2-sp .m2-shead { margin: 0 0 6px; background: transparent; }
body.m2 .m2-sp .m2-shead-stage {
    padding: 12px var(--m2-pad) 0;
    background: linear-gradient(180deg, var(--store-tint) 0%, var(--store-tint) 62%, rgba(243, 244, 246, 0) 100%);
}
body.m2 .m2-sp .m2-shead-banner {
    height: 172px;
    border-radius: 20px;
    box-shadow: 0 10px 26px -14px rgba(16, 24, 40, .45);
}
body.m2 .m2-sp .m2-shead-banner.m2-skel { box-shadow: none; }
body.m2 .m2-sp .m2-shead-banner::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .12)); pointer-events: none;
}
body.m2 .m2-shead-art { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 70px; line-height: 1; color: rgba(255, 255, 255, .2); pointer-events: none; }

/* ---- identity card ---------------------------------------------------------- */
body.m2 .m2-sp .m2-shead-body { padding: 0 var(--m2-pad); }
body.m2 .m2-sp .m2-shead-card {
    position: relative; z-index: 1;
    margin-top: -36px;
    padding: 0 14px 12px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px -18px rgba(16, 24, 40, .35), 0 1px 2px rgba(16, 24, 40, .06);
}
body.m2 .m2-sp .m2-shead-row {
    position: relative;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
    margin-top: 0;
}
body.m2 .m2-sp .m2-shead-logo {
    width: 74px; height: 74px;
    margin-top: -30px;
    flex: none;
    border-radius: 22px;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px -8px rgba(16, 24, 40, .4);
    background: var(--store-theme);
}
body.m2 .m2-sp .m2-shead-logo .m2-letter { font-size: 28px; color: var(--store-ink); }
body.m2 .m2-shead-tools { display: flex; align-items: center; gap: 8px; min-width: 0; padding-top: 12px; }

body.m2 .m2-sp-state {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px; font-weight: 700; white-space: nowrap;
}
body.m2 .m2-sp-state i { font-size: 8px; }
body.m2 .m2-sp-state.open { background: #e6f6ed; color: #05603a; }
body.m2 .m2-sp-state.open i { color: #12b76a; box-shadow: 0 0 0 3px rgba(18, 183, 106, .18); border-radius: 50%; }
body.m2 .m2-sp-state.break { background: #ffedd5; color: #9a3412; }
body.m2 .m2-sp-state.break i { font-size: 12px; color: #ea580c; }

body.m2 .m2-sp .m2-shead-share {
    position: static;
    display: inline-flex; align-items: center; gap: 6px;
    width: auto; height: 32px; padding: 0 12px;
    border: 1px solid #e3e6ea; border-radius: 999px;
    background: #fff; color: #000;
    font-size: 12.5px; font-weight: 700;
    box-shadow: none; backdrop-filter: none;
    cursor: pointer;
}
body.m2 .m2-sp .m2-shead-share i { font-size: 13px; color: var(--store-theme); }

body.m2 .m2-sp .m2-shead-id { min-width: 0; margin-top: 10px; padding: 0; }
body.m2 .m2-sp .m2-shead-id h1 {
    display: block;
    margin: 0;
    font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.22;
    color: #000;
    overflow-wrap: anywhere;
}
body.m2 .m2-sp .m2-shead-id h1 .mk-verified-store { display: inline-flex; vertical-align: -2px; margin-left: 6px; }
body.m2 .m2-shead-sub { display: flex; align-items: flex-start; gap: 5px; margin-top: 5px; font-size: 12.5px; line-height: 1.35; color: #373d47; }
body.m2 .m2-shead-sub i { flex: none; margin-top: 1px; font-size: 12px; color: var(--store-theme); }
body.m2 .m2-shead-sub span { min-width: 0; overflow-wrap: anywhere; }
body.m2 .m2-sp .m2-shead-desc {
    margin: 9px 0 0;
    font-size: 13px; line-height: 1.5; color: #373d47;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* the shop's Instagram / TikTok / Facebook (Growth Hub -> Social) */
body.m2 .m2-sp .m2-shead-social { display: flex; gap: 8px; margin-top: 10px; }
body.m2 .m2-sp .m2-shead-social a {
    width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: #f1f5f9; color: #000; font-size: 16px; text-decoration: none; border: 1px solid #e2e8f0;
}
body.m2 .m2-sp .m2-shead-social a:hover { background: #e2e8f0; }

/* stats: four tiles, each with an icon in the store colour */
body.m2 .m2-sp-stats {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px;
    margin-top: 12px;
    padding: 0;
    background: none;
}
body.m2 .m2-sp-stats .st {
    min-width: 0;
    padding: 9px 4px 8px;
    border-radius: 14px;
    background: var(--store-tint);
    text-align: center;
}
body.m2 .m2-sp-stats .st + .st::before { content: none; }
body.m2 .m2-sp-stats b {
    display: flex; align-items: center; justify-content: center; gap: 4px;
    font-size: 15px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: #000;
}
body.m2 .m2-sp-stats b i { font-size: 12px; color: var(--store-theme); }
body.m2 .m2-sp-stats b .bi-star-fill { color: var(--m2-star); }
body.m2 .m2-sp-stats small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 600; color: #4b5260; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Products / Store info: a two-way switch at the foot of the card (phones) */
body.m2 .m2-sp-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    margin-top: 12px; padding: 4px;
    border-radius: 14px;
    background: #f2f3f5;
}
body.m2 .m2-sp-tabs button {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 36px; padding: 0 10px;
    border: 0; border-radius: 10px;
    background: none;
    font-size: 13px; font-weight: 700; color: #4b5260;
    cursor: pointer;
}
body.m2 .m2-sp-tabs button.on { background: #fff; color: #000; font-weight: 800; box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }
body.m2 .m2-sp-tabs button.on::after { content: none; }
body.m2 .m2-sp-tabs button span { padding: 1px 7px; border-radius: 999px; background: var(--store-tint); font-size: 11px; font-weight: 800; color: var(--store-deep); }

/* on a break; coupons */
body.m2 .m2-sp .m2-vacation {
    display: flex; align-items: flex-start; gap: 11px;
    margin-top: 10px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #fdd8b5;
    color: #373d47;
    font-size: 12.5px; line-height: 1.45;
}
body.m2 .m2-sp .m2-vacation .ic { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; background: #ffedd5; color: #c2410c; font-size: 17px; }
body.m2 .m2-sp .m2-vacation .ic i { font-size: 17px; }
body.m2 .m2-sp .m2-vacation b { display: block; margin-bottom: 2px; font-size: 13.5px; color: #000; }
body.m2 .m2-sp-deals { margin-top: 12px; }
body.m2 .m2-sp-deals-h { display: flex; align-items: center; gap: 7px; margin: 0 2px 8px; font-size: 13.5px; font-weight: 800; color: #000; }
body.m2 .m2-sp-deals-h i { color: var(--store-theme); font-size: 15px; }
body.m2 .m2-sp .m2-coupons { margin: 0 calc(-1 * var(--m2-pad)); padding: 2px var(--m2-pad) 4px; scroll-padding-left: var(--m2-pad); }
body.m2 .m2-sp .m2-coupon { min-width: 150px; border-radius: 16px; padding: 10px 12px; background: #fff; }

/* ---- products --------------------------------------------------------------- */
body.m2 .m2-sp .m2-sp-main { padding: 4px var(--m2-pad) 12px; scroll-margin-top: 100px; }
body.m2 .m2-sp-title { display: none; }
body.m2 .m2-sp-tools { display: flex; gap: 8px; padding: 8px 0 2px; }
body.m2 .m2-sp-tools[hidden] { display: none; }
body.m2 .m2-sp-search {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 13px;
    border: 1px solid #e3e6ea; border-radius: 14px;
    background: #fff;
}
body.m2 .m2-sp-search:focus-within { border-color: var(--store-theme); box-shadow: 0 0 0 3px var(--store-soft); }
body.m2 .m2-sp-search i { font-size: 14px; color: #5c636e; }
/* typed text stays 16px on phones (m2-ui), so iOS does not zoom in */
body.m2 .m2-sp-search input {
    flex: 1; min-width: 0; height: 100%;
    border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important;
    padding: 0 !important;
    font-size: 14px; color: #000;
    -webkit-appearance: none; appearance: none;
}
body.m2 .m2-sp-search input::-webkit-search-cancel-button { display: none; }
/* sort opens the sort sheet; the chevron says so */
body.m2 .m2-sp-sort {
    flex: none;
    display: inline-flex; align-items: center; gap: 6px;
    max-width: 52%;
    height: 44px; padding: 0 12px;
    border: 1px solid #e3e6ea; border-radius: 14px;
    background: #fff; color: #000;
    font-size: 13px; font-weight: 600;
    cursor: pointer;
}
body.m2 .m2-sp-sort > .bi-arrow-down-up { flex: none; font-size: 13px; color: var(--store-theme); }
body.m2 .m2-sp-sort > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.m2 .m2-sp-sort .m2-chev { flex: none; font-size: 10.5px; color: #373d47; }
body.m2 .m2-sp-sort.on { border-color: var(--store-theme); background: var(--store-tint); color: var(--store-deep); }
body.m2 .m2-sp-sort.on > i { color: inherit; }

body.m2 .m2-sp .m2-store-cats { padding: 10px 2px 0; margin-bottom: 0; }
body.m2 .m2-sp .m2-chip { height: 34px; padding: 0 13px; font-size: 12.5px; font-weight: 700; background: #fff; }
body.m2 .m2-chip .n { margin-left: 3px; font-size: 11px; font-weight: 700; color: #5c636e; }
body.m2 .m2-sp .m2-chip.active { background: var(--store-theme); border-color: var(--store-theme); color: var(--store-ink); }
body.m2 .m2-sp .m2-chip.active .n { color: inherit; opacity: .8; }
body.m2 .m2-sp .m2-sp-count { padding: 12px 2px 8px; }

/* cards on the store's own page: every product is this store's, so "New
   arrival" on each one is noise; the add button wears the store colour */
body.m2 .m2-sp .m2-card { border-radius: 16px; background: #fff; }
body.m2 .m2-sp .m2-card .m2-meta:has(> .m2-new:only-child) { display: none; }
body.m2 .m2-sp .m2-card:not(.is-out) .m2-add { background: var(--store-theme); color: var(--store-ink); }
body.m2 .m2-sp .m2-card:not(.is-out) .m2-add:active { transform: scale(.94); }
@media (hover: hover) {
    body.m2 .m2-sp .m2-card .m2-add:not([disabled]):hover { background: var(--store-deep); color: #fff; }
}

/* ---- store info: about, policies, location ---------------------------------- */
body.m2 .m2-sp-info {
    margin: 6px var(--m2-pad) 20px;
    padding: 18px 16px 18px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 0 0 1px rgba(16, 24, 40, .04);
    scroll-margin-top: 100px;
}
body.m2 .m2-sp-block { scroll-margin-top: 100px; }
body.m2 .m2-sp-block + .m2-sp-block { margin-top: 20px; padding-top: 18px; border-top: 1px solid #f0f1f3; }
body.m2 .m2-sp-block > .m2-sec-title { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 15.5px; }
body.m2 .m2-sp-bic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--store-tint); color: var(--store-theme); font-size: 14px; }
body.m2 .m2-sp-about { margin: 0; font-size: 13.5px; line-height: 1.6; color: #1f2329; overflow-wrap: anywhere; }
body.m2 .m2-sp .m2-policy { border: 0; border-radius: 14px; background: #f6f7f9; margin-bottom: 8px; scroll-margin-top: 100px; }
body.m2 .m2-sp .m2-policy summary { gap: 11px; padding: 10px 12px; font-size: 13.5px; font-weight: 700; }
body.m2 .m2-sp .m2-policy summary .ic { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 14px; }
body.m2 .m2-sp .m2-policy summary .bi-chevron-down { font-size: 12px; color: #5c636e; }
body.m2 .m2-sp .m2-policy > div { padding: 0 14px 13px 55px; font-size: 13px; line-height: 1.55; color: #1f2329; overflow-wrap: anywhere; }
body.m2 .m2-sp-rows { display: flex; flex-direction: column; gap: 8px; }
body.m2 .m2-sp-row {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 0; border-radius: 14px;
    background: #f6f7f9;
    color: #000; text-align: left; text-decoration: none; font: inherit;
    cursor: pointer;
}
body.m2 div.m2-sp-row { cursor: default; }
body.m2 .m2-sp-row .ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 15px; }
body.m2 .m2-sp-row .tx { flex: 1; min-width: 0; }
body.m2 .m2-sp-row small { display: block; font-size: 11.5px; color: #5c636e; }
body.m2 .m2-sp-row b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.35; color: #000; overflow-wrap: anywhere; }
body.m2 .m2-sp-row .go { flex: none; font-size: 12px; color: #9aa1aa; }

@media (max-width: 359px) {
    body.m2 .m2-sp .m2-shead-logo { width: 64px; height: 64px; border-radius: 19px; }
    body.m2 .m2-sp .m2-shead-share span { display: none; }
    body.m2 .m2-sp .m2-shead-share { width: 32px; padding: 0; justify-content: center; }
    body.m2 .m2-sp-state { font-size: 11.5px; padding: 5px 9px; }
    body.m2 .m2-sp-stats b { font-size: 13.5px; }
    body.m2 .m2-sp-sort { padding: 0 9px; font-size: 12.5px; }
}

@media (min-width: 900px) {
    body.m2 .m2-sp { padding: 18px 20px 28px; background: transparent; }
    body.m2 .m2-sp .m2-shead { margin-bottom: 20px; border-radius: 0; overflow: visible; box-shadow: none; }
    body.m2 .m2-sp .m2-shead-stage { padding: 0; background: none; }
    body.m2 .m2-sp .m2-shead-banner { height: 300px; border-radius: 26px; }
    body.m2 .m2-shead-art { font-size: 120px; right: 60px; }
    body.m2 .m2-sp .m2-shead-body { padding: 0 26px; }
    body.m2 .m2-sp .m2-shead-card { margin-top: -58px; padding: 0 28px 22px; border-radius: 24px; }
    body.m2 .m2-sp .m2-shead-logo { width: 116px; height: 116px; margin-top: -46px; border-radius: 32px; border-width: 5px; }
    body.m2 .m2-sp .m2-shead-logo .m2-letter { font-size: 42px; }
    body.m2 .m2-shead-tools { padding-top: 16px; gap: 10px; }
    body.m2 .m2-sp-state { font-size: 12.5px; padding: 7px 13px; }
    body.m2 .m2-sp .m2-shead-share { height: 36px; padding: 0 15px; font-size: 13px; }
    body.m2 .m2-sp .m2-shead-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
    body.m2 .m2-sp .m2-shead-id { flex: 1; margin-top: 14px; }
    body.m2 .m2-sp .m2-shead-id h1 { font-size: 28px; }
    body.m2 .m2-shead-sub { font-size: 14px; margin-top: 6px; }
    body.m2 .m2-sp .m2-shead-desc { max-width: 720px; font-size: 14px; }
    body.m2 .m2-sp-stats { flex: none; width: 460px; margin-top: 0; gap: 8px; }
    body.m2 .m2-sp-stats .st { padding: 12px 6px 11px; border-radius: 16px; }
    body.m2 .m2-sp-stats b { font-size: 18px; }
    body.m2 .m2-sp-stats b i { font-size: 14px; }
    body.m2 .m2-sp-stats small { font-size: 12px; }
    body.m2 .m2-sp-tabs { display: none; }
    body.m2 .m2-sp .m2-vacation, body.m2 .m2-sp-deals { margin-top: 14px; }
    body.m2 .m2-sp .m2-coupons { margin: 0; padding: 2px 0 4px; }
    /* the card covers the cover's lower edge: lift its selling points clear */
    body.m2 .m2-sp .m2-shead-banner .m2-cover-pts { bottom: 74px; left: 250px; max-width: calc(100% - 610px); }

    body.m2 .m2-sp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; padding: 0 26px; }
    body.m2 .m2-sp .m2-sp-main { padding: 0; }
    body.m2 .m2-sp-title { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 12px; }
    body.m2 .m2-sp-title h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #000; }
    body.m2 .m2-sp-main .m2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    body.m2 .m2-sp-tools { padding: 0; }
    body.m2 .m2-sp-info { position: sticky; top: 130px; margin: 0; padding: 22px 22px 22px; border-radius: 24px; }
    body.m2 .m2-sp-main, body.m2 .m2-sp-info, body.m2 .m2-sp-block, body.m2 .m2-sp .m2-policy { scroll-margin-top: 130px; }
}
@media (min-width: 1180px) {
    body.m2 .m2-sp-main .m2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   Services — their own page (/stores/services), a single way in from home,
   and a "Service" tag where search results mix them with products.
   Indigo to violet, so services never read as the green shop or red deals.
   ========================================================================== */

body.m2 { --m2-svc: #4f46e5; --m2-svc-2: #7c3aed; --m2-svc-soft: #eef0ff; }

/* home: the one card that opens Services */
body.m2 .m2-svcband {
    display: flex; align-items: center; gap: 12px;
    width: calc(100% - 2 * var(--m2-pad)); margin: 0 var(--m2-pad) 8px; padding: 12px;
    border: 0; border-radius: 16px; cursor: pointer; text-align: left; font: inherit;
    background: linear-gradient(120deg, #312e81 0%, var(--m2-svc) 55%, var(--m2-svc-2) 100%);
    color: #fff; position: relative; overflow: hidden;
    box-shadow: 0 6px 18px -10px rgba(79, 70, 229, .7);
}
body.m2 .m2-svcband::after {
    content: ""; position: absolute; right: -40px; top: -60px; width: 160px; height: 160px;
    border-radius: 50%; background: rgba(255, 255, 255, .09); pointer-events: none;
}
body.m2 .m2-svcband-ic {
    flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
    background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); font-size: 20px;
}
body.m2 .m2-svcband-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; }
body.m2 .m2-svcband-tx b { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; }
body.m2 .m2-svcband-tx small { font-size: 12px; opacity: .92; line-height: 1.35; }
body.m2 .m2-svcband-go {
    flex: none; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--m2-svc);
    font-size: 12.5px; font-weight: 800; white-space: nowrap;
}
@media (max-width: 359px) {
    body.m2 .m2-svcband-go { padding: 8px 10px; font-size: 0; }
    body.m2 .m2-svcband-go i { font-size: 13px; }
}

/* marks and links elsewhere */
body.m2 .m2-tag.svc { background: var(--m2-svc); color: #fff; }
body.m2 .m2-tab.svc { color: var(--m2-svc); font-weight: 800; }
body.m2 .m2-tab.svc.active::after { background: var(--m2-svc); }
body.m2 .m2-srch-chip.svc { background: var(--m2-svc-soft); color: var(--m2-svc); }
body.m2 .m2-srch-chip.svc i { color: var(--m2-svc); }
body.m2 .m2-tool.svc { background: var(--m2-svc-soft); border-color: transparent; color: var(--m2-svc); font-weight: 700; }
body.m2 .m2-tool.svc i { color: var(--m2-svc); }

/* the page (.m2-sv) ------------------------------------------------------
   Hero with the page's own search, "Browse by type" tiles, a bar that sticks
   under the header (count, provider, sort, search), the service cards, the
   providers, how booking works, and a call to businesses. A list row per
   service on phones; picture-first cards in a grid from 640px. */

/* On phones the header's search row steps aside here: the page has its own. */
@media (max-width: 899px) {
    body.m2.m2-sv-page .m2-header-row { display: none; }
}
body.m2 .m2-sv .m2-lcrumbs { display: none; }

/* hero */
body.m2 .m2-sv-hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 18px var(--m2-pad);
    color: #fff;
    background:
        radial-gradient(90% 120% at 100% 0%, rgba(167, 139, 250, .55) 0%, rgba(167, 139, 250, 0) 60%),
        radial-gradient(70% 90% at 0% 100%, rgba(56, 189, 248, .2) 0%, rgba(56, 189, 248, 0) 60%),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 70%, #6d28d9 100%);
}
body.m2 .m2-sv-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.3px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(115deg, transparent 25%, #000 80%);
    mask-image: linear-gradient(115deg, transparent 25%, #000 80%);
}
body.m2 .m2-sv-hero-main { position: relative; min-width: 0; }
body.m2 .m2-sv-kicker {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px 5px 9px; border-radius: 999px;
    background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
    font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
}
body.m2 .m2-sv-kicker i { font-size: 12.5px; color: #c7d2fe; }
body.m2 .m2-sv-hero h1 { margin: 10px 0 4px; font-size: 23px; font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: #fff; }
body.m2 .m2-sv-hero p { margin: 0; max-width: 560px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .88); }

body.m2 .m2-sv-search {
    display: flex; align-items: center; gap: 8px;
    height: 48px; margin-top: 14px; padding: 0 6px 0 14px;
    border-radius: 14px; background: #fff;
    box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .55), 0 0 0 4px rgba(255, 255, 255, .12);
    transition: box-shadow .15s;
}
body.m2 .m2-sv-search:focus-within { box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .55), 0 0 0 4px rgba(199, 210, 254, .6); }
body.m2 .m2-sv-search > i { flex: none; font-size: 15px; color: #4f46e5; }
body.mp2.m2 .m2-sv-search input {
    flex: 1; min-width: 0; height: 100% !important; margin: 0 !important; padding: 0 !important;
    border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important;
    font: inherit; font-size: 14.5px !important; color: #000 !important;
}
body.m2 .m2-sv-search input::placeholder { color: #6b7280; opacity: 1; }
body.m2 .m2-sv-search input::-webkit-search-cancel-button { display: none; }
body.m2 .m2-sv-search .clr {
    flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; background: #f1f2f4; color: #373d47; font-size: 11px;
}
body.m2 .m2-sv-search .clr[hidden] { display: none; }
body.m2 .m2-sv-search .go { display: none; }

body.m2 .m2-sv-trust { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; padding: 0; list-style: none; }
body.m2 .m2-sv-trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, .92); white-space: nowrap; }
body.m2 .m2-sv-trust i { font-size: 12px; color: #a5b4fc; }
@media (max-width: 419px) { body.m2 .m2-sv-trust li:nth-child(3) { display: none; } }

/* icons beside the words, large screens only */
body.m2 .m2-sv-art { display: none; }

/* section headings */
body.m2 .m2-sv-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding: 0 var(--m2-pad); }
body.m2 .m2-sv-head h2 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: #000; }
body.m2 .m2-sv-head small { font-size: 12px; font-weight: 600; color: #5c636e; }

/* browse by type */
body.m2 .m2-sv-types { padding: 16px 0 4px; background: #fff; }
body.m2 .m2-sv-types[hidden] { display: none; }
body.m2 .m2-sv-tiles {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    padding: 2px var(--m2-pad) 12px; scroll-padding-left: var(--m2-pad); scroll-snap-type: x proximity;
}
body.m2 .m2-sv-tiles::-webkit-scrollbar { display: none; }
body.m2 .m2-sv-tile {
    flex: none; width: 108px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    padding: 12px 10px 11px; border: 1px solid #e8eaee; border-radius: 16px; background: #fff;
    font: inherit; text-align: left; color: #000; cursor: pointer; scroll-snap-align: start;
    transition: border-color .15s, background-color .15s, box-shadow .15s, transform .15s;
}
body.m2 .m2-sv-tile .ic {
    width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
    background: color-mix(in srgb, var(--tc) 13%, #fff); color: var(--tc); font-size: 19px;
    transition: background-color .15s, color .15s;
}
body.m2 .m2-sv-tile .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
body.m2 .m2-sv-tile b { font-size: 12.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.m2 .m2-sv-tile small { font-size: 11.5px; font-weight: 600; color: #5c636e; }
body.m2 .m2-sv-tile.on { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 7%, #fff); box-shadow: inset 0 0 0 1px var(--tc); }
body.m2 .m2-sv-tile.on .ic { background: var(--tc); color: #fff; }
body.m2 .m2-sv-tile.on small { color: color-mix(in srgb, var(--tc) 75%, #000); }
body.m2 .m2-sv-tile.none { opacity: .45; }
body.m2 .m2-sv-tile:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
@media (hover: hover) {
    body.m2 .m2-sv-tile:not(.on):hover { border-color: color-mix(in srgb, var(--tc) 45%, #e8eaee); transform: translateY(-1px); }
}
body.m2 .m2-sv-tile-skel { flex: none; width: 108px; height: 112px; border-radius: 16px; }

/* the bar: count, provider, sort, search; it sticks under the header */
body.m2 .m2-sv-anchor { height: 0; }
body.m2 .m2-sv-bar {
    position: sticky; top: var(--m2-sv-top, 0px); z-index: 40;
    display: flex; align-items: center; gap: 6px;
    min-height: 52px; padding: 8px var(--m2-pad);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 1px 0 #eef0f2, 0 10px 16px -16px rgba(16, 24, 40, .4);
    -webkit-backdrop-filter: saturate(1.4) blur(6px); backdrop-filter: saturate(1.4) blur(6px);
}
body.m2 .m2-sv-count { flex: 1; min-width: 0; font-size: 13px; color: #475569; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.m2 .m2-sv-count b { color: #000; font-weight: 800; }
body.m2 .m2-sv-tool {
    flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
    border: 1px solid #e3e6ea; border-radius: 999px; background: #fff; cursor: pointer;
    font: inherit; font-size: 12.5px; font-weight: 700; color: #000; white-space: nowrap;
    transition: border-color .15s, background-color .15s, color .15s;
}
body.m2 .m2-sv-tool[hidden] { display: none; }
body.m2 .m2-sv-tool i { font-size: 13px; color: #4f46e5; }
body.m2 .m2-sv-tool i.bi-chevron-down { font-size: 10px; color: #5c636e; }
body.m2 .m2-sv-tool.icon { width: 36px; padding: 0; justify-content: center; }
body.m2 .m2-sv-tool.on { border-color: #4f46e5; background: #eef0ff; color: #3730a3; }
body.m2 .m2-sv-tool.on i.bi-chevron-down { color: #3730a3; }
body.m2 .m2-sv-tool:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px; }
@media (hover: hover) { body.m2 .m2-sv-tool:not(.on):hover { border-color: #c9ced5; } }

/* chosen filters */
body.m2 .m2-sv-active { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px var(--m2-pad) 0; }
body.m2 .m2-sv-active[hidden] { display: none; }
body.m2 .m2-sv-chip {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
    padding: 4px 4px 4px 11px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #e3e6ea;
    font-size: 12px; font-weight: 700; color: #000;
}
body.m2 .m2-sv-chip i { font-size: 12px; color: #4f46e5; }
body.m2 .m2-sv-chip button { flex: none; width: 22px; height: 22px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #f1f2f4; color: #373d47; cursor: pointer; }
body.m2 .m2-sv-chip button i { font-size: 14px; color: inherit; }
body.m2 .m2-sv-clearall { border: 0; background: none; padding: 4px 6px; font: inherit; font-size: 12.5px; font-weight: 700; color: #4338ca; cursor: pointer; }

/* the list */
body.m2 .m2-sv-list { padding: 10px var(--m2-pad) 6px; }
body.m2 .m2-sv-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
body.m2 .m2-sv-card-skel { height: 150px; border-radius: 18px; }

/* a service card */
body.m2 .m2-sv-card {
    position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px;
    padding: 10px; border-radius: 18px; background: #fff; color: #000; text-decoration: none;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 0 0 1px rgba(16, 24, 40, .06);
    transition: box-shadow .18s, transform .18s;
    -webkit-tap-highlight-color: transparent;
}
body.m2 .m2-sv-card:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px; }
body.m2 .m2-sv-card:active { transform: scale(.992); }
@media (hover: hover) {
    body.m2 .m2-sv-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(30, 27, 75, .45), 0 0 0 1px rgba(79, 70, 229, .2); }
    body.m2 .m2-sv-card:hover .m2-sv-book { background: #4f46e5; color: #fff; }
    body.m2 .m2-sv-card:hover .m2-sv-cover img { transform: scale(1.03); }
}
body.m2 .m2-sv-cover {
    position: relative; display: block; overflow: hidden; align-self: start;
    width: 100%; aspect-ratio: 1; border-radius: 14px;
    background: color-mix(in srgb, var(--tc) 12%, #fff);
}
body.m2 .m2-sv-cover .fill {
    position: absolute; inset: -16px; background-size: cover; background-position: center;
    filter: blur(16px) saturate(1.15); opacity: .85;
}
body.m2 .m2-sv-cover img {
    position: relative; display: block; width: 100%; height: 100%; object-fit: contain;
    transition: transform .3s ease;
}
body.m2 .m2-sv-cover .art {
    position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 34px;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, .25), rgba(255, 255, 255, 0) 50%),
        linear-gradient(140deg, color-mix(in srgb, var(--tc) 70%, #1e1b4b) 0%, var(--tc) 100%);
}
body.m2 .m2-sv-flag {
    position: absolute; top: 6px; left: 6px; z-index: 1;
    display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px;
    font-size: 10.5px; font-weight: 800; line-height: 1.2;
}
body.m2 .m2-sv-flag.deal { background: var(--m2-deal); color: #fff; }
body.m2 .m2-sv-flag.pick { background: #fff; color: #000; box-shadow: 0 1px 4px rgba(16, 24, 40, .18); }
body.m2 .m2-sv-flag.pick i { color: var(--m2-gold); }
body.m2 .m2-sv-veil {
    position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 8px;
    background: rgba(255, 255, 255, .74); text-align: center;
    font-size: 11px; font-weight: 800; color: #000;
}
body.m2 .m2-sv-card.off .m2-sv-cover img { filter: grayscale(.7); }

body.m2 .m2-sv-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body.m2 .m2-sv-topic {
    display: inline-flex; align-items: center; gap: 5px; min-width: 0;
    font-size: 11px; font-weight: 800; letter-spacing: .01em;
    color: color-mix(in srgb, var(--tc) 78%, #000);
}
body.m2 .m2-sv-topic i { font-size: 11.5px; }
body.m2 .m2-sv-name {
    font-size: 14.5px; font-weight: 700; line-height: 1.3; color: #000; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.m2 .m2-sv-desc {
    font-size: 12.5px; line-height: 1.4; color: #475569; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.m2 .m2-sv-by { display: flex; align-items: center; gap: 6px; min-width: 0; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: #475569; }
body.m2 .m2-sv-by .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.m2 .m2-sv-logo { flex: none; border-radius: 50%; object-fit: cover; background: #f1f2f4; }
body.m2 .m2-sv-logo.sm { width: 18px; height: 18px; }
body.m2 .m2-sv-logo.md { width: 30px; height: 30px; }
body.m2 .m2-sv-logo.lg { width: 52px; height: 52px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(16, 24, 40, .08); }
body.m2 .m2-sv-logo.lt { display: grid; place-items: center; color: #fff; font-weight: 800; }
body.m2 .m2-sv-logo.sm.lt { font-size: 9.5px; }
body.m2 .m2-sv-logo.md.lt { font-size: 12.5px; }
body.m2 .m2-sv-logo.lg.lt { font-size: 21px; }
body.m2 .m2-sv-logo.all { background: #eef0ff; color: #4f46e5; font-size: 13px; }

body.m2 .m2-sv-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
body.m2 .m2-sv-price { display: flex; flex-direction: column; min-width: 0; }
body.m2 .m2-sv-price .now { font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: #000; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.m2 .m2-sv-price .now.sale { color: var(--m2-deal); }
body.m2 .m2-sv-price s { font-size: 11.5px; color: #5c636e; }
body.m2 .m2-sv-rate { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; color: #475569; }
body.m2 .m2-sv-rate i { font-size: 11px; color: var(--m2-star); }
body.m2 .m2-sv-rate b { color: #000; }
body.m2 .m2-sv-book {
    flex: none; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 14px;
    border-radius: 999px; background: #eef0ff; color: #3730a3;
    font-size: 13px; font-weight: 800; transition: background-color .15s, color .15s;
}
body.m2 .m2-sv-card.off .m2-sv-book { background: #f1f2f4; color: #373d47; }

/* more, and empty states */
body.m2 .m2-sv-more { display: flex; justify-content: center; }
body.m2 .m2-sv-more:empty { display: none; }
body.m2 .m2-sv-morebtn {
    display: inline-flex; align-items: center; gap: 8px; height: 42px; margin: 14px 0 4px; padding: 0 18px;
    border: 1px solid #d9dce1; border-radius: 999px; background: #fff; cursor: pointer;
    font: inherit; font-size: 13px; font-weight: 800; color: #000;
}
body.m2 .m2-sv-morebtn span { font-weight: 600; color: #5c636e; }
body.m2 .m2-sv-empty {
    grid-column: 1 / -1; padding: 30px 18px 24px; border-radius: 18px; background: #fff; text-align: center;
    box-shadow: 0 0 0 1px rgba(16, 24, 40, .06);
}
body.m2 .m2-sv-empty .ic { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #eef0ff; color: #4f46e5; font-size: 25px; }
body.m2 .m2-sv-empty b { display: block; font-size: 16px; font-weight: 800; color: #000; }
body.m2 .m2-sv-empty p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #475569; }
body.m2 .m2-sv-empty .acts { display: flex; justify-content: center; margin-top: 14px; }
body.m2 .m2-sv-empty .acts .m2-b { min-height: 40px !important; padding: 0 18px !important; font-size: 13px !important; }
body.m2 .m2-sv-empty .acts .m2-b.primary { background: #4f46e5 !important; border-color: #4f46e5 !important; color: #fff !important; }
body.m2 .m2-sv-tries { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
body.m2 .m2-sv-try {
    display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer;
    background: color-mix(in srgb, var(--tc) 10%, #fff); color: color-mix(in srgb, var(--tc) 80%, #000);
    font: inherit; font-size: 12.5px; font-weight: 700;
}

/* providers */
body.m2 .m2-sv-provs { margin-top: 14px; padding: 16px 0 12px; background: #fff; }
body.m2 .m2-sv-provs[hidden] { display: none; }
body.m2 .m2-sv-prow {
    display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
    padding: 2px var(--m2-pad) 6px; scroll-padding-left: var(--m2-pad); scroll-snap-type: x proximity;
}
body.m2 .m2-sv-prow::-webkit-scrollbar { display: none; }
body.m2 .m2-sv-pcard {
    flex: none; width: 268px; display: flex; flex-direction: column; gap: 12px; padding: 14px;
    border-radius: 18px; background: linear-gradient(180deg, #f6f6ff 0%, #fff 62%); box-shadow: 0 0 0 1px #e6e8f5;
    scroll-snap-align: start;
}
body.m2 .m2-sv-prow > .m2-sv-pcard:only-child { width: 100%; }
body.m2 .m2-sv-ptop { display: flex; align-items: center; gap: 12px; min-width: 0; }
body.m2 .m2-sv-pname { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body.m2 .m2-sv-pname b { font-size: 14.5px; font-weight: 800; line-height: 1.25; color: #000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.m2 .m2-sv-pname small { font-size: 12px; font-weight: 600; color: #475569; }
body.m2 .m2-sv-ptags { display: flex; flex-wrap: wrap; gap: 6px; }
body.m2 .m2-sv-ptags span {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px;
    background: color-mix(in srgb, var(--tc) 10%, #fff); color: color-mix(in srgb, var(--tc) 80%, #000);
    font-size: 11.5px; font-weight: 700;
}
body.m2 .m2-sv-pacts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
body.m2 .m2-sv-pbtn {
    display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 10px;
    border: 1px solid #d9dce1; border-radius: 999px; background: #fff; cursor: pointer; text-decoration: none;
    font: inherit; font-size: 12.5px; font-weight: 800; color: #000; white-space: nowrap;
}
body.m2 .m2-sv-pbtn.main { border-color: #4f46e5; background: #4f46e5; color: #fff; }
@media (hover: hover) {
    body.m2 .m2-sv-pbtn:not(.main):hover { border-color: #aeb4bd; }
    body.m2 .m2-sv-pbtn.main:hover { background: #4338ca; border-color: #4338ca; }
}

/* how booking works */
body.m2 .m2-sv-how { margin-top: 8px; padding: 16px 0 16px; background: #fff; }
body.m2 .m2-sv-how ol { list-style: none; margin: 0; padding: 0 var(--m2-pad); display: grid; gap: 14px; }
body.m2 .m2-sv-how li { position: relative; display: flex; gap: 12px; align-items: flex-start; }
body.m2 .m2-sv-how li:not(:last-child)::after {
    content: ""; position: absolute; left: 19px; top: 44px; bottom: -12px; width: 2px;
    background: repeating-linear-gradient(180deg, #c7d2fe 0 4px, transparent 4px 8px);
}
body.m2 .m2-sv-how .ic { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: #eef0ff; color: #4f46e5; font-size: 17px; }
body.m2 .m2-sv-how .tx { min-width: 0; padding-top: 2px; }
body.m2 .m2-sv-how b { display: block; font-size: 14px; font-weight: 800; color: #000; }
body.m2 .m2-sv-how small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: #475569; }

/* for businesses */
body.m2 .m2-sv-cta {
    position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px;
    margin: 8px var(--m2-pad) 16px; padding: 18px 16px; border-radius: 20px; color: #fff;
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(167, 139, 250, .5), rgba(167, 139, 250, 0) 60%),
        linear-gradient(135deg, #1e1b4b 0%, #3730a3 100%);
}
body.m2 .m2-sv-cta-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); font-size: 20px; }
body.m2 .m2-sv-cta-tx { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
body.m2 .m2-sv-cta-tx small { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #c7d2fe; }
body.m2 .m2-sv-cta-tx b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
body.m2 .m2-sv-cta-tx span { font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
body.m2 .m2-sv-cta-btn {
    flex: none; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px;
    border: 0; border-radius: 999px; background: #fff; color: #312e81; cursor: pointer;
    font: inherit; font-size: 13.5px; font-weight: 800;
}

/* the sheets (provider, sort) */
body.m2 .m2-sv-sheet .m2-opt { min-height: 54px; gap: 10px; }
body.m2 .m2-sv-sheet .m2-opt.on { color: #3730a3; }
body.m2 .m2-sv-sheet .m2-opt > i { color: #4f46e5; }
body.m2 .m2-sv-optl { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
body.m2 .m2-sv-optl .nm { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the sheet hides every icon in a row that is not chosen; not these */
body.m2 .m2-sv-sheet .m2-sv-optl i { visibility: visible; }
body.m2 .m2-sv-sheet .m2-sv-logo.all i { color: #4f46e5; }
body.m2 .m2-sv-optl em { flex: none; margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; color: #5c636e; background: #f1f2f4; border-radius: 999px; padding: 1px 8px; }

@media (max-width: 359px) {
    body.m2 .m2-sv-card { grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
    body.m2 .m2-sv-desc { display: none; }
    body.m2 .m2-sv-tool:not(.icon) span { display: none; }
    body.m2 .m2-sv-tool { padding: 0 10px; }
}

@media (min-width: 640px) {
    body.m2 .m2-sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    body.m2 .m2-sv-card { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 10px 10px 12px; }
    body.m2 .m2-sv-cover { aspect-ratio: 16 / 10; }
    body.m2 .m2-sv-body { padding: 0 4px; }
    body.m2 .m2-sv-name { font-size: 15px; }
    body.m2 .m2-sv-how ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    body.m2 .m2-sv-how li { flex-direction: column; }
    body.m2 .m2-sv-how li:not(:last-child)::after {
        left: 52px; right: -10px; top: 19px; bottom: auto; width: auto; height: 2px;
        background: repeating-linear-gradient(90deg, #c7d2fe 0 4px, transparent 4px 8px);
    }
}

@media (min-width: 900px) {
    body.m2 .m2-svcband { width: 100%; margin: 0 0 8px; padding: 16px 18px; border-radius: 14px; }
    body.m2 .m2-svcband-tx b { font-size: 17px; }
    body.m2 .m2-svcband-tx small { font-size: 13px; }

    body.m2 .m2-sv .m2-lcrumbs { display: flex; }
    body.m2 .m2-sv-hero {
        display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: 24px;
        min-height: 300px; padding: 34px 40px; border-radius: 24px;
    }
    body.m2 .m2-sv-hero h1 { margin-top: 14px; font-size: 34px; }
    body.m2 .m2-sv-hero p { font-size: 15px; }
    body.m2 .m2-sv-search { height: 56px; max-width: 580px; margin-top: 20px; padding-right: 7px; border-radius: 16px; }
    body.m2 .m2-sv-search .go {
        flex: none; display: inline-flex; align-items: center; height: 42px; padding: 0 20px;
        border: 0; border-radius: 12px; background: #4f46e5; color: #fff; cursor: pointer;
        font: inherit; font-size: 14px; font-weight: 800;
    }
    body.m2 .m2-sv-trust { gap: 8px 20px; margin-top: 16px; }
    body.m2 .m2-sv-trust li { font-size: 12.5px; }

    body.m2 .m2-sv-art { display: block; position: relative; height: 240px; }
    body.m2 .m2-sv-art .ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
    body.m2 .m2-sv-art .r1 { width: 236px; height: 236px; border: 1.5px dashed rgba(199, 210, 254, .4); }
    body.m2 .m2-sv-art .r2 { width: 150px; height: 150px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
    body.m2 .m2-sv-art .b {
        position: absolute; display: grid; place-items: center; border-radius: 50%;
        background: #fff; color: var(--tc); box-shadow: 0 14px 30px -12px rgba(15, 23, 42, .6);
    }
    body.m2 .m2-sv-art .b0 { width: 92px; height: 92px; left: calc(50% - 46px); top: calc(50% - 46px); font-size: 38px; }
    body.m2 .m2-sv-art .b1 { width: 60px; height: 60px; left: calc(50% - 150px); top: 16%; font-size: 24px; }
    body.m2 .m2-sv-art .b2 { width: 56px; height: 56px; left: calc(50% + 88px); top: 4%; font-size: 22px; }
    body.m2 .m2-sv-art .b3 { width: 52px; height: 52px; left: calc(50% + 100px); top: 66%; font-size: 21px; }
    body.m2 .m2-sv-art .b4 { width: 46px; height: 46px; left: calc(50% - 128px); top: 72%; font-size: 19px; }
    @media (prefers-reduced-motion: no-preference) {
        body.m2 .m2-sv-art .b { animation: m2SvFloat 6s ease-in-out infinite; }
        body.m2 .m2-sv-art .b1 { animation-delay: -1.2s; }
        body.m2 .m2-sv-art .b2 { animation-delay: -2.4s; }
        body.m2 .m2-sv-art .b3 { animation-delay: -3.6s; }
        body.m2 .m2-sv-art .b4 { animation-delay: -4.8s; }
    }

    body.m2 .m2-sv-types { margin-top: 12px; padding: 18px 0 8px; border-radius: 20px; }
    body.m2 .m2-sv-head { padding: 0 20px; }
    body.m2 .m2-sv-tiles { flex-wrap: wrap; overflow: visible; padding: 2px 20px 12px; }
    body.m2 .m2-sv-tile { flex: 1 1 150px; width: auto; max-width: 240px; flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; }
    body.m2 .m2-sv-tile .ic { flex: none; width: 42px; height: 42px; }
    body.m2 .m2-sv-bar { margin-top: 12px; padding: 10px 14px; border-radius: 16px; box-shadow: 0 0 0 1px #eef0f2, 0 12px 20px -20px rgba(16, 24, 40, .5); }
    body.m2 .m2-sv-active { padding: 12px 2px 0; }
    body.m2 .m2-sv-list { padding: 14px 0 8px; }
    body.m2 .m2-sv-provs { margin-top: 16px; padding: 20px 0 14px; border-radius: 20px; }
    body.m2 .m2-sv-prow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; overflow: visible; padding: 2px 20px 8px; }
    body.m2 .m2-sv-pcard { width: auto; }
    body.m2 .m2-sv-how { margin-top: 16px; padding: 20px 0 22px; border-radius: 20px; }
    body.m2 .m2-sv-how ol { padding: 0 20px; }
    body.m2 .m2-sv-cta { margin: 16px 0 8px; padding: 24px 28px; border-radius: 22px; }
    body.m2 .m2-sv-cta-tx b { font-size: 20px; }
}

@media (min-width: 1100px) {
    body.m2 .m2-sv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

@keyframes m2SvFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}

/* ---- Store banner from the Branding tab ------------------------------------
   A store that has not set a banner gets Storefront → Branding's "Shop-front
   banner" in its own colours (m2StoreCover): gradient, accent sun and ring,
   light band, dot grid, headline and tagline; wide screens add the selling
   points and a "scan to shop on your phone" card. Colours arrive as --cv-*. */
body.m2 .m2-sp .m2-shead-banner.has-cover::after { display: none; }
body.m2 .m2-cover {
    position: absolute; inset: 0; overflow: hidden;
    background: linear-gradient(115deg, var(--cv-c1) 0%, var(--cv-c1b) 100%);
    color: var(--cv-on1);
}
body.m2 .m2-cover > span { position: absolute; pointer-events: none; }
body.m2 .m2-cover-strip { left: 0; top: 0; bottom: 0; width: 5px; background: var(--cv-c2); }
body.m2 .m2-cover-band { top: -30%; bottom: -30%; left: 50%; width: 70px; background: #fff; opacity: .06; transform: skewX(-20deg); }
body.m2 .m2-cover-dots {
    bottom: 10px; left: 38%; width: 98px; height: 42px; opacity: .22;
    background-image: radial-gradient(circle, var(--cv-on1) 1.6px, transparent 2.1px); background-size: 14px 14px;
}
body.m2 .m2-cover-sun { width: 184px; height: 184px; right: -56px; top: 50%; margin-top: -92px; border-radius: 50%; background: var(--cv-c2); }
body.m2 .m2-cover-ring { width: 252px; height: 252px; right: -90px; top: 50%; margin-top: -126px; border-radius: 50%; border: 2px solid var(--cv-on1); opacity: .14; }
body.m2 .m2-cover-txt { position: absolute; left: 18px; top: 16px; right: 146px; display: flex; flex-direction: column; gap: 5px; }
body.m2 .m2-cover-head { font-size: clamp(18px, 5.3vw, 22px); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; color: var(--cv-hi); }
body.m2 .m2-cover-tag { max-width: 250px; font-size: 12.5px; line-height: 1.35; font-weight: 600; opacity: .92; }
body.m2 .m2-cover-pts,
body.m2 .m2-cover-qr { display: none; }
@media (min-width: 900px) {
    body.m2 .m2-cover-strip { width: 8px; }
    body.m2 .m2-cover-band { left: 42%; width: 120px; }
    body.m2 .m2-cover-dots { top: 22px; bottom: auto; left: 38%; width: 180px; height: 84px; background-size: 18px 18px; }
    body.m2 .m2-cover-sun { width: 420px; height: 420px; right: -64px; margin-top: -210px; }
    body.m2 .m2-cover-ring { width: 544px; height: 544px; right: -126px; margin-top: -272px; }
    body.m2 .m2-cover-txt { left: 34px; top: 30px; right: auto; max-width: 50%; gap: 8px; }
    body.m2 .m2-cover-head { font-size: 38px; line-height: 1.08; }
    body.m2 .m2-cover-tag { max-width: 460px; font-size: 15.5px; }
    body.m2 .m2-cover-pts {
        display: flex; flex-wrap: wrap; gap: 10px; position: absolute; left: 174px; bottom: 16px;
        max-width: calc(100% - 560px); height: 38px; overflow: hidden;
    }
    body.m2 .m2-cover-pts .pt {
        display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 5px; border-radius: 99px;
        background: rgba(255, 255, 255, .14); color: var(--cv-on1); font-size: 13px; font-weight: 700; white-space: nowrap;
    }
    body.m2 .m2-cover-pts .pt i {
        width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
        background: var(--cv-c2); color: var(--cv-on2); font-size: 13.5px;
    }
    body.m2 .m2-cover-qr.ready {
        display: flex; flex-direction: column; align-items: center; position: absolute; right: 100px; top: 50%;
        width: 150px; margin-top: -88px; padding: 10px 10px 8px; border-radius: 18px; background: #fff;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .28); transform: rotate(-3deg);
    }
    body.m2 .m2-cover-qr small { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cv-ink); }
    body.m2 .m2-cover-qr .q svg { display: block; width: 118px; height: 118px; margin: 6px 0 4px; }
    body.m2 .m2-cover-qr em { font-style: normal; font-size: 10.5px; font-weight: 600; color: #4b5563; }
}


/* ---- Sub-categories ("Shop by type") ----------------------------------------
   Category pages: a row of type tiles under the header (?sub= picks one); the
   Categories page: the selected category's types above its products. Each type
   brings its own colour as inline variables (MP.m2TypeVars): --st the colour,
   --st-soft its tint, --st-line a border tint, --st-deep a dark shade. The
   "All" tile has none and falls back to the brand. */
body.m2 .m2-lsubs {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    padding: 12px var(--m2-pad) 6px; background: #fff;
}
body.m2 .m2-lsubs::-webkit-scrollbar { display: none; }
body.m2 .m2-lsubs button,
body.m2 .m2-cat-types-grid button {
    --st: var(--m2-brand); --st-soft: var(--m2-brand-soft); --st-line: var(--m2-brand-soft); --st-deep: var(--m2-brand);
}
body.m2 .m2-lsubs button {
    flex: none;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px;
    width: 88px; min-height: 104px; padding: 10px 6px 9px;
    border: 1px solid var(--st-line); border-radius: 16px;
    background: var(--st-soft); color: #000;
    font: inherit; text-align: center; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
body.m2 .m2-lsubs button .ic {
    width: 40px; height: 40px; display: grid; place-items: center;
    border-radius: 13px; background: var(--st); color: #fff; font-size: 18px;
    box-shadow: 0 6px 12px -8px var(--st);
}
body.m2 .m2-lsubs button b {
    font-size: 11.5px; font-weight: 700; line-height: 1.2; color: #000;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.m2 .m2-lsubs button small { font-size: 10.5px; font-weight: 700; color: var(--st-deep); }
/* The chosen type: solid in its deep shade, white text, the icon on white. */
body.m2 .m2-lsubs button.on { border-color: var(--st-deep); background: var(--st-deep); box-shadow: 0 8px 18px -10px var(--st-deep); }
body.m2 .m2-lsubs button.on b, body.m2 .m2-lsubs button.on small { color: #fff; }
body.m2 .m2-lsubs button.on .ic { background: #fff; color: var(--st-deep); box-shadow: none; }
@media (hover: hover) { body.m2 .m2-lsubs button:not(.on):hover { border-color: var(--st); } }

body.m2 .m2-cat-types { margin: 4px 0 14px; }
body.m2 .m2-cat-types-h { margin: 0 2px 8px; font-size: 13px; font-weight: 800; color: #000; }
body.m2 .m2-cat-types-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.m2 .m2-cat-types-grid button {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 10px 6px 9px;
    border: 1px solid var(--st-line); border-radius: 14px;
    background: var(--st-soft); color: #000; font: inherit; text-align: center; cursor: pointer;
    transition: border-color .15s ease;
}
body.m2 .m2-cat-types-grid .ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--st); color: #fff; font-size: 16px; box-shadow: 0 6px 12px -8px var(--st); }
body.m2 .m2-cat-types-grid b { font-size: 11.5px; font-weight: 700; line-height: 1.2; color: #000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.m2 .m2-cat-types-grid small { font-size: 10.5px; color: var(--st-deep); font-weight: 700; }
@media (hover: hover) { body.m2 .m2-cat-types-grid button:hover { border-color: var(--st); } }

/* A type's page: the header takes the type's colour. */
body.m2 .m2-lhead.typed { background: radial-gradient(130% 160% at 100% 0%, var(--st-soft) 0%, rgba(255, 255, 255, 0) 60%), #fff; }
body.m2 .m2-lhead.typed .m2-lhead-ic { background: var(--st); color: #fff; }

/* The product page's Type, as a chip in the type's colour. */
body.m2 .m2-typechip {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
    margin: -3px 0; padding: 3px 10px 3px 3px;
    border: 1px solid var(--st-line); border-radius: 999px;
    background: var(--st-soft); color: #000; font-weight: 700;
}
body.m2 .m2-typechip i { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--st); color: #fff; font-size: 11px; }

@media (min-width: 900px) {
    body.m2 .m2-lsubs { flex-wrap: wrap; overflow: visible; margin-top: 12px; padding: 12px 14px; border-radius: 16px; }
    body.m2 .m2-lsubs button { width: 108px; min-height: 112px; }
    body.m2 .m2-cat-types-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* ---- Status bar (Android app, iOS home-screen app) ---------------------------
   marketplace.php asks for viewport-fit=cover, so where the page is drawn under
   the status bar (the Android app from build 2003, an iOS home-screen app)
   env(safe-area-inset-top) is its height; in a browser tab it is 0 and nothing
   below changes anything. Older Android app builds reserve the status bar
   themselves (app-gate.js marks them html.snnel-app-legacy), so the page must
   not add it a second time — that was the blank band above the header. */
body.m2 { --m2-safe-t: env(safe-area-inset-top, 0px); }
html.snnel-app-legacy body.m2 { --m2-safe-t: 0px; }
/* What sits behind the status bar once the header has stuck. */
body.m2::after {
    content: ""; position: fixed; left: 0; right: 0; top: 0; z-index: 10070;
    height: var(--m2-safe-t); background: var(--m2-surface, #fff); pointer-events: none;
}
body.m2 .m2-topline { box-sizing: border-box; height: calc(50px + var(--m2-safe-t)); padding-top: var(--m2-safe-t); }
body.m2 .m2-header { top: var(--m2-safe-t); }
body.m2 .m2-cat-rail, body.m2 .m2-stores-top, body.m2 .m2-ltools { top: calc(96px + var(--m2-safe-t)); }
body.m2 .m2-cat-rail { max-height: calc(100vh - 96px - var(--m2-safe-t) - var(--m2-bnav-h) - var(--m2-safe-b)); }
body.m2 .m2-srch { top: var(--m2-safe-t); }
body.mp2.m2 .modal-overlay { top: var(--m2-safe-t) !important; }
body.mp2.m2 .mk-nav-drawer-panel, body.mp2.m2 .mk-nav-drawer-overlay { top: var(--m2-safe-t) !important; }
@media (max-width: 899px) {
    /* Checkout hides the store header: the page itself clears the status bar. */
    body.m2.m2-focus { padding-top: var(--m2-safe-t); }
    body.m2 .m2-co-top { top: var(--m2-safe-t); }
}
@media (min-width: 900px) {
    /* No brand row here: the header is first, so it takes the status bar. */
    body.m2 .m2-header { top: 0; padding-top: var(--m2-safe-t); }
    body.m2 .m2-co-side { top: calc(118px + var(--m2-safe-t)); }
    body.m2 .m2-pd .m2-pp-media, body.m2 .m2-cx .m2-co-side, body.m2 .m2-ct .m2-ct-sum { top: calc(126px + var(--m2-safe-t)); }
    body.m2 .m2-sp-info { top: calc(130px + var(--m2-safe-t)); }
}

/* Products sold by weight or length: "GHS 12.00/kg" */
body.m2 .m2-per-unit { font-size: .72em; font-weight: 700; color: #475569; margin-left: 1px; letter-spacing: 0; }
body.m2 .m2-pp-price-row .m2-per-unit { font-size: 1rem; margin-left: -6px; }

/* ==========================================================================
   Smaller cards (Sep 2026)

   Product cards were too large. The home "Super deals" cards are the size to
   aim for, and every other product card is just a little larger: three
   across on a phone (two on the narrowest), up to seven on a wide screen, in
   every grid (all products, deals, categories, search, store pages) and in
   every rail. Store cards become small tiles as well.
   ========================================================================== */

body.m2 .m2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 359px) { body.m2 .m2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 600px) { body.m2 .m2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 760px) { body.m2 .m2-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1024px) { body.m2 .m2-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1240px) { body.m2 .m2-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
/* a store page keeps its info column beside the grid */
@media (min-width: 900px) { body.m2 .m2-sp-main .m2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 1180px) { body.m2 .m2-sp-main .m2-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

body.m2 .m2-card { border-radius: 12px; }
body.m2 .m2-card-body,
body.m2 .m2-card.rail .m2-card-body { padding: 7px 8px 8px; gap: 3px; }
body.m2 .m2-card-name,
body.m2 .m2-card.rail .m2-card-name { font-size: 11.5px; line-height: 1.32; min-height: 2.64em; }
body.m2 .m2-card .m2-meta { min-height: 14px; font-size: 10.5px; gap: 3px; }
body.m2 .m2-card .m2-meta .m2-star { font-size: 9.5px; }
body.m2 .m2-card .m2-meta .m2-new { font-size: 9.5px; padding: 0 6px; line-height: 14px; }
body.m2 .m2-was-row { height: 14px; column-gap: 4px; }
body.m2 .m2-card .m2-was { font-size: 10px; line-height: 14px; }
body.m2 .m2-save { font-size: 9.5px; line-height: 14px; }
body.m2 .m2-was-row + .m2-card-buy { margin-top: -1px; }
body.m2 .m2-card-buy { gap: 4px; }
body.m2 .m2-card .m2-price,
body.m2 .m2-card.rail .m2-price { font-size: 13.5px; }
body.m2 .m2-card .m2-add,
body.m2 .m2-card.rail .m2-add { width: 26px; height: 26px; font-size: 12px; }
body.m2 .m2-card .m2-card-store { font-size: 10px; gap: 3px; }
body.m2 .m2-card .m2-card-store > .bi-shop { font-size: 9.5px; }
body.m2 .m2-card .m2-card-store .mk-verified-badge,
body.m2 .m2-card .m2-card-store .bi-patch-check-fill { transform: scale(.85); }
body.m2 .m2-tag,
body.m2 .m2-card.rail .m2-tag { top: 5px; left: 5px; padding: 1px 6px 1px 5px; font-size: 9.5px; line-height: 14px; }
body.m2 .m2-tag i { font-size: 8.5px; }
body.m2 .m2-tag + .m2-tag { top: 25px; }
body.m2 .m2-wish,
body.m2 .m2-card.rail .m2-wish { top: 5px; right: 5px; width: 26px; height: 26px; font-size: 11.5px; }
body.m2 .m2-card-state { left: 5px; bottom: 5px; }
body.m2 .m2-card-state span { font-size: 9.5px; padding: 2px 7px 2px 6px; }

body.m2 .m2-card.rail { width: 118px; }
@media (min-width: 600px) {
    body.m2 .m2-card-name, body.m2 .m2-card.rail .m2-card-name { font-size: 12px; }
    body.m2 .m2-card .m2-price, body.m2 .m2-card.rail .m2-price { font-size: 14px; }
    body.m2 .m2-card.rail { width: 136px; }
}
@media (min-width: 900px) {
    body.m2 .m2-card-body, body.m2 .m2-card.rail .m2-card-body { padding: 8px 9px 9px; gap: 4px; }
    body.m2 .m2-card-name, body.m2 .m2-card.rail .m2-card-name { font-size: 12.5px; }
    body.m2 .m2-card .m2-price, body.m2 .m2-card.rail .m2-price { font-size: 15px; }
    body.m2 .m2-card .m2-add, body.m2 .m2-card.rail .m2-add { width: 28px; height: 28px; font-size: 12.5px; }
    body.m2 .m2-card.rail { width: 160px; }
}

/* home "Top stores" rail */
body.m2 .m2-brandcard { width: 116px; }
@media (min-width: 900px) { body.m2 .m2-brandcard { width: 140px; } }

/* Stores directory: small tiles — logo, name, counts and three thumbnails.
   The whole tile opens the store, so the Visit button and the description
   step aside. */
body.m2 .m2-store-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { body.m2 .m2-store-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 900px) { body.m2 .m2-store-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { body.m2 .m2-store-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }
body.m2 .m2-store { padding: 10px; border-radius: 14px; cursor: pointer; }
body.m2 .m2-store-row { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 8px; align-items: center; }
body.m2 .m2-store-logo { width: 36px; height: 36px; border-radius: 10px; }
body.m2 .m2-store-logo .m2-letter { font-size: 15px; }
body.m2 .m2-store-name { font-size: 12px; line-height: 1.25; }
body.m2 .m2-store-meta { margin-top: 3px; gap: 3px; flex-wrap: wrap; }
body.m2 .m2-store-meta .st { padding: 1px 6px; font-size: 9.5px; gap: 2px; }
body.m2 .m2-store-meta .st i { font-size: 9px; }
body.m2 .m2-store .m2-visit,
body.m2 .m2-store .m2-store-desc { display: none !important; }
body.m2 .m2-store-shelf { margin-top: 8px; gap: 4px; }
body.m2 .m2-store .m2-shelf-item { border-radius: 8px; }
body.m2 .m2-store .m2-shelf-price { left: 3px; bottom: 3px; max-width: calc(100% - 6px); padding: 1px 5px; font-size: 8.5px; }
body.m2 .m2-store .m2-shelf-item.more span { font-size: 9.5px; }
/* too narrow on a phone tile for a readable price: the thumbnails speak for themselves */
@media (max-width: 599px) { body.m2 .m2-store .m2-shelf-price { display: none; } }
@media (hover: hover) {
    body.m2 .m2-store:hover { box-shadow: 0 10px 22px -12px rgba(16, 24, 40, .3), 0 0 0 1px rgba(16, 24, 40, .06); }
}


/* ==========================================================================
   Header tab row that hides while scrolling down (marketplace-m2.js
   m2BindTabsAutoHide). It sits over the page in a band the header keeps
   free, so sliding it away never moves the content under the shopper's
   finger; the sticky bars below move up with it.
   ========================================================================== */

body.m2 { --m2-tabs-now: var(--m2-tabs-h, 46px); }
body.m2.m2-tabs-hide,
body.m2.m2-focus { --m2-tabs-now: 0px; }

body.m2 .m2-header { margin-bottom: var(--m2-tabs-h, 46px); }
body.m2.m2-focus .m2-header { margin-bottom: 0; }
body.m2 .m2-header-row { position: relative; z-index: 3; }
body.m2 .m2-tabs-wrap {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 2;
    background: var(--m2-surface, #fff);
    box-shadow: 0 1px 0 var(--m2-line);
    transition: transform .22s ease, opacity .18s ease, visibility 0s;
}
body.m2.m2-tabs-hide .m2-tabs-wrap { transform: translateY(-10px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .22s ease, opacity .18s ease, visibility 0s linear .22s; }
body.m2.m2-focus .m2-tabs-wrap { display: none; }
body.mp2.m2 #mk-category-dropdown { z-index: 4; }

/* everything that sticks under the header follows the tab row */
body.m2 .m2-cat-rail,
body.m2 .m2-stores-top,
body.m2 .m2-ltools {
    top: calc(var(--m2-safe-t) + var(--m2-hrow, 56px) + var(--m2-tabs-now));
    transition: top .22s ease;
}
body.m2 .m2-cat-rail { max-height: calc(100vh - var(--m2-hrow, 56px) - var(--m2-tabs-now) - var(--m2-safe-t) - var(--m2-bnav-h) - var(--m2-safe-b)); }
body.m2 .m2-sv-bar { top: calc(var(--m2-sv-top, 0px) + var(--m2-tabs-now)); transition: top .22s ease; }
@media (min-width: 900px) {
    body.m2 .m2-co-side { top: calc(var(--m2-safe-t) + var(--m2-hrow, 68px) + var(--m2-tabs-now) + 4px); }
    body.m2 .m2-pd .m2-pp-media,
    body.m2 .m2-cx .m2-co-side,
    body.m2 .m2-ct .m2-ct-sum { top: calc(var(--m2-safe-t) + var(--m2-hrow, 68px) + var(--m2-tabs-now) + 12px); transition: top .22s ease; }
    body.m2 .m2-sp-info { top: calc(var(--m2-safe-t) + var(--m2-hrow, 68px) + var(--m2-tabs-now) + 16px); transition: top .22s ease; }
}
@media (prefers-reduced-motion: reduce) {
    body.m2 .m2-tabs-wrap, body.m2 .m2-cat-rail, body.m2 .m2-stores-top, body.m2 .m2-ltools, body.m2 .m2-sv-bar { transition: none; }
}


/* ==========================================================================
   Marketplace polish (30 Sep 2026)
   Cards without store names, a stronger add-to-cart, one-line names on the
   home page, no underlines, discovery sections on the home page, a calmer
   checkout, a lighter services page and smaller type on store pages.
   ========================================================================== */

/* ---- no underlines on names, stores and links ---------------------------- */
body.m2 #mp-view a,
body.m2 #mp-view a:hover { text-decoration: none; }
body.m2 .m2-card:hover .m2-card-name,
body.m2 .m2-lcrumbs button:hover,
body.m2 .m2-pd-crumbs button:hover,
body.m2 .m2-ct .m2-ct-ghead:hover .m2-ct-gname b { text-decoration: none !important; }
@media (hover: hover) {
    body.m2 .m2-card:hover .m2-card-name { color: color-mix(in srgb, var(--m2-brand) 70%, #000); }
}

/* ---- add to cart: a solid button you can't miss ------------------------ */
body.m2 .m2-card .m2-add,
body.m2 .m2-card.rail .m2-add {
    width: 30px; height: 30px; font-size: 13.5px;
    background: var(--m2-brand);
    color: #fff;
    box-shadow: 0 3px 8px -2px color-mix(in srgb, var(--m2-brand) 55%, transparent);
}
@media (hover: hover) {
    body.m2 .m2-card .m2-add:not([disabled]):hover { background: var(--m2-brand-2, var(--m2-brand)); color: #fff; transform: scale(1.06); }
}
body.m2 .m2-card .m2-add[disabled] { background: #eef0f2; color: #a3a9b1; box-shadow: none; }
@media (min-width: 900px) {
    body.m2 .m2-card .m2-add, body.m2 .m2-card.rail .m2-add { width: 32px; height: 32px; font-size: 14px; }
}

/* ---- home: every product name on one line ------------------------------- */
body.m2 .m2-home .m2-card-name,
body.m2 .m2-home .m2-card.rail .m2-card-name {
    display: block; -webkit-line-clamp: unset; min-height: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.m2 .m2-home .m2-mini-name { display: block; -webkit-line-clamp: unset; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.m2 .m2-mini-was { font-size: 10.5px; color: #5c636e; }

/* ---- "Trending" rank numerals ------------------------------------------ */
body.m2 .m2-rank {
    position: absolute; left: 6px; bottom: 2px; z-index: 2;
    font-size: 34px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.04em;
    color: #fff; pointer-events: none;
    text-shadow: 0 0 1px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .35);
}

/* ---- Discovery sections (home) ------------------------------------------ */
body.m2 .m2-disco {
    --dz-a: #f97316; --dz-b: #ef4444; --dz-ink: #c2410c; --dz-bg: #fff4ec;
    position: relative; overflow: hidden; isolation: isolate;
    margin: 0 0 8px; padding: 14px 0 14px;
    background: linear-gradient(180deg, var(--dz-bg) 0%, #fff 78%);
}
body.m2 .m2-disco[hidden] { display: none; }
body.m2 .m2-disco::before {
    content: ""; position: absolute; z-index: -1; right: -60px; top: -80px; width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--dz-a) 22%, transparent) 0%, transparent 70%);
}
body.m2 .m2-disco.t-budget { --dz-a: #10b981; --dz-b: #0d9488; --dz-ink: #047857; --dz-bg: #e9faf2; }
body.m2 .m2-disco.t-rated  { --dz-a: #f59e0b; --dz-b: #eab308; --dz-ink: #92400e; --dz-bg: #fff7df; }
body.m2 .m2-disco.t-fresh  { --dz-a: #8b5cf6; --dz-b: #6366f1; --dz-ink: #5b21b6; --dz-bg: #f2eeff; }
body.m2 .m2-disco-head { display: flex; align-items: center; gap: 10px; padding: 0 var(--m2-pad); margin-bottom: 11px; }
body.m2 .m2-disco-ic {
    flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--dz-a), var(--dz-b)); color: #fff; font-size: 17px;
    box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--dz-a) 80%, transparent);
}
body.m2 .m2-disco-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
body.m2 .m2-disco-t b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; color: #000; }
body.m2 .m2-disco-t small { margin-top: 2px; font-size: 11.5px; color: #475569; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.m2 .m2-disco-more {
    flex: none; display: inline-flex; align-items: center; gap: 3px; height: 30px; padding: 0 11px;
    border: 0; border-radius: 999px; background: #fff; cursor: pointer;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--dz-a) 30%, #fff);
    font: inherit; font-size: 12px; font-weight: 700; color: var(--dz-ink);
}
body.m2 .m2-disco-more i { font-size: 10px; }
body.m2 .m2-disco .m2-rail { margin: 0; padding: 0 var(--m2-pad) 4px; scroll-padding-left: var(--m2-pad); }
body.m2 .m2-disco-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--m2-pad); margin: -2px 0 11px; }
body.m2 .m2-disco-chips::-webkit-scrollbar { display: none; }
body.m2 .m2-disco-chip {
    flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer;
    background: #fff; box-shadow: 0 0 0 1px #dfe5e2;
    font: inherit; font-size: 12px; font-weight: 700; color: #000; white-space: nowrap;
}
body.m2 .m2-disco-chip.on { background: linear-gradient(135deg, var(--dz-a), var(--dz-b)); color: #fff; box-shadow: none; }
body.m2 .m2-disco-empty { padding: 26px var(--m2-pad); font-size: 12.5px; color: #475569; }
body.m2 .m2-disco.t-trending .m2-card.rail { box-shadow: 0 0 0 1px rgba(249, 115, 22, .14), 0 6px 14px -10px rgba(239, 68, 68, .5); }

/* "More to love" stops after two pages and hands over to the full list */
body.m2 .m2-feed-all {
    display: flex; align-items: center; gap: 12px; width: 100%; margin: 12px 0 4px; padding: 14px 16px;
    border: 0; border-radius: 16px; cursor: pointer; text-align: left;
    background: linear-gradient(135deg, var(--m2-brand), color-mix(in srgb, var(--m2-brand) 70%, #000));
    color: #fff; font: inherit; box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--m2-brand) 90%, transparent);
}
body.m2 .m2-feed-all span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
body.m2 .m2-feed-all b { font-size: 15px; font-weight: 800; }
body.m2 .m2-feed-all small { font-size: 12px; opacity: .85; }
body.m2 .m2-feed-all i { font-size: 18px; }
@media (min-width: 900px) {
    body.m2 .m2-page > .m2-disco { border-radius: 14px; padding: 18px 0 18px; }
    body.m2 .m2-disco-head, body.m2 .m2-disco-chips { padding-left: 20px; padding-right: 20px; }
    body.m2 .m2-disco .m2-rail { padding: 0 20px 4px; }
    body.m2 .m2-disco-t b { font-size: 18px; }
    body.m2 .m2-feed-all { max-width: 520px; margin: 18px auto 6px; }
}

/* ==========================================================================
   Calm checkout: one accent colour (the brand), icons instead of numbers,
   floating cards, neutral buttons, a folded coupon and a bold total.
   ========================================================================== */
body.m2 .m2-cx .m2-cx-step { --cx: var(--m2-brand); --cx-soft: var(--m2-brand-soft); --cx-ink: color-mix(in srgb, var(--m2-brand) 78%, #000); }
body.m2 .m2-cx .m2-cx-step { margin: 0 10px 10px; padding: 16px; border: 0; border-radius: 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -18px rgba(16, 24, 40, .25); }
body.m2 .m2-cx .m2-cx-more { width: calc(100% + 32px); margin: 12px -16px -16px; padding: 0 16px; border-radius: 0 0 18px 18px; }
body.m2 .m2-cx .m2-co-signin { margin: 0 10px 10px; border-radius: 14px; }
body.m2 .m2-cx-num {
    width: 34px; height: 34px; border-radius: 11px; font-size: 15px;
    background: var(--m2-brand-soft); color: var(--m2-brand); box-shadow: none;
}
body.m2 .m2-cx-num i { line-height: 1; }
body.m2 .m2-cx-t b { font-size: 15px; }
body.m2 .m2-cx-edit { background: var(--m2-brand-soft) !important; color: color-mix(in srgb, var(--m2-brand) 80%, #000) !important; }
/* sub-headings and their icons: quiet */
body.m2 .m2-cx .m2-cx-sub .m2-co-h .ic { background: #f3f4f6 !important; color: #000 !important; }
/* every helper button looks the same: white, hairline, brand icon */
body.mp2.m2 .m2-cx .m2-cx-find,
body.mp2.m2 .m2-cx .m2-cx-gps,
body.mp2.m2 .m2-cx .m2-cx-pin,
body.mp2.m2 .m2-cx .m2-loc-actions .m2-b {
    background: #fff !important; color: #000 !important; border: 1px solid #dfe3e8 !important; box-shadow: none !important;
}
body.mp2.m2 .m2-cx .m2-loc-actions .m2-b i { color: var(--m2-brand) !important; }
body.mp2.m2 .m2-cx .m2-cx-find { color: var(--m2-brand) !important; font-weight: 700 !important; }
body.m2 .m2-cx .m2-addr-opt b i { color: var(--m2-brand); }
body.m2 .m2-cx .m2-addr-opt.on { border-color: var(--m2-brand); background: color-mix(in srgb, var(--m2-brand) 6%, #fff); box-shadow: inset 0 0 0 1px var(--m2-brand); }
body.m2 .m2-cx .m2-addr-opt.new { color: color-mix(in srgb, var(--m2-brand) 80%, #000); }
body.m2 .m2-cx .m2-co-map { border-radius: 16px; }
body.mp2.m2 .m2-cx #mp2-checkout-map { height: 150px !important; }
body.m2 .m2-cx .m2-co-map small i { color: var(--m2-brand); }
body.m2 .m2-cx .m2-co-more summary { color: color-mix(in srgb, var(--m2-brand) 80%, #000); }
/* payment: the method keeps its own icon colour, the choice is the brand */
body.mp2.m2 .m2-cx .mp2-pay-btn { border-radius: 14px !important; min-height: 58px !important; }
body.mp2.m2 .m2-cx .mp2-pay-note { background: var(--m2-brand-soft) !important; color: #000 !important; }
body.mp2.m2 .m2-cx .mp2-pay-note > i { color: var(--m2-brand) !important; }
/* summary */
body.m2 .m2-cx-rc .ic { background: var(--m2-brand-soft) !important; color: var(--m2-brand) !important; }
body.m2 .m2-cx-coupon { margin: 2px 0 0; border-top: 1px solid #f0f1f3; }
body.m2 .m2-cx-coupon summary {
    display: flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; cursor: pointer;
    font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--m2-brand) 80%, #000);
}
body.m2 .m2-cx-coupon summary::-webkit-details-marker { display: none; }
body.m2 .m2-cx-coupon summary span { flex: 1; }
body.m2 .m2-cx-coupon summary .m2-cx-chev { font-size: 12px; transition: transform .2s; }
body.m2 .m2-cx-coupon[open] summary .m2-cx-chev { transform: rotate(180deg); }
body.m2 .m2-cx-coupon .m2-co-coupon { margin-bottom: 6px; }
body.m2 .m2-cx-coupon .m2-co-coupon > .bi-ticket-perforated { color: var(--m2-brand); }
body.mp2.m2 .m2-cx .m2-co-coupon .m2-b { background: #000 !important; color: #fff !important; }
body.m2 .m2-cx .m2-co-summary .m2-co-sum .grand {
    padding: 14px 16px; border-radius: 14px;
    background: linear-gradient(135deg, var(--m2-brand), color-mix(in srgb, var(--m2-brand) 72%, #000));
}
body.m2 .m2-cx .m2-co-summary .m2-co-sum .grand span:first-child,
body.m2 .m2-cx .m2-co-summary .m2-co-sum .grand span:last-child { color: #fff !important; }
body.m2 .m2-cx .m2-co-trust .g i, body.m2 .m2-cx .m2-co-trust .b i, body.m2 .m2-cx .m2-co-trust .a i { color: var(--m2-brand); }
@media (min-width: 900px) {
    body.m2 .m2-cx .m2-cx-step { margin: 0 0 14px; padding: 20px 22px 22px; }
    body.m2 .m2-cx .m2-cx-more { width: calc(100% + 44px); margin: 12px -22px -22px; padding: 0 22px; }
    body.m2 .m2-cx .m2-co-signin { margin: 0 0 14px; }
    body.mp2.m2 .m2-cx #mp2-checkout-map { height: 200px !important; }
    body.mp2.m2 .m2-cx #mp2-pay-methods { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Services page: lighter. Small cards (2 across on a phone, up to 5), no
   description on the card, a solid Book button, 12 at a time, and the
   providers as a scrolling row of small cards.
   ========================================================================== */
body.m2 .m2-sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 600px) { body.m2 .m2-sv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 900px) { body.m2 .m2-sv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1180px) { body.m2 .m2-sv-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
body.m2 .m2-sv-card { display: flex; flex-direction: column; gap: 0; padding: 0; border-radius: 14px; overflow: hidden; }
body.m2 .m2-sv-cover { aspect-ratio: 4 / 3; border-radius: 0; }
body.m2 .m2-sv-cover .art { font-size: 26px; }
body.m2 .m2-sv-flag { top: 5px; left: 5px; padding: 2px 7px; font-size: 9.5px; }
body.m2 .m2-sv-body { padding: 8px 9px 9px; gap: 2px; flex: 1; }
body.m2 .m2-sv-topic { font-size: 10px; gap: 4px; }
body.m2 .m2-sv-topic i { font-size: 10px; }
body.m2 .m2-sv-name { font-size: 12.5px; line-height: 1.3; min-height: 2.6em; }
body.m2 .m2-sv-desc { display: none; }
body.m2 .m2-sv-by { margin-top: 1px; gap: 5px; font-size: 10.5px; }
body.m2 .m2-sv-logo.sm { width: 15px; height: 15px; }
body.m2 .m2-sv-logo.sm.lt { font-size: 8px; }
body.m2 .m2-sv-foot { align-items: center; gap: 6px; padding-top: 6px; }
body.m2 .m2-sv-price .now { font-size: 14px; }
body.m2 .m2-sv-price s { font-size: 10px; }
body.m2 .m2-sv-rate { font-size: 10.5px; }
body.m2 .m2-sv-book {
    height: 28px; padding: 0 11px; gap: 3px; font-size: 11.5px;
    background: #4f46e5; color: #fff;
    box-shadow: 0 4px 10px -4px rgba(79, 70, 229, .6);
}
body.m2 .m2-sv-book i { font-size: 10px; }
body.m2 .m2-sv-card.off .m2-sv-book { box-shadow: none; }
@media (hover: hover) { body.m2 .m2-sv-card:hover .m2-sv-book { background: #4338ca; } }
body.m2 .m2-sv-card-skel { height: auto; aspect-ratio: 3 / 4; border-radius: 14px; }
@media (min-width: 900px) {
    body.m2 .m2-sv-card { display: flex; }
    body.m2 .m2-sv-name { font-size: 13px; }
    body.m2 .m2-sv-price .now { font-size: 15px; }
}
/* providers: a scrolling row of small cards on every screen */
body.m2 .m2-sv-prow { display: flex !important; grid-template-columns: none !important; overflow-x: auto !important; gap: 10px; }
body.m2 .m2-sv-pcard { width: 214px; gap: 9px; padding: 11px; border-radius: 16px; }
body.m2 .m2-sv-logo.lg { width: 40px; height: 40px; border-radius: 12px; }
body.m2 .m2-sv-logo.lg.lt { font-size: 16px; }
body.m2 .m2-sv-pname b { font-size: 13px; }
body.m2 .m2-sv-pname small { font-size: 11px; }
body.m2 .m2-sv-ptags span { padding: 2px 8px; font-size: 10.5px; }
body.m2 .m2-sv-pbtn { height: 32px; font-size: 11.5px; }
@media (min-width: 900px) { body.m2 .m2-sv-pcard { width: 236px; } }

/* ==========================================================================
   Single store page: smaller type throughout
   ========================================================================== */
body.m2 .m2-sp .m2-shead-id h1 { font-size: 17px; }
body.m2 .m2-shead-sub { font-size: 11.5px; }
body.m2 .m2-sp .m2-shead-desc { font-size: 12px; line-height: 1.45; }
body.m2 .m2-sp-stats b { font-size: 13px; }
body.m2 .m2-sp-stats b i { font-size: 11px; }
body.m2 .m2-sp-stats small { font-size: 9.5px; }
body.m2 .m2-sp .m2-chip { height: 30px; padding: 0 11px; font-size: 11.5px; }
body.m2 .m2-sp-tabs button { font-size: 12.5px; }
body.m2 .m2-sp-block > .m2-sec-title { font-size: 14px; }
body.m2 .m2-sp-bic { width: 26px; height: 26px; font-size: 12.5px; }
body.m2 .m2-sp-about { font-size: 12.5px; line-height: 1.55; }
body.m2 .m2-sp .m2-policy summary { font-size: 12.5px; padding: 9px 11px; }
body.m2 .m2-sp .m2-policy summary .ic { width: 28px; height: 28px; font-size: 13px; }
body.m2 .m2-sp .m2-policy > div { font-size: 12px; padding-left: 50px; }
body.m2 .m2-sp-row b { font-size: 12.5px; }
body.m2 .m2-sp-row small { font-size: 10.5px; }
body.m2 .m2-sp-deals-h { font-size: 12.5px; }
body.m2 .m2-sp-sort, body.m2 .m2-sp-search input { font-size: 12.5px; }
@media (min-width: 900px) {
    body.m2 .m2-sp .m2-shead-banner { height: 220px; }
    body.m2 .m2-sp .m2-shead-logo { width: 92px; height: 92px; margin-top: -40px; border-radius: 26px; }
    body.m2 .m2-sp .m2-shead-logo .m2-letter { font-size: 34px; }
    body.m2 .m2-sp .m2-shead-id h1 { font-size: 22px; }
    body.m2 .m2-shead-sub { font-size: 12.5px; }
    body.m2 .m2-sp .m2-shead-desc { font-size: 13px; }
    body.m2 .m2-sp-stats b { font-size: 15px; }
    body.m2 .m2-sp-stats small { font-size: 11px; }
    body.m2 .m2-sp-title h2 { font-size: 17px; }
}


/* ==========================================================================
   Partner pages: "Sell with us" (/stores/become-a-seller) and "Deliver with
   us" (/stores/delivery), as standard landing pages (30 Sep 2026).
   White sections on the canvas, one accent (the brand), true-black type,
   a split hero with a product preview, and the rider's sign-in beside the
   registration form. The rider form, dashboard and their ids are unchanged.
   ========================================================================== */

body.m2 .pl { --pl-max: 1120px; padding: 0 0 8px; color: #000; }
body.m2 .pl > * { max-width: var(--pl-max); margin-left: auto; margin-right: auto; }
body.m2 .pl-sec { background: #fff; padding: 28px 18px; margin-bottom: 8px; }
body.m2 .pl-sec.alt { background: #f7f9f8; }
body.m2 .pl #mp-delivery-wrap > .m2-lp-sec,
body.m2 .pl #mp-delivery-wrap > .m2-sec { max-width: 820px; margin-left: auto; margin-right: auto; }

/* headings */
body.m2 .pl-head { max-width: 640px; margin: 0 auto 20px; text-align: center; }
body.m2 .pl-head.left { margin: 0 0 16px; text-align: left; }
body.m2 .pl-kick { display: inline-block; margin-bottom: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--m2-brand) 85%, #000); }
body.m2 .pl-head h2, body.m2 .pl-plan-copy h2 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: #000; }
body.m2 .pl-head p, body.m2 .pl-plan-copy > p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: #3f4650; }

/* buttons */
body.m2 .pl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
    border: 1px solid transparent; border-radius: 12px; cursor: pointer; text-decoration: none; white-space: nowrap;
    font: inherit; font-size: 15px; font-weight: 700; transition: background-color .15s, border-color .15s, transform .15s;
}
body.m2 .pl-btn.primary { background: var(--m2-brand); color: #fff; box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--m2-brand) 90%, transparent); }
body.m2 .pl-btn.ghost { background: #fff; color: #000; border-color: #d6dbe0; }
body.m2 .pl-btn.light { background: #fff; color: #000; }
body.m2 .pl-btn.block { width: 100%; }
body.m2 .pl-btn:active { transform: scale(.98); }
@media (hover: hover) {
    body.m2 .pl-btn.primary:hover { background: var(--m2-brand-2, var(--m2-brand)); }
    body.m2 .pl-btn.ghost:hover { border-color: #aab2bb; }
}

/* hero: copy and a small product preview */
body.m2 .pl-hero {
    position: relative; overflow: hidden; margin-bottom: 8px; padding: 30px 18px 34px;
    background:
        radial-gradient(900px 380px at 100% 0%, color-mix(in srgb, var(--m2-brand) 12%, transparent), transparent 60%),
        linear-gradient(180deg, #f3faf7 0%, #fff 100%);
}
body.m2 .pl-hero-in { display: grid; gap: 28px; max-width: var(--pl-max); margin: 0 auto; }
body.m2 .pl-eyebrow {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
    background: #fff; box-shadow: 0 0 0 1px #dfe7e3; font-size: 12px; font-weight: 700; color: #000;
}
body.m2 .pl-eyebrow i { color: var(--m2-brand); }
body.m2 .pl-hero h1 { margin: 14px 0 0; font-size: 29px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; color: #000; }
body.m2 .pl-lead { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: #3f4650; max-width: 540px; }
body.m2 .pl-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
body.m2 .pl-ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: #1f2329; }
body.m2 .pl-ticks i { margin-right: 5px; color: var(--m2-brand); font-size: 15px; vertical-align: -1px; }

body.m2 .pl-hero-art { position: relative; min-height: 260px; display: grid; place-items: center; padding: 10px 0 18px; }
body.m2 .pl-mock, body.m2 .pl-job {
    width: min(100%, 340px); padding: 14px; border-radius: 20px; background: #fff;
    box-shadow: 0 30px 60px -30px rgba(16, 24, 40, .35), 0 0 0 1px rgba(16, 24, 40, .06);
}
body.m2 .pl-mock-top { display: flex; align-items: center; gap: 10px; }
body.m2 .pl-mock-top .lg { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--m2-brand); color: #fff; font-weight: 800; }
body.m2 .pl-mock-top .nm { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
body.m2 .pl-mock-top .nm b { font-size: 14px; }
body.m2 .pl-mock-top .nm small { font-size: 11px; color: #1d4ed8; font-weight: 600; }
body.m2 .pl-mock-top .on { padding: 3px 9px; border-radius: 999px; background: #e8f7ef; color: #047857; font-size: 11px; font-weight: 700; }
body.m2 .pl-mock-banner { height: 70px; margin: 12px 0; border-radius: 12px; background: linear-gradient(120deg, var(--m2-brand), color-mix(in srgb, var(--m2-brand) 55%, #34d399)); }
body.m2 .pl-mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
body.m2 .pl-mock-grid span { display: flex; flex-direction: column; gap: 5px; }
body.m2 .pl-mock-grid i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; background: var(--t); font-size: 22px; color: #1f2329; }
body.m2 .pl-mock-grid em { display: block; height: 6px; border-radius: 4px; background: #e8eaed; }
body.m2 .pl-mock-grid em.s { width: 55%; background: color-mix(in srgb, var(--m2-brand) 35%, #fff); }
body.m2 .pl-float {
    position: absolute; display: flex; align-items: center; gap: 9px; padding: 9px 12px 9px 9px; border-radius: 14px; background: #fff;
    box-shadow: 0 18px 36px -18px rgba(16, 24, 40, .4), 0 0 0 1px rgba(16, 24, 40, .06);
}
body.m2 .pl-float .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--m2-brand-soft); color: var(--m2-brand); font-size: 15px; }
body.m2 .pl-float span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
body.m2 .pl-float b { font-size: 12.5px; }
body.m2 .pl-float small { font-size: 11px; color: #5c636e; }
body.m2 .pl-float.a { left: 0; top: 6px; }
body.m2 .pl-float.b { right: 0; bottom: 0; }
body.m2 .pl-float.b .ic { background: #fff3e0; color: #c2410c; }

/* rider job preview */
body.m2 .pl-job-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
body.m2 .pl-job-h b { font-size: 14px; }
body.m2 .pl-job-h span { padding: 3px 9px; border-radius: 999px; background: #e8f7ef; color: #047857; font-size: 11px; font-weight: 700; }
body.m2 .pl-job-stop { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #f6f7f8; }
body.m2 .pl-job-stop .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; }
body.m2 .pl-job-stop .dot.p { background: var(--m2-brand); }
body.m2 .pl-job-stop .dot.d { background: #ea580c; }
body.m2 .pl-job-stop span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
body.m2 .pl-job-stop small { font-size: 11px; color: #5c636e; }
body.m2 .pl-job-stop b { font-size: 13px; }
body.m2 .pl-job-line { width: 2px; height: 16px; margin: 2px 0 2px 24px; background: repeating-linear-gradient(#c3c9cf 0 4px, transparent 4px 7px); }
body.m2 .pl-job-acts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-top: 12px; }
body.m2 .pl-job-acts span { display: grid; place-items: center; height: 38px; border-radius: 10px; font-size: 13px; font-weight: 700; background: #f1f3f5; }
body.m2 .pl-job-acts .ok { background: var(--m2-brand); color: #fff; }

/* stats strip */
body.m2 .pl-stats {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-bottom: 8px; background: #e7ebe9;
    border-top: 1px solid #e7ebe9; border-bottom: 1px solid #e7ebe9;
}
body.m2 .pl-stats div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 10px; background: #fff; text-align: center; }
body.m2 .pl-stats b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #000; }
body.m2 .pl-stats b i { color: var(--m2-brand); font-size: 20px; }
body.m2 .pl-stats small { font-size: 12px; color: #5c636e; font-weight: 600; }

/* features */
body.m2 .pl-features { display: grid; grid-template-columns: 1fr; gap: 12px; }
body.m2 .pl-feature { padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #e7ebe9; }
body.m2 .pl-sec.alt .pl-feature { box-shadow: none; }
body.m2 .pl-feature .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--m2-brand-soft); color: var(--m2-brand); font-size: 19px; }
body.m2 .pl-feature b { display: block; margin-top: 12px; font-size: 15.5px; font-weight: 700; color: #000; }
body.m2 .pl-feature p { margin: 5px 0 0; font-size: 13.5px; line-height: 1.55; color: #3f4650; }

/* steps */
body.m2 .pl-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
body.m2 .pl-steps li { position: relative; padding: 16px 16px 16px 60px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #e7ebe9; }
body.m2 .pl-steps .n {
    position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--m2-brand); color: #fff; font-size: 13.5px; font-weight: 800;
}
body.m2 .pl-steps b { display: block; font-size: 15px; font-weight: 700; line-height: 30px; }
body.m2 .pl-steps p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.5; color: #3f4650; }
body.m2 .pl-steps.vertical li { padding: 12px 14px 12px 56px; }
body.m2 .pl-steps.vertical .n { top: 12px; left: 14px; }

/* pricing */
body.m2 .pl-plan { display: grid; gap: 22px; align-items: center; }
body.m2 .pl-list { display: grid; gap: 9px; margin: 16px 0 0; padding: 0; list-style: none; }
body.m2 .pl-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.45; color: #1f2329; }
body.m2 .pl-list i { flex: none; margin-top: 2px; color: var(--m2-brand); }
body.m2 .pl-plan-card {
    display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 22px; border-radius: 20px; text-align: center;
    background: #fff; box-shadow: 0 0 0 1px #dfe7e3, 0 24px 48px -30px rgba(16, 24, 40, .35);
}
body.m2 .pl-plan-card small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--m2-brand) 85%, #000); }
body.m2 .pl-plan-card > b { font-size: 46px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; }
body.m2 .pl-plan-card > span { margin-bottom: 16px; font-size: 14px; color: #3f4650; }
body.m2 .pl-plan-card em { margin-top: 10px; font-style: normal; font-size: 12px; color: #5c636e; }

/* FAQ */
body.m2 .pl-faq-wrap { display: grid; gap: 8px; }
body.m2 .pl-faq details { border-bottom: 1px solid #e7ebe9; }
body.m2 .pl-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; cursor: pointer; list-style: none;
    font-size: 15px; font-weight: 700; color: #000;
}
body.m2 .pl-faq summary::-webkit-details-marker { display: none; }
body.m2 .pl-faq summary i { flex: none; font-size: 15px; color: var(--m2-brand); transition: transform .2s; }
body.m2 .pl-faq details[open] summary i { transform: rotate(45deg); }
body.m2 .pl-faq p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: #3f4650; }

/* closing band */
body.m2 .pl-final {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 8px; padding: 26px 20px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--m2-brand) 88%, #000), var(--m2-brand)); color: #fff;
}
body.m2 .pl-final b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
body.m2 .pl-final small { display: block; margin-top: 4px; font-size: 13.5px; opacity: .88; }

/* rider: needs, and sign-in beside registration */
body.m2 .pl-two { display: grid; gap: 26px; }
body.m2 .pl-needs { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
body.m2 .pl-needs li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; }
body.m2 .pl-needs .ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--m2-brand-soft); color: var(--m2-brand); font-size: 17px; }
body.m2 .pl-needs b { display: block; font-size: 14px; }
body.m2 .pl-needs small { font-size: 12.5px; color: #3f4650; }
body.m2 .pl-access { display: grid; gap: 14px; align-items: start; }
body.m2 .pl-card { padding: 20px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #e3e8e6, 0 20px 40px -32px rgba(16, 24, 40, .35); }
body.m2 .pl-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 17px; font-weight: 800; letter-spacing: -.015em; color: #000; }
body.m2 .pl-card h2 .ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--m2-brand-soft); color: var(--m2-brand); font-size: 15px; }
body.m2 .pl-card .m2-rider-part .n { background: var(--m2-brand-soft); color: var(--m2-brand); }
body.m2 .pl-card .m2-rider-part { margin: 20px 0 10px; padding-top: 16px; border-top: 1px solid #eef1f0; font-size: 13.5px; }
body.m2 .pl-card .m2-rider-lead { font-size: 13.5px; color: #3f4650; }
body.mp2.m2 .pl-card .m2-loc-actions .m2-b { background: #fff !important; color: #000 !important; border: 1px solid #d6dbe0 !important; }
body.mp2.m2 .pl-card .m2-loc-actions .m2-b i { color: var(--m2-brand) !important; }
body.m2 .pl-card .m2-rider-areas label span { font-size: 12.5px; }
body.m2 .pl-fine { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 12px; color: #5c636e; }
body.m2 .pl-signin .m2-b.primary { min-height: 48px; }
/* phones: returning riders sign in first */
body.m2 .pl-signin { order: 1; }
body.m2 .pl-register { order: 2; scroll-margin-top: 110px; }
body.m2 .pl-rider.is-rider .pl-hero-art,
body.m2 .pl-rider.is-rider .pl-lead,
body.m2 .pl-rider.is-rider .pl-ticks { display: none; }
body.m2 .pl-rider.is-rider .pl-hero { padding: 20px 18px; }
body.m2 .pl-rider.is-rider .pl-hero h1 { font-size: 22px; }

@media (min-width: 600px) {
    body.m2 .pl-features { grid-template-columns: repeat(2, 1fr); }
    body.m2 .pl-stats { grid-template-columns: repeat(4, 1fr); }
    body.m2 .pl-final { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 900px) {
    body.m2 .pl { padding: 16px 20px 24px; }
    body.m2 .pl-hero { border-radius: 24px; padding: 54px 48px; margin-bottom: 16px; }
    body.m2 .pl-hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px; }
    body.m2 .pl-hero h1 { font-size: 44px; }
    body.m2 .pl-lead { font-size: 17px; }
    body.m2 .pl-hero-art { min-height: 340px; }
    body.m2 .pl-mock, body.m2 .pl-job { width: 360px; }
    body.m2 .pl-stats { border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px #e7ebe9; margin-bottom: 16px; }
    body.m2 .pl-sec { padding: 48px 48px; border-radius: 24px; margin-bottom: 16px; }
    body.m2 .pl-head h2, body.m2 .pl-plan-copy h2 { font-size: 30px; }
    body.m2 .pl-head { margin-bottom: 30px; }
    body.m2 .pl-features { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    body.m2 .pl-features.four { grid-template-columns: repeat(4, 1fr); }
    body.m2 .pl-steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    body.m2 .pl-steps li { padding: 22px 18px 20px; }
    body.m2 .pl-steps .n { position: static; margin-bottom: 12px; }
    body.m2 .pl-steps b { line-height: 1.3; }
    body.m2 .pl-steps.vertical { grid-template-columns: 1fr; }
    body.m2 .pl-steps.vertical li { padding: 14px 16px 14px 60px; }
    body.m2 .pl-steps.vertical .n { position: absolute; top: 13px; left: 16px; margin: 0; }
    body.m2 .pl-plan { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; }
    body.m2 .pl-faq-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
    body.m2 .pl-final { border-radius: 24px; padding: 32px 40px; margin-bottom: 16px; }
    body.m2 .pl-final b { font-size: 24px; }
    body.m2 .pl-two { grid-template-columns: 1fr 1fr; gap: 48px; }
    body.m2 .pl-access { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
    body.m2 .pl-register { order: 1; }
    body.m2 .pl-signin { order: 2; position: sticky; top: calc(var(--m2-safe-t) + var(--m2-hrow, 68px) + var(--m2-tabs-now, 46px) + 12px); }
    body.m2 .pl-card { padding: 26px 24px; }
}
@media (max-width: 359px) {
    body.m2 .pl-hero h1 { font-size: 25px; }
    body.m2 .pl-btn { width: 100%; }
}
/* partner pages: chips clear of the preview's name; two features across on phones */
body.m2 .pl-seller .pl-float.a { top: 52%; left: 0; }
@media (min-width: 360px) and (max-width: 599px) {
    body.m2 .pl-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    body.m2 .pl-feature { padding: 14px 12px; border-radius: 14px; }
    body.m2 .pl-feature .ic { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
    body.m2 .pl-feature b { margin-top: 10px; font-size: 14px; }
    body.m2 .pl-feature p { font-size: 12.5px; line-height: 1.5; }
}
/* cart page suggestion rows sit on the cart's canvas */
body.m2 .m2-ct .m2-cart-sugg { margin-top: 8px; }
@media (min-width: 900px) { body.m2 .m2-ct .m2-cart-sugg { border-radius: 16px; } }


/* ==========================================================================
   Partner pages, more colour (30 Sep 2026): a deep coloured hero (green for
   sellers, warm orange for riders), icons and step numbers each in their own
   colour, tinted sections and a bright closing band. Plus the rider's own
   pages: sign in, register (/stores/delivery/login|register) and the rider
   account (/stores/delivery/account) with Jobs / Past jobs / Account tabs.
   ========================================================================== */

body.m2 .pl-seller { --pl-a: #0e7a55; --pl-b: #0a5a40; --pl-soft: #e9f7f0; --pl-ink: #065f46; }
body.m2 .pl-rider  { --pl-a: #ea580c; --pl-b: #b93f06; --pl-soft: #fff1e7; --pl-ink: #9a3412; }

/* hero: deep colour, white type, the preview on top */
body.m2 .pl-hero {
    background:
        radial-gradient(520px 300px at 92% 8%, rgba(255, 255, 255, .16), transparent 60%),
        radial-gradient(420px 260px at 0% 100%, rgba(0, 0, 0, .18), transparent 60%),
        linear-gradient(135deg, var(--pl-a), var(--pl-b));
    color: #fff;
}
body.m2 .pl-hero h1 { color: #fff; }
body.m2 .pl-lead { color: rgba(255, 255, 255, .9); }
body.m2 .pl-eyebrow { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); color: #fff; }
body.m2 .pl-eyebrow i { color: #fff; }
body.m2 .pl-ticks { color: #fff; }
body.m2 .pl-ticks i { color: #fde68a; }
body.m2 .pl-hero .pl-btn.primary { background: #fff; color: var(--pl-ink); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45); }
body.m2 .pl-hero .pl-btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
@media (hover: hover) {
    body.m2 .pl-hero .pl-btn.primary:hover { background: #f4f4f5; }
    body.m2 .pl-hero .pl-btn.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
}
body.m2 .pl-mock, body.m2 .pl-job { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45); }

/* stats: each figure in its own colour */
body.m2 .pl-stats div:nth-child(1) b { color: #0e7a55; }
body.m2 .pl-stats div:nth-child(2) b { color: #2563eb; }
body.m2 .pl-stats div:nth-child(3) b { color: #d97706; }
body.m2 .pl-stats div:nth-child(4) b i { color: #7c3aed; }

/* headings pick up the page colour */
body.m2 .pl .pl-kick { color: var(--pl-ink); }

/* feature icons: a palette, one colour each */
body.m2 .pl-feature { transition: transform .18s ease, box-shadow .18s ease; }
body.m2 .pl-feature:nth-child(6n+1) .ic { background: #e6f6ee; color: #0e7a55; }
body.m2 .pl-feature:nth-child(6n+2) .ic { background: #e8efff; color: #2563eb; }
body.m2 .pl-feature:nth-child(6n+3) .ic { background: #fff4df; color: #d97706; }
body.m2 .pl-feature:nth-child(6n+4) .ic { background: #f1eaff; color: #7c3aed; }
body.m2 .pl-feature:nth-child(6n+5) .ic { background: #ffe9f1; color: #db2777; }
body.m2 .pl-feature:nth-child(6n+6) .ic { background: #e3f7f8; color: #0891b2; }
@media (hover: hover) {
    body.m2 .pl-feature:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #e1e6e3, 0 18px 30px -22px rgba(16, 24, 40, .45); }
}

/* tinted section, coloured step numbers */
body.m2 .pl .pl-sec.alt { background: var(--pl-soft); }
body.m2 .pl-steps li:nth-child(4n+1) .n { background: #0e7a55; }
body.m2 .pl-steps li:nth-child(4n+2) .n { background: #2563eb; }
body.m2 .pl-steps li:nth-child(4n+3) .n { background: #d97706; }
body.m2 .pl-steps li:nth-child(4n+4) .n { background: #7c3aed; }
body.m2 .pl-needs li:nth-child(4n+1) .ic { background: #e6f6ee; color: #0e7a55; }
body.m2 .pl-needs li:nth-child(4n+2) .ic { background: #e8efff; color: #2563eb; }
body.m2 .pl-needs li:nth-child(4n+3) .ic { background: #fff4df; color: #d97706; }
body.m2 .pl-needs li:nth-child(4n+4) .ic { background: #f1eaff; color: #7c3aed; }

/* pricing: a coloured cap on the plan card */
body.m2 .pl-plan-card { position: relative; overflow: hidden; padding-top: 34px; }
body.m2 .pl-plan-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, #0e7a55, #22c55e, #f59e0b); }
body.m2 .pl-plan-card > b { color: var(--pl-a); }
body.m2 .pl-list i { color: var(--pl-a); }
body.m2 .pl .pl-btn.primary { background: var(--pl-a); }
@media (hover: hover) { body.m2 .pl .pl-sec .pl-btn.primary:hover { background: var(--pl-b); } }

/* FAQ plus signs in the page colour */
body.m2 .pl .pl-faq summary i { color: var(--pl-a); }

/* closing band: bright, with a second button */
body.m2 .pl .pl-final {
    background:
        radial-gradient(360px 200px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%),
        linear-gradient(120deg, var(--pl-b), var(--pl-a));
}
body.m2 .pl-final .pl-btn.light { color: var(--pl-ink); }
body.m2 .pl-final-btns { display: flex; flex-wrap: wrap; gap: 10px; }
body.m2 .pl-btn.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }

/* ---- rider sign in / register ------------------------------------------- */
body.m2 .pl-auth { padding-top: 0; }
body.m2 .pl-auth-wrap { display: grid; gap: 0; max-width: 1040px; margin: 0 auto; }
body.m2 .pl-auth-side {
    position: relative; overflow: hidden; padding: 22px 20px 26px; color: #fff;
    background:
        radial-gradient(360px 240px at 100% 0%, rgba(255, 255, 255, .16), transparent 60%),
        linear-gradient(140deg, var(--pl-a), var(--pl-b));
}
body.m2 .pl-back {
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; margin-bottom: 16px;
    border: 0; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
body.m2 .pl-auth-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--pl-a); font-size: 22px; }
body.m2 .pl-auth-side h1 { margin: 14px 0 6px; font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: #fff; }
body.m2 .pl-auth-side > p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
body.m2 .pl-auth-side h2 { margin: 18px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
body.m2 .pl-auth-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
body.m2 .pl-auth-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #fff; }
body.m2 .pl-auth-list i { width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); font-size: 14px; }
body.m2 .pl-auth-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: #fff; }
body.m2 .pl-auth-main { padding: 18px 14px 20px; background: var(--pl-soft); }
body.m2 .pl-auth-main .pl-card { max-width: 640px; margin: 0 auto; }
body.m2 .pl-switch { max-width: 640px; margin: 14px auto 0; text-align: center; font-size: 14px; color: #3f4650; }
body.m2 .pl-switch button { border: 0; background: none; padding: 0 2px; font: inherit; font-weight: 800; color: var(--pl-ink); cursor: pointer; }
body.m2 .pl-auth .pl-card h2 .ic { background: var(--pl-soft); color: var(--pl-a); }
body.m2 .pl-auth .m2-b.primary { background: var(--pl-a) !important; border-color: var(--pl-a) !important; }
@media (min-width: 900px) {
    body.m2 .pl-auth { padding: 20px; }
    body.m2 .pl-auth-wrap { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px #eceae6, 0 30px 60px -40px rgba(16, 24, 40, .45); }
    body.m2 .pl-auth-side { padding: 36px 34px; }
    body.m2 .pl-auth-side h1 { font-size: 32px; }
    body.m2 .pl-auth-main { padding: 36px 34px; }
    body.m2 .pl-auth:not(.pl-reg) .pl-auth-main { display: flex; flex-direction: column; justify-content: center; }
    body.m2 .pl-auth .pl-signin { position: static; }
}

/* ---- rider account ------------------------------------------------------- */
body.m2 .rp { max-width: 900px; margin: 0 auto; padding-bottom: 12px; }
body.m2 .rp > * { max-width: none; }
body.m2 .rp-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 16px; color: #fff;
    background: linear-gradient(135deg, var(--pl-a), var(--pl-b));
}
body.m2 .rp-head-t small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
body.m2 .rp-head-t h1 { margin: 2px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
body.m2 .rp-refresh {
    display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
    background: rgba(255, 255, 255, .18); color: #fff; font: inherit; font-size: 13px; font-weight: 700;
}
body.m2 .rp-tabs {
    position: sticky; top: calc(var(--m2-safe-t) + var(--m2-hrow, 56px) + var(--m2-tabs-now, 46px)); z-index: 20;
    display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: 0 1px 0 #eceef1;
    transition: top .22s ease;
}
body.m2 .rp-tabs button {
    display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 58px; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 12.5px; font-weight: 700; color: #5c636e; border-bottom: 3px solid transparent;
}
body.m2 .rp-tabs button i { font-size: 18px; }
body.m2 .rp-tabs button[aria-selected="true"] { color: var(--pl-ink); border-bottom-color: var(--pl-a); }
/* only the chosen tab's sections show */
body.m2 .rp[data-tab="jobs"] [data-rtab]:not([data-rtab="jobs"]),
body.m2 .rp[data-tab="past"] [data-rtab]:not([data-rtab="past"]),
body.m2 .rp[data-tab="account"] [data-rtab]:not([data-rtab="account"]) { display: none !important; }
body.m2 .rp #mp-delivery-wrap { padding-top: 8px; }
body.m2 .rp-profile { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
body.m2 .rp-profile b { display: block; font-size: 17px; font-weight: 800; color: #000; }
body.m2 .rp-profile .badges { display: flex; gap: 6px; margin-top: 4px; }
body.m2 .rp-avatar { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--pl-soft); color: var(--pl-a); font-size: 22px; font-weight: 800; }
body.m2 .rp-rows { display: grid; gap: 1px; overflow: hidden; border-radius: 14px; background: #eceef1; box-shadow: 0 0 0 1px #eceef1; }
body.m2 .rp-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; }
body.m2 .rp-row .ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--pl-soft); color: var(--pl-a); font-size: 15px; }
body.m2 .rp-row small { display: block; font-size: 11.5px; color: #5c636e; }
body.m2 .rp-row b { display: block; font-size: 14px; color: #000; overflow-wrap: anywhere; }
body.m2 .rp-actions { display: grid; gap: 8px; margin-top: 16px; }
body.m2 .rp .m2-b.primary { background: var(--pl-a) !important; border-color: var(--pl-a) !important; }
@media (min-width: 900px) {
    body.m2 .rp { padding: 16px 20px 24px; }
    body.m2 .rp-head { border-radius: 20px 20px 0 0; padding: 24px 26px 20px; }
    body.m2 .rp-head-t h1 { font-size: 26px; }
    body.m2 .rp-tabs { border-radius: 0 0 20px 20px; margin-bottom: 8px; }
    body.m2 .rp-tabs button { flex-direction: row; justify-content: center; gap: 8px; min-height: 54px; font-size: 14px; }
    body.m2 .rp #mp-delivery-wrap > .m2-sec, body.m2 .rp #mp-delivery-wrap > section { border-radius: 16px; }
    body.m2 .rp-actions { grid-template-columns: repeat(3, auto); justify-content: start; }
}
/* partner hero: its buttons win over the page-colour button rule; previews keep dark type */
body.m2 .pl .pl-hero .pl-btn.primary { background: #fff; color: var(--pl-ink); }
@media (hover: hover) { body.m2 .pl .pl-hero .pl-btn.primary:hover { background: #f4f4f5; } }
body.m2 .pl-hero .pl-mock, body.m2 .pl-hero .pl-job, body.m2 .pl-hero .pl-float { color: #0b0d12; }
body.m2 .pl-auth .pl-switch { order: 3; }
