/* Medicated TV v3.44 — Batch 7: the MTV Shop (shop pages, the Buy pop-up, the seller dashboard, WP Admin's boxes).
 * Dark space look on the site (same night-sky purple + gold as the rest of Medicated TV); a light look inside WP Admin.
 * Nothing flashes; motion is a short fade/lift only and stops for prefers-reduced-motion. */
.mtvsh-page, .mtvsh-modal {
  --sh-bg: #05030d; --sh-panel: #120a26; --sh-panel2: #1b1036; --sh-line: rgba(180, 150, 255, .2); --sh-ink: #f1ecff; --sh-soft: #b9addb;
  --sh-gold: #ffd36a; --sh-gold2: #ff9d3d; --sh-pink: #ff4fd8; --sh-cyan: #7cf4ff; --sh-ok: #34e07a; --sh-bad: #ff6b6b; --sh-warn: #ffc24d;
  --sh-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --sh-disp: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
}
.mtvsh-admin {
  --sh-bg: #fff; --sh-panel: #fff; --sh-panel2: #f6f4fb; --sh-line: #dcd6ea; --sh-ink: #1d1530; --sh-soft: #5d5476;
  --sh-gold: #f2b600; --sh-gold2: #ff8a00; --sh-pink: #c2189b; --sh-cyan: #0a7ea4; --sh-ok: #138a43; --sh-bad: #c62828; --sh-warn: #a86400;
  --sh-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --sh-disp: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ================================================================ the page */
body.mtvsh-page { margin: 0; min-height: 100vh; background: radial-gradient(1200px 600px at 80% -10%, rgba(120, 60, 255, .22), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(255, 79, 216, .12), transparent 60%), var(--sh-bg); color: var(--sh-ink); font: 400 16px/1.55 var(--sh-font); -webkit-font-smoothing: antialiased; }
.mtvsh-page *, .mtvsh-page *::before, .mtvsh-page *::after, .mtvsh-modal * { box-sizing: border-box; }
.mtvsh-page a { color: var(--sh-cyan); }
.mtvsh-skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 8px 12px; background: var(--sh-gold); color: #1b0f00; border-radius: 8px; }
.mtvsh-skip:focus { left: 12px; }
.mtvsh-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(16px, env(safe-area-inset-left)); padding-top: calc(10px + env(safe-area-inset-top, 0px)); background: rgba(5, 3, 13, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--sh-line); }
.mtvsh-brand { display: flex; align-items: center; gap: 10px; color: var(--sh-ink) !important; text-decoration: none; font: 400 22px/1 var(--sh-disp); letter-spacing: .04em; }
.mtvsh-brand img { border-radius: 50%; }
.mtvsh-brand em { font-style: normal; color: var(--sh-gold); }
.mtvsh-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.mtvsh-nav a { padding: 8px 10px; border-radius: 999px; color: var(--sh-soft); text-decoration: none; font-weight: 600; font-size: 14px; }
.mtvsh-nav a:hover, .mtvsh-nav a:focus-visible { color: var(--sh-ink); background: rgba(255, 255, 255, .07); }
.mtvsh-main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 18px 16px 40px; }
.mtvsh-foot { max-width: 1180px; margin: 0 auto; padding: 22px 16px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--sh-line); color: var(--sh-soft); font-size: 13px; }
.mtvsh-foot p { margin: 4px 0; }
.mtvsh-page h1, .mtvsh-page h2, .mtvsh-page h3 { text-wrap: balance; }
.mtvsh-page h2 { font: 400 28px/1.1 var(--sh-disp); letter-spacing: .03em; margin: 26px 0 12px; }
.mtvsh-kicker { margin: 0 0 6px; color: var(--sh-gold); font-weight: 800; font-size: 12.5px; letter-spacing: .14em; }
.mtvsh-hero { padding: 18px 0 8px; }
.mtvsh-hero h1 { margin: 0; font: 400 clamp(44px, 9vw, 84px)/.95 var(--sh-disp); letter-spacing: .02em; }
.mtvsh-hero h1 span { background: linear-gradient(90deg, var(--sh-gold), var(--sh-gold2), var(--sh-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mtvsh-hero--sm h1 { font-size: clamp(34px, 7vw, 56px); }
.mtvsh-lead { max-width: 62ch; color: var(--sh-soft); font-size: 17px; margin: 10px 0 0; }
.mtvsh-note { margin: 12px 0; padding: 11px 14px; border-radius: 12px; background: rgba(124, 244, 255, .08); box-shadow: inset 0 0 0 1px rgba(124, 244, 255, .3); }
.mtvsh-note--ok { background: rgba(52, 224, 122, .1); box-shadow: inset 0 0 0 1px rgba(52, 224, 122, .4); }
.mtvsh-note--warn { background: rgba(255, 194, 77, .1); box-shadow: inset 0 0 0 1px rgba(255, 194, 77, .45); }
.mtvsh-small { color: var(--sh-soft); font-size: 13px; }

/* buttons, pills, badge */
.mtvsh-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none !important;
  font: 800 15px/1 var(--sh-font); color: #2a1600 !important; background: linear-gradient(135deg, var(--sh-gold), var(--sh-gold2)); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 6px 16px rgba(0, 0, 0, .3); transition: transform .12s ease, box-shadow .12s ease; }
.mtvsh-btn:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 0 0 3px rgba(255, 211, 106, .25), 0 6px 16px rgba(0, 0, 0, .3); }
.mtvsh-btn:active { transform: translateY(2px); }
.mtvsh-btn:focus-visible, .mtvsh-buy:focus-visible, .mtvsh-chip:focus-visible { outline: 3px solid var(--sh-cyan); outline-offset: 2px; }
.mtvsh-btn--ghost { color: var(--sh-ink) !important; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--sh-line); }
.mtvsh-btn--sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.mtvsh-btn--buy { width: 100%; min-height: 52px; font-size: 17px; }
.mtvsh-btn.is-off, .mtvsh-btn:disabled { opacity: .6; cursor: default; transform: none; }
.mtvsh-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; vertical-align: middle; background: rgba(255, 255, 255, .08); color: var(--sh-soft); }
.mtvsh-pill--ok { background: rgba(52, 224, 122, .16); color: var(--sh-ok); }
.mtvsh-pill--warn { background: rgba(255, 194, 77, .16); color: var(--sh-warn); }
.mtvsh-badge { display: inline-block; padding: 3px 8px; border-radius: 6px; background: linear-gradient(135deg, var(--sh-pink), #ff3d6e); color: #fff; font: 800 11px/1 var(--sh-font); letter-spacing: .08em; vertical-align: middle; }

/* chips + rows + grid */
.mtvsh-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 6px; scrollbar-width: thin; }
.mtvsh-chip { flex: 0 0 auto; appearance: none; border: 0; cursor: pointer; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--sh-line); color: var(--sh-ink); font: 600 14px/1 var(--sh-font); }
.mtvsh-chip i { font-style: normal; color: var(--sh-soft); font-weight: 700; margin-left: 4px; }
.mtvsh-chip.is-on { background: linear-gradient(135deg, rgba(255, 211, 106, .22), rgba(255, 157, 61, .18)); box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .7); }
.mtvsh-chip--sale.is-on { box-shadow: inset 0 0 0 1px var(--sh-pink); }
.mtvsh-row h2 { display: flex; align-items: center; gap: 10px; }
.mtvsh-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 12px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.mtvsh-strip > * { scroll-snap-align: start; }
.mtvsh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.mtvsh-count { margin: -4px 0 10px; color: var(--sh-soft); font-size: 14px; }
.mtvsh-card { position: relative; display: flex; flex-direction: column; border-radius: 16px; background: linear-gradient(170deg, var(--sh-panel2), var(--sh-panel)); box-shadow: inset 0 0 0 1px var(--sh-line), 0 10px 24px rgba(0, 0, 0, .25); overflow: hidden; animation: mtvsh-in .35s ease both; animation-delay: calc(var(--i, 0) * 30ms); }
.mtvsh-card[hidden] { display: none; }
.mtvsh-card__link { display: grid; gap: 4px; padding: 0 0 10px; color: var(--sh-ink) !important; text-decoration: none; flex: 1; }
.mtvsh-card__img { display: grid; place-items: center; aspect-ratio: 1; background: rgba(255, 255, 255, .04); overflow: hidden; }
.mtvsh-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.mtvsh-card__img i { font-style: normal; font-size: 46px; }
.mtvsh-card:hover .mtvsh-card__img img { transform: scale(1.04); }
.mtvsh-card .mtvsh-badge { position: absolute; top: 10px; left: 10px; }
.mtvsh-card__t { padding: 8px 12px 0; font-weight: 700; font-size: 15px; line-height: 1.3; }
.mtvsh-card__by { padding: 0 12px; color: var(--sh-soft); font-size: 12.5px; }
.mtvsh-card .mtvsh-price { padding: 2px 12px 0; }
.mtvsh-price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.mtvsh-price b { font-size: 18px; color: var(--sh-gold); }
.mtvsh-price s { color: var(--sh-soft); font-size: 13px; }
.mtvsh-price--big b { font-size: 32px; }
.mtvsh-price--big s { font-size: 15px; }
.mtvsh-buy { appearance: none; border: 0; cursor: pointer; margin: 0 10px 10px; min-height: 40px; border-radius: 999px; font: 800 14px/1 var(--sh-font); color: #2a1600; background: linear-gradient(135deg, var(--sh-gold), var(--sh-gold2)); }
.mtvsh-buy.is-off { display: grid; place-items: center; cursor: default; color: var(--sh-soft); background: rgba(255, 255, 255, .06); font-weight: 700; }
.mtvsh-band { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--sh-line); }
.mtvsh-band > span { font-size: 28px; }
.mtvsh-band p { flex: 1 1 260px; margin: 0; color: var(--sh-soft); }
.mtvsh-band b { color: var(--sh-ink); }
.mtvsh-empty, .mtvsh-done { max-width: 620px; margin: 30px auto; padding: 28px 22px; text-align: center; border-radius: 20px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--sh-line); }
.mtvsh-empty__ic, .mtvsh-done__ic { margin: 0; font-size: 46px; }
.mtvsh-done h1, .mtvsh-empty h1, .mtvsh-empty h2 { font: 400 clamp(32px, 6vw, 46px)/1 var(--sh-disp); margin: 8px 0; letter-spacing: .02em; }
.mtvsh-done .mtvsh-lead, .mtvsh-empty p { margin-left: auto; margin-right: auto; }
.mtvsh-next { text-align: left; max-width: 460px; margin: 18px auto; padding-left: 22px; color: var(--sh-soft); }
.mtvsh-next li { margin: 6px 0; }
.mtvsh-next b { color: var(--sh-ink); }

/* one product */
.mtvsh-crumbs { font-size: 13.5px; color: var(--sh-soft); margin: 4px 0 12px; }
.mtvsh-item { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.mtvsh-gal__main { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--sh-line); }
.mtvsh-gal__main img { width: 100%; height: 100%; object-fit: cover; }
.mtvsh-gal__main i { font-style: normal; font-size: 90px; }
.mtvsh-gal__main .mtvsh-badge { position: absolute; top: 14px; left: 14px; font-size: 13px; padding: 5px 10px; }
.mtvsh-gal__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.mtvsh-gal__t { flex: 0 0 auto; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .65; box-shadow: inset 0 0 0 1px var(--sh-line); background: none; }
.mtvsh-gal__t.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--sh-gold); }
.mtvsh-gal__t img { display: block; width: 64px; height: 64px; object-fit: cover; }
.mtvsh-item__info h1 { margin: 0 0 6px; font: 400 clamp(34px, 5vw, 50px)/1 var(--sh-disp); letter-spacing: .02em; }
.mtvsh-by { margin: 0 0 12px; color: var(--sh-soft); }
.mtvsh-by b { color: var(--sh-ink); }
.mtvsh-save { margin: 4px 0 0; color: var(--sh-ok); font-weight: 700; font-size: 14px; }
.mtvsh-pick { display: grid; gap: 12px; margin: 16px 0; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--sh-line); }
.mtvsh-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--sh-soft); font-size: 14.5px; }
.mtvsh-about, .mtvsh-returns { margin-top: 18px; }
.mtvsh-about h2, .mtvsh-returns h2 { font-size: 24px; margin: 0 0 6px; }
.mtvsh-about p { margin: 0 0 10px; color: var(--sh-soft); }
.mtvsh-back { margin-top: 26px; }

/* forms (shop, seller dashboard, tracking, pop-up, WP Admin) */
.mtvsh-form { display: grid; gap: 14px; }
.mtvsh-field { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.mtvsh-field > span, .mtvsh-field > legend { font-weight: 700; font-size: 14px; color: var(--sh-ink); padding: 0; }
.mtvsh-field small { color: var(--sh-soft); font-size: 12.5px; }
.mtvsh-field input:not([type=checkbox]):not([type=radio]):not([type=file]), .mtvsh-field select, .mtvsh-field textarea, .mtvsh-trackf input, .mtvsh-trackf select {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--sh-line); background: rgba(255, 255, 255, .05); color: var(--sh-ink); font: 500 16px/1.3 var(--sh-font); }
.mtvsh-admin .mtvsh-field input:not([type=checkbox]):not([type=radio]):not([type=file]), .mtvsh-admin .mtvsh-field select, .mtvsh-admin .mtvsh-field textarea { background: #fff; font-size: 14px; min-height: 36px; border-radius: 6px; }
.mtvsh-field select option { color: #111; }
.mtvsh-field input:focus, .mtvsh-field select:focus, .mtvsh-field textarea:focus { outline: 2px solid var(--sh-cyan); outline-offset: 1px; }
.mtvsh-field input:disabled { opacity: .45; }
.mtvsh-field[hidden] { display: none; }
.mtvsh-qty { display: inline-grid; grid-template-columns: 44px 70px 44px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--sh-line); width: max-content; }
.mtvsh-qty button { appearance: none; border: 0; background: rgba(255, 255, 255, .07); color: var(--sh-ink); font-size: 20px; cursor: pointer; }
.mtvsh-qty input { border: 0 !important; border-radius: 0 !important; text-align: center; -moz-appearance: textfield; background: transparent !important; }
.mtvsh-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.mtvsh-radios { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.mtvsh-radios label, .mtvsh-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.mtvsh-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.mtvsh-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.mtvsh-cols > div { display: grid; gap: 14px; }
.mtvsh-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 0; }
.mtvsh-keep { display: flex; gap: 8px; flex-wrap: wrap; }
.mtvsh-keep label { position: relative; display: block; }
.mtvsh-keep input { position: absolute; top: 4px; left: 4px; }
.mtvsh-keep img, .mtvsh-newimgs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.mtvsh-newimgs { display: flex; gap: 8px; flex-wrap: wrap; }
.mtvsh-photos textarea { width: 100%; }

/* the live box */
.mtvsh-calc { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--sh-line); }
.mtvsh-calc.is-ok { box-shadow: inset 0 0 0 1px rgba(52, 224, 122, .55); }
.mtvsh-calc.is-bad { box-shadow: inset 0 0 0 1px rgba(255, 107, 107, .65); }
.mtvsh-calc__h { margin: 0 0 8px; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sh-soft); }
.mtvsh-calc dl { display: grid; gap: 6px; margin: 0; }
.mtvsh-calc dl > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed var(--sh-line); }
.mtvsh-calc dt { color: var(--sh-soft); }
.mtvsh-calc dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.mtvsh-calc dd small { color: var(--sh-soft); }
.mtvsh-calc__v { margin: 10px 0 4px; font-weight: 700; }
.mtvsh-calc.is-ok .mtvsh-calc__v { color: var(--sh-ok); }
.mtvsh-calc.is-bad .mtvsh-calc__v { color: var(--sh-bad); }

/* seller dashboard */
.mtvsh-sec { margin: 22px 0; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--sh-line); }
.mtvsh-sec > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.mtvsh-sec > h2 i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 800 16px/1 var(--sh-font); font-style: normal; color: #2a1600; background: linear-gradient(135deg, var(--sh-gold), var(--sh-gold2)); }
.mtvsh-sec > h2 small { font: 700 14px/1 var(--sh-font); color: var(--sh-soft); }
.mtvsh-pay { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.mtvsh-pay p { flex: 1 1 320px; margin: 0; }
.mtvsh-mine, .mtvsh-orders, .mtvsh-q { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mtvsh-mine__i { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.mtvsh-mine__img { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .05); font-size: 28px; }
.mtvsh-mine__img img { width: 100%; height: 100%; object-fit: cover; }
.mtvsh-mine__img i { font-style: normal; }
.mtvsh-mine__t { display: grid; gap: 2px; min-width: 0; }
.mtvsh-mine__t small { color: var(--sh-soft); }
.mtvsh-why { color: var(--sh-warn) !important; }
.mtvsh-mine__go { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.mtvsh-mine__go form { margin: 0; }
.mtvsh-order { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.mtvsh-order p { margin: 0 0 6px; }
.mtvsh-order__h small { color: var(--sh-soft); }
.mtvsh-addr { color: var(--sh-soft); font-size: 14px; }
.mtvsh-trackf { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.mtvsh-track { max-width: 560px; margin: 0 auto; }
.mtvsh-track h1 { font: 400 clamp(34px, 6vw, 48px)/1 var(--sh-disp); margin: 0 0 12px; }
.mtvsh-track__box { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--sh-line); margin-bottom: 14px; }
.mtvsh-track__box p { margin: 0 0 6px; }
.mtvsh-terms { display: grid; gap: 10px; max-width: 760px; }
.mtvsh-term { padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--sh-line); }
.mtvsh-term h2 { margin: 0 0 6px; font-size: 24px; }
.mtvsh-term p { margin: 0 0 8px; color: var(--sh-soft); }
.mtvsh-term b { color: var(--sh-ink); }
.mtvsh-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.mtvsh-page code { padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, .08); font-size: 13px; }

/* ================================================================ the Buy pop-up (shop pages + the main site) */
html.mtvsh-open { overflow: hidden; }
.mtvsh-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; font: 400 15px/1.5 var(--sh-font); color: var(--sh-ink); }
.mtvsh-modal[hidden] { display: none; }
.mtvsh-modal__back { position: absolute; inset: 0; background: rgba(4, 2, 12, .78); backdrop-filter: blur(4px); }
.mtvsh-modal__card { position: relative; width: min(100%, 520px); max-height: calc(100dvh - 32px); overflow: auto; padding: 20px 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 20px; background: linear-gradient(170deg, #1e1240, #0d0720); box-shadow: inset 0 0 0 1px var(--sh-line), 0 30px 80px rgba(0, 0, 0, .55); animation: mtvsh-in .22s ease both; }
.mtvsh-modal__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--sh-ink); font-size: 16px; cursor: pointer; }
.mtvsh-m-head { display: flex; gap: 12px; align-items: center; padding-right: 44px; }
.mtvsh-m-img { display: grid; place-items: center; flex: 0 0 72px; height: 72px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .06); font-size: 32px; }
.mtvsh-m-img img { width: 100%; height: 100%; object-fit: cover; }
.mtvsh-m-head h2 { margin: 0; font: 800 18px/1.25 var(--sh-font); }
.mtvsh-m-head small { color: var(--sh-soft); }
.mtvsh-m-form { display: grid; gap: 12px; margin-top: 14px; }
.mtvsh-m-price { margin: 0; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.mtvsh-m-price b { font-size: 26px; color: var(--sh-gold); }
.mtvsh-m-price s { color: var(--sh-soft); }
.mtvsh-m-ship, .mtvsh-m-sum, .mtvsh-m-msg { margin: 0; color: var(--sh-soft); }
.mtvsh-m-sum { margin-top: 12px; }
.mtvsh-m-msg { margin: 14px 0; font-size: 16px; color: var(--sh-ink); }
.mtvsh-co { margin-top: 12px; min-height: 180px; border-radius: 14px; overflow: hidden; background: #fff; }
.mtvsh-load { margin: 0; padding: 30px 12px; text-align: center; color: #555; }
.mtvsh-modal .mtvsh-load#mtvsh-m-h { color: var(--sh-soft); }
.mtvsh-err { margin: 8px 0 0; color: var(--sh-bad); font-weight: 700; }
.mtvsh-fine { margin: 12px 0 0; color: var(--sh-soft); font-size: 12.5px; }
.mtvsh-link { appearance: none; border: 0; background: none; padding: 8px 0; color: var(--sh-cyan); font: 600 14px/1.2 var(--sh-font); cursor: pointer; }

/* ================================================================ the Accessories Finder's shop strip + Buy rows */
.wpacc-shop { min-width: 0; max-width: 100%; contain: inline-size; margin: 18px 0 8px; padding: 14px; border-radius: 18px; background: linear-gradient(160deg, rgba(255, 211, 106, .1), rgba(255, 79, 216, .06)); box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .35); }
.wpacc-shop__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.wpacc-shop__h b { font-size: 17px; }
.wpacc-shop__h a { font-weight: 700; font-size: 14px; }
.wpacc-shop .mtvsh-strip { grid-auto-columns: minmax(150px, 180px); }
.wpacc-shop .mtvsh-card { --sh-panel: #120a26; --sh-panel2: #1b1036; --sh-line: rgba(180, 150, 255, .2); --sh-ink: #f1ecff; --sh-soft: #b9addb; --sh-gold: #ffd36a; --sh-gold2: #ff9d3d; --sh-pink: #ff4fd8; --sh-font: var(--mtv-font-body, Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); }
.wpacc-shop .mtvsh-card__link { color: #f1ecff !important; }
.wpacc-biz__shop { min-width: 0; max-width: 100%; contain: inline-size; }
.wpacc-buyrow { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-width: 0; }
.wpacc-buyrow li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 8px; border-radius: 10px; background: rgba(255, 211, 106, .08); }
.wpacc-buyrow a { flex: 1 1 auto; color: inherit; font-weight: 600; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wpacc-buyrow small { color: rgba(236, 231, 255, .7); white-space: nowrap; }
.wpacc-buyrow b { color: #ffd36a; white-space: nowrap; }
.wpacc-buyrow button { appearance: none; border: 0; cursor: pointer; min-height: 34px; padding: 0 12px; border-radius: 999px; font: 800 13px/1 var(--mtv-font-body, Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); color: #2a1600 !important; background: linear-gradient(135deg, #ffd36a, #ff9d3d); }

/* ================================================================ WP Admin */
.mtvsha .mtvsha-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 16px 0; }
.mtvsha .mtvsha-stat { padding: 14px 16px; background: #fff; border: 1px solid #dcd6ea; border-radius: 10px; }
.mtvsha .mtvsha-stat h3 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #5d5476; }
.mtvsha .mtvsha-stat p { margin: 4px 0; }
.mtvsha .mtvsha-big { font-size: 30px; font-weight: 800; color: #138a43; font-variant-numeric: tabular-nums; }
.mtvsha .mtvsha-t td, .mtvsha .mtvsha-t th { vertical-align: top; }
.mtvsha .mtvsha-t td { font-variant-numeric: tabular-nums; }
.mtvsha .mtvsha-good { color: #138a43; }
.mtvsha .mtvsha-bad, .mtvsha tr.mtvsha-bad td { color: #c62828; }
.mtvsha .mtvsha-hl td { background: #fff8d6 !important; }
.mtvsha .mtvsha-acts { white-space: nowrap; }
.mtvsha .mtvsha-acts details { display: inline-block; margin: 2px; }
.mtvsha .mtvsha-acts details[open] { display: block; padding: 6px; background: #f6f4fb; border-radius: 6px; white-space: normal; }
.mtvsha .mtvsha-att li { margin: 6px 0; }
.mtvsha .mtvsha-filter, .mtvsha .mtvsha-inline { margin: 12px 0; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.mtvsha .mtvsha-body { margin-top: 14px; }
.mtvsh-admin .mtvsh-sec { padding: 16px; background: #fff; border: 1px solid #dcd6ea; border-radius: 10px; box-shadow: none; }
.mtvsh-admin .mtvsh-sec > h2 { font-size: 18px; }
.mtvsh-admin .mtvsh-pbox { padding: 16px; background: #fff; border: 1px solid #dcd6ea; border-radius: 10px; }
.mtvsh-admin .mtvsh-pbox select[size] { min-height: 180px; }
.mtvsh-admin .mtvsh-ptable { overflow-x: auto; }
.mtvsh-admin .mtvsh-ptable td small { color: #c62828; }
.mtvsh-admin .mtvsh-calc { background: #f6f4fb; }

@keyframes mtvsh-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 820px) {
  .mtvsh-item, .mtvsh-cols { grid-template-columns: minmax(0, 1fr); }
  .mtvsh-nav a:nth-child(2) { display: none; }
}
@media (max-width: 520px) {
  .mtvsh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mtvsh-card__t { font-size: 14px; padding: 8px 10px 0; }
  .mtvsh-card__by, .mtvsh-card .mtvsh-price { padding-left: 10px; padding-right: 10px; }
  .mtvsh-mine__i { grid-template-columns: 52px minmax(0, 1fr); }
  .mtvsh-mine__img { width: 52px; height: 52px; }
  .mtvsh-mine__go { grid-column: 1 / -1; justify-content: flex-start; }
  .mtvsh-trackf { grid-template-columns: minmax(0, 1fr); }
  .mtvsh-modal { padding: 0; align-items: end; }
  .mtvsh-modal__card { width: 100%; max-height: 94dvh; border-radius: 20px 20px 0 0; }
  .mtvsh-brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mtvsh-card, .mtvsh-modal__card { animation: none; }
  .mtvsh-card__img img, .mtvsh-btn { transition: none; }
}
.mtvsh-mine__t > .mtvsh-pill { justify-self: start; }
/* older browsers without contain:inline-size: the strip never makes the finder wider than the screen */
.wpacc-shop .mtvsh-strip { width: 0; min-width: 100%; }
