/* ==========================================================================
 * MagicKeyPro Trader v8 reference SaaS layer
 * Loaded last in the v8 theme only. This file is intentionally additive:
 * it upgrades the visible UI while leaving WooCommerce, account, licensing,
 * affiliate, support, market-data, and checkout behavior intact.
 * ========================================================================== */

:root {
  --mk-v8-bg-0: #02030a;
  --mk-v8-bg-1: #070a14;
  --mk-v8-bg-2: #0c0e17;
  --mk-v8-surface: rgba(15, 23, 42, .72);
  --mk-v8-surface-soft: rgba(29, 31, 41, .46);
  --mk-v8-surface-strong: rgba(9, 15, 32, .92);
  --mk-v8-line: rgba(195, 245, 255, .13);
  --mk-v8-line-strong: rgba(0, 229, 255, .34);
  --mk-v8-text: #e9eefb;
  --mk-v8-muted: #bac9cc;
  --mk-v8-faint: rgba(186, 201, 204, .68);
  --mk-v8-cyan: #00e5ff;
  --mk-v8-cyan-soft: rgba(0, 229, 255, .13);
  --mk-v8-emerald: #10b981;
  --mk-v8-emerald-bright: #14f195;
  --mk-v8-violet: #8b5cf6;
  --mk-v8-purple: #571bc1;
  --mk-v8-red: #ef4444;
  --mk-v8-amber: #facc15;
  --mk-v8-orange: #f97316;
  --mk-v8-radius: 18px;
  --mk-v8-radius-lg: 24px;
  --mk-v8-shadow: 0 30px 80px -42px rgba(0, 229, 255, .7), 0 44px 110px -70px rgba(0, 0, 0, .92);
  --mk-v8-shadow-hard: 0 26px 0 -20px rgba(0, 0, 0, .48), 0 26px 64px -34px rgba(0, 229, 255, .52);
  --mk-v8-font-heading: var(--mk-font-heading, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif);
  --mk-v8-font-body: var(--mk-font-body, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif);
  --mk-v8-font-mono: var(--mk-font-mono, "JetBrains Mono", "SFMono-Regular", Consolas, monospace);
}

html {
  background: var(--mk-v8-bg-0);
}

body.mk-theme-shell {
  color: var(--mk-v8-text);
  font-family: var(--mk-v8-font-body);
  background-color: var(--mk-v8-bg-0);
  background-image:
    radial-gradient(circle at 16% -2%, rgba(0, 229, 255, .18), transparent min(44vw, 620px)),
    radial-gradient(circle at 88% 2%, rgba(87, 27, 193, .17), transparent min(44vw, 620px)),
    radial-gradient(circle at 48% 54%, rgba(16, 185, 129, .08), transparent min(48vw, 660px)),
    linear-gradient(rgba(195, 245, 255, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195, 245, 255, .026) 1px, transparent 1px),
    linear-gradient(180deg, #0c0e17 0%, #02030a 46%, #070a14 100%);
  background-size: auto, auto, auto, 50px 50px, 50px 50px, auto;
  overflow-x: hidden;
}

body.mk-theme-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .34;
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(0, 229, 255, .035) 42% 42.25%, transparent 42.25% 100%),
    linear-gradient(70deg, transparent 0 58%, rgba(16, 185, 129, .03) 58% 58.22%, transparent 58.22% 100%);
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

body.mk-theme-shell,
body.mk-theme-shell button,
body.mk-theme-shell input,
body.mk-theme-shell textarea,
body.mk-theme-shell select {
  font-family: var(--mk-v8-font-body);
}

body.mk-theme-shell h1,
body.mk-theme-shell h2,
body.mk-theme-shell h3,
body.mk-theme-shell .mk-hero-title,
body.mk-theme-shell .mk-tier-name,
body.mk-theme-shell .mk-account-title,
body.mk-theme-shell .woocommerce-loop-product__title,
body.mk-theme-shell .product_title {
  font-family: var(--mk-v8-font-heading);
  letter-spacing: 0;
}

body.mk-theme-shell code,
body.mk-theme-shell pre,
body.mk-theme-shell .mk-eyebrow,
body.mk-theme-shell .mk-tier-badge,
body.mk-theme-shell .mk-account-pill,
body.mk-theme-shell .mk-hero-panel-tier,
body.mk-theme-shell .mk-hero-panel-tab,
body.mk-theme-shell .mk-pair-symbol,
body.mk-theme-shell .mk-pair-price,
body.mk-theme-shell .mk-account-license-key code,
body.mk-theme-shell .mkpt-license-key-field input,
body.mk-theme-shell .mkcam-affiliate-kicker {
  font-family: var(--mk-v8-font-mono);
}

body.mk-theme-shell #mkpt-main-content,
body.mk-theme-shell .mk-home-page--v6,
body.mk-theme-shell .mk-shop-page,
body.mk-theme-shell .mk-single-product-page,
body.mk-theme-shell .woocommerce,
body.mk-theme-shell .woocommerce-page,
body.mk-theme-shell .mk-account {
  background: transparent;
}

body.mk-theme-shell .mk-pricing-bg,
body.mk-theme-shell .mk-final-cta-bg,
body.mk-theme-shell .mk-live-pairs-bg,
body.mk-theme-shell .mk-product-preview-bg,
body.mk-theme-shell .mk-security-bg,
body.mk-theme-shell .mk-account-bg,
body.mk-theme-shell .mk-page-hero-bg {
  opacity: .38;
  pointer-events: none;
}

body.mk-theme-shell .mk-pricing-section,
body.mk-theme-shell .mk-comparison-section,
body.mk-theme-shell .mk-live-pairs-section,
body.mk-theme-shell .mk-product-preview-section,
body.mk-theme-shell .mk-security-section,
body.mk-theme-shell .mk-final-cta-v6,
body.mk-theme-shell .mk-section {
  background-color: transparent !important;
}

/* Header and navigation */
body.mk-theme-shell .mk-header,
body.mk-theme-shell .mk-header-inner,
body.mk-theme-shell .mk-site-header,
body.mk-theme-shell .mk-glass-header {
  border-color: rgba(195, 245, 255, .11);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, .88), rgba(5, 7, 18, .72));
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 18px 52px -34px rgba(0, 229, 255, .48);
}

body.mk-theme-shell .mk-logo,
body.mk-theme-shell .mk-brand,
body.mk-theme-shell .mk-site-branding a {
  font-family: var(--mk-v8-font-heading);
  font-weight: 800;
  letter-spacing: 0;
}

body.mk-theme-shell .mk-nav a,
body.mk-theme-shell .mk-menu a,
body.mk-theme-shell .mk-header-actions a {
  color: rgba(233, 238, 251, .82);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

body.mk-theme-shell .mk-nav a:hover,
body.mk-theme-shell .mk-menu a:hover,
body.mk-theme-shell .mk-header-actions a:hover {
  color: var(--mk-v8-cyan);
}

body.mk-theme-shell .mk-header-actions .mk-account-link,
body.mk-theme-shell .mk-header-actions .mk-cart-link,
body.mk-theme-shell .mk-mobile-toggle {
  border-color: rgba(195, 245, 255, .16);
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

body.mk-theme-shell .mk-header-actions .mk-account-link:hover,
body.mk-theme-shell .mk-header-actions .mk-cart-link:hover,
body.mk-theme-shell .mk-mobile-toggle:hover {
  border-color: rgba(0, 229, 255, .42);
  background: rgba(0, 229, 255, .1);
  transform: translateY(-1px);
}

/* Universal terminal glass panels */
body.mk-theme-shell .mk-card,
body.mk-theme-shell .mk-card-premium,
body.mk-theme-shell .mk-tier-card,
body.mk-theme-shell .mk-bento-card,
body.mk-theme-shell .mk-pair-card,
body.mk-theme-shell .mk-security-card,
body.mk-theme-shell .mk-trust-card,
body.mk-theme-shell .mk-final-cta-card,
body.mk-theme-shell .mk-product-preview-card,
body.mk-theme-shell .mk-account,
body.mk-theme-shell .mk-account-card,
body.mk-theme-shell .mkpt-support-form,
body.mk-theme-shell .mkpt-support,
body.mk-theme-shell .mkcam-affiliate-card,
body.mk-theme-shell .mkcam-affiliate-hero,
body.mk-theme-shell .mkcam-signup,
body.mk-theme-shell .woocommerce ul.products li.product,
body.mk-theme-shell .woocommerce-cart-form,
body.mk-theme-shell .cart_totals,
body.mk-theme-shell .wc-block-cart,
body.mk-theme-shell .wc-block-checkout,
body.mk-theme-shell .wc-block-components-sidebar,
body.mk-theme-shell .woocommerce-checkout-review-order,
body.mk-theme-shell .woocommerce-MyAccount-content,
body.mk-theme-shell .woocommerce-MyAccount-navigation {
  border-color: var(--mk-v8-line);
  border-radius: var(--mk-v8-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .028)),
    radial-gradient(circle at 100% 0%, rgba(0, 229, 255, .07), transparent 34%),
    linear-gradient(145deg, var(--mk-v8-surface), rgba(3, 5, 14, .9));
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
  box-shadow: var(--mk-v8-shadow);
}

body.mk-theme-shell .mk-card:hover,
body.mk-theme-shell .mk-tier-card:hover,
body.mk-theme-shell .mk-bento-card:hover,
body.mk-theme-shell .mk-pair-card:hover,
body.mk-theme-shell .mk-security-card:hover,
body.mk-theme-shell .mk-account-card:hover,
body.mk-theme-shell .mkcam-affiliate-card:hover,
body.mk-theme-shell .woocommerce ul.products li.product:hover {
  border-color: rgba(0, 229, 255, .38);
  transform: translateY(-5px);
  box-shadow: 0 24px 78px -36px rgba(0, 229, 255, .72), 0 34px 92px -58px rgba(0, 0, 0, .96);
}

body.mk-theme-shell .mk-eyebrow,
body.mk-theme-shell .mk-section-header .mk-eyebrow,
body.mk-theme-shell .mk-account-header .mk-eyebrow,
body.mk-theme-shell .mk-tier-badge,
body.mk-theme-shell .mk-account-pill {
  border: 1px solid rgba(0, 229, 255, .24);
  background: rgba(0, 229, 255, .08);
  color: var(--mk-v8-cyan);
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.mk-theme-shell .mk-compliance-line,
body.mk-theme-shell .mk-pricing-compliance,
body.mk-theme-shell .mk-checkout-risk-note,
body.mk-theme-shell .mk-risk-disclaimer,
body.mk-theme-shell .woocommerce-privacy-policy-text {
  color: rgba(186, 201, 204, .74);
}

/* Buttons and tactile controls */
body.mk-theme-shell .mk-button-3d,
body.mk-theme-shell .mk-button-primary,
body.mk-theme-shell .mk-tier-cta--advanced,
body.mk-theme-shell .mk-account-btn--primary,
body.mk-theme-shell .woocommerce a.button,
body.mk-theme-shell .woocommerce button.button,
body.mk-theme-shell .woocommerce input.button,
body.mk-theme-shell .woocommerce #payment #place_order,
body.mk-theme-shell .woocommerce-page #payment #place_order,
body.mk-theme-shell .wc-block-components-button:not(.is-link) {
  border: 1px solid rgba(0, 229, 255, .55) !important;
  color: #001f24 !important;
  background:
    linear-gradient(135deg, #9cf0ff 0%, #00e5ff 35%, #56ffa8 100%) !important;
  box-shadow:
    0 5px 0 rgba(0, 0, 0, .42),
    0 24px 52px -18px rgba(0, 229, 255, .7),
    inset 0 1px 0 rgba(255, 255, 255, .45) !important;
}

body.mk-theme-shell .mk-button-3d:hover,
body.mk-theme-shell .mk-button-primary:hover,
body.mk-theme-shell .mk-tier-cta--advanced:hover,
body.mk-theme-shell .mk-account-btn--primary:hover,
body.mk-theme-shell .woocommerce a.button:hover,
body.mk-theme-shell .woocommerce button.button:hover,
body.mk-theme-shell .woocommerce input.button:hover,
body.mk-theme-shell .woocommerce #payment #place_order:hover,
body.mk-theme-shell .wc-block-components-button:not(.is-link):hover {
  transform: translateY(-2px);
  box-shadow:
    0 7px 0 rgba(0, 0, 0, .42),
    0 30px 70px -16px rgba(0, 229, 255, .86),
    inset 0 1px 0 rgba(255, 255, 255, .54) !important;
}

body.mk-theme-shell .mk-button-3d:active,
body.mk-theme-shell .mk-button-primary:active,
body.mk-theme-shell .mk-tier-cta:active,
body.mk-theme-shell .mk-account-btn:active,
body.mk-theme-shell .woocommerce a.button:active,
body.mk-theme-shell .woocommerce button.button:active,
body.mk-theme-shell .wc-block-components-button:not(.is-link):active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, .44),
    0 18px 42px -22px rgba(0, 229, 255, .74),
    inset 0 1px 0 rgba(255, 255, 255, .42) !important;
}

body.mk-theme-shell .mk-button-ghost-3d,
body.mk-theme-shell .mk-button-secondary,
body.mk-theme-shell .mk-tier-cta--demo,
body.mk-theme-shell .mk-account-btn--ghost,
body.mk-theme-shell .mk-account-btn--mini {
  border-color: rgba(195, 245, 255, .2) !important;
  color: var(--mk-v8-text) !important;
  background: rgba(255, 255, 255, .055) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

body.mk-theme-shell .mk-button-ghost-3d:hover,
body.mk-theme-shell .mk-button-secondary:hover,
body.mk-theme-shell .mk-tier-cta--demo:hover,
body.mk-theme-shell .mk-account-btn--ghost:hover,
body.mk-theme-shell .mk-account-btn--mini:hover {
  border-color: rgba(0, 229, 255, .42) !important;
  background: rgba(0, 229, 255, .09) !important;
}

/* Homepage hero and product terminal */
body.mk-theme-shell .mk-hero--v6 {
  min-height: min(960px, calc(100vh - 10px));
}

body.mk-theme-shell .mk-hero-title {
  max-width: 850px;
  font-weight: 800;
  letter-spacing: 0;
}

body.mk-theme-shell .mk-hero-title-brand {
  background: linear-gradient(110deg, #c3f5ff 0%, #00e5ff 28%, #d0bcff 58%, #56ffa8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.mk-theme-shell .mk-hero-subhead {
  color: rgba(225, 225, 240, .82);
}

body.mk-theme-shell .mk-hero-chip {
  border-color: rgba(195, 245, 255, .16);
  background: rgba(15, 23, 42, .62);
}

body.mk-theme-shell .mk-hero-panel {
  border-color: rgba(0, 229, 255, .42);
  background:
    linear-gradient(180deg, rgba(40, 41, 52, .86), rgba(12, 14, 23, .96)),
    linear-gradient(135deg, rgba(0, 229, 255, .12), transparent 45%);
  box-shadow:
    0 40px 120px -30px rgba(0, 229, 255, .66),
    0 30px 88px -36px rgba(87, 27, 193, .62),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

body.mk-theme-shell .mk-hero-panel-head,
body.mk-theme-shell .mk-hero-panel-status {
  border-color: rgba(195, 245, 255, .11);
}

body.mk-theme-shell .mk-hero-tbtn,
body.mk-theme-shell .mk-hero-qbtn {
  box-shadow:
    0 4px 0 rgba(0, 0, 0, .36),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}

body.mk-theme-shell .mk-hero-tbtn--buy {
  background: linear-gradient(180deg, rgba(86, 255, 168, .95), rgba(16, 185, 129, .9));
}

body.mk-theme-shell .mk-hero-tbtn--sell {
  background: linear-gradient(180deg, rgba(255, 180, 171, .96), rgba(239, 68, 68, .9));
}

body.mk-theme-shell .mk-hero-qbtn--tp {
  border-color: rgba(0, 229, 255, .42);
  color: #9cf0ff;
}

body.mk-theme-shell .mk-hero-qbtn--sl {
  border-color: rgba(249, 115, 22, .42);
  color: #ffca9f;
}

body.mk-theme-shell .mk-hero-qbtn--trail,
body.mk-theme-shell .mk-hero-qbtn--be {
  border-color: rgba(208, 188, 255, .36);
}

body.mk-theme-shell .mk-hero-float {
  border-color: rgba(195, 245, 255, .17);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .078), rgba(255, 255, 255, .032)),
    rgba(15, 23, 42, .74);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

/* Market data cards */
body.mk-theme-shell .mk-live-pairs-section,
body.mk-theme-shell .mk-product-preview-section,
body.mk-theme-shell .mk-security-section {
  background: transparent;
}

body.mk-theme-shell .mk-pair-card {
  overflow: hidden;
}

body.mk-theme-shell .mk-pair-card::before,
body.mk-theme-shell .mk-bento-card::before,
body.mk-theme-shell .mk-security-card::before,
body.mk-theme-shell .mk-tier-card::before,
body.mk-theme-shell .mk-account-card::before,
body.mk-theme-shell .woocommerce ul.products li.product::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .12), transparent 28%),
    radial-gradient(circle at 95% 0%, rgba(0, 229, 255, .12), transparent 30%);
  opacity: .72;
}

body.mk-theme-shell .mk-pair-symbol,
body.mk-theme-shell .mk-pair-price,
body.mk-theme-shell .mk-hero-float-price {
  color: var(--mk-v8-text);
}

body.mk-theme-shell .mk-pair-change.is-up,
body.mk-theme-shell .mk-hero-float-change--up,
body.mk-theme-shell .mk-market-up,
body.mk-theme-shell .amount {
  color: #56ffa8;
}

body.mk-theme-shell .mk-pair-change.is-down,
body.mk-theme-shell .mk-market-down {
  color: #ffb4ab;
}

body.mk-theme-shell .mk-pair-live-dot,
body.mk-theme-shell .mk-hero-panel-led {
  background: var(--mk-v8-emerald-bright);
  box-shadow: 0 0 18px rgba(20, 241, 149, .62);
}

body.mk-theme-shell .mk-market-state-last_session .mk-pair-live-dot,
body.mk-theme-shell .mk-market-state-delayed .mk-pair-live-dot,
body.mk-theme-shell .mk-market-state-reference .mk-pair-live-dot,
body.mk-theme-shell .mk-market-state-error_stale .mk-pair-live-dot {
  background: var(--mk-v8-amber);
  box-shadow: 0 0 18px rgba(250, 204, 21, .48);
}

/* Pricing */
body.mk-theme-shell .mk-pricing-grid--saas {
  align-items: stretch;
}

body.mk-theme-shell .mk-tier-card {
  border-radius: 26px;
  padding: clamp(24px, 3vw, 36px);
}

body.mk-theme-shell .mk-tier-card--advanced,
body.mk-theme-shell .mk-tier-card.is-best-value {
  border-color: rgba(0, 229, 255, .45);
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 229, 255, .16), transparent 36%),
    radial-gradient(circle at 8% 100%, rgba(86, 255, 168, .1), transparent 34%),
    linear-gradient(180deg, rgba(50, 52, 63, .78), rgba(12, 14, 23, .95));
}

body.mk-theme-shell .mk-tier-ribbon {
  background: linear-gradient(135deg, var(--mk-v8-cyan), var(--mk-v8-emerald-bright));
  color: #001f24;
  box-shadow: 0 12px 30px -16px rgba(0, 229, 255, .7);
}

body.mk-theme-shell .mk-tier-price-amount {
  font-family: var(--mk-v8-font-heading);
}

body.mk-theme-shell .mk-tier-duration-option {
  border-color: rgba(195, 245, 255, .13);
  background: rgba(255, 255, 255, .045);
}

body.mk-theme-shell .mk-tier-duration-option:hover,
body.mk-theme-shell .mk-tier-duration-option:has(input:checked) {
  border-color: rgba(0, 229, 255, .45);
  background: rgba(0, 229, 255, .09);
}

body.mk-theme-shell .mk-tier-duration-best {
  background: rgba(86, 255, 168, .12);
  color: #aaffc8;
}

/* WooCommerce, checkout, and forms */
body.mk-theme-shell.woocommerce-checkout,
body.mk-theme-shell.woocommerce-cart,
body.mk-theme-shell.woocommerce-account {
  background-color: var(--mk-v8-bg-0);
}

body.mk-theme-shell .woocommerce form .form-row input.input-text,
body.mk-theme-shell .woocommerce form .form-row textarea,
body.mk-theme-shell .woocommerce form .form-row select,
body.mk-theme-shell .woocommerce input[type="text"],
body.mk-theme-shell .woocommerce input[type="email"],
body.mk-theme-shell .woocommerce input[type="tel"],
body.mk-theme-shell .woocommerce input[type="password"],
body.mk-theme-shell .woocommerce textarea,
body.mk-theme-shell .woocommerce select,
body.mk-theme-shell input,
body.mk-theme-shell textarea,
body.mk-theme-shell select {
  border-color: rgba(195, 245, 255, .16);
  color: var(--mk-v8-text);
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

body.mk-theme-shell .woocommerce form .form-row input.input-text:focus,
body.mk-theme-shell .woocommerce form .form-row textarea:focus,
body.mk-theme-shell .woocommerce form .form-row select:focus,
body.mk-theme-shell .woocommerce input[type="text"]:focus,
body.mk-theme-shell .woocommerce input[type="email"]:focus,
body.mk-theme-shell .woocommerce input[type="tel"]:focus,
body.mk-theme-shell .woocommerce input[type="password"]:focus,
body.mk-theme-shell .woocommerce textarea:focus,
body.mk-theme-shell .woocommerce select:focus,
body.mk-theme-shell input:focus,
body.mk-theme-shell textarea:focus,
body.mk-theme-shell select:focus {
  outline: none;
  border-color: rgba(0, 229, 255, .58);
  box-shadow:
    0 0 0 3px rgba(0, 229, 255, .12),
    inset 0 1px 0 rgba(255, 255, 255, .09);
}

body.mk-theme-shell .wc-block-components-checkout-step,
body.mk-theme-shell .woocommerce-checkout #payment,
body.mk-theme-shell .woocommerce-checkout-review-order-table,
body.mk-theme-shell .mk-checkout-confidence,
body.mk-theme-shell .mk-checkout-risk-note {
  border-color: rgba(195, 245, 255, .14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .026)),
    rgba(15, 23, 42, .7);
  border-radius: 18px;
}

body.mk-theme-shell .wc-block-components-checkout-step__title,
body.mk-theme-shell .woocommerce-billing-fields h3,
body.mk-theme-shell .woocommerce-shipping-fields h3,
body.mk-theme-shell #order_review_heading {
  font-family: var(--mk-v8-font-heading);
  color: var(--mk-v8-text);
}

body.mk-theme-shell .woocommerce-error,
body.mk-theme-shell .woocommerce-info,
body.mk-theme-shell .woocommerce-message,
body.mk-theme-shell .wc-block-components-notice-banner {
  border-color: rgba(0, 229, 255, .24);
  color: var(--mk-v8-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .072), rgba(255, 255, 255, .03)),
    rgba(15, 23, 42, .84);
  box-shadow: 0 18px 48px -34px rgba(0, 229, 255, .44);
}

body.mk-theme-shell .woocommerce-checkout #payment div.payment_box {
  color: rgba(233, 238, 251, .82);
  background: rgba(255, 255, 255, .048);
  border-color: rgba(195, 245, 255, .12);
}

body.mk-theme-shell .mkpt-pay-mask {
  border-color: rgba(0, 229, 255, .28);
  background:
    linear-gradient(180deg, rgba(0, 229, 255, .08), rgba(255, 255, 255, .03)),
    rgba(15, 23, 42, .76);
}

body.mk-theme-shell .mkpt-pay-mask::before {
  border-color: rgba(0, 229, 255, .22);
  border-top-color: var(--mk-v8-cyan);
}

body.mk-theme-shell .mkpt-pay-mask::after {
  color: var(--mk-v8-muted);
}

/* Account, licenses, and dashboard tables */
body.mk-theme-shell .mk-account {
  border-color: rgba(0, 229, 255, .18);
  background:
    radial-gradient(circle at 92% 0%, rgba(0, 229, 255, .12), transparent 36%),
    radial-gradient(circle at 8% 100%, rgba(139, 92, 246, .12), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 42, .78), rgba(5, 7, 18, .93));
}

body.mk-theme-shell .mk-account-grid {
  gap: clamp(16px, 2vw, 22px);
}

body.mk-theme-shell .mk-account-meta dt,
body.mk-theme-shell .mk-account-orders-table thead th,
body.mk-theme-shell .woocommerce table.shop_table th,
body.mk-theme-shell .woocommerce table.shop_table thead th {
  color: rgba(186, 201, 204, .72);
  font-family: var(--mk-v8-font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.mk-theme-shell .mk-account-orders,
body.mk-theme-shell .woocommerce table.shop_table,
body.mk-theme-shell .woocommerce-MyAccount-orders,
body.mk-theme-shell .shop_table {
  border-color: rgba(195, 245, 255, .12);
  background: rgba(2, 3, 10, .38);
  border-radius: 16px;
  overflow: hidden;
}

body.mk-theme-shell .mk-account-orders-table td,
body.mk-theme-shell .mk-account-orders-table th,
body.mk-theme-shell .woocommerce table.shop_table td,
body.mk-theme-shell .woocommerce table.shop_table th {
  border-color: rgba(195, 245, 255, .08);
}

body.mk-theme-shell .mk-account-license-key,
body.mk-theme-shell .mkpt-license-key-field,
body.mk-theme-shell .mkpt-license-device-info {
  border-color: rgba(0, 229, 255, .28);
  background: rgba(0, 229, 255, .075);
}

body.mk-theme-shell .mk-account-license-key code,
body.mk-theme-shell .mkpt-license-key-field input {
  color: #9cf0ff;
}

/* Affiliate plugin/module surfaces */
body.mk-theme-shell .mkcam-affiliate-page,
body.mk-theme-shell .mkcam-signup {
  --mk-bg: var(--mk-v8-bg-0);
  --mk-surface: rgba(255, 255, 255, .055);
  --mk-border: rgba(195, 245, 255, .13);
  --mk-cyan: var(--mk-v8-cyan);
  --mk-green: var(--mk-v8-emerald-bright);
  --mk-violet: var(--mk-v8-violet);
  --mk-text: var(--mk-v8-text);
  --mk-muted: var(--mk-v8-muted);
}

body.mk-theme-shell .mkcam-affiliate-hero {
  padding: clamp(34px, 5vw, 56px);
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 229, 255, .15), transparent 38%),
    radial-gradient(circle at 6% 100%, rgba(139, 92, 246, .16), transparent 34%),
    rgba(15, 23, 42, .74);
}

body.mk-theme-shell .mkcam-affiliate-card,
body.mk-theme-shell .mkcam-affiliate-step,
body.mk-theme-shell .mkcam-affiliate-note {
  border-color: rgba(195, 245, 255, .13);
  background: rgba(255, 255, 255, .052);
}

body.mk-theme-shell .mkcam-affiliate-cta,
body.mk-theme-shell .mkcam-signup button,
body.mk-theme-shell .mkcam-signup input[type="submit"] {
  border-radius: 14px;
  color: #001f24 !important;
  background: linear-gradient(135deg, #9cf0ff, #00e5ff 42%, #56ffa8) !important;
  box-shadow: var(--mk-v8-shadow-hard);
}

/* Support, blog, legal, and internal page content */
body.mk-theme-shell .mkpt-support-form,
body.mk-theme-shell .mkpt-support-banner,
body.mk-theme-shell .mk-internal-card,
body.mk-theme-shell .mk-page-card,
body.mk-theme-shell .mk-post-card,
body.mk-theme-shell article.post,
body.mk-theme-shell .entry-content > .wp-block-group,
body.mk-theme-shell .entry-content > .wp-block-cover,
body.mk-theme-shell .entry-content > .wp-block-columns {
  border-color: rgba(195, 245, 255, .13);
  border-radius: var(--mk-v8-radius-lg);
}

body.mk-theme-shell .entry-content h2,
body.mk-theme-shell .entry-content h3,
body.mk-theme-shell .mk-internal-copy h1,
body.mk-theme-shell .mk-page-hero h1 {
  font-family: var(--mk-v8-font-heading);
  color: var(--mk-v8-text);
}

body.mk-theme-shell .entry-content p,
body.mk-theme-shell .entry-content li,
body.mk-theme-shell .mk-internal-copy p,
body.mk-theme-shell .mk-post-card p {
  color: rgba(225, 225, 240, .82);
}

body.mk-theme-shell .mk-floating-support {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.mk-theme-shell .mk-floating-support a {
  border-color: rgba(0, 229, 255, .3);
  background:
    linear-gradient(180deg, rgba(0, 229, 255, .12), rgba(255, 255, 255, .05)),
    rgba(15, 23, 42, .88);
  box-shadow: 0 20px 54px -24px rgba(0, 229, 255, .64);
}

/* Footer */
body.mk-theme-shell .mk-premium-footer--v6,
body.mk-theme-shell .mk-footer,
body.mk-theme-shell footer {
  border-color: rgba(195, 245, 255, .1);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 229, 255, .09), transparent 32%),
    radial-gradient(circle at 82% 0%, rgba(139, 92, 246, .09), transparent 30%),
    linear-gradient(180deg, rgba(12, 14, 23, .7), rgba(2, 3, 10, .96));
}

body.mk-theme-shell footer a,
body.mk-theme-shell .mk-premium-footer--v6 a {
  color: rgba(225, 225, 240, .72);
}

body.mk-theme-shell footer a:hover,
body.mk-theme-shell .mk-premium-footer--v6 a:hover {
  color: var(--mk-v8-cyan);
}

/* Responsive refinements */
@media (max-width: 980px) {
  body.mk-theme-shell .mk-hero--v6 {
    min-height: 0;
  }

  body.mk-theme-shell .mk-hero-panel {
    transform: none;
  }

  body.mk-theme-shell .mk-hero-float {
    position: relative;
    inset: auto;
    transform: none;
    margin: 10px 0;
  }
}

@media (max-width: 760px) {
  body.mk-theme-shell {
    background-image:
      radial-gradient(circle at 10% 0%, rgba(0, 229, 255, .15), transparent 340px),
      radial-gradient(circle at 100% 4%, rgba(139, 92, 246, .12), transparent 300px),
      linear-gradient(rgba(195, 245, 255, .02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(195, 245, 255, .02) 1px, transparent 1px),
      linear-gradient(180deg, #0c0e17 0%, #02030a 58%, #070a14 100%);
    background-size: auto, auto, 44px 44px, 44px 44px, auto;
  }

  body.mk-theme-shell .mk-tier-card,
  body.mk-theme-shell .mk-account-card,
  body.mk-theme-shell .mk-card,
  body.mk-theme-shell .mk-bento-card,
  body.mk-theme-shell .mk-pair-card,
  body.mk-theme-shell .mk-security-card,
  body.mk-theme-shell .woocommerce ul.products li.product {
    border-radius: 18px;
  }

  body.mk-theme-shell .mk-header,
  body.mk-theme-shell .mk-header-inner {
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    backdrop-filter: blur(18px) saturate(130%);
  }

  body.mk-theme-shell .mk-hero-actions,
  body.mk-theme-shell .mk-final-cta-actions,
  body.mk-theme-shell .mk-account-actions {
    width: 100%;
  }
}

@media (max-width: 430px) {
  body.mk-theme-shell .mk-hero-title,
  body.mk-theme-shell .mk-page-hero h1,
  body.mk-theme-shell .mk-internal-copy h1 {
    font-size: clamp(2.05rem, 11vw, 3rem);
  }

  body.mk-theme-shell .mk-tier-price-amount {
    font-size: clamp(2.2rem, 12vw, 3.1rem);
  }

  body.mk-theme-shell .mk-hero-chip,
  body.mk-theme-shell .mk-tier-badge,
  body.mk-theme-shell .mk-account-pill {
    max-width: 100%;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.mk-theme-shell *,
  body.mk-theme-shell *::before,
  body.mk-theme-shell *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  body.mk-theme-shell .mk-card:hover,
  body.mk-theme-shell .mk-tier-card:hover,
  body.mk-theme-shell .mk-bento-card:hover,
  body.mk-theme-shell .mk-pair-card:hover,
  body.mk-theme-shell .mk-security-card:hover,
  body.mk-theme-shell .mk-account-card:hover,
  body.mk-theme-shell .mkcam-affiliate-card:hover,
  body.mk-theme-shell .woocommerce ul.products li.product:hover {
    transform: none;
  }
}

/* 2026-05-21 live-site UX hardening.
   The live scan found three trust-breaking issues: the offer popup stacked
   with cookie consent on first view, mobile headings/cards overflowed the
   viewport, and account/cart header icons could clip on narrow phones. Keep
   the underlying features, but make them calmer and bounded. */
html,
body.mk-theme-shell {
  max-width: 100%;
  overflow-x: hidden;
}

body.mk-theme-shell .mk-container,
body.mk-theme-shell .mk-container-wide,
body.mk-theme-shell .mk-wrap {
  max-width: min(100% - 32px, var(--mk-container-wide, 1320px));
}

body.mk-theme-shell .mk-section-header,
body.mk-theme-shell .mk-pricing-page-header,
body.mk-theme-shell .mk-page-hero .mk-section-header {
  max-width: min(820px, calc(100vw - 32px));
}

body.mk-theme-shell .mk-section-header h1,
body.mk-theme-shell .mk-section-header h2,
body.mk-theme-shell .mk-page-hero h1,
body.mk-theme-shell .mk-internal-copy h1,
body.mk-theme-shell .mk-hero-title {
  max-width: 100%;
  overflow-wrap: normal;
}

body.mk-theme-shell .mk-site-popup {
  align-items: center;
  padding: clamp(24px, 6vw, 72px);
  background: rgba(2, 3, 10, .34);
}

body.mk-theme-shell .mk-site-popup-card {
  width: min(520px, calc(100vw - 40px));
  max-height: min(72vh, 560px);
  overflow: auto;
}

body.mk-theme-shell .mkpsc-cookie-banner {
  z-index: 1180 !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 14px !important;
  max-width: calc(100vw - 28px) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
}

body.mk-theme-shell .woocommerce form,
body.mk-theme-shell .woocommerce form .form-row,
body.mk-theme-shell .woocommerce-account .woocommerce,
body.mk-theme-shell .woocommerce-account .woocommerce form.login,
body.mk-theme-shell .woocommerce-account .woocommerce form.register {
  max-width: 100%;
  min-width: 0;
}

body.mk-theme-shell .woocommerce form .form-row input.input-text,
body.mk-theme-shell .woocommerce form .form-row textarea,
body.mk-theme-shell .woocommerce form .form-row select,
body.mk-theme-shell .woocommerce input[type="text"],
body.mk-theme-shell .woocommerce input[type="email"],
body.mk-theme-shell .woocommerce input[type="tel"],
body.mk-theme-shell .woocommerce input[type="password"],
body.mk-theme-shell .woocommerce textarea,
body.mk-theme-shell .woocommerce select {
  box-sizing: border-box;
  max-width: 100%;
}

@media (min-width: 761px) {
  body.mk-theme-shell .mk-page-hero,
  body.mk-theme-shell .mk-internal-hero {
    padding-block: clamp(68px, 7vw, 104px) clamp(34px, 4vw, 58px);
  }

  body.mk-theme-shell .mk-pricing-section {
    padding-top: clamp(38px, 5vw, 64px);
  }
}

@media (max-width: 760px) {
  body.mk-theme-shell .mk-container,
  body.mk-theme-shell .mk-container-wide,
  body.mk-theme-shell .mk-wrap {
    width: min(100% - 24px, var(--mk-container-wide, 1320px)) !important;
    max-width: calc(100vw - 24px) !important;
  }

  body.mk-theme-shell .mk-header-shell {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  body.mk-theme-shell .mk-brand {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  body.mk-theme-shell .mk-brand > span:not(.mk-brand-mark) {
    min-width: 0;
    overflow: hidden;
  }

  body.mk-theme-shell .mk-brand strong {
    display: block;
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.mk-theme-shell .mk-header-actions {
    flex: 0 0 auto;
    gap: 6px;
    min-width: 0;
  }

  body.mk-theme-shell .mk-menu-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  body.mk-theme-shell .mk-section-header,
  body.mk-theme-shell .mk-pricing-page-header,
  body.mk-theme-shell .mk-page-hero .mk-section-header {
    max-width: calc(100vw - 24px);
  }

  body.mk-theme-shell .mk-section-header h1,
  body.mk-theme-shell .mk-page-hero h1,
  body.mk-theme-shell .mk-internal-copy h1,
  body.mk-theme-shell .mk-hero-title {
    font-size: clamp(2rem, 9.5vw, 3.05rem) !important;
    line-height: 1.08 !important;
    text-align: center;
    overflow-wrap: break-word;
  }

  body.mk-theme-shell .mk-section-header h2,
  body.mk-theme-shell .mk-home-page--v6 .mk-section-header h2 {
    font-size: clamp(1.8rem, 8.6vw, 2.75rem) !important;
    line-height: 1.1 !important;
    overflow-wrap: break-word;
  }

  body.mk-theme-shell .mk-eyebrow,
  body.mk-theme-shell .mk-section-header .mk-eyebrow,
  body.mk-theme-shell .mk-tier-badge {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  body.mk-theme-shell .mk-card,
  body.mk-theme-shell .mk-card-premium,
  body.mk-theme-shell .mk-tier-card,
  body.mk-theme-shell .mkpt-support-form,
  body.mk-theme-shell .woocommerce-account .woocommerce,
  body.mk-theme-shell .woocommerce-MyAccount-content,
  body.mk-theme-shell .woocommerce form.login,
  body.mk-theme-shell .woocommerce form.register {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  body.mk-theme-shell .mkpsc-cookie-banner {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    max-width: calc(100vw - 20px) !important;
    max-height: 42vh;
    overflow: auto;
    padding: 12px !important;
    gap: 10px !important;
  }

  body.mk-theme-shell .mkpsc-cookie-banner p {
    font-size: 13px !important;
    line-height: 1.42 !important;
  }
}

@media (max-width: 430px) {
  body.mk-theme-shell .mk-brand > span:not(.mk-brand-mark) {
    display: none;
  }

  body.mk-theme-shell .mk-account-link,
  body.mk-theme-shell .mk-cart-link,
  body.mk-theme-shell .mk-menu-toggle {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px;
    min-height: 40px;
  }

  body.mk-theme-shell .mk-header-shell {
    padding-inline: 8px;
  }
}

/* 2026-05-21 demo request card repair.
   The shortcode form is shared with older lead sections, so keep behavior
   untouched and only modernize the visible card/control layer. */
body.mk-theme-shell .mk-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, 520px);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

body.mk-theme-shell .mk-demo-form-shell {
  position: relative;
  padding: clamp(24px, 3.2vw, 38px) !important;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, .24) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 229, 255, .18), transparent 34%),
    radial-gradient(circle at 100% 14%, rgba(20, 241, 149, .10), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, .86), rgba(3, 7, 18, .96)) !important;
  box-shadow:
    0 30px 82px -44px rgba(0, 229, 255, .72),
    inset 0 1px 0 rgba(255, 255, 255, .10) !important;
}

body.mk-theme-shell .mk-demo-form-shell::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, .64), transparent);
  pointer-events: none;
}

body.mk-theme-shell .mk-demo-form-shell .mk-eyebrow {
  min-height: 30px;
  padding-inline: 12px;
  color: #67f8ff;
  background: rgba(0, 229, 255, .105);
}

body.mk-theme-shell .mk-demo-form-shell h3 {
  max-width: 12ch;
  margin: 14px 0 18px;
  font-size: clamp(1.7rem, 2.4vw, 2.28rem);
  line-height: 1.06;
}

body.mk-theme-shell .mkpt-demo-form {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

body.mk-theme-shell .mkpt-demo-form label:not(.mkpt-demo-consent) {
  display: grid;
  gap: 7px;
  color: rgba(226, 232, 240, .88) !important;
  font-size: .86rem;
  font-weight: 850;
}

body.mk-theme-shell .mkpt-demo-form label:not(.mkpt-demo-consent) > span {
  color: rgba(203, 213, 225, .82);
  font-size: .78rem;
  letter-spacing: .02em;
}

body.mk-theme-shell .mkpt-demo-form input[type="text"],
body.mk-theme-shell .mkpt-demo-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 15px;
  color: #f8fafc;
  background: rgba(4, 9, 23, .78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .065),
    0 12px 28px -24px rgba(0, 0, 0, .9);
}

body.mk-theme-shell .mkpt-demo-form input[type="text"]::placeholder,
body.mk-theme-shell .mkpt-demo-form input[type="email"]::placeholder {
  color: rgba(203, 213, 225, .48);
}

body.mk-theme-shell .mkpt-demo-consent {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px !important;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid rgba(0, 229, 255, .16);
  border-radius: 15px;
  color: rgba(203, 213, 225, .82) !important;
  background: rgba(0, 229, 255, .052);
  font-size: .82rem;
  font-weight: 750 !important;
  line-height: 1.45;
}

body.mk-theme-shell .mkpt-demo-consent:hover,
body.mk-theme-shell .mkpt-demo-consent:has(input:checked) {
  border-color: rgba(20, 241, 149, .32);
  background: rgba(20, 241, 149, .07);
}

body.mk-theme-shell .mkpt-demo-consent input[type="checkbox"] {
  appearance: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 1px 0 0;
  border: 1px solid rgba(0, 229, 255, .48);
  border-radius: 7px;
  background: rgba(2, 6, 23, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
  cursor: pointer;
}

body.mk-theme-shell .mkpt-demo-consent input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, #14f195, #00e5ff);
  transform: scale(0);
  transition: transform .15s ease;
}

body.mk-theme-shell .mkpt-demo-consent input[type="checkbox"]:checked::before {
  transform: scale(1);
}

body.mk-theme-shell .mkpt-demo-form button[type="submit"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  color: #031018;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #14f195 0%, #00e5ff 55%, #8b5cf6 100%);
  box-shadow:
    0 22px 48px -22px rgba(0, 229, 255, .82),
    inset 0 1px 0 rgba(255, 255, 255, .48);
  font-weight: 950;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

body.mk-theme-shell .mkpt-demo-form button[type="submit"]:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow:
    0 28px 58px -24px rgba(20, 241, 149, .86),
    inset 0 1px 0 rgba(255, 255, 255, .55);
}

body.mk-theme-shell .mkpt-demo-form button[type="submit"]:active {
  transform: translateY(0);
}

body.mk-theme-shell .mkpt-demo-form > p,
body.mk-theme-shell .mk-demo-form-shell .mk-disclaimer {
  margin: 4px 0 0;
  color: rgba(203, 213, 225, .78) !important;
  font-size: .86rem;
  line-height: 1.62;
}

body.mk-theme-shell .mkpt-demo-form > p {
  padding: 13px 14px;
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
}

body.mk-theme-shell .mk-demo-form-shell .mk-disclaimer {
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, .15);
}

body.mk-theme-shell .mkpt-demo-success {
  display: grid;
  gap: 5px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(20, 241, 149, .34);
  border-radius: 15px;
  color: #dfffea;
  background: rgba(20, 241, 149, .105);
}

body.mk-theme-shell .mkpt-demo-success.is-warning {
  border-color: rgba(250, 204, 21, .34);
  color: #fff4bd;
  background: rgba(250, 204, 21, .10);
}

body.mk-theme-shell .mk-demo-card {
  border-color: rgba(20, 241, 149, .20);
  background:
    radial-gradient(circle at 10% 0%, rgba(20, 241, 149, .13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .026)),
    rgba(3, 7, 18, .84);
}

body.mk-theme-shell .mk-demo-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

body.mk-theme-shell .mk-demo-actions span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 241, 149, .22);
  border-radius: 14px;
  color: #dfffea;
  background: rgba(20, 241, 149, .075);
  font-size: .84rem;
  font-weight: 850;
  text-align: center;
}

@media (max-width: 1024px) {
  body.mk-theme-shell .mk-demo-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  body.mk-theme-shell .mk-demo-form-shell h3 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  body.mk-theme-shell .mk-demo-grid {
    gap: 18px;
  }

  body.mk-theme-shell .mk-demo-form-shell {
    padding: 20px !important;
    border-radius: 20px !important;
  }

  body.mk-theme-shell .mk-demo-form-shell h3 {
    font-size: 1.62rem;
  }

  body.mk-theme-shell .mkpt-demo-form input[type="text"],
  body.mk-theme-shell .mkpt-demo-form input[type="email"],
  body.mk-theme-shell .mkpt-demo-form button[type="submit"] {
    min-height: 50px;
  }

  body.mk-theme-shell .mk-demo-actions {
    grid-template-columns: 1fr;
  }
}

/* 2026-05-21 mobile spacing/ribbon repair.
   Keeps the premium cards, but gives stacked mobile content enough air and
   prevents fixed utility controls from hiding important pricing/details. */
@media (max-width: 760px) {
  body.mk-theme-shell {
    padding-bottom: calc(116px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.mk-theme-shell .mk-section {
    padding-block: clamp(44px, 10vw, 68px);
  }

  body.mk-theme-shell .mk-grid-2,
  body.mk-theme-shell .mk-grid-3,
  body.mk-theme-shell .mk-grid-4,
  body.mk-theme-shell .mk-grid-6,
  body.mk-theme-shell .mk-feature-grid,
  body.mk-theme-shell .mk-benefit-grid,
  body.mk-theme-shell .mk-proof-grid,
  body.mk-theme-shell .mk-post-grid,
  body.mk-theme-shell .mk-internal-card-grid,
  body.mk-theme-shell .mk-internal-timeline,
  body.mk-theme-shell .mk-bento-grid,
  body.mk-theme-shell .mk-pricing-grid,
  body.mk-theme-shell .mk-pricing-grid--saas,
  body.mk-theme-shell .woocommerce ul.products {
    gap: 22px !important;
  }

  body.mk-theme-shell .mk-card,
  body.mk-theme-shell .mk-card-premium,
  body.mk-theme-shell .mk-feature-card,
  body.mk-theme-shell .mk-bento-card,
  body.mk-theme-shell .mk-pair-card,
  body.mk-theme-shell .mk-security-card,
  body.mk-theme-shell .mk-trust-card {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  body.mk-theme-shell .mk-feature-card,
  body.mk-theme-shell .mk-bento-card {
    min-height: auto;
    gap: 14px;
  }

  body.mk-theme-shell .mk-card-icon,
  body.mk-theme-shell .mk-bento-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 4px;
    border-radius: 14px;
  }

  body.mk-theme-shell .mk-card h3,
  body.mk-theme-shell .mk-feature-card h3,
  body.mk-theme-shell .mk-bento-title {
    margin: 0;
    font-size: clamp(1.34rem, 6vw, 1.72rem);
    line-height: 1.14;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  body.mk-theme-shell .mk-card p,
  body.mk-theme-shell .mk-feature-card p,
  body.mk-theme-shell .mk-bento-body {
    margin: 0;
    font-size: .98rem;
    line-height: 1.62;
    overflow-wrap: normal;
  }

  body.mk-theme-shell .mk-pricing-section {
    padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px));
    overflow: visible;
  }

  body.mk-theme-shell .mk-pricing-grid--saas {
    overflow: visible;
    gap: 34px !important;
  }

  body.mk-theme-shell .mk-pricing-grid--saas .mk-tier-card {
    overflow: visible !important;
    padding: 26px 20px 24px !important;
    border-radius: 24px !important;
  }

  body.mk-theme-shell .mk-pricing-grid--saas .mk-tier-card.is-best-value {
    margin-top: 24px;
    padding-top: 42px !important;
  }

  body.mk-theme-shell .mk-tier-ribbon {
    top: -19px;
    z-index: 5;
    max-width: calc(100vw - 64px);
    padding: 8px 26px;
    border: 1px solid rgba(255, 255, 255, .24);
    font-size: .78rem;
    line-height: 1;
    box-shadow: 0 18px 38px -18px rgba(0, 229, 255, .88);
  }

  body.mk-theme-shell .mk-tier-badge {
    align-self: flex-start;
    max-width: 100%;
    padding-inline: 12px;
    line-height: 1.25;
    text-align: left;
  }

  body.mk-theme-shell .mk-tier-name {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.08;
  }

  body.mk-theme-shell .mk-tier-tagline {
    font-size: 1rem;
    line-height: 1.58;
  }

  body.mk-theme-shell .mk-tier-price-block {
    padding-top: 18px;
  }

  body.mk-theme-shell .mk-tier-price-amount {
    font-size: clamp(3.1rem, 15vw, 4.3rem);
    line-height: .95;
  }

  body.mk-theme-shell .mk-tier-duration-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.mk-theme-shell .mk-tier-duration-option {
    min-height: 76px;
    padding: 14px 12px;
    border-radius: 16px;
  }

  body.mk-theme-shell .mk-tier-duration-option:has(.mk-tier-duration-best) {
    padding-top: 24px;
  }

  body.mk-theme-shell .mk-tier-features {
    gap: 12px;
  }

  body.mk-theme-shell .mk-tier-features li {
    font-size: .96rem;
    line-height: 1.52;
  }

  body.mk-theme-shell .mk-tier-cta {
    min-height: 56px;
    border-radius: 17px;
  }

  body.mk-theme-shell .mk-mobile-sticky-cta {
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
    padding: 8px;
    border-radius: 22px;
  }

  body.mk-theme-shell .mk-mobile-sticky-cta a {
    min-height: 54px;
    padding-inline: 10px;
    border-radius: 18px;
    font-size: clamp(.9rem, 3.8vw, 1rem);
  }

  body.mk-theme-shell .mk-floating-support {
    right: 8px !important;
    bottom: calc(126px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 997;
  }

  body.mk-theme-shell .mk-floating-support a {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px 0 0 999px;
    font-size: 10px;
    letter-spacing: .08em;
    box-shadow: 0 14px 32px -18px rgba(0, 229, 255, .82);
  }

  body.mk-theme-shell .mkcam-affiliate-hero {
    padding: 28px 20px;
  }

  body.mk-theme-shell .mkcam-affiliate-hero h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.08;
    overflow-wrap: normal;
  }

  body.mk-theme-shell .mkcam-affiliate-hero p {
    font-size: .98rem;
    line-height: 1.62;
  }

  body.mk-theme-shell .mkcam-affiliate-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    min-height: 54px;
    margin-top: 16px;
    padding: 0 18px;
    text-align: center;
    box-shadow: 0 20px 44px -24px rgba(20, 241, 149, .9) !important;
  }
}

@media (max-width: 430px) {
  body.mk-theme-shell .mk-pricing-grid--saas .mk-tier-card {
    padding-inline: 18px !important;
  }

  body.mk-theme-shell .mk-tier-ribbon {
    max-width: calc(100vw - 48px);
  }

  body.mk-theme-shell .mk-floating-support {
    bottom: calc(132px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
