/* Axomify Marketplace Vendor Dashboard Premium Design System */
/* v1.1.198 REMOVED the `@import url(fonts.googleapis.com...)` that used to sit here --
   owner-reported (live screenshots, every tab switch on mobile): "Ek tab se dusre tab
   mein jaane par aise niche dikha ke upar jaake rehta hai" (switching tabs briefly shows
   a big empty gap under the header, which then visibly jumps up and settles) -- this
   version's actual root cause, not a guess: `@import` makes the ENTIRE stylesheet wait
   on an extra network round-trip to Google's font CDN before the browser considers ANY
   of it "ready", including the critical `display:none` rules this header's own
   .axmp-topbar-eyebrow/.axmp-topbar-title/.axmp-topbar-sub/.axmp-topbar-simple hiding
   depends on (see those rules + the .axmp-topbar.is-subtab overrides further down). The
   sticky-header JS (vendor-dashboard.js) measures the topbar's real height on
   `jQuery(document).ready` -- DOM-parsed, but NOT guaranteed to wait for this file's own
   slow font import -- so on a slow mobile connection, it can measure the topbar BEFORE
   the import finishes and those hide rules apply, catching it in its unstyled state with
   every child element stacked and visible. Confirmed live: topbar measured 99px with
   this file's rules applied vs 175px with them disabled (desktop width; the gap is
   proportionally larger on mobile, where even MORE elements are conditionally hidden) --
   a close match to the reported gap size. The existing ResizeObserver (see
   vendor-dashboard.js) self-corrects once the CSS does finish applying, which is the
   visible "jump" the owner described -- functionally self-healing, but not actually
   fixing the cause, and visibly jarring every time it happens. Real fix: Poppins now
   loads via its own separate, PARALLEL `wp_enqueue_style()` <link> (see
   frontend/class-frontend.php's enqueue_styles()) instead of this file's own serial,
   blocking @import -- this file's critical layout rules can now apply as fast as this
   ONE file downloads, independent of Google Fonts' own round-trip. The font itself may
   still swap in a moment later (harmless, minor metric difference only -- the kind of
   residual case the ResizeObserver already existed to catch, per its own v1.1.109 doc
   comment), but the big, layout-breaking "nothing hidden yet" window this was actually
   causing is gone. admin.css and frontend.css had their own identical, independently
   maintained copies of this same @import (by design, so each works standalone -- see
   their own doc comments) -- both were converted the same way, for the same reason.

   v1.1.199 CHANGED further: the v1.1.198 parallel wp_enqueue_style() above still pointed
   at fonts.googleapis.com -- still an external round-trip, just no longer a blocking
   one. Owner supplied Google Fonts' own official "Download family" zip for Poppins;
   frontend/class-frontend.php and admin/class-admin.php now enqueue a LOCAL
   assets/fonts/poppins.css (same 5 weights, converted .ttf -> .woff2) instead of
   Google's CDN -- same origin as the page itself, zero separate DNS/TLS/connection
   round-trip at all. Mirrors the identical fix already shipped on the sibling Axomify
   Rider plugin (v44.5.76, 2026-10-18). No rule in THIS file changed for this -- only the
   enqueue source URL, in the two PHP files above. */

.axmp-wrap {
    --ink: #0F0F0F;
    --ink-soft: #57534E;
    --ink-faint: #8C8681;
    --canvas: #FFFFFF;
    --surface: #FFFFFF;
    --border: #E8E4DC;
    --red: #F5B700;
    --red-dark: #8A6D00;
    --red-wash: #FFF8DE;
    --gold: #0F0F0F;
    --gold-wash: #F2F2F0;
    --green: #15803D;
    --green-wash: #F0FBF4;
    --blue: #2563EB;
    --blue-wash: #EFF6FF;
    --purple: #7C3AED;
    --purple-wash: #F5F3FF;
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    box-sizing: border-box;
    /* v1.1.116 ADDED (owner-reported, live mobile screenshot on the Products tab, arrow
       pointing at a strip of the WordPress theme's own floral body-background image
       showing through above the fixed bottom nav: "Kabhi kabhi niche background kiyu
       dikhata hai" -- happens only "sometimes" because it depends on how much content a
       given tab has; a tab like Products with just a few items (7 in the screenshot) ends
       well short of one screen's height, and this wrapper has never painted a background
       of its own or reserved any minimum height, so whatever real space is left below the
       last card/element is fully transparent -- the theme's own body background (behind
       everything this plugin renders) shows straight through it. Filling this wrapper's
       own light canvas color the whole way down to at least one viewport tall means that
       gap now reads as more of this dashboard's own page instead of a hole showing the
       theme underneath, on every tab, however little content it happens to have. Reset
       back to auto/none for the topbar's and sidebar's OWN small fixed portal shells just
       below (they also carry this same ".axmp-wrap" class for unrelated CSS-variable
       reasons, see that rule's own comment) -- a min-height here would make one of those
       fixed overlays cover the whole screen and block every click on the real page under
       it, which is not this fix's target at all. */
    background: var(--canvas);
    min-height: 100vh;
}

.axmp-wrap * {
    box-sizing: border-box;
}

/* v1.1.114 ADDED (owner's request: "Jo aapne monospace font jaisa hi rakha hai, wo bhi
   Poppins kar dijiye" -- every <code>-wrapped bit of text in the Vendor Dashboard,
   Seller ID included, should be Poppins too). Every browser's own default stylesheet
   sets `code, kbd, samp, pre { font-family: monospace; }` directly on the <code>
   element itself -- a DIRECT match always wins over an INHERITED value in CSS,
   regardless of how specific the ancestor's own selector is, so `.axmp-wrap`'s
   font-family (set just above) was never actually reaching any bare <code> tag inside
   it (Seller ID, SKU, tracking numbers, ticket IDs, etc.) even after v1.1.113 -- this
   explicit rule is what was missing. */
.axmp-wrap code {
    font-family: 'Poppins', sans-serif;
}

/* v1.1.115 ADDED (owner-reported: "Products tab ka all font Poppins kijiye" -- the
   Products tab's search box and Search button specifically still weren't Poppins even
   after v1.1.113/114). Same root cause as the .axmp-wrap code rule just above: every
   browser's own default stylesheet gives <button>, <input>, <select> and <textarea>
   their OWN font-family (a system UI font), which -- exactly like <code> -- is a direct
   match that beats whatever font-family this plugin's markup only INHERITS from
   .axmp-wrap. Scoped broadly here (not just the Products tab's search box) since the
   exact same gap silently affects every text input, dropdown, textarea and button
   anywhere in the Vendor Dashboard (Settings forms, the Add Product multi-step form,
   the Support ticket reply box, every tab's own search box, etc.) -- fixing it once,
   here, means no other tab can ever surface this same report again. */
.axmp-wrap button,
.axmp-wrap input,
.axmp-wrap select,
.axmp-wrap textarea {
    font-family: 'Poppins', sans-serif;
}

.axmp-wrap h1,
.axmp-wrap h2,
.axmp-wrap h3,
.axmp-wrap h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

/* v1.1.205 FIX -- real root cause of "Big text size" found: THIS base reset never set a
   font-size on h1-h4, so any heading tag anywhere in the dashboard that wasn't ALSO covered
   by a more specific sizing rule (.axmp-page-head h2/h3, .axmp-panel-head h3, .axmp-form-title,
   etc.) was silently falling through to the host WordPress theme's own (much larger) default
   h1-h4 sizes -- invisible to a code-only review, only caught via the owner's live screenshots
   of Returns ("Returned & Cancelled Orders") and Earnings ("Order-wise Earnings Log"), both
   bare <h4> tags the v1.1.204 round missed. This sets a sane default for every level so NO
   heading in the dashboard can ever silently inherit the theme's size again -- a more specific
   rule (like the one below) still wins where one exists; this is only the safety net. */
.axmp-wrap h1 { font-size: 20px; }
.axmp-wrap h2 { font-size: 18px; }
.axmp-wrap h3 { font-size: 16px; }
.axmp-wrap h4 { font-size: 15px; }

.axmp-card {
    background: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E8E4DC);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 4px 12px -4px rgba(28, 25, 23, .06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.axmp-field {
    margin-bottom: 14px;
}

.axmp-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ink-soft);
    margin-bottom: 5px;
}

.axmp-field input:not([type="radio"]):not([type="checkbox"]),
.axmp-field select,
.axmp-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--canvas);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.axmp-field input:not([type="radio"]):not([type="checkbox"]):focus,
.axmp-field select:focus,
.axmp-field textarea:focus {
    outline: none;
    border-color: var(--red);
    background: #fff;
    box-shadow: 0 0 0 3px var(--red-wash);
}

.axmp-field input[type="radio"],
.axmp-field input[type="checkbox"],
.axmp-radio-card input[type="radio"],
.axmp-checkbox-card input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    flex-shrink: 0 !important;
    cursor: pointer;
    accent-color: var(--red-dark);
}

.axmp-hint {
    font-size: 11px;
    color: var(--ink-faint);
    margin-top: 4px;
}

.axmp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(180deg, #FFCF33, var(--red, #F5B700));
    color: #0F0F0F !important;
    border: none;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 22px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 8px 18px -6px rgba(245, 183, 0, .5);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.axmp-btn:hover {
    opacity: 0.95;
}

.axmp-btn:active {
    transform: scale(0.98);
}

.axmp-btn.gold {
    /* BUG FIXED: --gold is only defined inside .axmp-wrap above. This class is also used by
       maybe_show_customer_cancel_button() (frontend/class-checkout.php) on WooCommerce's own
       order-received/view-order page, which is NOT wrapped in .axmp-wrap -- so var(--gold)
       resolved to nothing there, invalidating the whole `background` shorthand and rendering
       the button with no background (transparent) behind its white text: an invisible button
       on the card's cream background. Fallback values here make this class safe both inside
       and outside .axmp-wrap, with no visual change wherever it already worked. */
    background: linear-gradient(180deg, #333333, var(--gold, #0F0F0F));
    color: #fff !important;
    box-shadow: 0 8px 18px -6px rgba(15, 15, 15, .4);
}

.axmp-btn.outline {
    background: var(--canvas, #FFFFFF);
    color: var(--ink-soft, #57534E) !important;
    border: 1px solid var(--border, #E8E4DC);
    box-shadow: none;
}

.axmp-btn.small {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 8px;
}

.axmp-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
}

.axmp-badge.green {
    background: var(--green-wash);
    color: var(--green);
}

.axmp-badge.red {
    background: var(--red-wash);
    color: var(--red-dark);
}

.axmp-badge.gold {
    background: var(--gold-wash);
    color: var(--gold);
}

.axmp-badge.blue {
    background: var(--blue-wash);
    color: var(--blue);
}

.axmp-badge.purple {
    background: var(--purple-wash);
    color: var(--purple);
}

.axmp-badge.yellow {
    background: #FEF3C7;
    color: #92400E;
}

.axmp-msg {
    padding: 11px 15px;
    margin-bottom: 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
}

.axmp-msg.success {
    background: var(--green-wash);
    color: var(--green);
    border: 1px solid #CBEBD6;
}

.axmp-msg.error {
    background: var(--red-wash);
    color: var(--red-dark);
    border: 1px solid #F5C6CB;
}

.axmp-msg.warning {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.axmp-msg.info {
    background: var(--blue-wash);
    color: var(--blue);
    border: 1px solid #BFDBFE;
}

/* v1.1.146 ADDED -- Orders tab's own "new order arrived, list updated"
   confirmation banner (printed once in vendor/views/orders.php, toggled by
   assets/js/vendor-dashboard.js's axmpMaybeRefreshOrdersList()). Styled in
   the same family as .axmp-msg above but deliberately more attention-
   grabbing (brief slide-in + a couple of pulses) since its whole job is to
   be noticed for a few seconds, then it fades itself out -- see that JS
   function's own doc comment. This is separate from, and in addition to,
   the existing sitewide popup+sound alert (#axmp-order-alert-root) -- that
   one fires regardless of which tab is open; this one only confirms that
   THIS tab's own table just refreshed in place. */
.axmp-new-orders-banner {
    padding: 11px 15px;
    margin-bottom: 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    background: var(--green-wash);
    color: var(--green);
    border: 1px solid #BBF7D0;
    animation: axmp-new-orders-banner-in 0.3s ease-out, axmp-new-orders-banner-pulse 1.1s ease-in-out 0.3s 2;
}

@keyframes axmp-new-orders-banner-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes axmp-new-orders-banner-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.18);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(21, 128, 61, 0.18);
    }
}

.axmp-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 4px;
}

.axmp-row-2 .axmp-field {
    min-width: 0;
}

.axmp-form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 14px 0;
}

.axmp-textarea-sm {
    min-height: 60px !important;
    max-height: 100px;
}

/* v1.1.99 REMOVED: the old .axmp-nav-tabs/.axmp-tab-item "underlined tab, later
   gold-pill" base system that only ever backed the mobile-nav pill row
   (vendor/views/dashboard.php) is gone now that that row was replaced with a fixed
   bottom app-bar (.axmp-bottom-nav below) -- see this file's own history for the
   pill-era rules this replaces. */

/* Skeleton Loading State Animation */
.axmp-skeleton {
    background: linear-gradient(90deg, #f0ede6 25%, #e8e4dc 50%, #f0ede6 75%);
    background-size: 200% 100%;
    animation: axmp-skeleton-anim 1.5s infinite;
    border-radius: 6px;
    display: inline-block;
}

@keyframes axmp-skeleton-anim {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Modal Confirmation Box */
.axmp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.axmp-modal-box {
    background: #fff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: axmp-modal-in 0.2s ease-out;
}

@keyframes axmp-modal-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Component Extensions for Marketplace Dashboard UI */

/* 1. Radio Card Group (Product Configuration Type) */
.axmp-radio-card-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.axmp-radio-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.axmp-radio-card:hover {
    border-color: var(--red);
    background: #FFFCF5;
}

.axmp-radio-card input[type="radio"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--red-dark);
    flex-shrink: 0;
}

.axmp-radio-card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.axmp-radio-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    word-break: break-word;
}

.axmp-radio-card-desc {
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 2px;
    line-height: 1.35;
    word-break: break-word;
}

.axmp-radio-card.active,
.axmp-radio-card:has(input[type="radio"]:checked) {
    border-color: var(--red);
    background: #FFF8DE;
    box-shadow: 0 2px 8px rgba(245, 183, 0, 0.15);
}

/* 2. Checkbox Card (Same-Day Delivery & Options) */
.axmp-checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.axmp-checkbox-card:hover {
    border-color: var(--red);
    background: #ffffff;
}

.axmp-checkbox-card input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--red-dark);
    flex-shrink: 0;
}

.axmp-checkbox-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 3. Working Days Chips (Store Setup) */
.axmp-day-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.axmp-day-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    white-space: nowrap !important;
    transition: all 0.15s ease;
    user-select: none;
}

.axmp-day-chip:hover {
    border-color: var(--red);
    background: #FFFCF5;
}

/* v1.1.224 CHANGED -- owner's "Working Days ... simple kijiye" request: the checkbox
   square itself is now visually hidden (standard visually-hidden pattern, NOT
   display:none, so it stays in the tab order and screen-reader accessible, and still
   submits working_days[] correctly on save). It was always a redundant second signal
   next to the chip's own background/border/color flip below
   (.axmp-day-chip:has(input:checked)) -- removing it leaves a cleaner, simpler pill
   with no loss of function. */
.axmp-day-chip input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.axmp-day-chip:has(input[type="checkbox"]:checked) {
    border-color: var(--red);
    background: #FFF8DE;
    color: var(--red-dark);
}

/* v1.1.224 ADDED -- Store Setup, "Store Hours" single-line time row. Owner's request:
   Opening/Closing Time used to be two full separately-labeled fields side by side
   ("Opening Time" / "Closing Time", each with its own label line) -- replaced with one
   field, one label ("Store Hours"), and the two time inputs inline on a single row
   separated by a small "to", e.g. reading like "9:00am to 9:00pm". Overrides
   .axmp-field input's default width:100% (which would otherwise stack these full-width
   on top of each other) with flex sizing so both inputs genuinely sit on one line, on
   both mobile and desktop. */
.axmp-hours-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.axmp-hours-row input[type="time"] {
    width: auto !important;
    flex: 1 1 0;
    min-width: 0;
}

.axmp-hours-sep {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    flex-shrink: 0;
}

/* v1.1.224 ADDED -- Store Setup, compact one-line media upload rows (Store Logo,
   Desktop/Mobile Store Banner). Owner's request: these three used to each be a
   separate bordered, padded white card-in-a-card -- a label line, then a description
   line, THEN the file picker row -- three stacked lines of chrome per upload before
   the file input ever appeared. Rebuilt as one compact field each: the name and specs
   (dimensions/format/max-size) now share a SINGLE line (.axmp-media-row label +
   .axmp-media-meta, overriding .axmp-field label's default uppercase/letter-spaced
   styling since this label now carries a full sentence, not a short tag), and the
   thumbnail/file-input/preview-link sit on one inline row underneath
   (.axmp-media-row-inline) -- no nested bordered box. The logo's live-preview
   thumbnail is also shrunk from 70px to 36px here, matching this engagement's standing
   "Big Shape Box" rule (icon/thumbnail badges capped at ~32px, not 40px+). */
.axmp-media-row label {
    text-transform: none;
    letter-spacing: normal;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.axmp-media-meta {
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-soft);
    margin-left: 6px;
}

.axmp-media-row-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.axmp-media-thumb {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.axmp-media-file-input {
    /* width:auto + !important needed here: .axmp-field input:not([type="radio"])...
       (the base field-input rule, higher specificity than this single class) forces
       width:100% by default, which would push the thumbnail/file-input/preview-link
       row onto separate lines instead of the single inline row this is built for. */
    width: auto !important;
    flex: 1 1 auto;
    min-width: 150px;
    font-size: 12px;
}

.axmp-media-preview-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--red-dark);
    text-decoration: none;
    white-space: nowrap;
}

.axmp-media-preview-link:hover {
    text-decoration: underline;
}

/* v1.1.225 ADDED -- Profile & KYC's read-only reference block for Store Name/Logo/
   Banner/Address (vendor/views/profile.php, "2. Business Identity" card). These four
   fields used to have their own editable <input>/<input type=file> fields on THIS
   page too, duplicating Store Setup's own copy of the exact same post-meta fields.
   Owner's chosen fix (AskUserQuestion): keep editing them on Store Setup only, show
   a compact read-only summary here instead, with a link across. Reuses
   .axmp-media-thumb/.axmp-media-meta/.axmp-media-preview-link from v1.1.224 rather
   than inventing new thumbnail/link styles. The dashed border (vs. the solid border
   every other .axmp-field/.axmp-card uses) is a deliberate small visual cue that this
   block is read-only reference, not an input to fill in. */
.axmp-readonly-ref {
    background: var(--canvas);
    border: 1px dashed var(--border);
    border-radius: 10px;
    padding: 12px 14px;
}

.axmp-readonly-ref-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 10px;
}

.axmp-readonly-ref-text {
    font-size: 13px;
    color: var(--ink);
    line-height: 1.45;
}

/* v1.1.226 ADDED -- Product Builder Step 6 "Live Product Card Preview" now reuses the exact
   markup/classes the real Shop-page card uses (.product-loop-wrapper / .product-loop-content /
   .axmp-loop-sale-text / .axmp-loop-time-text / .axmp-loop-price-text / .axmp-loop-vendor-name --
   see frontend/class-storefront-polish.php and assets/css/storefront-polish.css), per the
   owner's explicit ask: "Live preview mei Website mein jeisa dikhata hai waisa hi dikhana
   chahiye."

   Those classes' real styling in storefront-polish.css lives under `body.archive`/
   `body.tax-product_cat` selectors (the Shop page's own body classes), which this Vendor
   Dashboard page never carries -- artificially adding that body class here was considered and
   rejected: several other scripts/CSS blocks are also gated on it (shop-category-carousel.js,
   mobile filter/sort hide, etc.) and could fire unexpectedly on this unrelated page. Instead,
   this block is a deliberately scoped, hand-matched SNAPSHOT of those same confirmed values,
   wrapped under `.axmp-live-card-preview` so it only ever applies inside this one preview box
   and can never leak onto (or be affected by) the real storefront. If the real card's design
   changes again in a future round, this snapshot needs updating too -- it does not auto-follow
   storefront-polish.css. */
.axmp-live-card-preview .product-loop-wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.axmp-live-card-preview .product-loop-image-wrapper {
    border-radius: 10px;
    overflow: hidden;
}
.axmp-live-card-preview .product-loop-content {
    text-align: center;
    padding: 8px 6px 2px;
    box-sizing: border-box;
}
.axmp-live-card-preview .woocommerce-loop-product__title {
    font-size: 14px;
    line-height: 1.3;
    margin: 4px 0 0;
    font-weight: 700;
    color: var(--ink);
}
.axmp-live-card-preview .axmp-loop-sale-text {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #D23C3C;
}
.axmp-live-card-preview .axmp-loop-time-text {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
    color: #C68E00;
}
.axmp-live-card-preview .axmp-loop-price-text {
    display: block;
    margin-top: 3px;
    font-size: 14px;
    font-weight: 800;
}
.axmp-live-card-preview .price del {
    color: #9A9A9A;
    font-size: 12px;
    font-weight: 400;
    text-decoration: line-through;
}
.axmp-live-card-preview .price ins {
    text-decoration: none;
    background: #FFE27A;
    color: #1A1A1A;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}
.axmp-live-card-preview .axmp-loop-vendor-name {
    display: block;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #F0F0F0;
    font-size: 11px;
    color: #8A8A8A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* 4. Filter Pills & Search Container (Catalog Toolbar) */
.axmp-filter-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.axmp-filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.axmp-filter-pills::-webkit-scrollbar {
    display: none;
}

.axmp-filter-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--ink-soft);
    transition: all 0.15s ease;
}

.axmp-filter-pill:hover {
    border-color: var(--red);
    color: var(--ink);
}

.axmp-filter-pill.active {
    background: linear-gradient(180deg, #FFCF33, var(--red)) !important;
    color: #0F0F0F !important;
    border-color: var(--red) !important;
    box-shadow: 0 4px 10px rgba(245, 183, 0, 0.3);
}

.axmp-value-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #FFF8DE;
    border: 1px solid #F5B700;
    color: #8A6D00;
    font-size: 12px;
    font-weight: 700;
    user-select: none;
}

.axmp-value-chip-remove {
    cursor: pointer;
    font-weight: 800;
    color: #C53030;
    font-size: 14px;
    line-height: 1;
}

.axmp-value-chip-remove:hover {
    color: #9B2C2C;
}

.axmp-suggestion-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.axmp-suggestion-chip:hover {
    border-color: var(--red);
    background: #FFF8DE;
    color: var(--red-dark);
}

.axmp-bulk-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    align-items: center;
}

.axmp-search-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 220px;
    max-width: 340px;
}

.axmp-search-input {
    width: 100%;
    padding: 9px 14px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--canvas);
    transition: all 0.15s ease;
}

.axmp-search-btn {
    white-space: nowrap !important;
    min-width: 90px;
    padding: 9px 16px !important;
    flex-shrink: 0 !important;
}

/* 5. Table Layout & Action Buttons Fix */
.axmp-btn.action-btn {
    white-space: nowrap !important;
    min-width: 72px;
    padding: 7px 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px;
    flex-shrink: 0 !important;
}

/* ==========================================================
 * PRO UI SYSTEM (v1.1.38) — App shell, shared list/table/badge
 * system, stat cards & dashboard panels.
 *
 * Everything below is deliberately hoisted into this ONE shared
 * stylesheet (loaded on every Vendor Dashboard tab) rather than
 * living in a per-tab <style> block. Two reasons:
 *   1. Consistency — every tab now draws from the exact same
 *      tokens/classes instead of three near-identical copies
 *      (Products, Support Desk, and whatever came before) slowly
 *      drifting apart.
 *   2. BUG FIX (found during this redesign): vendor/views/support.php
 *      used the classes `.axmp-table-styled` and `.axmp-badge-pill`
 *      on its ticket table/status pills, but NEVER DEFINED them
 *      anywhere -- Products was the only tab that happened to define
 *      them, and since each tab's markup is mutually exclusive
 *      (only one tab renders per page load), Support Desk's table and
 *      status pills were rendering with zero styling (default browser
 *      table borders, plain text status) any time a vendor opened
 *      that tab directly. Defining these classes once, here, fixes
 *      Support Desk automatically with no changes needed to
 *      support.php itself.
 * ========================================================== */

/* ---- App shell: sidebar + main content ----
   v1.1.39 HARDENED: on the live site, the sidebar (originally a <nav>, see dashboard.php's own
   comment on that change) was being hijacked by the theme's own global positioning rules for
   off-canvas/mobile menus and pinned as a fixed overlay instead of sitting in this flex row.
   Switching that tag to a plain <div> should remove the collision at its root, but every rule
   here is now ALSO qualified with the ".axmp-wrap" ancestor (this plugin's own unique wrapper,
   never styled by anything else) purely for extra selector specificity, and the layout-critical
   properties are marked !important so this shell wins the cascade even against a theme rule
   that matches by tag name or a loosely-scoped class. ---- */
.axmp-wrap .axmp-shell {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 20px;
    margin-bottom: 20px;
}

.axmp-wrap .axmp-sidebar {
    position: static !important;
    float: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: auto !important;
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    height: auto !important;
    max-height: none !important;
    flex-shrink: 0;
    background: #0F0F0F;
    border-radius: 16px;
    padding: 20px 14px;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box;
}

/* v1.1.93 NOTE: this CSS-only sticky rule turned out not to work on the live site
   (some ancestor's overflow/transform silently defeats position:sticky -- see
   vendor-dashboard.js's JS-based replacement for the real fix and full explanation).
   Left in place purely as a harmless fallback for the rare case JS is unavailable --
   the JS fix overrides this with higher-priority inline styles whenever it runs. */
@media (min-width: 1101px) {
    .axmp-wrap .axmp-sidebar {
        position: sticky !important;
        top: 16px !important;
    }
}

/* v1.1.104 FIX (owner-reported, screenshot on the Returns tab while scrolling: "sticky
   header ka niche part bhi dikha raha hai" -- the colorful banner carousel peeking
   through a thin gap right under the sticky header while scrolling). Root cause: both
   the sidebar's (v1.1.93) and the topbar's (v1.1.103) JS "portal to body" sticky-fill
   give their wrapper `<div>` the bare ".axmp-wrap" class purely so descendant selectors
   like ".axmp-wrap .axmp-topbar"/".axmp-wrap .axmp-sidebar" still resolve once the real
   element is moved inside it (see the doc comment on .axmp-shell above, and
   vendor-dashboard.js). That class ALSO carries a completely unrelated
   "@media (max-width:768px) { .axmp-wrap { padding: 4px; } }" rule (added for the mobile
   data-table cards, further down this file) -- on any phone <=768px wide, the topbar's
   portal silently inherited that 4px padding too, so the fixed portal's box became 8px
   TALLER than the topbar it holds, with the extra 4px strip at the bottom (and top)
   fully transparent (the portal itself has no background -- only .axmp-topbar does).
   That transparent 4px sliver is exactly where the banner carousel (the very next
   element in normal flow, immediately below the topbar) scrolls up from underneath and
   becomes visible. The sidebar's portal has the identical padding inherited too, but
   never showed the bug because it only ever activates at >=1101px (isDesktop() in the
   JS), a width the 768px query never reaches -- pure luck, not a real difference. Fixed
   here for both portals at once, with higher selector specificity (two classes) so it
   reliably wins over ".axmp-wrap"'s own padding rule regardless of source order.

   v1.1.116 ADDED: same reasoning, for the base ".axmp-wrap" rule's new
   background/min-height (added to stop the theme's own body background from showing
   through a short tab's leftover space, see that rule's own comment) -- these two small
   fixed-position portal shells inherit that class purely for its CSS variables, not for
   the page-filling background/height meant for the real page wrapper. Reset back to
   auto/none here, same higher-specificity pattern as padding above, so neither portal
   ever paints a full-viewport-tall canvas-colored block over the real page underneath
   it (which would visually cover, and block clicks on, everything on screen).

   v1.1.118 ADDED a third portal to this same reset, .axmp-filter-tabs-portal -- the
   Products tab's filter-tabs bar now uses this exact same "portal to <body>" pattern
   (see vendor-dashboard.js), for the same padding/background/min-height reasons.

   v1.1.121 ADDED a fourth portal, .axmp-orders-toolbar-portal -- the Orders tab's
   date-navigation toolbar (see orders.php) was given the identical sticky-bar
   treatment as the Products tab's filter-tabs bar (owner: "Same waise hi Customer
   Orders Workflow bhi setting karna hai"), via the same JS factory function
   (axmpCreateStickyBarPortal() in vendor-dashboard.js) that now creates it. */
.axmp-wrap.axmp-topbar-portal,
.axmp-wrap.axmp-sidebar-portal,
.axmp-wrap.axmp-filter-tabs-portal,
.axmp-wrap.axmp-orders-toolbar-portal {
    padding: 0;
    min-height: auto;
    background: none;
}

/* v1.1.83 REMOVED: .axmp-sidebar-logo / -logo-mark / -logo-word (the sidebar's own duplicate
   "AXOMIFY MART" logo+wordmark, owner-requested removal -- see vendor/views/dashboard.php).
   The sidebar's flat nav list now sits directly under the sidebar's own top padding (20px,
   set on .axmp-sidebar above) instead of below the old logo block. */

/* v1.1.188 REMOVED: .axmp-sidebar-section-label (the MAIN/FINANCE/ACCOUNT uppercase group
   headers printed above each $nav_items group) -- owner's confirmed choice, matching a
   reference screenshot's single continuous flat list with no section labels (see
   vendor/views/dashboard.php's matching v1.1.188 note on its $nav_items render loop).
   dashboard.php no longer renders any element with this class -- deleted outright rather
   than left as unused CSS, same convention as this file's other v1.1.187/v1.1.188 removals.
   Replaced by one plain .axmp-sidebar-divider rule, further down this file. */

.axmp-sidebar-nav-item {
    display: flex !important;
    align-items: center !important;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 2px;
    font-size: 13.5px;
    font-weight: 600;
    color: #C9C4BC !important;
    text-decoration: none !important;
    border-left: 3px solid transparent;
}

/* v1.1.93 CHANGED (owner-reported: "sabhi tab ka Icone dekhiye meesho ka kitna atcha
   hai, aur hamara dekhiye atcha laga hai?"): the plain Unicode/emoji glyphs (●, 📦,
   ⚙️, 💰, ⬆, 🔔, 💬 -- inconsistent sizing/style across OS font stacks, no visual
   weight) are replaced with real inline SVG icons (see dashboard.php's $nav_items),
   each sitting in its own small colored "chip" -- same visual language as the Meesho
   Supplier Hub reference screenshot (a distinct accent color per nav item, on a
   tinted rounded-square background). The chip's background/icon color come from each
   item's own inline style (--chip-bg/--chip-color, set per row in dashboard.php) so
   this one rule serves every icon without one CSS rule per nav item. */
.axmp-sidebar-nav-item .ic {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--chip-bg, rgba(255, 255, 255, 0.08));
    color: var(--chip-color, #C9C4BC);
    transition: background 0.15s ease, color 0.15s ease;
}

.axmp-sidebar-nav-item .ic svg {
    width: 16px;
    height: 16px;
}

.axmp-sidebar-nav-item.active {
    background: rgba(245, 183, 0, 0.13);
    color: #fff !important;
    border-left: 3px solid var(--red, #F5B700);
}

.axmp-sidebar-nav-item.active .ic {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.axmp-sidebar-nav-item .badge-dot {
    margin-left: auto;
    background: #DC2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    padding: 1px 6px;
}

/* v1.1.91 ADDED, v1.1.92 SUPERSEDED: this was the desktop sidebar's flat "Logout" nav
   row. v1.1.92 moved Logout into the top profile dropdown instead, and this rule sat
   unused (harmless, left in place) from v1.1.92 through v1.1.187.
   v1.1.188 REACTIVATED: Logout moves back into the flat $nav_items list (now at the very
   END, matching the reference image -- see dashboard.php's own v1.1.188 note), and its
   'extra_class' is this exact class name -- genuinely back in use again, not dead weight. */
.axmp-sidebar-nav-item-logout {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px 10px 0 0;
}

.axmp-sidebar-nav-item-logout:hover {
    color: #FCA5A5 !important;
    background: rgba(220, 38, 38, 0.12);
}

/* v1.1.92 ADDED (owner's request -- "Vendor ka Logo, Name, Storefront ka part ekdom
   upar le jana jana chahiye... jeise meesho ka hota hai"): the profile identity widget,
   now at the TOP of the sidebar (dashboard.php), replacing the old bottom-of-sidebar
   .axmp-sidebar-foot placement.
   v1.1.187 CHANGED: no longer a dropdown trigger.
   v1.1.188 CHANGED (owner's request, reference screenshot sent with "Mujhe UI eisa
   chahiye", confirmed via AskUserQuestion): rebuilt as a CENTERED identity block
   (centered avatar/name/subtitle + a pill button), matching the reference image, in
   place of the old left-aligned header row + separate always-open menu list (both
   fully removed -- see dashboard.php's own v1.1.188 note for the markup change, and
   the new .axmp-sidebar-avatar-lg / -store-name / -store-subtitle / -pill-btn rules
   just below). .axmp-sidebar-profile-header, -profile-text, -profile-menu, and
   -profile-menu-item (+ its .ic/.ic svg/:hover/.active/-logout:hover) are all DELETED
   outright below, following this session's established convention of removing dead
   CSS rather than leaving it inert once dashboard.php no longer renders anything with
   those classes. */
.axmp-sidebar-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    margin-bottom: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* v1.1.188 ADDED: bigger centered avatar variant for the redesigned header (was 32px
   in the old left-aligned row -- see .axmp-sidebar-avatar below, still used as-is for
   the base chip shape/font; this just scales it up for the new centered layout). The
   doubled class selector (.axmp-sidebar-avatar.axmp-sidebar-avatar-lg) guarantees this
   wins over the base rule's smaller size regardless of source order. */
.axmp-sidebar-avatar.axmp-sidebar-avatar-lg {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 18px;
    margin-bottom: 6px;
}

/* v1.1.188 ADDED: centered, bold store name -- replaces the old single-line
   ellipsis-truncated .axmp-sidebar-foot-name (deleted below, now unused) with a
   centered style that can wrap onto a second line instead of truncating, since
   there's no longer a "View storefront" link sharing the row. */
.axmp-sidebar-store-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* v1.1.188 ADDED: the centered "Seller ID: ... · View storefront" subtitle line
   under the store name -- folds in the Seller ID shown in the reference image plus
   the existing "View storefront" link (kept as a judgment call -- see dashboard.php's
   own v1.1.188 note on this; the reference image doesn't show it, flagged to owner). */
.axmp-sidebar-store-subtitle {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    color: #8C8780;
    margin-bottom: 10px;
}

.axmp-sidebar-store-subtitle a {
    color: var(--red, #F5B700);
    text-decoration: none;
    font-weight: 600;
}

/* v1.1.188 ADDED: the pill-shaped "Go to AXOMIFY MART" button (was a plain menu-row
   link, same href/onclick -- see dashboard.php's own v1.1.188 note). Color uses a
   light cream tint of the plugin's existing gold accent (var(--red), #F5B700) rather
   than a guessed exact pixel color lifted from the reference photo -- flagged to
   owner as a judgment call; easy to retint if a specific shade is wanted. */
.axmp-sidebar-pill-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
    border-radius: 999px;
    background: #F5E7BE;
    color: #5C3F00;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.axmp-sidebar-pill-btn:hover {
    background: #EFDBA0;
}

/* v1.1.188 ADDED: replaces the removed .axmp-sidebar-section-label group headers with
   one plain divider line, printed once above whichever $nav_items entry carries
   'divider_before' => true (see dashboard.php's own v1.1.188 note on its render loop). */
.axmp-sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 10px 4px 8px;
}

.axmp-sidebar-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.axmp-sidebar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--green-wash);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 12px;
    color: var(--green);
    flex-shrink: 0;
}

/* v1.1.40 ADDED: shows the vendor's own uploaded store logo instead of plain initials, when
   one is set (see dashboard.php). */
.axmp-sidebar-avatar-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* v1.1.40 FIXED (owner's report, live screenshot): the name + "View storefront" line were
   inheriting a much taller line-height than their own 12px/10.5px font sizes needed (likely
   from the surrounding page/theme's own body line-height), reading as an oversized gap between
   two short lines that should sit close together. Pinned a tight line-height on both, and
   wrapped them in their own flex column with an explicit small gap instead of relying on
   whatever spacing the browser default happened to produce. */
.axmp-sidebar-foot-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

/* v1.1.188 REMOVED: .axmp-sidebar-foot-name / .axmp-sidebar-foot-link -- dashboard.php's
   redesigned centered profile header (see .axmp-sidebar-profile's own v1.1.188 note
   above) no longer renders either class, replaced by .axmp-sidebar-store-name and the
   "View storefront" link now folded into .axmp-sidebar-store-subtitle. Deleted outright
   (this session's established convention) rather than left inert, since this change
   itself is what makes them dead and nothing else references either selector.
   .axmp-sidebar-foot / .axmp-sidebar-foot-text defined above this note were ALREADY
   unused before this version (pre-existing, from the v1.1.92 move) -- left untouched,
   out of this change's scope. */

.axmp-wrap .axmp-main-col {
    flex: 1 1 0% !important;
    min-width: 0;
    width: auto !important;
    position: static !important;
    float: none !important;
}

/* ---- Top bar (sits above tab content, inside main column) ---- */
/* v1.1.95 ADDED (owner's request, Meesho-reference screenshot: admin-uploaded
   promotional banners rotating at the top of the Vendor Dashboard -- see
   vendor/views/dashboard.php's #axmp-banner-carousel markup, admin/views/settings.php's
   "Dashboard Banners" tab, and the autoplay/dot-click JS in vendor-dashboard.js).
   Fade-based carousel: every slide is stacked via position:absolute and only the
   .active one is visible -- simpler and less error-prone than a horizontal-scroll
   track, and avoids needing to know the container's width up front. aspect-ratio keeps
   the slot's height proportional to its width instead of the image dictating layout
   height (which would jump/reflow between differently-shaped uploaded images).
   v1.1.191 CHANGED what decides this ratio (owner's explicit correction: "Agar image
   ka width Desktop ke liye kam hai to height bada dena chahiye. Matlab image box ka
   under proper fit hona hi hoga jeise bhi ho. Piture ka box bada ho jane se bhi koi
   baat nahi" -- the BOX must adapt to whatever shape the real uploaded file actually
   is, not the other way round). v1.1.190's object-fit:contain stopped cropping but
   left empty letterbox bars whenever a banner's real shape didn't match its box --
   not acceptable per this instruction. Now vendor/views/dashboard.php computes each
   banner's REAL aspect ratio server-side from the actual uploaded file's own pixel
   dimensions (Axomify_Marketplace_Helper::get_banner_aspect_ratio(), via PHP's
   getimagesize()) and sets it as an inline style on #axmp-banner-carousel plus a
   data-ratio attribute per slide; vendor-dashboard.js updates the inline style on
   every slide change. The `aspect-ratio: 4 / 1` below is now ONLY the pre-JS/no-JS
   fallback (e.g. no banners configured) -- in normal operation the inline style
   computed from the real file always wins and this value is never seen.
   v1.1.192 CHANGED again: ONE shared image/ratio was still being stretched across
   both a narrow phone and a wide desktop container -- owner-reported, this made
   mobile look right but desktop look too tall/big. Desktop and Mobile now each get
   their OWN uploaded image and their OWN computed ratio (see vendor/views/
   dashboard.php's and includes/class-helper.php's own v1.1.192 notes), carried as
   two CSS custom properties (--axmp-banner-ratio-desktop / --axmp-banner-ratio-
   mobile) set inline by PHP and kept in sync by vendor-dashboard.js on every slide
   change. `aspect-ratio` itself now just reads whichever custom property applies
   at the current viewport width -- picked by a plain CSS media query below, not
   JS -- so resizing the browser window across the breakpoint updates the box shape
   live, the same way the <picture>/<source> markup swaps the image itself live. */
.axmp-banner-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: var(--axmp-banner-ratio-desktop, 4);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #F1EFE9;
}

/* v1.1.192 ADDED: the Mobile-specific ratio applies below the same 600px breakpoint
   already used elsewhere in this file for mobile overrides (and now also by the
   <picture><source media="(max-width:600px)"> image swap in dashboard.php, so the
   image and the box shape change at the exact same width). Falls back to the
   Desktop custom property (then to 4) if --axmp-banner-ratio-mobile was somehow
   never set, so this can never resolve to an invalid/empty aspect-ratio. */
@media (max-width: 600px) {
    .axmp-banner-carousel {
        aspect-ratio: var(--axmp-banner-ratio-mobile, var(--axmp-banner-ratio-desktop, 4));
    }
}

.axmp-banner-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.axmp-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.axmp-banner-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.axmp-banner-slide a,
.axmp-banner-slide picture,
.axmp-banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

/* v1.1.95 ADDED object-fit:cover (zoom+crop to fill the slot edge-to-edge).
   v1.1.189 fixed the MOBILE slot shape to match desktop's (both now use the exact
   ratio the documented upload sizes describe), but that alone still assumed every
   uploaded banner is pixel-exact to spec. It isn't always -- owner-reported, live
   screenshot + the actual banner file checked directly: a banner picked as "Medium"
   (meant to be 1200x170, a 7:1 image) was actually a 1024x341 file, a 3:1 image, a
   totally different shape. object-fit:cover with THAT mismatch zooms in to fill the
   7:1 slot's width and crops off a large band from the top AND bottom of the image
   (where this banner's own logo/badge/headline all happened to sit) -- cropped
   identically on desktop and mobile once v1.1.189 made the two slots match each
   other, which is why the owner saw it cropped on both after that update (not
   "worse," but now the same crop in both places, more visible either way).
   v1.1.190 CHANGED to object-fit:contain (owner's explicit, unambiguous
   instruction: "Mujhe yeh 3 size... sab mei upload kiya hua banner poora dekhna
   hai, no crop" -- the FULL uploaded banner should always be visible, in all 3
   size slots, with zero cropping, not just when the upload happens to be pixel-
   exact to the documented size). contain scales the image down to fit entirely
   inside the slot, preserving its own aspect ratio -- never crops, whatever size
   is actually uploaded. When an upload's ratio doesn't exactly match its slot (as
   here), this now shows the whole image letterboxed (centered, with the existing
   .axmp-banner-carousel background -- #F1EFE9 -- filling the two resulting gaps)
   rather than zoomed-and-cropped. A banner uploaded at the EXACT documented pixel
   size for its slot fills it completely either way -- this only changes what
   happens when it doesn't match, from "crop" to "letterbox," per the owner's
   explicit "no crop" instruction.
   v1.1.191 KEEPS object-fit:contain unchanged -- it is now a defensive fallback
   only. Since the carousel box's own aspect-ratio is computed from this exact
   same image's real dimensions (see .axmp-banner-carousel's v1.1.191 note above),
   box-ratio and image-ratio match in the normal case, so cover/contain/fill all
   render identically (no scaling needed either way). contain stays in place only
   to guard an edge case where the computed ratio can't exactly equal the source
   (clamped to [1.2, 12] in get_banner_aspect_ratio(), or a getimagesize() read
   failure falling back to a hardcoded default) -- even then it still shows the
   whole image with no crop, matching the owner's "no crop" instruction, rather
   than risk a sliver being cut off. */
.axmp-banner-slide img {
    object-fit: contain;
}

.axmp-banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.axmp-banner-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease, border-radius 0.2s ease;
}

.axmp-banner-dot.active {
    background: #FFFFFF;
    width: 18px;
    border-radius: 4px;
}

/* v1.1.95 ADDED a shorter/taller aspect-ratio here on phones ("a 4:1 slot on a narrow
   phone screen makes any uploaded banner's text too small to read"), so the carousel
   BOX used a different ratio on mobile (2:1) than on desktop (4:1).
   v1.1.189 REMOVED that ratio override (owner-reported, live screenshot: "Dashboard
   Banner ki size tha Large banner size: 1200×300px, Medium banner size: 1200×170px aur
   Small banner size: 1200×120px. Sab size ka banner view kiyu proper nahi hote? Proper
   view hona chahiye, Mobile aur desktop dono mein"). Root cause, confirmed with a
   purpose-built 3x3 color-grid test image at the EXACT documented pixel size (1200x300,
   a true 4:1 image) rendered via the PHP-stub harness and pixel-sampled at mobile width:
   with the box forced to 2:1 while the image is 4:1, object-fit:cover (unchanged, still
   in place below) has to zoom in to cover the box's relatively-taller height, which
   crops roughly the outer 25% off BOTH the left AND right edges of the image -- the
   crop gets progressively worse for the shorter Medium/Small sizes too (see their own
   now-also-removed mobile overrides just below), since their box-vs-image ratio
   mismatch on mobile was even bigger. This directly contradicts the exact pixel sizes
   the owner documents for admins to upload at -- those sizes are only shown correctly
   edge-to-edge when the display box uses the SAME ratio the upload spec describes,
   which desktop already did (and still does, unchanged) but mobile did not. Mobile now
   uses the exact same ratio as desktop for every size (set once, unscoped, further up
   this file / in .axmp-banner-size-medium / -small below) -- a banner uploaded to the
   documented dimensions now displays in full, uncropped, on both mobile and desktop.
   TRADE-OFF (flagged to owner, not silently decided): this reverses v1.1.95's
   readability trade-off -- any text baked into an uploaded banner image will now look
   smaller in absolute terms on a narrow phone screen than it did under the old taller
   mobile box, since the full image is shown at native proportions rather than zoomed
   in. If banner text reads too small on phones after this update, the fix is a
   mobile-specific image variant (not currently supported -- would need a new upload
   field) rather than reintroducing a mismatched crop ratio.
   border-radius stays slightly smaller on mobile -- purely cosmetic, unrelated to the
   cropping bug, kept as-is. */
@media (max-width: 600px) {
    .axmp-banner-carousel {
        border-radius: 12px;
    }
}

/* v1.1.96 ADDED (owner's request: "Banner ke liye multiple size hona chahiye. abhi jo
   banner hai uska height size bada hai. Yeh bhi rakhna hai, baki size isse bhi chota
   chahiye."): per-banner size options, picked on the Dashboard Banners admin screen.
   Transitioning aspect-ratio here lets the carousel container resize smoothly whenever
   its ratio changes.
   v1.1.191 CHANGED what drives that ratio change: vendor-dashboard.js no longer swaps a
   .axmp-banner-size-* class on rotation -- it now sets the carousel's aspect-ratio
   directly as an inline style, computed per-slide from each banner's REAL uploaded file
   dimensions (see .axmp-banner-carousel's v1.1.191 note near the top of this file). This
   transition rule still applies -- `transition: aspect-ratio ...` animates any change to
   the property's computed value, whether that change comes from a class swap or a direct
   inline-style write, so rotating between differently-shaped real banners still resizes
   the box smoothly. */
.axmp-banner-carousel {
    transition: aspect-ratio 0.4s ease;
}

/* v1.1.191 REMOVED: .axmp-banner-size-medium (aspect-ratio:7/1) and
   .axmp-banner-size-small (aspect-ratio:10/1), plus the v1.1.189 removal-note comment
   that used to sit here. Both classes assumed every banner uploaded to a given size slot
   was pixel-exact to that slot's documented dimensions (1200x170 / 1200x120) -- true only
   sometimes, per the owner's own report of a "Medium" banner that was actually a
   different shape (see v1.1.190's notes above). The owner's follow-up correction made
   clear that presets keyed to a dropdown selection, cover or contain, can never fully
   solve this: "Agar image ka width Desktop ke liye kam hai to height bada dena chahiye...
   image box ka under proper fit hona hi hoga jeise bhi ho. Piture ka box bada ho jane se
   bhi koi baat nahi." The box must always match the REAL file, not a preset keyed to an
   admin dropdown choice -- so the preset classes are now fully dead (confirmed via grep:
   nothing in dashboard.php or vendor-dashboard.js references axmp-banner-size-medium/
   -small/-large any more; the dropdown itself is untouched and still exists in
   admin/views/settings.php as a cosmetic hint only -- see the v1.1.191 project doc). */

.axmp-topbar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

/* v1.1.115 CHANGED (owner's request: "Welcome back, Khorika Kitchen ka font Poppins
   kijiye, size thoda bada kijiye aur Uppercase Letter kijiye. Mobile-web dono mei" --
   font was already Poppins from v1.1.113, confirmed here; size bumped 17px -> 19px and
   text-transform: uppercase added). Unscoped (no @media here), so this applies
   identically on mobile and desktop, exactly as asked -- on desktop this covers the
   whole "Welcome back, Khorika Kitchen" line (the "Welcome back, " prefix span inherits
   uppercase/size from this rule, since it sets no font-size of its own); on mobile the
   prefix is hidden (a separate small "Welcome Back" eyebrow line already covers that,
   untouched here) so only the store name itself ("Khorika Kitchen") gets bigger and
   uppercase there, which is the same title element either way. */
.axmp-topbar-title {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 800;
    text-transform: uppercase;
}

/* v1.1.108 ADDED (owner's request: move the Open/Closed/Vacation status onto the same
   line as the store name on mobile, short form -- see dashboard.php's
   .axmp-topbar-status-inline markup and its PHP comment). Originally `display: contents`
   here so desktop's title kept behaving as a plain block, and only the mobile media
   query below turned this into a real flex row.
   v1.1.149 CHANGED (owner's request, 2026-10-16, confirmed both mobile AND desktop): a
   new bell icon (.axmp-topbar-bell, markup added in dashboard.php) needs to sit on this
   same line, pushed to the right, on EVERY viewport -- not mobile-only -- so this is now
   a real flex row everywhere instead of only inside the @media block below. This does
   NOT change desktop's status-inline pill (still display:none by default, only turned
   on for mobile Overview a few rules down) -- the only visible desktop change is the
   title now sharing its line with the bell instead of being the row's sole content. */
.axmp-topbar-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* v1.1.149 ADDED -- the small, ALWAYS-visible bell that replaced the old big "Get
   new-order alerts on your phone" button here (that button moved to the top of
   vendor/views/notifications.php; see dashboard.php's own v1.1.149 comments on both
   ends of that move). Pure navigation -- clicking it opens the Notifications tab, it
   never subscribes to push by itself. margin-left:auto pushes it to the right end of
   .axmp-topbar-title-row regardless of how long the store name is (title and the
   mobile-only status pill stay left-aligned ahead of it). */
.axmp-topbar-bell {
    position: relative;
    margin-left: auto;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--canvas);
    border: 1px solid var(--border);
    font-size: 16px;
    text-decoration: none;
    line-height: 1;
}

.axmp-topbar-bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #DC2626;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--surface);
}

/* Hidden everywhere by default -- this is a MOBILE-ONLY, shortened duplicate of the
   real status already shown via .axmp-topbar-right's badge (which desktop keeps using
   exactly as before); see .axmp-topbar.is-home .axmp-topbar-status-inline below for
   where it actually turns on. */
.axmp-topbar-status-inline {
    display: none;
    align-items: center;
    gap: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.axmp-topbar-status-inline.green { background: var(--green-wash); color: var(--green); }
.axmp-topbar-status-inline.red { background: var(--red-wash); color: var(--red-dark); }
.axmp-topbar-status-inline.yellow { background: #FEF3C7; color: #92400E; }

.axmp-topbar-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.axmp-topbar-sub {
    color: var(--ink-soft);
    font-size: 12.5px;
    margin-top: 3px;
}

.axmp-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.axmp-topbar-id {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* v1.1.87 ADDED (owner's reference-image request, 2026-09-18): store logo + a "Welcome Back"
   eyebrow line above the store name, matching the mobile mockup's combined header card. Hidden
   above 1100px on purpose -- the owner's reference was explicitly the MOBILE UI, so the desktop
   topbar (which already had its own established look) is left exactly as it was. */
.axmp-topbar-logo {
    display: none;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: #FFF8DE;
    border: 1px solid var(--border);
}

.axmp-topbar-logo-fallback {
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: var(--red-dark);
}

.axmp-topbar-eyebrow {
    display: none;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-faint);
    margin-bottom: 1px;
    /* v1.1.108: explicit line-height, same reason as the v1.1.107 stat-card fix -- this
       element has no line-height of its own otherwise, so it silently inherits whatever
       the live WordPress theme sets on body text, which can render a single short line
       much taller than intended. Safe to set on the base (non-media-scoped) rule since
       this element is display:none outside the mobile media query anyway. */
    line-height: 1.2;
}

/* v1.1.100 ADDED: the plain per-tab sticky header text (see dashboard.php's
   .axmp-topbar-simple div and the .axmp-topbar.is-subtab CSS inside the
   @media (max-width:1100px) block below) -- OFF here, same "declare the base
   off-state before the media query" pattern as .axmp-topbar-eyebrow just
   above and .axmp-stat-icon-svg just below, for the same reason: this must
   win on desktop at EVERY tab (including inside .is-subtab), since desktop's
   topbar keeps the one rich header it always had -- the owner's explicit
   "web view ko hat mat lagao". */
.axmp-topbar-simple {
    display: none;
}

/* v1.1.90 ADDED: base (desktop) state for the stat-card icon SVGs -- hidden here, same
   pattern as .axmp-topbar-logo/.axmp-topbar-eyebrow just above, so the @media block below can
   turn it on for mobile. IMPORTANT: this must stay BEFORE that @media block in the file --
   .axmp-stat-icon-svg's OTHER declaration (display:block, inside the media query) has equal
   selector specificity, so source order decides the winner at any viewport where the media
   query matches; placing the "off" rule after the "on" rule silently wins on mobile and hides
   the icon there too (caught via a real-markup Playwright render before shipping). */
.axmp-stat-icon-svg {
    display: none;
}

@media (max-width: 1100px) {
    /* v1.1.102 REMOVED (owner's request, reference screenshots of Meesho's own Home/
       Inventory headers -- "logo hi hata dijiye mobile sticky header se"): the small
       store-logo avatar that used to sit beside the greeting on mobile (v1.1.87) is gone --
       Meesho's own header is plain text only, no avatar. .axmp-topbar-logo's base rule
       (declared before this media query, near .axmp-topbar-eyebrow's own base rule) already
       keeps it display:none -- simply no longer overriding that here is enough to hide it
       again on mobile too. */

    .axmp-topbar-eyebrow {
        display: block;
        /* v1.1.201 ADDED: base rule's color (var(--ink-faint), a light-gray-on-white
           tone) would be nearly invisible on the new black mobile topbar background
           -- a dim, slightly warm white instead, legible but still clearly secondary
           to the bold white store name below it. */
        color: rgba(255, 255, 255, 0.6);
    }

    /* the new topbar eyebrow+title already greets the vendor on mobile, so the Overview
       tab's own separate "Welcome back, {name}" heading would just repeat it -- hidden here,
       the date-range <select> beside it (a sibling, untouched) stays visible/functional. */
    .axmp-page-head-greeting {
        display: none;
    }

    /* v1.1.88/90 ADDED the mobile topbar's earlier solid-black card look. v1.1.101 swapped
       that for the desktop's own light-card look (still a bordered/rounded "box").
       v1.1.102 REMOVED the box itself entirely (owner's frustrated, explicit correction with
       reference screenshots -- "meine itna atcha se header design de diya aap kiya box de de
       ke bana raha hai? Aapko dekhai nahi de raha hai 1&2 ref image ka header?"): Meesho's own
       header in both reference images is PLAIN TEXT directly on the page background -- no
       border, no rounded corners, no card surface distinct from the page at all. Border,
       border-radius and the card background are all explicitly cleared below; `background:
       var(--canvas)` is kept (not `transparent`) ONLY so page content scrolling up under the
       sticky header doesn't visually show through/overlap the pinned text -- this is a solid
       fill matching the ordinary page background, not a card surface, so it reads as
       "the page itself is pinned" rather than "a box is pinned on the page". margin-bottom
       cleared too, so there's no visible gap/seam between the pinned header and whatever
       content is scrolled up underneath it.
       v1.1.100 ADDED, kept: `position: sticky` (not `fixed`) so the topbar stays pinned at
       the top of the screen while the tab's own content scrolls underneath it, without
       needing compensating padding on the content below (unlike the fixed bottom nav).
       z-index kept below the bottom-menu sheet (1002) and its overlay (1001) so a sheet
       opened while scrolled down still draws over this header. Scoped entirely inside this
       @media block -- desktop's topbar keeps its normal (non-sticky) flow, bordered-card
       look, completely untouched. */
    /* v1.1.108 CHANGED (owner-reported, live-site screenshot: "Har Tab Page ka sticky
       header se Padding bohot jyada hai, kam kijiye" -- was 16px top / 10px bottom,
       leaving a lot of empty space especially on subtab headers that only ever show one
       short line of text). Tightened here for every tab; is-subtab (below) tightens it
       further still since it has even less content than Overview's own header.
       v1.1.111 CHANGED (owner-reported: "All tab ka Header Padding thoda jyada kijiye"
       -- v1.1.108's cut was a bit too tight once seen live). Eased back up slightly
       (top 12->14, bottom 8->10) -- still noticeably tighter than the original 16/10
       this whole thing started from, just not as cramped as v1.1.108 left it. */
    /* v1.1.201 CHANGED (owner's request, reference screenshot of the Axomify Rider app's
       own mobile header): "Vendor dashboard mein Header ka color white hai par Rider mei
       black hai... vendor dashboard ka sab tab ka header color same black rakhiye." Owner
       confirmed via follow-up question this is MOBILE-ONLY (matching the screenshot) --
       desktop's topbar is untouched, per this engagement's standing rule.
       background changed from var(--canvas) (white/page-color) to var(--ink, #0F0F0F) --
       the SAME near-black already used by this plugin's own desktop sidebar
       (.axmp-wrap .axmp-sidebar, further up this file: `background: #0F0F0F;`), so this
       isn't a new color, just reusing the one brand black already established here.
       Still a plain solid fill, not a bordered "card" -- border/border-radius/box-shadow
       stay cleared, same reasoning as the v1.1.102 doc comment just above this rule (a
       flat page-width fill, not a floating box). Every child element that was relying on
       the OLD light background for contrast (title, eyebrow, Seller-ID/rating line, the
       plain per-tab heading) gets its own color override further down this same media
       query -- the Open/Closed status pill and the notification bell both already use
       self-contained colored surfaces (their own background + text color), so neither
       needed any change to stay legible on black. */
    .axmp-topbar {
        padding: 14px 16px 10px 16px;
        gap: 10px;
        margin-bottom: 0;
        position: sticky;
        top: 0;
        z-index: 850;
        background: var(--ink, #0F0F0F);
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    /* v1.1.116 ADDED (owner-reported, live mobile screenshot: "banner header ke turant
       baad shuru ho jata hai, bich mei thoda sa gap chahiye jyada nahi" -- the banner now
       starts immediately after the sticky header with zero breathing room, want a small
       gap back, not a large one). Root cause: the sticky-header JS (vendor-dashboard.js)
       moves the real .axmp-topbar into a fixed portal on mobile and leaves a bare
       .axmp-topbar-placeholder in its place to reserve flow space -- that placeholder is a
       plain JS-created div with no CSS of its own, so it never carried forward the real
       topbar's own margin-bottom:20px (desktop) the way normal flow would. v1.1.110/112
       then correctly closed every remaining gap (padding leak, then live-measured
       ancestor offset) down to a literal 0px, which is why it now reads as fully flush.
       This adds a small INTENTIONAL gap back on the placeholder itself -- it does not
       touch .axmp-topbar's own margin-bottom:0 two rules above (that 0 is deliberately
       for the FIXED header having no gap against content scrolling up underneath it,
       a completely different concern from the flow-space placeholder below), and it
       does not interfere with v1.1.112's syncPlaceholderOffset() JS, which only ever
       adjusts margin-TOP -- this margin-bottom stacks on top of that cleanly. */
    .axmp-topbar-placeholder {
        margin-bottom: 12px;
        /* v1.1.202 ADDED (owner-reported, follow-up on the v1.1.201 header-jump fix:
           "Ab header ke niche jo part hai wo jump ho raha hai" -- now the banner, or on
           a tab with no banner, whatever sits directly below the header, visibly jumps).
           Root cause: this placeholder's height is kept in sync with the fixed header's
           REAL rendered size by a ResizeObserver (vendor-dashboard.js, added v1.1.109,
           for exactly this reason -- see that observer's own doc comment) -- it corrects
           the placeholder whenever the header's own height changes after first paint,
           most commonly a late Poppins font swap (the fallback system font the browser
           shows first has slightly different line metrics than Poppins once it finishes
           loading). Before v1.1.201, the header itself still visibly jumped into its
           fixed position on every load, which overshadowed this smaller, secondary
           correction. Now that the header's own jump is gone (v1.1.201's early-portal
           script), THIS correction is the most visible remaining one. Confirmed live
           (temporary DOM test, cleaned up after): changing this placeholder's height by
           even a few px shifts the banner/content directly below it by that exact
           amount. A `transition` turns that snap into a brief, soft slide instead of a
           hard jump -- paired with the font preload added in frontend/class-frontend.php
           (print_shared_styles()) below, which makes the swap itself happen earlier/
           less often, so in practice there's rarely anything left to visibly animate. */
        transition: height 0.18s ease;
    }

    /* v1.1.158 ADDED (owner-reported, live mobile screenshot on the Orders tab: the
       "🔔 Siren on karein" primer banner -- rendered into #axmp-alert-primer-holder by
       axmpRenderAlertPrimer() in vendor-dashboard.js, see vendor/views/dashboard.php's
       own doc comment on that element -- sat covered/squeezed right where the sticky
       mobile header (.axmp-topbar, fixed+portaled to <body> on mobile, see the JS IIFE
       above) overlays the top of the viewport. Root cause: #axmp-alert-primer-holder
       (and its two siblings #axmp-siren-notice-holder, #axmp-order-alert-root -- the "A
       new order has arrived" banner and the order-alert popup) are deliberately placed
       BEFORE .axmp-shell in the markup (so they're shared across every tab, not
       duplicated per-tab) -- which means, unlike .axmp-topbar-placeholder just above and
       the Products tab's own filter-tabs-bar portal (assets/js/vendor-dashboard.js),
       they never received ANY clearance against the fixed header's real height. The
       fixed header's own live-measured height is already tracked for exactly this
       purpose, in the --axmp-sticky-header-h CSS custom property (set on <html> by
       syncStickyHeaderHeightVar(), vendor-dashboard.js) -- this simply gives all three
       holders that same clearance via plain padding-top (not position:sticky itself,
       which is the mechanism that kept silently failing elsewhere on this live theme,
       see v1.1.92/100/118's own doc comments -- a padding value pulled from a CSS
       custom property has no such risk). :not(:empty) so a holder with no current
       banner/popup inside it (the normal case) reserves zero extra space -- this only
       ever applies while one of these is actually showing something.

       v1.1.159 CHANGED -- #axmp-alert-primer-holder removed from this selector list.
       The owner's follow-up request relocated that specific holder's mobile copy into
       the "Menu" bottom-sheet (#axmp-alert-primer-holder-menu, styled separately below)
       and this same holder is now hidden outright below 1100px (see the mobile media
       query further down this file) -- so it can never again sit under the fixed
       header on mobile, and this padding-top clearance is moot for it. Left in place,
       unchanged, for #axmp-siren-notice-holder and #axmp-order-alert-root -- those are
       the real-time "new order" alert/popup, not the one-time siren-primer banner, and
       the owner's request did not ask to move those; they still render at the very top
       of every tab on mobile and still need this same sticky-header clearance. */
    #axmp-siren-notice-holder:not(:empty),
    #axmp-order-alert-root:not(:empty) {
        padding-top: var(--axmp-sticky-header-h, 0px);
    }

    /* v1.1.159 ADDED -- hides the desktop-style top-of-page siren-primer holder on
       mobile/tablet (<=1100px) now that it has a dedicated mobile home inside the
       "Menu" bottom-sheet (#axmp-alert-primer-holder-menu, see
       vendor/views/dashboard.php's own v1.1.159 doc comment for the full context).
       Both holder ids exist in the DOM at all times -- vendor-dashboard.js's
       axmpRenderAlertPrimer() fills/clears whichever ones are present identically --
       this CSS rule is what decides which ONE actually shows for a given screen
       width. Above 1100px (no media query match) #axmp-alert-primer-holder renders
       normally, same as before this version; #axmp-alert-primer-holder-menu is
       always present but inert there too, since .axmp-bottom-menu-sheet itself never
       opens outside the mobile bottom-nav (.axmp-bottom-nav is display:none above
       1100px, see further down this file). */
    #axmp-alert-primer-holder {
        display: none !important;
    }

    /* v1.1.159 ADDED -- insets the relocated siren-primer banner from the Menu
       sheet's own edges by the same ~22px the sheet's other rows (.axmp-bottom-menu-
       row) already use as their own left/right padding, so it reads as one more row
       in that list rather than running edge-to-edge; the 12px bottom margin keeps the
       same breathing room before the first real menu row as the handle above it
       already has. :not(:empty) so an unprimed vendor who has already unlocked siren
       audio sees zero extra space here -- same convention as every other holder on
       this page. */
    #axmp-alert-primer-holder-menu:not(:empty) {
        margin: 0 22px 12px 22px;
    }

    /* v1.1.102 REVERTED (owner's request: "Reviews aur Open for order niche aageya hai...
       usko header mei leke jao" -- v1.1.101's move of these two OUT of the sticky header,
       into a separate non-sticky line below, is undone here; they're back inside the sticky
       header itself, same as they always were on desktop). The rating span and the
       Open/Closed badge now show on mobile exactly as they do on desktop -- no
       display:none override left for either one at the .axmp-topbar level. Still hidden on
       non-Overview tabs specifically, a few rules below (.is-subtab), since those tabs have
       no rating/status of their own to show. */

    /* v1.1.100 ADDED, v1.1.169 CHANGED (show the full identity block on every tab),
       v1.1.197 CHANGED BACK (owner's explicit request, 2 reference mockups -- full
       rich identity card on the Orders tab only; every OTHER tab shows a single
       compact line instead: that tab's own plain heading + the short Open/Closed
       pill + the bell, with "Main tab 'Orders' mein hi shirf name card chahiye.
       Baki vendor dashboard mein jitna tabs hai sab mein main tab ka heading, open
       status aur notification bell hoga."): .axmp-topbar-id's own base rule
       (display:flex, declared unconditionally above this media query) already
       renders it on every tab/viewport -- no override needed here anymore to show
       or hide the block itself. What changes per-tab is only WHICH of its children
       are visible: Overview's rich block hides the eyebrow/title/Seller-ID+rating
       for a subtab and shows `.axmp-topbar-simple` (this tab's plain label) in the
       title's place instead, so the SAME title-row (title-or-simple + status pill
       + bell) that already exists for every tab just swaps its first element and
       stays one line, no stacking/order tricks needed. .axmp-topbar-right (the
       longer desktop-style badge) stays hidden here, same as it already is on
       Overview's own mobile view -- the short pill inside the title row covers
       status already. */
    .axmp-topbar.is-subtab .axmp-topbar-right {
        display: none;
    }

    .axmp-topbar.is-subtab .axmp-topbar-eyebrow,
    .axmp-topbar.is-subtab .axmp-topbar-title,
    .axmp-topbar.is-subtab .axmp-topbar-sub {
        display: none;
    }

    /* v1.1.197 CHANGED: used to be a separate full-width line stacked below the
       (now-removed-for-subtabs) identity block, 17px. Now sits inline inside
       .axmp-topbar-title-row, right where .axmp-topbar-title (hidden above for
       subtabs) would otherwise be -- bumped 17px -> 19px to match that title's own
       size/weight, so a subtab's heading reads the same scale the store name does
       on Orders. Stays plain-case (no text-transform, same as before) -- the
       owner's reference shows normal-case tab headings ("Products", "Dashboard"),
       not uppercase like the store name. */
    .axmp-topbar.is-subtab .axmp-topbar-simple {
        display: block;
        font-family: 'Poppins', sans-serif;
        font-size: 19px;
        font-weight: 800;
        /* v1.1.201 CHANGED: var(--ink) (near-black) -> white -- the new mobile topbar
           background is now near-black itself (see .axmp-topbar's own v1.1.201 doc
           comment above), so the old dark-on-light color would be unreadable here. */
        color: #FFFFFF;
    }

    /* v1.1.169 ADDED, kept: the short Open/Closed pill (same one Overview's mobile
       title row already shows, see .axmp-topbar.is-home .axmp-topbar-status-inline
       further below) also shows inside every subtab's single-line header, since
       .axmp-topbar-right (the only other place that status lived on mobile) is
       hidden for subtabs just above. */
    .axmp-topbar.is-subtab .axmp-topbar-status-inline {
        display: inline-flex;
    }

    .axmp-topbar.is-subtab {
        justify-content: flex-start;
        /* v1.1.108: subtab headers show only ONE short line -- tightened further
           than the shared .axmp-topbar padding above, which still needs to fit
           Orders' fuller identity block (see .is-home).
           v1.1.111: eased back up along with the shared rule above (10px -> 13px),
           same "thoda jyada" request -- still tighter than Orders' own header since
           it only ever shows one line, just not as cramped as v1.1.108 left it.
           v1.1.169 widened this for a 2-line stacked header; v1.1.197 reverts to
           this same single-line value now that subtab headers are back to one
           line (heading + status pill + bell, same row). */
        padding: 13px 16px;
    }

    /* v1.1.108 ADDED (owner's request: "Jo Open for Order line hai usko Shop name ka
       same line mei add kijiye aur shirf green point ke sath short mei Open likhiye" --
       the status badge moves up onto the SAME line as the store name, short form, and
       the original full-text badge (.axmp-topbar-right, further below in the DOM) is
       hidden on mobile for Overview specifically so the status isn't shown twice. */
    .axmp-topbar.is-home .axmp-topbar-title-row {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .axmp-topbar.is-home .axmp-topbar-status-inline {
        display: inline-flex;
    }

    .axmp-topbar.is-home .axmp-topbar-right {
        display: none;
    }

    /* v1.1.94 ADDED: on mobile the eyebrow line just above already says "Welcome Back",
       so the desktop-only "Welcome back, " prefix added to .axmp-topbar-title would just
       repeat it right underneath -- hidden here, the store name itself stays visible. */
    .axmp-topbar-welcome-prefix {
        display: none;
    }

    .axmp-topbar-sub {
        font-size: 11.5px;
        margin-top: 4px;
        line-height: 1.3;
        /* v1.1.201 ADDED: base rule's color (var(--ink-soft), a mid-gray-on-white
           tone) would be low-contrast on the new black mobile topbar -- a lighter,
           slightly dimmed white, same reasoning as .axmp-topbar-eyebrow's own
           v1.1.201 override above (secondary to the store name, but still legible). */
        color: rgba(255, 255, 255, 0.75);
    }

    /* v1.1.108: same reason as .axmp-topbar-eyebrow's own line-height above -- mobile-
       scoped so desktop's title (which hasn't been reported as having any spacing
       issue) is left completely alone. */
    .axmp-topbar-title {
        line-height: 1.25;
        /* v1.1.201 ADDED: the base .axmp-wrap color (var(--ink), near-black) would be
           unreadable on the new black mobile topbar background -- white, same
           reasoning as .axmp-topbar-simple's own v1.1.201 override (the subtab
           equivalent of this same title line). */
        color: #FFFFFF;
    }

    /* v1.1.90 ADDED: Overview's 2x2 stat grid, matched to the canvas's own values --
       gap 12px (was 16px), each card's icon box recolored/reshaped from the old 38x38
       emoji circle to a 34x34 line-icon box (see the matching SVG/emoji toggle added in
       dashboard.php + the .axmp-stat-icon-svg/-emoji rules below), and the label/value/
       chevron/trend-chip text sizes brought down to the canvas's own numbers. Desktop
       (above 1100px) keeps its original emoji icons and larger text, untouched. */
    .axmp-stat-row {
        gap: 6px;
    }

    /* v1.1.100 CHANGED (owner-reported, reference screenshot of Meesho's own "To Do list"
       boxes -- "mene jo image diya hai usmei har box kitna atcha se banaya hai... aur mera
       2nd ref image mei dekho keisa hai" -- their own Overview cards look "plain" by
       comparison): bigger, bolder icon chip (was 34px/10px radius) and a slightly thicker
       card shadow/radius make these read closer to Meesho's illustrated style. No new
       section, no new numbers -- the owner explicitly chose "just restyle the existing 4
       cards" over adding a new to-do list with items this plugin has no real data for
       (Download Labels / Branded Packets have no plugin feature behind them). Desktop is
       untouched -- .axmp-stat-icon's base 38px/11px stays exactly as it always was above
       1100px.

       v1.1.104 CORRECTED (owner-reported, side-by-side comparison screenshot: "Axomify
       Mart 'Pending Order' ka box ke sath Meesho ka box dekhiye... Same meesho box ka size
       jeisa kijiye" -- Meesho's own card is visibly much more compact than the 46px-icon/
       20px-padding size v1.1.100 landed on): every dimension in this card shrunk again --
       icon 46px->32px, card padding 20px(base)->12px, value 26px(base)->16px, and so on
       for chevron/label/note/trend-chip below -- while keeping the same 4-card 2x2 grid,
       same real data, same bold-line-icon look this segment has kept refining. Desktop
       (above 1100px) is untouched, same as every version before this one.

       v1.1.105 CORRECTED AGAIN (owner-reported, same comparison screenshot re-sent: "Axomify
       Mart ka Jo box tha usko Meesho ka box ki size karna hai... Text size bada hai to
       short/letter size kam kijiye" -- v1.1.104's pass wasn't nearly enough, the card was
       still noticeably bigger than Meesho's): every number shrunk again, more aggressively
       this time -- icon 32px->24px, card padding 12px->8px, value 16px->13px, and so on
       below. Desktop is, as always, untouched. */
    /* NOTE: prefixed with .axmp-wrap for extra specificity, not just .axmp-stat-icon -- the
       BASE (desktop, unscoped) .axmp-stat-icon width/height/border-radius rule sits FURTHER
       DOWN the file (after this whole @media block), so at equal specificity source order
       would let that later desktop rule silently win here too, exactly like the documented
       .axmp-stat-icon-svg display gotcha above. Confirmed via a real-markup Playwright
       render before shipping: without this prefix the icon box measured 38px on a 390px
       viewport instead of the intended size. */
    .axmp-wrap .axmp-stat-icon {
        width: 24px;
        height: 24px;
        border-radius: 8px;
    }

    .axmp-stat-icon.green { color: #15803D; }
    .axmp-stat-icon.gold { color: #8A6D00; }
    .axmp-stat-icon.ink { color: #0F0F0F; }

    .axmp-stat-icon-emoji {
        display: none;
    }

    .axmp-stat-icon-svg {
        display: block;
        width: 12px !important;
        height: 12px !important;
    }

    /* Bolder line weight on the mobile icon glyphs specifically -- reads closer to a small
       illustration than a thin outline. stroke-width is an SVG presentation attribute, so a
       plain CSS declaration on the inline <svg>'s own children can override it here without
       touching the width/height/viewBox attributes written in dashboard.php's markup.
       v1.1.104: eased from 2.4 to 2.1 -- at the smaller 15px glyph size, 2.4 started to look
       clumped/heavy rather than bold. v1.1.105: eased once more to 1.9 for the even smaller
       12px glyph -- 2.1 started to fill in the icon's own inner gaps at this size. */
    .axmp-stat-icon-svg path,
    .axmp-stat-icon-svg circle,
    .axmp-stat-icon-svg rect,
    .axmp-stat-icon-svg polyline {
        stroke-width: 1.9;
    }

    /* Same reason as .axmp-wrap .axmp-stat-icon above -- the base .axmp-stat-card
       border-radius/box-shadow/padding rules sit further down the file. */
    .axmp-wrap .axmp-stat-card {
        padding: 8px;
        border-radius: 12px;
        box-shadow: 0 1px 2px rgba(28, 25, 23, .05), 0 3px 8px -4px rgba(28, 25, 23, .08);
    }

    .axmp-stat-top {
        margin-bottom: 5px;
    }

    .axmp-stat-chevron {
        font-size: 12px;
    }

    .axmp-trend-chip {
        font-size: 7.5px;
        padding: 1px 5px;
    }

    /* v1.1.107 ADDED (owner-reported, live-site screenshot: "har line ka bich jo gap hai
       yada hai, wo bohot kam kijiye" -- on the REAL WordPress theme, the gap between the
       stat card's label/value/note lines was much bigger than in any of this session's
       own local test pages, because those tests never loaded the theme's own global
       typography CSS. Woostify (like most themes) sets its own line-height on body text,
       and at these small mobile font sizes that theme value renders as a lot of extra
       vertical space per line -- a blind spot every isolated CSS-only Playwright test in
       this segment has had, since it only loads vendor-dashboard.css standalone. Setting
       an explicit line-height here overrides whatever the live theme provides, so this no
       longer depends on that theme's own typography settings at all. */
    .axmp-stat-label {
        font-size: 8px;
        letter-spacing: 0.02em;
        line-height: 1.3;
    }

    /* v1.1.104: prefixed with .axmp-wrap for the same reason as .axmp-stat-icon/-card above
       -- .axmp-stat-value gets ANOTHER plain, unscoped override further down this file (the
       existing @media (max-width:640px) block, kept from v1.1.90/v1.1.100), and a plain
       ".axmp-stat-value" there would be equal specificity to a plain rule here, letting
       source order (that later block) silently win on any phone <=640px wide -- exactly the
       .axmp-stat-icon-svg-style gotcha this file has hit before. The extra ".axmp-wrap"
       ancestor gives this one higher specificity so it always wins, regardless of order;
       that 640px block's own font-size number was also updated to match, for clarity. */
    .axmp-wrap .axmp-stat-value {
        font-size: 13px;
        margin-top: 2px;
        letter-spacing: normal;
        line-height: 1.25;
    }

    /* v1.1.107 ADDED: same reason as .axmp-stat-label above -- this ALSO fixes the big gap
       reported between the two wrapped lines of the "Net Earnings shown for: ... /
       Available Balance and Withdrawn Payouts are always all-time totals." note just above
       the stat grid (dashboard.php's .axmp-fin-range-note paragraph) and the .axmp-stat-note
       under Net Earnings, both of which wrap to 2 lines on a narrow phone and showed the
       exact same theme-line-height gap between their own wrapped lines. */
    .axmp-fin-range-note {
        line-height: 1.35;
    }

    .axmp-stat-note {
        font-size: 7.5px;
        margin-top: 2px;
        line-height: 1.3;
    }
}

/* ---- Page head (title + subtitle + optional primary action), used
   at the top of every tab's own content for a consistent rhythm ----
   v1.1.204 CHANGED (owner's request, full Vendor Dashboard UI audit: "Long Text, Big
   text size, Big Shape Box" was the owner's own diagnosis of why the dashboard felt
   heavy, confirmed by grepping every tab's CSS -- this exact heading rule is shared by
   10 of 15 tab views, so this one change is most of the "big text" fix across the whole
   dashboard). 20px/no-weight-override (inherits h2/h3's browser-bold) -> 17px/750,
   tighter letter-spacing -- still clearly a heading, just no longer the largest text on
   the page. */
.axmp-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.axmp-page-head h2,
.axmp-page-head h3,
.axmp-page-head h4 {
    /* v1.1.205 FIX -- h4 added: Returns' "Returned & Cancelled Orders" and Earnings' "Order-wise
       Earnings Log" both use this exact same .axmp-page-head block but with an <h4> instead of
       h2/h3 (a second, secondary page-head further down each of those two tabs), so they were
       NOT covered by this rule in v1.1.204 and rendered at the host theme's own large default
       size instead -- this is what the owner's live screenshots caught. Matched to the same
       17px/750 as their h2/h3 siblings for visual consistency within this recurring component. */
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.2px;
    margin: 0;
}

.axmp-page-head p {
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 500;
    margin: 4px 0 0 0;
}

/* ---- Shared header-bar (title + subtitle + primary CTA button),
   the pattern Products already used -- generalized for reuse. ----
   v1.1.204 CHANGED -- same "big heading" fix as .axmp-page-head above, applied to
   Products' own equivalent (this plugin's Products tab doesn't use .axmp-page-head,
   it has its own near-identical .axmp-header-bar/.axmp-header-title pair instead). */
.axmp-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.axmp-header-title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 750;
    color: var(--ink);
    letter-spacing: -0.2px;
}

.axmp-header-sub {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: var(--ink-soft);
}

/* v1.1.204 CHANGED -- "Big Shape Box" fix: this exact strong gold-glow shadow (and its
   even stronger hover state) was shared by Products' "Add New Product" button and
   Support Desk's "Open Support Ticket" button (vendor/views/support.php's own inline
   .axmp-btn-open-ticket, defined separately -- see that file's own matching v1.1.204
   note). Flattened from a glowing halo to a normal, subtle button shadow -- still lifts
   slightly on hover, no longer reads as an oversized glowing pill. */
.axmp-btn-add-new {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 22px !important;
    background: linear-gradient(135deg, var(--red, #F5B700) 0%, #E6A100 100%) !important;
    color: #0F0F0F !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(245, 183, 0, 0.18) !important;
    transition: all 0.2s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.axmp-btn-add-new:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px rgba(245, 183, 0, 0.25) !important;
}

/* ---- Stat cards (Overview financial/summary cards) ----
   v1.1.87 CHANGED (owner's reference-image request, 2026-09-18): grid widened from 3 to 4
   columns for the new "Pending Orders" card (see dashboard.php), and the mobile breakpoints
   below now keep a 2-column (2x2) grid all the way down to phone width instead of collapsing
   to a single column, matching the mockup's dense 2x2 stat grid. */
.axmp-stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.axmp-stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 4px 12px -4px rgba(28, 25, 23, .06);
}

a.axmp-stat-card,
a.axmp-stat-card.axmp-stat-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

a.axmp-stat-card:hover {
    border-color: var(--red, #F5B700);
    box-shadow: 0 4px 16px -4px rgba(28, 25, 23, .14);
}

.axmp-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.axmp-stat-top-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.axmp-stat-chevron {
    font-size: 20px;
    line-height: 1;
    color: var(--ink-faint);
    font-weight: 700;
}

.axmp-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.axmp-stat-icon.green { background: var(--green-wash); }
.axmp-stat-icon.gold { background: var(--red-wash); }
.axmp-stat-icon.ink { background: #F2F2F0; }

/* v1.1.90: each stat card icon now renders BOTH an emoji span and a matching inline line-icon
   SVG (see dashboard.php); desktop keeps the emoji it always had, mobile swaps to the SVG to
   match the owner's canvas design exactly (a package outline, a card+coin outline, a wallet
   outline, a checkmark). The base display:none for .axmp-stat-icon-svg lives BEFORE the
   @media (max-width: 1100px) block (next to .axmp-topbar-eyebrow's own base rule) -- not here
   -- so it doesn't lose the cascade to that block's display:block on mobile; see the comment
   there for why source order matters for this specific pair of rules. */

.axmp-trend-chip {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
}

.axmp-trend-chip.flat { background: #F2F2F0; color: var(--ink-soft); }

.axmp-stat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
}

.axmp-stat-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 26px;
    margin-top: 6px;
    letter-spacing: -0.5px;
}

.axmp-stat-note {
    font-size: 11px;
    color: var(--ink-faint);
    margin-top: 5px;
    font-weight: 500;
}

/* ---- Dashboard panels (Overview: analytics + verification) ---- */
.axmp-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 4px 12px -4px rgba(28, 25, 23, .06);
}

/* v1.1.136 CHANGED (live-render mobile audit, owner request: "Mobile mei Admin
   dashboard ka all features atcha dekhna chahiye... button, shape ko atcha se fit
   karna hai" -- i.e. the Vendor Dashboard). Found via a real 320px screenshot of
   the Overview tab: this row has NO flex-wrap, so when a title + a sibling control
   (e.g. the Overview panel's "Order & Return Analytics" + its "Last 7 Days" select)
   are together too wide for a narrow phone, the title text itself was squeezed and
   wrapped mid-sentence onto two cramped lines while the select stayed pinned beside
   it -- not broken, but exactly the un-tidy "doesn't fit nicely" look the owner
   flagged. Fix: allow the row to wrap as a whole (flex-wrap + a real gap) and stop
   the title from being the thing that shrinks (flex-shrink:0) -- now, if there's
   not enough room, the WHOLE sibling control (select/link) drops to its own line
   below a single-line, un-squeezed title, instead of the title itself breaking.
   Harmless where both children already fit on one line (e.g. "Seller Verification"
   + "View Dossier ->", or returns.php's single-child header) -- confirmed via the
   same audit screenshots. */
.axmp-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 4px;
}

.axmp-panel-head h3 { font-size: 15px; flex-shrink: 0; }

.axmp-panel-sub {
    font-size: 11.5px;
    color: var(--ink-faint);
    font-weight: 500;
    margin-bottom: 18px;
}

.axmp-chart-wrap {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 140px;
    padding: 0 4px;
    margin-bottom: 10px;
}

.axmp-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
}

.axmp-bar {
    width: 100%;
    max-width: 34px;
    min-height: 3px;
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(180deg, #FFCF33, var(--red, #F5B700));
}

.axmp-bar.low { background: #F0EDE6; }

.axmp-bar-day {
    font-size: 10px;
    color: var(--ink-faint);
    font-weight: 600;
}

.axmp-kpi-strip {
    display: flex;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 6px;
}

.axmp-kpi { flex: 1; }

/* v1.1.136 ADDED (live-render mobile audit, owner request: button/shape fit on
   mobile -- see the .axmp-panel-head comment above for the full request). Found via
   a real 320px screenshot of the Returns tab: this strip is shared by Overview's
   2-KPI row (fine either way) and Returns' own 4-KPI row ("Total Returns" /
   "Cancelled Orders" / "Total Refunded" / "Return Rate") -- with 4 equal-flex
   columns and no wrap, a wide value like "Rs.1,540.00" left the last column
   ("Return Rate") squeezed so hard its "%" was pushed clean outside the card's own
   rounded border on a 320px phone. Letting the strip wrap into a 2-per-row grid
   below 480px fixes the 4-KPI case and is a no-op for Overview's 2-KPI case (two
   items already read as one row either way). */
@media (max-width: 480px) {
    .axmp-kpi-strip {
        flex-wrap: wrap;
        row-gap: 16px;
    }
    .axmp-kpi {
        flex: 1 1 40%;
        min-width: 120px;
    }
}

.axmp-kpi-num {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 20px;
}

.axmp-kpi-num.red { color: #DC2626; }
/* v1.1.97 ADDED: neutral variant for the new Returns tab's "Cancelled Orders" KPI --
   a cancellation isn't a loss the same way a refund is, so it gets a neutral tone
   instead of the alarm-red used for money-back figures. */
.axmp-kpi-num.gray { color: var(--ink-soft); }

.axmp-kpi-label {
    font-size: 11px;
    color: var(--ink-soft);
    font-weight: 600;
    margin-top: 2px;
}

.axmp-ring-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.axmp-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.axmp-ring-inner {
    width: 47px;
    height: 47px;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 13px;
}

.axmp-ring-text-title { font-size: 14px; font-weight: 700; }
.axmp-ring-text-sub { font-size: 11.5px; color: var(--ink-faint); margin-top: 2px; font-weight: 500; }

.axmp-check-list { display: flex; flex-direction: column; gap: 2px; }

.axmp-check-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px;
    border-bottom: 1px solid #F1EEE7;
}

.axmp-check-item:last-child { border-bottom: none; }

.axmp-check-left { display: flex; align-items: center; gap: 10px; }

.axmp-check-ic {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.axmp-check-ic.ok { background: var(--green-wash); color: var(--green); }
.axmp-check-ic.pending { background: #FEF3C7; color: #92400E; }

.axmp-check-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.axmp-check-status { font-size: 11px; font-weight: 700; }
.axmp-check-status.ok { color: var(--green); }
.axmp-check-status.pending { color: #92400E; }

/* ---- Metrics deck (small stat chips e.g. Products, Earnings) ---- */
.axmp-metrics-deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

/* v1.1.96 ADDED (owner's request, Meesho "Payments" screen reference): the Earnings & Ledger
   tab's new "Upcoming Payments" / "Completed Payments" card pair (vendor/views/earnings.php),
   restyled after Meesho's own Payments screen but built from this plugin's real withdrawal data
   -- see get_vendor_pending_payouts()/get_vendor_completed_payouts() in vendor/class-earnings.php. */
.axmp-payments-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    align-items: stretch;
}

.axmp-payments-card {
    flex: 1 1 340px;
    /* v1.1.136 ADDED (live-render mobile audit -- see the .axmp-payments-breakdown-scroll
       comment above for the bug this closes out). A flex item's default min-width is
       `auto`, which means it refuses to shrink below its CONTENT's own intrinsic minimum
       width -- so even after giving the breakdown table its own overflow-x:auto scroll
       wrapper, this card (a flex item of .axmp-payments-row) was still growing to match
       that table's 460px min-width instead of staying card-sized and letting the wrapper
       scroll internally, which is what was still dragging the whole page into horizontal
       scroll on a 320px phone even after the wrapper fix. This one-line override is the
       standard fix for that exact flexbox behavior and only affects this card's ability
       to shrink -- its flex-basis/grow above are unchanged. */
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.axmp-payments-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.axmp-payments-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink);
}

.axmp-payments-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 13px;
    flex-shrink: 0;
}

.axmp-payments-card-icon.yellow {
    background: #FEF3C7;
    color: #B45309;
}

.axmp-payments-card-icon.green {
    background: var(--green-wash);
    color: var(--green);
}

.axmp-payments-card-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--canvas);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}

.axmp-payments-empty {
    text-align: center;
    padding: 28px 12px;
}

.axmp-payments-empty-icon {
    width: 44px;
    height: 44px;
    line-height: 44px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--canvas);
    border: 1px solid var(--border);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-faint);
}

.axmp-payments-empty-title {
    margin: 0 0 4px 0;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink);
}

.axmp-payments-empty-sub {
    margin: 0;
    font-size: 12px;
    color: var(--ink-faint);
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.axmp-payments-pending-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.axmp-payments-pending-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: var(--canvas);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.axmp-payments-pending-date {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.axmp-payments-pending-method {
    font-size: 11.5px;
    color: var(--ink-faint);
    margin-top: 2px;
}

.axmp-payments-pending-amount {
    font-size: 14px;
    font-weight: 800;
    color: #B45309;
    white-space: nowrap;
}

.axmp-payments-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 14px;
    position: relative;
}

/* v1.1.186 ADDED (full dashboard audit) -- same fix, same reasoning as
   .axmp-table-scroll::after above: this date-chip strip (Earnings & Ledger's
   "Completed Payments" card) scrolls horizontally, but older payout dates were
   hard-cut at the card's right edge with no visual sign there were more to scroll
   to (confirmed via the PHP-stub render harness screenshots, both mobile and
   desktop -- this card can show more chips than fit even at 1440px). Thin static
   fade to the card's own white background (.axmp-payments-card's
   `background: var(--surface)`), pointer-events:none. `bottom: 4px` instead of 0
   matches this element's own padding-bottom so the fade doesn't cover the
   scrollbar strip. */
.axmp-payments-tabs::after {
    content: '\276F';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 4px;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #FFFFFF 70%);
    color: var(--ink-faint, #8C8681);
    font-size: 10px;
    pointer-events: none;
}

.axmp-payments-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex-shrink: 0;
    background: var(--canvas);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.15s ease;
}

.axmp-payments-tab span {
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
}

.axmp-payments-tab.active {
    background: var(--surface);
    border-color: var(--blue);
    box-shadow: 0 0 0 1px var(--blue) inset;
}

.axmp-payments-tab.active span {
    color: var(--blue);
}

.axmp-payments-detail {
    display: none;
}

.axmp-payments-detail.active {
    display: block;
}

/* v1.1.136 ADDED: see class-frontend.php's matching v1.1.136 comment (the
   .axmp-earnings-view table mobile rule) and earnings.php's wrapper markup for the
   full story -- this table's "Details" column was pushing the whole dashboard page
   into real horizontal scroll on a 320px phone. Narrowly scoped to just this one
   table (not reusing Orders' .axmp-table-scroll, which carries a much wider 640px
   floor this 3-column table doesn't need). */
.axmp-payments-breakdown-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.axmp-payments-breakdown {
    width: 100%;
    min-width: 460px;
    border-collapse: collapse;
    font-size: 12.5px;
}

.axmp-payments-breakdown th {
    text-align: left;
    padding: 8px 10px;
    background: var(--canvas);
    color: var(--ink-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--border);
}

.axmp-payments-breakdown td {
    padding: 10px 10px;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
}

.axmp-payments-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    font-size: 13px;
}

.axmp-payments-footer a {
    color: var(--blue);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
}

.axmp-payments-footer-muted {
    font-size: 12px;
    color: var(--ink-faint);
}

.axmp-metric-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.axmp-metric-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    border-color: #CBD5E1;
}

.axmp-metric-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* v1.1.90: base (desktop) state -- full label shown, short label hidden. Placed before the
   @media block that swaps them for mobile, same reasoning as the .axmp-stat-icon-svg note
   above: two equal-specificity rules for the same selector, source order decides the winner,
   so the "off" state must come first in the file. */
.axmp-metric-label-short {
    display: none;
}

.axmp-metric-num {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
}

/* ---- Toolbar & filter pills (Products already used this shape) ---- */
.axmp-toolbar-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.axmp-toolbar-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* v1.1.116 REPLACED .axmp-filter-pills-wrap/.axmp-tab-pill/.axmp-tab-count (the old
   rounded-pill-with-gaps shape, now unused -- see products.php's own doc comment on the
   same request) with .axmp-filter-tabs-bar/.axmp-filter-tab/.axmp-filter-tab-label/
   .axmp-filter-tab-count below: a full-bleed, edge-to-edge tab strip with an underline on
   the active tab, matching the owner's Meesho reference screenshot ("Active (17) /
   Activation Pending (0) / Blocked (8) / Paused (13)"), instead of separate floating
   pills inside the search card. */
/* v1.1.117 CHANGED (owner-reported, live mobile screenshot: "Aap bola par hua nahi...
   Aur ye row poore radius box mei hai naa, meine bola tha ki radius 0 kar dijiye aur
   full width kar dijiye" -- v1.1.116 rebuilt the shape (underline tabs, sticky) but
   still left it looking like a rounded, bordered card inset from the screen edges,
   not the flat, edge-to-edge strip the Meesho reference screenshot actually showed):
   border-radius/border/box-shadow all removed -- a plain flat strip, only a bottom
   hairline (border-bottom) left as a subtle separator from the content below, matching
   Meesho's own flat (not card-boxed) tab strip.

   v1.1.118 REMOVED this rule's `position: sticky` entirely (owner-reported: "scroll
   karne par top pe sticky nahi ho raha hai" -- not sticking at all on the real live
   site). This is the third time CSS `position: sticky`/`fixed` has turned out to be
   silently defeated by some unidentified ancestor on this exact live theme -- the
   sidebar (v1.1.92/93) and the topbar (v1.1.100/103) both hit the same wall before it.
   Both of those abandoned CSS-only sticky/fixed for a JS "portal to <body>" instead,
   and this bar now uses that exact same proven approach (see the new IIFE in
   vendor-dashboard.js, right after the topbar's own one) -- so this rule goes back to
   being a completely plain, static, 100%-of-container block; all positioning
   (mobile: edge-to-edge fixed under the header; desktop: fixed at the content column's
   own position) is handled by that JS, which also makes v1.1.117's separate
   negative-margin edge-to-edge IIFE unnecessary (removed) -- a `position:fixed` box
   with `left:0; right:0` is edge-to-edge by construction, no measuring needed. */
.axmp-filter-tabs-bar {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: var(--surface);
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    margin-bottom: 16px;
    box-shadow: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.axmp-filter-tabs-bar::-webkit-scrollbar {
    display: none;
}

/* v1.1.118 ADDED: same purpose as .axmp-topbar-placeholder's own margin-bottom
   (v1.1.116) -- once vendor-dashboard.js's portal IIFE fixes the real tabs bar to the
   screen and leaves this placeholder behind to hold its old spot in normal flow, the
   placeholder itself carries none of the real bar's own margin-bottom (a plain
   JS-created div has no CSS of its own otherwise), so the content right below it would
   sit flush with zero gap. Matches the real bar's own margin-bottom:16px above so
   nothing visually shifts when it switches between fixed and in-flow. Unscoped (not
   inside a media query), since the bar now fixes on BOTH mobile and desktop. */
.axmp-filter-tabs-placeholder {
    margin-bottom: 16px;
}

/* v1.1.121 ADDED (owner's request: give the Orders tab's date-navigation toolbar --
   prev/date/Go/next/"Show All Orders", see orders.php -- the exact same flat,
   full-width, sticky-on-scroll look already proven above for the Products tab's
   filter-tabs bar: "Same waise hi Customer Orders Workflow bhi setting karna hai").
   Deliberately its own rule rather than reusing .axmp-filter-tabs-bar directly --
   same flat/border/shadow/radius declarations, but this bar holds buttons and a date
   input (not full-height flex-1 tab links), so it needs its own padding for breathing
   room, and flex-wrap instead of the tabs bar's horizontal scroll-strip behavior (this
   toolbar's controls are meant to wrap onto a second line on narrow phones, never
   scroll sideways out of view). Positioning (mobile: edge-to-edge fixed under the
   header; desktop: fixed at the content column's own position) is handled by the same
   proven JS "portal to <body>" factory as the filter-tabs bar (see
   axmpCreateStickyBarPortal() in vendor-dashboard.js) -- this rule itself is a
   completely plain, static, 100%-of-container block, same reasoning as
   .axmp-filter-tabs-bar's own v1.1.118 comment above. */
.axmp-orders-toolbar-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    background: var(--surface);
    border: none;
    /* v1.1.147 CHANGED: this toolbar moved from the top of the tab to the bottom (below
       Recent Order History -- see vendor/views/orders.php's own v1.1.147 note), so the
       hairline moved from border-bottom to border-top (separating it from the panel now
       ABOVE it) and the spacing from margin-bottom to margin-top. */
    border-top: 1px solid var(--border);
    border-radius: 0;
    margin-top: 16px;
    box-shadow: none;
    padding: 10px 16px;
    gap: 8px;
    box-sizing: border-box;
}

/* v1.1.136 ADDED (live-render mobile audit, owner request: button/shape fit on
   mobile -- see the .axmp-panel-head comment above for the full request). Found via
   a real 320px screenshot: the native date-picker input's default browser width
   (~147px) left this toolbar's "<- [date] [Go] ->" group just a few px too wide for
   a 320px phone (iPhone SE and similar budget Android widths -- still common among
   vendors per the owner's own reasoning for this whole audit), so the "->" (next
   day) button alone fell to its own wrapped line, paired oddly with "Today" while
   "Show All Orders" fell to a third line by itself -- a messier 3-row wrap than the
   clean 2-row wrap this bar already gets at 375px+. Capping the date input's width
   only below 360px closes that few-px gap so "->" rejoins row 1 (matching 375px+'s
   layout) without touching the input anywhere it already fits fine. */
@media (max-width: 360px) {
    .axmp-orders-toolbar-bar input[type="date"] {
        max-width: 92px;
    }
}

.axmp-orders-toolbar-placeholder {
    margin-bottom: 16px;
}

.axmp-filter-tab {
    display: flex !important;
    flex: 1 1 0;
    flex-shrink: 0;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    min-width: max-content;
    padding: 14px 16px !important;
    text-decoration: none !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    color: var(--ink-soft) !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.15s ease !important;
}

.axmp-filter-tab:hover {
    color: var(--ink) !important;
    background: var(--canvas) !important;
}

.axmp-filter-tab.active {
    color: var(--ink) !important;
    font-weight: 800 !important;
    border-bottom-color: var(--red, #F5B700) !important;
}

.axmp-filter-tab-count {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--ink-faint);
}

.axmp-filter-tab.active .axmp-filter-tab-count {
    color: var(--ink-soft);
}

/* v1.1.87 CHANGED (owner sent the exact mobile mockup again): on a real phone the metrics
   deck (Total Items / Live Listings / Pending / Stock Alerts) collapsed to one full-width card
   per row (grid-template-columns: repeat(auto-fit, minmax(180px,1fr)) never fits 2 across
   below ~360px) instead of the mockup's compact single row of 4; and the filter pills wrapped
   into a ragged multi-row block instead of scrolling horizontally like the tab pills already
   do. Both fixed here, scoped to mobile only -- desktop keeps the original auto-fit grid and
   wrapping pills. */
@media (max-width: 768px) {
    .axmp-metrics-deck {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-bottom: 16px;
    }

    .axmp-metric-box {
        padding: 10px 8px;
        border-radius: 10px;
    }

    .axmp-metric-head {
        font-size: 9px;
        margin-bottom: 4px;
        letter-spacing: 0.2px;
    }

    /* v1.1.88 CHANGED (owner's own canvas edit -- removed the emoji icon from each of these 4
       mini stat boxes, keeping just the label + number): mobile-only, so desktop's metrics
       deck keeps its icons. */
    .axmp-metric-head span:last-child {
        display: none;
    }

    /* v1.1.90 ADDED: swap to the canvas's shorter labels on mobile (see products.php) --
       fixes both the wording mismatch and the 2-line wrap "Pending Review"/"Stock Alerts"
       caused inside these narrow ~85px-wide boxes. */
    .axmp-metric-label-full {
        display: none;
    }

    .axmp-metric-label-short {
        display: inline;
    }

    .axmp-metric-num {
        font-size: 17px;
    }

    /* v1.1.116 REMOVED: .axmp-filter-pills-wrap's mobile horizontal-scroll overrides --
       dead now that the filter tabs live in .axmp-filter-tabs-bar (see that rule's own
       comment, above the media query), whose base rule already handles horizontal
       overflow/scrollbar-hiding for both mobile and desktop in one place. */

    /* v1.1.90 ADDED (owner-reported: "shape size, button size, box size... same to same design
       aap copy nahi kar sakta?" -- re-read the owner's saved canvas Products.dc.html byte for
       byte and matched every value below to it, mobile-only; desktop is untouched):
       - Catalog header title/subtitle had NO mobile override at all and were rendering at
         their full desktop size (20px/13px) -- canvas wants 18px/11.5px.
       - "+ Add New Product" was a rounded-RECTANGLE (12px radius) in a 135deg orange gradient
         -- canvas draws it as a full PILL (999px radius) in the same 180deg gold gradient used
         everywhere else (nav pills, search button, chart bar). Shape AND color were both off.
       - Mini metric boxes' radius was 10px -- canvas uses 12px.
       - Filter pills were a 30px-radius shape at 13px font / 8px 16px padding -- canvas uses a
         true pill (999px) at 11.5px / 7px 12px, with a smaller, also-pill count chip.
       - The search box + button had no mobile styling at all, rendering at their desktop
         rectangular 10px-radius look with a plain gray outline button -- canvas draws the
         input as a rounded pill and the button as a filled gold pill matching Add New Product. */
    .axmp-header-title {
        font-size: 18px;
    }

    .axmp-header-sub {
        font-size: 11.5px;
    }

    .axmp-btn-add-new {
        border-radius: 999px !important;
        padding: 10px 18px !important;
        font-size: 12.5px !important;
        background: linear-gradient(180deg, #FFCF33, var(--red, #F5B700)) !important;
    }

    .axmp-metric-box {
        border-radius: 12px;
    }

    /* v1.1.116 CHANGED: was .axmp-tab-pill's mobile pill-shrink (999px radius, smaller
       pill font/padding) -- the pill shape itself is gone now (see .axmp-filter-tab's own
       comment), so this just tightens the new underline tab's font/padding a little for
       narrower phone widths instead; .axmp-filter-tab-count needs no override here, its
       base rule (next to .axmp-filter-tab, above this media query) is already sized for
       both mobile and desktop. */
    .axmp-filter-tab {
        font-size: 12.5px !important;
        padding: 12px 14px !important;
    }

    .axmp-search-input-field {
        border-radius: 999px !important;
        font-size: 12.5px !important;
    }

    .axmp-btn-search-submit {
        background: linear-gradient(180deg, #FFCF33, var(--red, #F5B700)) !important;
        color: #0F0F0F !important;
        border: none !important;
        border-radius: 999px !important;
        font-size: 12.5px !important;
    }
}

/* v1.1.116 REMOVED: .axmp-tab-pill / .axmp-tab-count (the old rounded-pill filter tab
   shape) -- fully replaced by .axmp-filter-tab / .axmp-filter-tab-count, defined earlier
   in this file right after the toolbar rules (see that rule's own doc comment for the
   full explanation). */

.axmp-search-form-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 340px;
    min-width: 240px;
}

.axmp-search-input-box { position: relative; width: 100%; }

.axmp-search-input-field {
    width: 100% !important;
    padding: 9px 14px 9px 36px !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    background: var(--surface) !important;
    color: var(--ink) !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.axmp-search-input-field:focus {
    border-color: var(--red, #F5B700) !important;
    box-shadow: 0 0 0 3px var(--red-wash, #FFF8DE) !important;
}

.axmp-search-icon-svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-faint);
    pointer-events: none;
}

.axmp-btn-search-submit {
    white-space: nowrap !important;
    height: 38px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 18px !important;
    background: var(--canvas) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--ink-soft) !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0 !important;
}

.axmp-btn-search-submit:hover {
    background: #EFEBE2 !important;
    color: var(--ink) !important;
}

/* ---- Data table card (Products' table shape, now shared) ---- */
.axmp-table-card-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
    overflow: hidden;
}

.axmp-table-styled {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.axmp-table-styled th {
    background: #FBFAF7;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

.axmp-table-styled td {
    padding: 16px 18px;
    border-bottom: 1px solid #F1EEE7;
    vertical-align: middle;
    color: var(--ink);
}

.axmp-table-styled tr:last-child td { border-bottom: none; }
.axmp-table-styled tr:hover td { background: #FAF9F5; }

/* BUG FIXED (2026-09-10, owner-reported): "Action ka Edit aur View button bhi
   border ki bahaar jaa raha hai" -- on any dashboard viewport narrower than
   roughly 900-950px, this table's un-pinned columns (Selling Price/Stock
   Level/Status/Actions all use white-space:nowrap, so none of them can
   actually shrink) were fighting over the same space as the Image and
   Product Name columns under plain `table-layout: auto`. The browser's
   auto-layout algorithm doesn't treat an inline `style="width:..."` hint as
   a hard floor when columns are squeezed -- it can still shrink the Actions
   column's cell below what the Edit/View button group physically needs, so
   the button group overflowed ITS OWN cell and visually hung off the right
   edge of the rounded .axmp-table-card-wrap card, reading exactly like a
   button "escaping" the card's border. (Confirmed by reproducing it locally
   at a handful of realistic dashboard widths before/after this change.)
   Scoped ONLY to Products (`.axmp-products-table`, added alongside the
   shared `.axmp-table-styled` class on vendor/views/products.php's table) --
   NOT applied to `.axmp-table-styled` itself, which Earnings, Withdrawal,
   Orders, and Support Desk's tables all also use, and which the v1.1.18
   changelog entry already documents one past regression from editing
   shared table CSS for a single tab's problem. `table-layout: fixed` makes
   every column's specified `width` authoritative -- Actions (and the other
   nowrap columns) can never be squeezed below their set width again; only
   the flexible Product Name & SKU column (deliberately left unset here so
   it absorbs 100% of whatever space remains) gives, and it already wraps
   product names onto multiple lines without breaking anything. Below the
   table's own min-width the whole table now scrolls as one unit inside the
   existing overflow-x:auto wrapper instead of deforming individual columns. */
.axmp-products-table {
    table-layout: fixed;
    /* v1.1.194 (2026-10-29, owner-reported via red-annotated screenshot --
       "ab dekhiye problem kaha par hai"): on a very wide viewport (confirmed
       live at 1920px) the Product Name & SKU column -- deliberately left
       unset above so it absorbs leftover space and protects Actions from
       narrow-viewport overflow -- absorbed ALL the way up to 878px of a
       1613px-wide table, leaving a large, ugly, functionally-empty gap
       before Selling Price (exactly what the owner's red checkmark/X/line
       were pointing at). `.axmp-pcell-name` below now gives that column its
       own explicit width (420px) instead of leaving it fully unbounded; this
       rule changes `width` from the inherited `.axmp-table-styled { width:
       100%; }` to `auto` so the table settles to the natural sum of its
       columns (~1182px) rather than always stretching to fill a very-wide
       container. Both changes were empirically validated live (temporary
       injected <style>, removed before this file was edited) against the
       real production page before shipping. The table's own `min-width:900px`
       inline style (vendor/views/products.php) and every other column's
       pinned width are completely UNCHANGED -- the 2026-09-10
       Actions-overflow protection on narrow viewports still applies exactly
       as before; this only caps growth on the WIDE end, it doesn't remove
       the "give" the Name column still needs on the narrow end. */
    width: auto;
}

/* v1.1.194: explicit width for the Product Name & SKU column -- see the
   .axmp-products-table comment just above for the full root-cause writeup.
   NOTE: `max-width` was tried first and does NOT work here -- under
   `table-layout: fixed`, column-track sizing is governed only by the
   `width` set on the header row's cells; `max-width` on a <th>/<td> is
   silently ignored for this purpose (confirmed live: the column stayed at
   878px with max-width:420px applied). 420px was chosen empirically against
   the real longest product name in production, wrapping cleanly onto two
   lines with no truncation and no leftover gap. */
.axmp-pcell-name {
    width: 420px;
}

/* v1.1.195 (2026-10-29, owner-reported -- same Products screenshot, now the
   RESULT of the v1.1.194 fix, circled in red again): "Agar yeh products
   chart kam ho geya toh main container kiyu chahiye? border dikha raha hai.
   Wo container nahi chahiye." v1.1.194 correctly shrank the <table> itself
   down to ~1182px on wide screens, but its wrapping card div
   (.axmp-table-card-wrap, which carries the visible border/radius/shadow)
   is a plain block element with no width rule of its own, so by default it
   still stretched to fill the full available container width (confirmed
   live: wrap measured 1615px while the table inside it measured only
   1182px) -- leaving a large empty area still framed by the card's border,
   exactly what the owner circled this time. Fix: give ONLY the Products
   desktop wrapper (targeted via the existing `.axmp-products-desktop-only`
   class already on this div, scoped exactly like every other Products-only
   rule in this file) `width: fit-content` so the card hugs the table's
   actual rendered width instead of stretching past it, with `max-width:
   100%` so it still correctly caps at the available container width (and
   lets the existing inline `overflow-x:auto` handle horizontal scrolling)
   on narrow viewports exactly as before -- confirmed live, no regression:
   wrap now measures 1184px (1182px table + 1px border each side), hugging
   the table exactly with zero leftover bordered gap. Deliberately NOT
   touching the shared `.axmp-table-card-wrap` rule itself, since Earnings,
   Withdrawal, Orders, and Support Desk's tables all also use that same
   class and are NOT reported as having this issue (their tables still fill
   their full container width, so shrinking their wrapper would not matter
   for them, but this stays scoped exactly to Products regardless, per this
   codebase's established pattern of never editing a shared class for a
   single tab's problem -- see the v1.1.18 regression lesson documented
   just below this comment). */
.axmp-table-card-wrap.axmp-products-desktop-only {
    width: fit-content;
    max-width: 100%;
}

/* ---- v1.1.59: Support Desk mobile fix -- dedicated, narrowly-scoped
   horizontal-scroll wrapper. This class is used ONLY by vendor/views/support.php
   (grep the plugin tree to confirm) -- it is NOT applied to Earnings,
   Withdrawal, Products, Overview, or Store Setup, and it does not touch
   `.axmp-table-styled` / `.axmp-table-card-wrap` / the existing
   `.axmp-table-responsive` rule those other tabs still rely on.
   Lesson from the v1.1.18 attempt (see readme.txt 1.1.59 entry): that fix
   changed the SHARED `.axmp-table-responsive` mobile rule and silently broke
   Earnings' and Withdrawal's already-fine mobile layout as a side effect. This
   class exists so the exact same mistake is structurally impossible to repeat --
   a table not wrapped in `.axmp-table-scroll` is completely unaffected by it.
   v1.1.147 CHANGED: the Orders tab stopped using this wrapper (and its own
   `.axmp-orders-table` class) entirely -- it moved from a table to the new
   hero-card/history-row "workflow" layout (see the `.axmp-order-hero-card`
   section further down this file), so this class is Support-Desk-only now. ---- */
.axmp-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* v1.1.186 ADDED (full dashboard audit, owner's request: "Poora dashboard review
   chahiye"): this table scrolls horizontally fine (overflow-x:auto above), but on a
   narrow phone it previously just hard-cut at the card's edge with zero visual sign
   there was more to see -- confirmed via the PHP-stub render harness + Chromium
   screenshots at 320/390px, the Status/Date Created columns were simply invisible
   with no scrollbar shown and no hint to swipe. This is a thin, static right-edge
   fade (to the card's own white background, see .axmp-table-card-wrap's
   `background: var(--surface)`) plus a small chevron, purely CSS/no JS, so a vendor
   can see at a glance there's more content to the right. `pointer-events: none` so
   it never blocks a real tap on the table underneath it. */
.axmp-table-scroll::after {
    content: '\276F';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 4px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #FFFFFF 70%);
    color: var(--ink-faint, #94A3B8);
    font-size: 11px;
    pointer-events: none;
}

.axmp-table-scroll table {
    min-width: 640px;
}

/* ====================================================================
   v1.1.147 ADDED -- Orders tab "workflow" redesign: a stacked hero card
   per order that still needs the vendor's attention, a Completed/Canceled
   stat row (reusing the existing .axmp-stat-card component from the Home
   tab), and a separate "Recent Order History" list for finished orders.
   Applies on BOTH mobile and desktop (AskUserQuestion-confirmed) -- no
   separate table layout for this tab any more; see vendor/views/orders.php
   and vendor/views/partials/order-hero-card.php / order-history-row.php /
   order-workflow-body.php for the markup these rules target. ==================================================================== */

/* Only the stat-ROW wrapper is new (2 cards, not the Home tab's 4) -- the
   cards themselves reuse .axmp-stat-card/.axmp-stat-icon/.axmp-stat-label/
   .axmp-stat-value exactly as-is, including all of that component's own
   mobile-size tuning (@media max-width:1100px above). Only a new `.red`
   icon-color variant was added for "Canceled" -- `.green` already existed
   and is reused unchanged for "Completed". */
.axmp-order-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

/* v1.1.168 ADDED -- owner's request: make the Orders tab feel as clean/
   simple as the Rider app's own Order tab, which shows its Delivered/
   Canceled counts with no heavy card border/shadow/icon-chip at all -- just
   the number and a plain label. `.axmp-stat-card` itself (the plain base
   rule, further up this file) is deliberately left untouched -- it's shared
   with the Overview tab's own 4-column financial stat row, and changing it
   there was never asked for. This instead overrides it with a MORE specific
   selector (".axmp-order-stat-row .axmp-stat-card"), so only these two
   Orders-tab cards get the lighter treatment: no border, no shadow, a flat
   tinted background instead, smaller icon chip, tighter padding. Scoped to
   this one tab only -- every other tab's stat cards are completely
   unaffected.
   v1.1.169 CHANGED (owner-reported regression, live screenshot after
   installing v1.1.168: "ab toh jyada hi kharap di raha hai" -- dropping
   border AND box-shadow AND giving the card the exact same flat `--canvas`
   background as the page behind it made the card disappear entirely --
   the icon/number/label ended up floating directly on the page with no
   visual grouping at all, reading as broken/sparse rather than clean.
   Fix: keep the box-shadow removed (that's the actual "heavy" bit Rider's
   own cards don't have) but bring back a light 1px border and the card's
   normal `--surface` background, so the two cards still read as one
   grouped unit distinct from the page -- just without the drop-shadow.
   This is the smallest change that still satisfies the original ask
   ("stat cards ka style simplify karo") without repeating the same
   "cannot be confirmed live" regression a second time. */
.axmp-order-stat-row .axmp-stat-card {
    border: 1px solid var(--border);
    box-shadow: none;
    background: var(--surface);
    padding: 14px;
}

.axmp-order-stat-row .axmp-stat-top {
    margin-bottom: 8px;
}

.axmp-order-stat-row .axmp-stat-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
}

.axmp-stat-icon.red { background: #FEF2F2; }

.axmp-order-empty-state {
    text-align: center;
    padding: 30px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px;
}

.axmp-order-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
}

.axmp-order-empty-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.axmp-order-empty-title {
    font-weight: 800;
    font-size: 15px;
    color: var(--ink);
    margin: 0;
}

.axmp-order-hero-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
}

/* v1.1.168 CHANGED -- owner's request: simplify this card to feel as clean
   as the Rider app's own order-list rows (flatter, less "floating box" look
   -- a thin accent border is enough to tell a Quick Commerce order from a
   Courier one, same as before, it just no longer needs a heavy drop-shadow
   and a 4px-thick colour bar to do that). Only the padding/border/shadow
   values below changed -- every field, button, and form inside the card
   (order-hero-card.php) is completely untouched. */
.axmp-order-hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--blue);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 15, 15, 0.04);
    padding: 14px;
}

.axmp-order-hero-card.axmp-order-row-courier {
    border-left-color: var(--purple);
}

.axmp-order-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.axmp-order-hero-new {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.3px;
    color: #DC2626;
}

.axmp-order-hero-ordid {
    font-size: 13px;
    color: var(--ink-soft);
}

.axmp-order-hero-ordid strong {
    color: var(--ink);
}

.axmp-order-hero-earn {
    font-size: 13px;
    color: var(--green);
    font-weight: 600;
}

.axmp-order-hero-earn strong {
    font-size: 15px;
}

/* v1.1.148 REMOVED -- .axmp-order-hero-badges (delivery-type badge + status pill row)
   is no longer used anywhere; the markup that rendered it was removed from
   order-hero-card.php this release. */

.axmp-order-hero-field {
    display: flex;
    gap: 6px;
    font-size: 13.5px;
    color: var(--ink);
    padding: 4px 0;
}

.axmp-order-hero-field-label {
    flex-shrink: 0;
    min-width: 108px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--ink-faint);
    padding-top: 1px;
}

.axmp-order-hero-field-muted {
    color: var(--ink-faint);
    font-size: 12.5px;
}

.axmp-order-hero-otp {
    color: var(--red-dark);
    font-size: 15px;
    letter-spacing: 1px;
}

.axmp-order-hero-note {
    font-size: 12.5px;
    color: var(--ink-soft);
    padding: 4px 0;
}

.axmp-order-hero-note-warn {
    color: #c2410c;
    font-weight: 700;
}

.axmp-order-hero-tracking-form {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.axmp-order-hero-tracking-form input[type="text"] {
    flex: 1 1 140px;
    padding: 8px 10px;
    font-size: 12.5px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.axmp-order-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.axmp-order-hero-actions form {
    display: contents;
}

/* Sits as its own item inside .axmp-order-hero-list's flex column -- that
   container's own `gap` already spaces it correctly from the card above
   and the next card below, so no manual margin is needed here (and a
   hidden detail panel, the default, takes up no gap space at all since a
   `display:none` element isn't part of the flex layout). */
.axmp-order-hero-detail-panel {
    background: var(--canvas);
    border: 1px solid var(--border);
    border-radius: 16px;
}

/* Recent Order History -- reuses .axmp-panel/.axmp-panel-head (the same
   card wrapper the Home tab's "Order & Return Analytics" panel uses). */
.axmp-order-history-panel {
    margin-bottom: 16px;
}

.axmp-order-hist-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}

.axmp-order-hist-row:last-child {
    border-bottom: none;
}

.axmp-order-hist-main {
    min-width: 0;
}

.axmp-order-hist-ordid {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink);
}

.axmp-order-hist-item {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-top: 1px;
}

.axmp-order-hist-date {
    font-size: 11.5px;
    color: var(--ink-faint);
    margin-top: 2px;
}

.axmp-order-hist-view {
    background: none;
    border: none;
    padding: 4px 0 0;
    margin: 0;
    color: var(--red, #F5B700);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.axmp-order-hist-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    padding-top: 2px;
    flex-shrink: 0;
}

.axmp-order-hist-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.axmp-order-hist-dot-green { background: #22c55e; }
.axmp-order-hist-dot-red { background: #ef4444; }
.axmp-order-hist-status-green { color: var(--green); }
.axmp-order-hist-status-red { color: #b91c1c; }

.axmp-order-hist-viewmore {
    display: block;
    margin: 12px auto 2px;
    background: var(--canvas);
    color: var(--ink-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

/* ---- v1.1.83 REBUILT (owner-reported, 2026-09-18, real-phone screenshot):
   the mobile view for the Products/Catalog table had failed TWICE with two
   different symptoms, both from the same root mistake --

   v1.1.81 used `display:flex` + `flex-wrap:wrap` + `order` on the `<tr>`,
   which caused PRICE/STOCK labels to overlap the product name/price text
   (flex-wrap only breaks to a new line when nothing can shrink any further,
   and the Name cell could always shrink, so nothing ever wrapped).

   v1.1.82 switched to `display:grid` with `grid-template-areas` instead --
   verified locally via headless-Chromium render at 390px/320px before
   shipping, and it looked correct there. But the owner's real phone still
   showed it broken, with DIFFERENT symptoms this time (stray vertical
   border lines cutting through the card, product names truncated with an
   ellipsis instead of wrapping). The common thread: BOTH attempts overrode
   the `display` role of native `<table>`/`<tr>`/`<td>` elements -- a
   documented cross-browser risk area (table-layout rendering engines keep
   internal box-generation/table-structure assumptions even after `display`
   is overridden, differing across real mobile browser engines in ways a
   desktop-Chromium-only test, no WebKit engine available here, can't catch).

   v1.1.83 abandoned table-role overrides ENTIRELY. The desktop `<table>`
   above is restored to its original, untouched pre-v1.1.81 markup and is
   simply hidden below 768px via `.axmp-products-desktop-only`. In its
   place, vendor/views/products.php renders a completely separate, plain
   `<div>`-based mobile list with ZERO `<table>`/`<tr>`/`<td>` elements
   anywhere in it -- shown only below 768px. Neither the table nor the divs
   ever have their native display role overridden, so the whole class of
   cross-browser bug that hit v1.1.81/82 is structurally impossible here.
   This remains true of the v1.1.84 rebuild directly below -- only the
   *internal* layout of each mobile item changed, not this underlying
   principle. Used ONLY on vendor/views/products.php, per this codebase's
   established convention of never touching shared table CSS for a single
   tab's fix (v1.1.18 broke Earnings/Withdrawal this way; v1.1.59 fixed
   Orders/Support with its own dedicated class instead of repeating that
   mistake). ---- */
@media (max-width: 768px) {
    .axmp-products-desktop-only {
        display: none !important;
    }
}

/* ---- v1.1.84 REBUILT (owner's request, 2026-09-18, with a reference
   screenshot of a compact single-row mobile list): the v1.1.83 card list
   fixed the cross-browser bug above, but each card's stacked, bordered
   Price/Stock/Status sections made every product take up a lot of vertical
   space on a real phone -- "card list bohot jagah leta hai" (the card list
   takes too much space). Replaced the multi-section card with ONE compact
   flex row per product: thumbnail + a 2-line text column (product name/SKU
   on top, then price/stock/status/actions inline together on a single
   wrapping "meta" line below) -- matching the left-to-right field order the
   owner asked for (Product name, SKU, Price, Stock, Status, Edit, View)
   while using a fraction of the height of the old card. Still zero
   `<table>`/`<tr>`/`<td>` elements -- same safe foundation as v1.1.83,
   only the internal layout is new. ---- */
.axmp-products-mobile-list {
    display: none;
}

@media (max-width: 768px) {
    .axmp-products-mobile-list {
        display: block;
    }
}

.axmp-product-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 2px;
    border-bottom: 1px solid #F1EEE7;
}

.axmp-product-row:first-child {
    padding-top: 2px;
}

.axmp-product-row:last-child {
    border-bottom: none;
    padding-bottom: 2px;
}

/* v1.1.196: thumbnail enlarged from 44px to 84px to match the owner's checkmarked
   reference mockup (image sized to roughly match the height of the name/SKU/price/
   stock text block beside it, not a small icon-sized square anymore). */
.axmp-product-row-thumb {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    border-radius: 14px;
    overflow: hidden;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    margin-top: 1px;
}

.axmp-product-row-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.axmp-product-row-thumb-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.axmp-product-row-main {
    flex: 1 1 auto;
    min-width: 0;
}

.axmp-product-row-top {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 6px;
    row-gap: 2px;
    margin-bottom: 4px;
}

/* v1.1.196: name font-size bumped 13.5px -> 15.5px and now sits on its own line
   (display:block, no status badge sharing the line anymore) -- matches the
   checkmarked reference. */
.axmp-product-row-name {
    display: block;
    font-weight: 800;
    font-size: 15.5px;
    line-height: 1.3;
    color: var(--ink, #0F0F0F);
    text-decoration: none;
    word-break: break-word;
}

/* v1.1.196 CHANGED: SKU is now plain text on its own line, no <code> pill
   background -- the owner's checkmarked reference shows "SKU: Khorika_CM" as a
   single plain gray line, not a badge. The old `.axmp-product-row-sku code` pill
   rule is REMOVED (full reversal, not silent unhook) since the markup no longer
   wraps the SKU value in a <code> element. */
.axmp-product-row-sku {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink-faint, #8C8681);
    margin-top: 2px;
    word-break: break-word;
}

.axmp-product-row-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    row-gap: 6px;
}

/* v1.1.196: price line is now its own row (selling price + struck-through
   original price together), colored green to match the checkmarked reference
   (was plain --ink black before). */
.axmp-product-row-price-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.axmp-product-row-price {
    font-weight: 800;
    font-size: 15px;
    color: var(--green, #15803D);
}

/* v1.1.196 CHANGED: struck-through original price recolored from gray (#94A3B8)
   to amber (var(--red), this design system's amber/gold token -- also the
   View button's color) to match the checkmarked reference. */
.axmp-product-row-was {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--red, #F5B700);
    text-decoration: line-through;
}

/* v1.1.196 CHANGED: recolored from a pale mint pill (bg #DCFCE7, dark-green text)
   to a solid green pill with white text -- the checkmarked reference shows "18%
   OFF" as a solid, filled green badge, not the pale/outline style used elsewhere
   in this file. */
.axmp-product-row-off {
    display: inline-block;
    background: var(--green, #15803D);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 10.5px;
    padding: 3px 9px;
    border-radius: 999px;
    vertical-align: middle;
}

/* v1.1.196 ADDED: stock status as plain colored bold text (no pill background)
   sitting next to the discount badge -- matches the checkmarked reference,
   which shows "In Stock" as green text, not a bordered badge like the old
   `.axmp-badge-pill` treatment. Edit-status badges (Pending Review / Rejected /
   Draft) still render as `.axmp-badge-pill`s on this same line -- see
   `.axmp-product-row .axmp-badge-pill` below, unchanged. */
.axmp-product-row-stock-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    row-gap: 4px;
    margin-top: 4px;
}

.axmp-product-row-stock-text {
    font-size: 12.5px;
    font-weight: 800;
}

.axmp-product-row-stock-text.green { color: var(--green, #15803D); }
.axmp-product-row-stock-text.yellow { color: #B45309; }
.axmp-product-row-stock-text.red { color: #B91C1C; }

.axmp-product-row .axmp-badge-pill {
    padding: 3px 9px;
    font-size: 10.5px;
    gap: 4px;
}

/* v1.1.196 REBUILT (replacing the v1.1.87 "3-line, left-text/right-control"
   layout -- see the products.php doc-comment above the markup for the full
   owner-feedback writeup): Edit and View are now a side-by-side button row
   at the bottom of the text column, instead of one button floated against
   each of two separate lines. The old `.axmp-prow-line` / `.axmp-prow-line
   :last-child` / `.axmp-prow-line .axmp-product-row-name` / `.axmp-prow-status`
   rules are REMOVED (full reversal, not silent unhook) since the markup no
   longer uses any of them. */
.axmp-product-row-btns {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    /* v1.1.230 CHANGED: nowrap -> wrap -- a third button (Pause/Resume) now
       joins Edit/View here (see vendor/views/products.php's own v1.1.230 doc
       comment), which needed room to breathe on narrow phone widths. Letting
       it wrap onto a second line is the only change; no other redesign. */
    flex-wrap: wrap;
    row-gap: 8px;
}

/* v1.1.196 CHANGED: corner radius 999px (full pill/capsule) -> 10px (rounded
   rectangle) and padding widened, to match the checkmarked reference's button
   shape. Colors unchanged -- they already matched the reference exactly. */
.axmp-prow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 22px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    line-height: 1.3;
    /* v1.1.200 ADDED: the "View" variant of this class is now also used on a real
       <button> (see vendor/views/products.php's own v1.1.200 doc comment -- View
       now opens an in-dashboard popup instead of navigating away, so it's no
       longer a real link). A bare <button> does NOT inherit the page's font or a
       pointer cursor the way an <a> always did -- without these two lines it would
       silently render in the browser's default UI font with a non-pointer cursor.
       Harmless, no-op on the "Edit" variant, which is still a plain <a>. */
    font-family: inherit;
    cursor: pointer;
    background: none;
    appearance: none;
    -webkit-appearance: none;
}

.axmp-prow-btn.edit {
    background: var(--ink, #0F0F0F);
    color: #FFFFFF;
}

.axmp-prow-btn.view {
    background: linear-gradient(180deg, #FFCF33, var(--red, #F5B700));
    color: #0F0F0F;
}

/* v1.1.230 ADDED -- owner's request: per-item Pause/Resume button, mobile card
   variant (see vendor/views/products.php's own v1.1.230 doc comment). Pause
   uses a neutral/warning amber (same family as the Edit button, kept visually
   distinct by using a lighter wash) since it's a reversible, low-risk action;
   Resume uses a clear green since it puts the item straight back on sale. */
.axmp-prow-btn.pause {
    background: #FEF3C7;
    color: #92400E;
}

.axmp-prow-btn.resume {
    background: var(--green, #15803D);
    color: #FFFFFF;
}

.axmp-product-row-actions {
    display: inline-flex;
    gap: 6px;
    margin-left: auto;
}

.axmp-row-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.axmp-row-icon-btn.edit {
    background: #FFFBEB;
    border-color: #FCD34D;
}

.axmp-row-icon-btn.view {
    background: var(--canvas);
    border-color: #CBD5E1;
}

.axmp-product-row-empty {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
}

/* ---- Status badges (pill shape, used across tables) ---- */
.axmp-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.axmp-badge-pill.green { background: var(--green-wash); color: var(--green); border: 1px solid #BBF7D0; }
.axmp-badge-pill.yellow { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }
.axmp-badge-pill.red { background: var(--red-wash, #FEF2F2); color: #B91C1C; border: 1px solid #FCA5A5; }
.axmp-badge-pill.gray { background: #F2F2F0; color: var(--ink-soft); border: 1px solid var(--border); }
.axmp-badge-pill.blue { background: var(--blue-wash); color: var(--blue); border: 1px solid #BFDBFE; }

/* ---- Row action buttons ---- */
/* v1.1.230 CHANGED: nowrap -> wrap -- a third button (Pause/Resume) joined
   Edit/View here (see vendor/views/products.php's own v1.1.230 doc comment),
   which needed room to breathe inside this column's fixed width. Letting it
   wrap onto a second line (right-aligned, same as before) was the only change.
   v1.1.232 CHANGED BACK: wrap -> nowrap -- owner-reported (screenshot): the
   wrapped 2nd-line Pause button looked wrong ("Edit, View and pause ek hi
   line mein chahiye"). Instead of wrapping, the Actions column itself was
   widened (230px -> 330px in vendor/views/products.php's <th>/<td>, measured
   via Playwright at 288px intrinsic content width for all 3 real buttons +
   the column's own 36px of padding) so all 3 buttons now fit on one line at
   their existing size with no wrap needed. */
.axmp-action-btn-group { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: nowrap; }

/* BUG FIXED (2026-09-10, owner-reported): "Action ka Edit aur View button bhi
   thoda thik kijiye dikhne mein" -- the two pills sat directly against each
   other with no visual weight (transparent border color on .view, no shadow
   on either), so on the actual storefront they read as flat, low-contrast
   text links rather than clickable buttons. Gave both a real border color,
   a light resting shadow so they read as raised buttons, a fixed min-width
   so "Edit" and "View" line up to the same pill size instead of each hugging
   its own label width, and centered their icon+label so the emoji doesn't
   sit slightly off the text baseline. */
.axmp-btn-act {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 74px !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    border: 1px solid transparent !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
    white-space: nowrap !important;
    /* v1.1.200 ADDED: same reasoning as .axmp-prow-btn's own v1.1.200 comment above
       -- the "View" variant is now also used on a real <button> (popup trigger,
       no longer a link). Harmless no-op on the "Edit" variant (still a plain <a>). */
    font-family: inherit !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.axmp-btn-act.edit { background: #FFFBEB !important; border-color: #FCD34D !important; color: #B45309 !important; }
.axmp-btn-act.edit:hover { background: #FDE68A !important; color: #78350F !important; border-color: #F59E0B !important; box-shadow: 0 3px 8px rgba(180, 83, 9, 0.18) !important; transform: translateY(-1px); }
.axmp-btn-act.view { background: var(--canvas) !important; border-color: #CBD5E1 !important; color: var(--ink-soft) !important; }
.axmp-btn-act.view:hover { background: #EFEBE2 !important; color: var(--ink) !important; border-color: #94A3B8 !important; box-shadow: 0 3px 8px rgba(15, 23, 42, 0.1) !important; transform: translateY(-1px); }

/* v1.1.230 ADDED -- owner's request: per-item Pause/Resume button, desktop
   table variant (see vendor/views/products.php's own v1.1.230 doc comment).
   Same color logic as the mobile card's .axmp-prow-btn.pause/.resume above --
   amber wash for the reversible Pause action, solid green for Resume. */
.axmp-btn-act.pause { background: #FEF3C7 !important; border-color: #FDE68A !important; color: #92400E !important; }
.axmp-btn-act.pause:hover { background: #FDE68A !important; color: #78350F !important; border-color: #F59E0B !important; box-shadow: 0 3px 8px rgba(180, 83, 9, 0.18) !important; transform: translateY(-1px); }
.axmp-btn-act.resume { background: var(--green-wash, #DCFCE7) !important; border-color: #BBF7D0 !important; color: var(--green, #15803D) !important; }
.axmp-btn-act.resume:hover { background: #BBF7D0 !important; color: #14532D !important; border-color: #86EFAC !important; box-shadow: 0 3px 8px rgba(21, 128, 61, 0.18) !important; transform: translateY(-1px); }

/* v1.1.99 CHANGED (owner's request, reference screenshot of Meesho's supplier app:
   "Meesho jeisa sticky Mobile Menu"): the sidebar still collapses below 1100px, but
   what replaces it is now a real fixed-to-the-viewport bottom app bar
   (.axmp-bottom-nav) instead of the old horizontal-scrolling pill row this section
   used to style (.axmp-mobile-nav/.axmp-tab-item -- removed; see this file's own
   history if that era's rules are ever needed for reference). */
.axmp-mnav-count {
    display: inline-block;
    margin-left: 5px;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.08);
    color: var(--ink-soft);
}

/* ---- Bottom app bar (fixed, phone/tablet only) -------------------------------- */
.axmp-bottom-nav {
    display: none; /* shown via the max-width:1100px media query below */
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    align-items: stretch;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px -6px rgba(15, 23, 42, 0.12);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)) 4px;
}

.axmp-bottom-nav-item {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    text-decoration: none;
    color: var(--ink-faint);
    font-size: 10.5px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* v1.1.107 CHANGED (owner-reported, live-site screenshot: "Mobile menu ka jo icon hai
   Home se lekar menu tak, unka icon size bohot kam dikh raha hai. size jyada kijiye" --
   the bottom nav's icons read too small next to their labels): bumped from 22px to
   30px. Harmless to edit unconditionally here (not inside a media query) because
   .axmp-bottom-nav itself is display:none outside the @media (max-width:1100px) block
   below, so this box is never visible on desktop regardless of its size. */
.axmp-bnav-icon {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.axmp-bnav-label {
    line-height: 1;
}

.axmp-bottom-nav-item.active {
    color: var(--red-dark);
}

.axmp-bnav-dot {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563EB;
    border: 1.5px solid var(--surface);
}

/* ---- "Menu" overflow sheet (Earnings, Payout, Notifications, Support, Settings,
   Logout -- everything that doesn't fit as one of the 4 primary bottom-bar icons).
   Same slide-up-sheet + overlay pattern as any standard mobile bottom sheet: hidden
   off-screen via translateY until .open is toggled by vendor-dashboard.js. ---- */
.axmp-bottom-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 1001;
}

.axmp-bottom-menu-overlay.open {
    display: block;
}

.axmp-bottom-menu-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    background: var(--surface);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 24px -8px rgba(15, 23, 42, 0.25);
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)) 0;
    max-height: 72vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.25s ease;
}

.axmp-bottom-menu-sheet.open {
    transform: translateY(0);
}

.axmp-bottom-menu-sheet-handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    margin: 2px auto 12px auto;
}

.axmp-bottom-menu-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.axmp-bottom-menu-row .ic {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--chip-bg, rgba(15, 23, 42, 0.06));
    color: var(--chip-color, var(--ink-soft));
}

.axmp-bottom-menu-row.active {
    background: var(--canvas);
    color: var(--red-dark);
}

.axmp-bottom-menu-row.active .axmp-mnav-count {
    background: rgba(15, 23, 42, 0.16);
    color: #0F0F0F;
}

.axmp-bottom-menu-row-logout {
    color: #C53030;
}

@media (max-width: 1100px) {
    .axmp-wrap .axmp-sidebar { display: none !important; }
    .axmp-bottom-nav { display: flex !important; }
    /* Keeps page content from ever sitting underneath the fixed bottom bar. */
    .axmp-wrap .axmp-main-col { padding-bottom: 78px; }
    /* v1.1.101 ADDED (owner's repeated request to look closer to Meesho's own bottom-nav
       icon weight): a slightly bolder stroke on the bottom nav's icons only -- the
       width/height/viewBox attributes on the <svg> tags themselves (in dashboard.php) are
       left alone, this just thickens the line width of the icon paths/shapes inside them.
       v1.1.105: left in place, harmlessly unused -- there is no <svg> left under
       .axmp-bnav-icon since dashboard.php now renders <img> icons there (see the rule
       just below), but restoring the old line-icon markup (commented alongside the array
       in dashboard.php) would need this again, so it's cheaper to keep than to delete. */
    .axmp-bnav-icon svg {
        stroke-width: 2.2;
    }

    /* v1.1.105 ADDED (owner-supplied finished icon images, "Mene Sabhi SVG Icon de diya
       Mobile menu ke liye"): sizes the new <img> bottom-nav icons to fill the same 22x22
       box the old <svg> line icons sat in (.axmp-bnav-icon, base rule above, unchanged) --
       object-fit:contain keeps each icon's own aspect ratio instead of stretching it,
       since the 5 source images weren't all cropped to the exact same proportions. */
    .axmp-bnav-icon-img {
        width: 30px;
        height: 30px;
        object-fit: contain;
        display: block;
    }
    /* v1.1.87 CHANGED: 2x2 (not 3+1) to match the mockup's dense mobile stat grid now that
       there are 4 cards -- see the .axmp-stat-row base-rule comment above. */
    .axmp-stat-row { grid-template-columns: repeat(2, 1fr); }
    .two-col-fallback { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .axmp-stat-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    /* v1.1.87 CHANGED: stays 2 columns (2x2) all the way down to phone width instead of
       collapsing to a single stacked column -- matches the mockup. */
    .axmp-stat-row { grid-template-columns: 1fr 1fr; }
    /* v1.1.90 CORRECTED: card padding/radius and the value's font-size/letter-spacing now
       match the owner's saved canvas exactly (16px/16px card, 22px value, no letter-spacing
       squeeze) -- were 14px/12px/21px/-0.5px, guessed before the canvas file was re-read
       byte for byte. The old `.axmp-topbar { padding: 14px 16px; }` override here is removed
       -- it was fighting the more specific v1.1.90 rule (padding: 16px uniformly) added to
       the @media (max-width: 1100px) block above, which is the one that now matches canvas.

       v1.1.104 NOTE: these two numbers are now dead weight, kept only so nothing here
       contradicts the compact resize -- the @media (max-width:1100px) block's own
       ".axmp-wrap .axmp-stat-card" / ".axmp-wrap .axmp-stat-value" rules already win at
       ANY width (higher selector specificity beats source order), so this plain
       ".axmp-stat-card"/".axmp-stat-value" pair never actually applied even before this
       change -- updated to match the new 12px/16px numbers anyway so a future reader
       never sees a stale 16px/22px sitting here and wonders which one is real.
       v1.1.105: updated again to match that same block's further shrink (8px/13px). */
    .axmp-stat-card { padding: 8px; border-radius: 12px; }
    .axmp-stat-value { font-size: 13px; letter-spacing: normal; }
}

/* Responsive Mobile Cards for Data Tables (320px to 768px) */
@media (max-width: 768px) {
    .axmp-wrap {
        padding: 4px;
        /* v1.1.110 ADDED (owner-reported, red-line screenshot on the Returns tab,
           confirmed present on every tab, static -- not a scroll artifact and not the
           v1.1.109 font-load race that was fixed but never the actual cause here): this
           4px padding applies to the SAME .axmp-wrap that wraps the whole page's normal-
           flow content (.axmp-shell > .axmp-main-col > the topbar's placeholder > the
           banner carousel right after it) -- it is completely separate from
           .axmp-wrap.axmp-topbar-portal (the fixed header's OWN wrap, already zeroed to
           padding:0 back in v1.1.104). The fixed header sits flush at the true viewport
           top (top:0, no padding of its own), but the placeholder that reserves its
           space in normal flow was still being pushed down by THIS 4px top padding on
           the outer .axmp-wrap -- so the header's bottom edge (flush at the real top)
           and the banner's top edge (inset 4px by this rule) never lined up, on every
           tab, from first paint, regardless of scrolling or font timing. Verified with a
           Playwright reproduction using the real dashboard.php markup + real CSS/JS at a
           390px viewport: before this fix, placeholder height matched the topbar exactly
           (the v1.1.109 ResizeObserver sync was working correctly) yet a persistent 4px
           gap still measured between the placeholder's bottom and the banner's top --
           confirming this padding, not any height/font mismatch, was the real cause.
           Left/right/bottom padding kept as-is (still serves whatever breathing room the
           mobile data-table cards below need); only the top is zeroed so the page's
           in-flow content starts at the exact same y=0 the fixed header's bottom edge
           already sits flush against. */
        padding-top: 0;
    }

    .axmp-card {
        padding: 14px;
        border-radius: 12px;
    }

    .axmp-search-container {
        max-width: 100%;
        width: 100%;
    }

    .axmp-radio-card-group {
        grid-template-columns: 1fr;
    }

    /* Input iOS Auto Zoom fix */
    .axmp-field input,
    .axmp-field select,
    .axmp-field textarea {
        font-size: 16px !important;
        padding: 10px 10px;
    }

    /* Mobile Header Layout */
    .axmp-dashboard-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 14px !important;
        gap: 12px !important;
    }

    .axmp-dashboard-header>div {
        width: 100%;
    }

    .axmp-dashboard-header button {
        width: 100% !important;
        margin-top: 4px;
    }

    /* Grid layout scaling on mobile */
    .axmp-overview-grid,
    .axmp-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .axmp-row-2 {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    /* Touch Friendly Buttons */
    .axmp-btn {
        min-height: 42px;
        padding: 10px 18px !important;
        font-size: 13px !important;
    }

    /* Modal dialog mobile fitting */
    #axmp-product-modal>div,
    .axmp-modal-box {
        max-width: 96% !important;
        margin: 10px auto !important;
        padding: 16px !important;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* Table Mobile Card Transformation */
    .axmp-table-responsive {
        border: 0;
    }

    .axmp-table-responsive thead {
        display: none;
    }

    .axmp-table-responsive tr {
        display: block;
        margin-bottom: 12px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 10px;
    }

    .axmp-table-responsive td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 6px 0;
        border-bottom: 1px solid #F1F5F9;
        font-size: 13px;
    }

    .axmp-table-responsive td:last-child {
        border-bottom: none;
    }

    .axmp-table-responsive td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--ink-soft);
        text-align: left;
    }

    .axmp-table-responsive td.axmp-items-cell {
        display: block;
        text-align: left;
    }

    .axmp-table-responsive td.axmp-items-cell::before {
        content: none;
    }

}

/* ---- v1.1.201 ADDED (owner's 4th request, "RETURNS tab ka view atcha nahi hai MOBILE
   view par" -- the Returns tab's mobile view isn't good, asked to be fixed like the
   Products tab's compact card): a dedicated mobile-only card list for the Returns tab,
   replacing the generic `.axmp-table-responsive` label:value stacked-row look with a
   custom card matching Products' (v1.1.196) visual language -- same font, color tokens,
   badge-pill usage, and card spacing/radius. The desktop table is untouched and simply
   hidden below 768px via the new `.axmp-returns-desktop-only` class, exactly mirroring
   Products' own `.axmp-products-desktop-only` / `.axmp-products-mobile-list` pair. The
   SHARED `.axmp-table-responsive` class above is deliberately left alone -- Earnings,
   Withdrawal, and Support Desk still rely on it for their own mobile views (the
   v1.1.18 regression lesson: never edit a shared class to fix one tab). Returns rows
   have no product thumbnail field, so this card leads with Order # + a Type badge
   instead of an image. ---- */
@media (max-width: 768px) {
    .axmp-returns-desktop-only {
        display: none !important;
    }
}

.axmp-returns-mobile-list {
    display: none;
}

@media (max-width: 768px) {
    .axmp-returns-mobile-list {
        display: block;
    }
}

.axmp-return-row {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
}

.axmp-return-row:last-child {
    margin-bottom: 0;
}

.axmp-return-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.axmp-return-row-order {
    font-weight: 800;
    font-size: 15.5px;
    color: var(--ink, #0F0F0F);
}

.axmp-return-row-items {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    line-height: 1.4;
    word-break: break-word;
}

.axmp-return-row-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    row-gap: 4px;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-faint, #8C8681);
}

.axmp-return-row-amount-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #F1EEE7;
}

.axmp-return-row-amount-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-faint, #8C8681);
}

/* v1.1.201: literal #0F0F0F, NOT var(--red) -- this design system's `--red` custom
   property is actually its amber/gold accent (see .axmp-product-row-off's own comment
   above), not an alert-red. The desktop table's own Amount cell (just above) has no
   color override either, only font-weight:700 -- this mirrors that, just bolder to
   anchor the card's bottom line. */
.axmp-return-row-amount {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink, #0F0F0F);
}

.axmp-return-row-empty {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
}

@media (max-width: 480px) {

    .axmp-overview-grid,
    .axmp-stats-grid {
        grid-template-columns: 1fr !important;
    }

    .axmp-row-2 {
        grid-template-columns: 1fr !important;
    }

    /* v1.1.81: shrinks the product-card thumbnail a bit further on very small
       phones so it doesn't crowd out the name/SKU next to it. */
    .axmp-products-table-responsive td.axmp-pcell-image img,
    .axmp-products-table-responsive td.axmp-pcell-image > div {
        width: 52px !important;
        height: 52px !important;
    }
}

/* v1.1.80 ADDED (owner's request, 2026-09-18): new-order alert popup ("toast"),
   shown on every dashboard tab via #axmp-order-alert-root
   (vendor/views/dashboard.php, rendered once in the shared shell). Stacked
   top-right, above even the confirmation modal (z-index higher than
   .axmp-modal-overlay's 99999) so a vendor mid-action on another tab still
   sees a new order come in immediately. */
#axmp-order-alert-root {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}

.axmp-order-alert-toast {
    position: relative;
    background: var(--surface, #FFFFFF);
    border: 1px solid var(--border, #E8E4DC);
    border-left: 4px solid var(--red, #F5C518);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    padding: 14px 34px 14px 16px;
    pointer-events: auto;
    animation: axmp-order-alert-in 0.25s ease-out;
}

.axmp-order-alert-toast-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink, #0F0F0F);
    margin-bottom: 4px;
}

.axmp-order-alert-toast-msg {
    font-size: 13px;
    color: var(--ink-soft, #57534E);
}

.axmp-order-alert-toast-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: var(--ink-faint, #8C8681);
    cursor: pointer;
    padding: 4px;
}

.axmp-order-alert-toast-close:hover {
    color: var(--ink, #0F0F0F);
}

@keyframes axmp-order-alert-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    #axmp-order-alert-root {
        top: 8px;
        right: 8px;
        left: 8px;
        width: auto;
    }
}

/* v1.1.92 ADDED (owner's request, 2026-09-21): the new Settings landing page
   (vendor/views/settings.php) -- a simple vertical list of link-rows (Store Setup,
   Profile & KYC, Supplier Signature, Marketplace Store Policies & Terms) plus one
   static row with a live Vacation Mode toggle switch. */
.axmp-settings-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 640px;
}

.axmp-settings-row {
    display: flex !important;
    align-items: center;
    gap: 14px;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #E8E4DC);
    border-radius: 14px;
    padding: 16px;
    text-decoration: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.axmp-settings-row:hover {
    border-color: var(--red, #F5B700);
    box-shadow: 0 4px 14px -6px rgba(245, 183, 0, 0.35);
}

/* v1.1.93 CHANGED: background/color now come from each row's own inline style (see
   vendor/views/settings.php) instead of one flat gray box for every row -- matches the
   sidebar's new per-item colored-chip icon treatment (owner-reported: wanted icons as
   polished as the Meesho reference screenshot). */
.axmp-settings-row-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.axmp-settings-row-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.axmp-settings-row-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink, #0F0F0F);
}

.axmp-settings-row-desc {
    font-size: 12.5px;
    color: var(--ink-soft, #6B6660);
}

.axmp-settings-row-chevron {
    font-size: 20px;
    color: var(--ink-faint, #A8A296);
    flex-shrink: 0;
}

.axmp-settings-row-static {
    cursor: default;
}

/* v1.1.92 ADDED: a plain checkbox styled as an on/off pill switch, used for the
   Settings page's live Vacation Mode toggle (#axmp-settings-vacation-toggle). Standard
   "checkbox + sibling label span, hidden via opacity so it stays keyboard/AT
   accessible" pattern -- not a custom widget needing extra ARIA. */
.axmp-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}

.axmp-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.axmp-toggle-switch-slider {
    position: absolute;
    inset: 0;
    background: #D9D4CA;
    border-radius: 999px;
    transition: background 0.15s ease;
}

.axmp-toggle-switch-slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease;
}

.axmp-toggle-switch input:checked + .axmp-toggle-switch-slider {
    background: #DC2626;
}

.axmp-toggle-switch input:checked + .axmp-toggle-switch-slider::before {
    transform: translateX(18px);
}

.axmp-toggle-switch input:disabled + .axmp-toggle-switch-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* v1.1.92 ADDED: small "back to Settings" link at the top of Store Setup, Profile &
   KYC, Supplier Signature, and Store Policies & Terms -- now that none of these are
   top-level sidebar items any more (they're all reached via Settings), this keeps the
   way back easy to find. */
.axmp-settings-back-link {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft, #6B6660);
    text-decoration: none;
    margin-bottom: 14px;
}

.axmp-settings-back-link:hover {
    color: var(--ink, #0F0F0F);
    text-decoration: underline;
}

/* v1.1.93 ADDED: supports the JS-based sticky sidebar in vendor-dashboard.js (see its
   own long comment for why this replaced the CSS-only "position: sticky" approach).
   .axmp-sidebar-portal is the plain wrapper JS appends to <body> when the sidebar
   floats -- it carries the "axmp-wrap" class too so .axmp-wrap .axmp-sidebar's own
   styling (background/radius/padding/etc.) keeps matching once the sidebar moves
   inside it. .axmp-sidebar-is-fixed is added to the sidebar itself the whole time it's
   floating, purely for this visual affordance (a shadow, so it visibly reads as
   "lifted" off the page rather than looking identically embedded while floating over
   unrelated content). .axmp-sidebar-placeholder is the same-size stand-in left behind
   in the original flex slot so .axmp-shell's layout doesn't collapse. */
.axmp-sidebar-is-fixed {
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.35);
}

/* ---- v1.1.203 ADDED (owner's request: Support Desk tab redesign -- "Pura tab ka
   look/layout badalna hai"): a dedicated mobile-only card list for the Support Desk
   tab's ticket table, exactly mirroring Products' (v1.1.196) and Returns' (v1.1.201)
   own `.axmp-X-desktop-only` / `.axmp-X-mobile-list` pairing -- same convention, same
   card visual language (font, color tokens, badge-pill usage, spacing/radius), desktop
   table left untouched and simply hidden below 768px. See vendor/views/support.php's
   own v1.1.203 doc comment for the full feature (this pairing is only the mobile-card
   half of it -- the reply/thread-popup CSS lives inline in that file, matching how its
   New Ticket modal's own CSS has always been kept local to that view rather than here).
   ---- */
@media (max-width: 768px) {
    .axmp-support-desktop-only {
        display: none !important;
    }
}

.axmp-support-mobile-list {
    display: none;
}

@media (max-width: 768px) {
    .axmp-support-mobile-list {
        display: block;
    }
}

.axmp-support-row {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
}

.axmp-support-row:last-child {
    margin-bottom: 0;
}

.axmp-support-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.axmp-support-row-id {
    background: #F1F5F9;
    padding: 3px 7px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    color: #334155;
    font-size: 11.5px;
    font-weight: 800;
}

.axmp-support-row-subject {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink, #0F0F0F);
    line-height: 1.4;
    word-break: break-word;
}

.axmp-support-row-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    row-gap: 4px;
    margin-top: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ink-faint, #8C8681);
}

.axmp-support-row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #F1EEE7;
}

.axmp-support-row-replies {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft, #6B6660);
}

.axmp-support-row-open {
    font-size: 12px;
    font-weight: 800;
    color: #E6A100;
}

.axmp-support-row-empty {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
}

/* 6. Product Builder: Step Accordion (v1.1.231)

   v1.1.227/228's horizontal-scroll Step Bar Carousel is REMOVED from the PRODUCT
   BUILDER only -- full reversal, not a silent unhook, since vendor/views/product-
   builder.php no longer renders a .axmp-step-btn or .axmp-step-arrow anywhere (see
   that file's own v1.1.231 removal note). Owner's request: "Step bar ki design change
   kijiye" -- shown an Accordion mockup first (owner's own ask: "Pehle mockup
   dikhaiye"), approved it ("Design dekhke toh atcha laga hai, implement kijiye"). The
   new rules below are its real styling, lifted from the same tokens (--ink/--ink-soft/
   --ink-faint/--border/--red/--red-dark/--green/--green-wash) every other part of this
   dashboard already uses -- not a new palette. A vertical accordion needs no
   horizontal-scroll/scrollbar-hiding rules of its own, since nothing in it ever needs
   to scroll sideways -- that whole class of mobile bug (the thing v1.1.227/228 were
   patching) cannot recur here by construction.

   `.axmp-step-btn` / `.axmp-step-arrow` below are removed outright (dead -- no page
   renders them any more). `.axmp-step-bar` itself is DELIBERATELY KEPT just below,
   unlike those two -- vendor/views/seller-registration.php's own, unrelated 6-step
   Account/Business/Tax & KYC/FSSAI/Bank/Review wizard reuses this exact class name for
   its own step-indicator bar (a totally different one, not touched this round) and
   still needs its scrollbar hidden on a narrow phone, so deleting this rule would have
   been an unrequested regression on a page nobody asked to change.

   SECURITY: pure presentational CSS (layout/color/transform), no user input, no new
   attack surface. */
.axmp-step-bar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.axmp-step-bar::-webkit-scrollbar {
    display: none;
}

.axmp-accordion {
    background: var(--canvas, #FFFFFF);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 4px 12px -4px rgba(28, 25, 23, .06);
    overflow: hidden;
    margin-bottom: 20px;
}

.axmp-accordion-step + .axmp-accordion-step {
    border-top: 1px solid var(--border);
}

.axmp-accordion-head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
}

.axmp-accordion-head:hover {
    background: var(--gold-wash, #F2F2F0);
}

.axmp-accordion-badge {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: var(--gold-wash, #F2F2F0);
    color: var(--ink-faint);
}

.axmp-accordion-step.is-visited .axmp-accordion-badge {
    background: var(--green-wash);
    color: var(--green);
}

.axmp-accordion-step.is-open .axmp-accordion-badge {
    background: linear-gradient(180deg, #FFCF33, var(--red));
    color: var(--ink);
}

.axmp-accordion-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.axmp-accordion-step.is-open .axmp-accordion-title {
    color: var(--red-dark);
}

.axmp-accordion-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--ink-faint);
    transition: transform .15s ease;
}

.axmp-accordion-step.is-open .axmp-accordion-chevron {
    transform: rotate(180deg);
    color: var(--red-dark);
}

.axmp-accordion-panel {
    display: none;
}

.axmp-accordion-step.is-open > .axmp-accordion-panel {
    display: block;
}

.axmp-accordion-panel-inner {
    padding: 0 18px 20px 18px;
}

/* Step 6 "Review & Submit" was a 2-column CSS grid
   (grid-template-columns:1.2fr 1fr) with NO mobile breakpoint -- on a narrow phone
   screen both columns were squeezed to roughly half the viewport width each. That's
   the actual root cause of the owner-reported "6. Final Produ ct Revie w &
   Submi ssion" heading wrapping character-by-character (the heading's own text
   couldn't fit the crushed column width) AND of the Live Product Card Preview looking
   cramped/wrong on mobile in the same screenshot. Below 768px (this file's established
   mobile-dashboard breakpoint) the grid now collapses to a single column, same
   breakpoint convention used elsewhere in this file, so Step 6's Review controls and
   the Live Preview card each get the phone's full width and stack vertically instead
   of fighting for half of it. */
@media (max-width: 768px) {
    .axmp-step6-grid {
        grid-template-columns: 1fr !important;
    }
}