/* ==========================================================================
   ASCEND BOOSTS - APPLE iPHONE MOBILE STYLESHEET (mobile.css)
   Interactive Apple iPhone 15 Pro Device Frame on Desktop
   Fluid Full-Screen Native Web App on Real Smartphones
   ========================================================================== */

:root {
  --bg-dark: #07060a;
  --bg-card: rgba(18, 16, 26, 0.92);
  --bg-card-hover: rgba(28, 24, 42, 0.95);
  --bg-pill: rgba(255, 255, 255, 0.05);
  --bg-input: #12101b;
  
  --color-primary: #a270f9;
  --color-primary-light: #c29dff;
  --color-primary-glow: rgba(162, 112, 249, 0.35);
  --color-primary-subtle: rgba(162, 112, 249, 0.12);
  
  --color-text: #ffffff;
  --color-text-muted: #9e9cb0;
  --color-text-dark: #636175;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(162, 112, 249, 0.28);
  --border-accent-strong: rgba(162, 112, 249, 0.65);
  
  --cashapp-color: #00d632;
  --paypal-color: #0070ba;
  --venmo-color: #008cff;
  --discord-blurple: #5865F2;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --safe-bottom: env(safe-area-inset-bottom, 16px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #050408;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   DESKTOP WRAPPER (Centers Phone on Widescreen Monitors)
   ========================================================================== */
.device-viewport-wrapper {
  min-height: 100vh;
  width: 100%;
  background: radial-gradient(circle at 50% 25%, #130f20 0%, #060509 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
  position: relative;
  overflow-x: hidden;
}

/* Desktop Ambient Glow */
.desktop-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 800px;
  background: radial-gradient(circle, rgba(162, 112, 249, 0.18) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Desktop Top Control Bar */
.desktop-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 440px;
  margin-bottom: 18px;
  z-index: 10;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #fff;
}
.preview-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 0 10px rgba(162, 112, 249, 0.5);
}
.preview-brand strong {
  color: var(--color-primary);
  font-weight: 800;
}

.preview-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-device-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e1ec;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-device-pill i {
  font-size: 0.88rem;
}

.preview-btn-switch {
  background: rgba(162, 112, 249, 0.16);
  border: 1px solid var(--border-accent);
  color: var(--color-primary-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.preview-btn-switch:hover {
  background: var(--color-primary);
  color: #07060a;
}

/* ==========================================================================
   THE APPLE iPHONE 15 PRO DEVICE FRAME
   ========================================================================== */
.iphone-frame {
  width: 400px;
  height: 840px;
  border-radius: 54px;
  background: #000000;
  border: 12px solid #1c1926;
  position: relative;
  box-shadow: 
    0 0 0 2px #38324a,
    0 30px 90px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(162, 112, 249, 0.22);
  z-index: 5;
  display: flex;
  flex-direction: column;
}

/* Hardware Buttons */
.iphone-button-silent {
  position: absolute;
  top: 105px;
  left: -15px;
  width: 4px;
  height: 26px;
  background: #2b273b;
  border-radius: 2px 0 0 2px;
}
.iphone-button-vol-up {
  position: absolute;
  top: 150px;
  left: -15px;
  width: 4px;
  height: 48px;
  background: #2b273b;
  border-radius: 2px 0 0 2px;
}
.iphone-button-vol-down {
  position: absolute;
  top: 210px;
  left: -15px;
  width: 4px;
  height: 48px;
  background: #2b273b;
  border-radius: 2px 0 0 2px;
}
.iphone-button-power {
  position: absolute;
  top: 165px;
  right: -15px;
  width: 4px;
  height: 64px;
  background: #2b273b;
  border-radius: 0 2px 2px 0;
}

/* Screen Inner Container */
.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-dark);
}

/* iOS Status Bar */
.ios-status-bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 22px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 6, 10, 0.9) 0%, rgba(7, 6, 10, 0) 100%);
}

.ios-time {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
  width: 60px;
}

/* Dynamic Island */
.dynamic-island {
  width: 96px;
  height: 27px;
  background: #000;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  gap: 8px;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
}
.island-camera {
  width: 9px;
  height: 9px;
  background: #111422;
  border-radius: 50%;
  border: 1.5px solid #1a1a2e;
}
.island-sensor {
  width: 6px;
  height: 6px;
  background: #080812;
  border-radius: 50%;
}

.ios-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  font-size: 0.72rem;
  color: #fff;
  width: 60px;
}
.ios-5g {
  font-size: 0.68rem;
  font-weight: 800;
  margin-right: 2px;
}
.ios-battery {
  width: 22px;
  height: 11px;
  border: 1px solid #fff;
  border-radius: 3px;
  padding: 1px;
  position: relative;
}
.ios-battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 5px;
  background: #fff;
  border-radius: 0 1px 1px 0;
}
.ios-battery-level {
  width: 100%;
  height: 100%;
  background: #2ed573;
  border-radius: 1.5px;
}

/* Scrollable App Inside Screen */
.iphone-app-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
  padding-top: 44px;
  padding-bottom: 74px;
  scrollbar-width: none;
}
.iphone-app-scroll::-webkit-scrollbar {
  display: none;
}

/* iOS Home Indicator Bar */
.ios-home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 4.5px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 99px;
  z-index: 95;
  pointer-events: none;
}

/* ==========================================================================
   MOBILE APP COMPONENTS (INSIDE THE SCREEN)
   ========================================================================== */

/* Background Glow Inside Phone */
.mobile-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.mobile-bg-glow::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(162, 112, 249, 0.28) 0%, transparent 70%);
  filter: blur(35px);
}

.m-container {
  width: 100%;
  padding-left: 14px;
  padding-right: 14px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.m-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 6, 10, 0.92);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.m-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(162, 112, 249, 0.45);
}
.m-brand-name {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}
.m-brand-name span {
  color: var(--color-primary);
}

.m-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.m-btn-discord-mini {
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.45);
  color: #a4b3f5;
  padding: 6px 11px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.2s;
}
.m-btn-discord-mini:active {
  transform: scale(0.96);
  background: #5865F2;
  color: #fff;
}

.m-cart-trigger {
  position: relative;
  background: var(--color-primary-subtle);
  border: 1px solid var(--border-accent);
  color: var(--color-primary);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  cursor: pointer;
}
.m-cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #ff4757;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
}

/* Hero Section */
.m-hero {
  padding: 18px 0 14px 0;
  text-align: center;
}
.m-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(162, 112, 249, 0.12);
  border: 1px solid rgba(162, 112, 249, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 12px;
}
.m-pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #2ed573;
  border-radius: 50%;
  box-shadow: 0 0 8px #2ed573;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.m-hero-title {
  font-size: 1.78rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.m-hero-title span {
  background: linear-gradient(135deg, #a270f9 0%, #c49eff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.m-hero-sub {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.42;
  margin-bottom: 16px;
  padding: 0 4px;
}

.m-hero-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}
.m-quick-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px 4px;
  text-align: center;
}
.m-stat-val {
  font-size: 0.94rem;
  font-weight: 800;
  color: #fff;
  display: block;
}
.m-stat-val span {
  color: var(--color-primary);
}
.m-stat-lbl {
  font-size: 0.62rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin-top: 2px;
}

/* Category Filter Tabs */
.m-filter-bar {
  display: flex;
  background: rgba(18, 16, 26, 0.95);
  border: 1px solid var(--border-light);
  padding: 3px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.m-filter-tab {
  flex: 1;
  text-align: center;
  padding: 7px 4px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.m-filter-tab.active {
  background: var(--color-primary);
  color: #07060a;
  box-shadow: 0 2px 10px rgba(162, 112, 249, 0.4);
}

/* Products Section */
.m-section-header {
  margin-bottom: 10px;
}
.m-section-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.m-section-title i {
  color: var(--color-primary);
  font-size: 0.95rem;
}
.m-section-desc {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.m-products-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 13px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
}
.m-product-card:active {
  transform: scale(0.985);
}
.m-product-card.popular {
  border-color: var(--border-accent);
}
.m-product-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.m-product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.m-product-badge-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.m-badge-duration {
  background: rgba(162, 112, 249, 0.15);
  color: var(--color-primary-light);
  border: 1px solid rgba(162, 112, 249, 0.3);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}
.m-badge-warranty {
  background: rgba(255, 255, 255, 0.05);
  color: #a8a6b9;
  font-size: 0.66rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
}

.m-product-content {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.m-product-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(162, 112, 249, 0.1);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.m-product-icon-wrap img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.m-product-info {
  flex: 1;
}
.m-product-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.m-product-sub {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.m-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.m-price-label {
  font-size: 0.63rem;
  color: var(--color-text-dark);
  text-transform: uppercase;
  font-weight: 700;
}
.m-product-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.m-btn-buy {
  background: linear-gradient(135deg, #a270f9 0%, #8749f2 100%);
  color: #07060a;
  border: none;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 15px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(162, 112, 249, 0.35);
}
.m-btn-buy:active {
  transform: scale(0.95);
}

/* MANDATORY WARNING BANNER UNDER PRODUCTS */
.m-notice-banner {
  background: linear-gradient(145deg, rgba(235, 77, 75, 0.14) 0%, rgba(18, 16, 26, 0.95) 100%);
  border: 1px solid rgba(235, 77, 75, 0.38);
  border-radius: var(--radius-lg);
  padding: 14px 13px;
  margin-top: 14px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.m-notice-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #eb4d4b;
}
.m-notice-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.m-notice-icon {
  color: #eb4d4b;
  font-size: 1.05rem;
}
.m-notice-title {
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.1px;
}
.m-notice-body {
  color: #c5c2d3;
  font-size: 0.78rem;
  line-height: 1.4;
  margin-bottom: 10px;
}
.m-notice-body strong {
  color: #fff;
}
.m-btn-notice-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 10px rgba(88, 101, 242, 0.35);
  cursor: pointer;
  transition: all 0.2s;
}
.m-btn-notice-discord:hover {
  background: #4752c4;
}
.m-btn-notice-discord:active {
  transform: scale(0.97);
}

/* Mobile Timeline */
.m-timeline-section {
  margin-bottom: 24px;
}
.m-timeline-list {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 12px;
  padding-left: 6px;
}
.m-timeline-list::before {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, rgba(162, 112, 249, 0.2) 100%);
}
.m-timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.m-timeline-step:last-child {
  margin-bottom: 0;
}
.m-step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0f0d17;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--color-primary-glow);
}
.m-step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 11px 12px;
}
.m-step-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.m-step-desc {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* Reviews */
.m-reviews-section {
  margin-bottom: 24px;
}
.m-review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  margin-bottom: 8px;
}
.m-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.m-reviewer {
  display: flex;
  align-items: center;
  gap: 7px;
}
.m-avatar-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(162, 112, 249, 0.2);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
}
.m-reviewer-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}
.m-stars {
  color: #f59e0b;
  font-size: 0.68rem;
}
.m-review-text {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* Footer Inside Phone */
.m-footer {
  text-align: center;
  padding: 18px 0 20px 0;
  border-top: 1px solid var(--border-light);
  margin-top: 14px;
}
.m-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  text-decoration: none;
}
.m-footer-copy {
  font-size: 0.7rem;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}
.m-desktop-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--color-text-muted);
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
}

/* Floating Bottom App Dock Inside Phone */
.m-dock-nav {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(10, 8, 16, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-light);
  padding: 6px 6px 14px 6px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}
.m-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  flex: 1;
}
.m-dock-item i {
  font-size: 1.05rem;
}
.m-dock-item.active {
  color: var(--color-primary);
}
.m-dock-cart-badge {
  position: absolute;
  top: 0px;
  right: 18%;
  background: #ff4757;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 15px;
  height: 15px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   CHECKOUT BOTTOM SHEET (CONTAINED INSIDE THE iPHONE SCREEN)
   ========================================================================== */
.m-checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.m-checkout-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.m-checkout-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 90%;
  background: #0f0d16;
  border-top: 1px solid var(--border-accent);
  border-radius: 20px 20px 0 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}
.m-checkout-sheet.open {
  transform: translateY(0);
}

.m-sheet-handle {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  margin: 8px auto 4px auto;
  flex-shrink: 0;
}
.m-sheet-header {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.m-sheet-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.m-sheet-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
}

.m-sheet-body {
  padding: 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.m-checkout-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.m-co-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.m-co-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(162, 112, 249, 0.12);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.m-co-item-icon img {
  width: 22px;
  height: 22px;
}
.m-co-item-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}
.m-co-item-badge {
  font-size: 0.68rem;
  color: var(--color-primary);
  font-weight: 700;
}

.m-stepper {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 2px;
}
.m-stepper-btn {
  background: none;
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  cursor: pointer;
}
.m-stepper-val {
  padding: 0 6px;
  font-size: 0.82rem;
  font-weight: 800;
  min-width: 20px;
  text-align: center;
}

.m-payment-options {
  margin-bottom: 12px;
}
.m-co-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
.m-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.m-pay-choice {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
}
.m-pay-choice i {
  font-size: 1.1rem;
  margin-bottom: 2px;
  display: block;
}
.m-pay-choice.cashapp i { color: var(--cashapp-color); }
.m-pay-choice.paypal i { color: var(--paypal-color); }
.m-pay-choice.venmo i { color: var(--venmo-color); }
.m-pay-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}
.m-pay-choice.active {
  border-color: var(--color-primary);
  background: rgba(162, 112, 249, 0.12);
  box-shadow: 0 0 12px var(--color-primary-glow);
}

.m-pay-box {
  background: rgba(18, 16, 26, 0.95);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 12px;
}
.m-pay-box-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.m-pay-box-row:last-child {
  margin-bottom: 0;
}
.m-pay-key {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}
.m-pay-val-group {
  display: flex;
  align-items: center;
  gap: 5px;
}
.m-pay-val {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  font-family: monospace;
}
.m-pay-val.highlight {
  color: var(--color-primary-light);
  background: rgba(162, 112, 249, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(162, 112, 249, 0.3);
}

.m-btn-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.m-btn-copy:active {
  background: var(--color-primary);
  color: #000;
}

.m-input-group {
  margin-bottom: 8px;
}
.m-input-label {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 3px;
}
.m-input-field {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 16px !important;
  color: #fff;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}
.m-input-field:focus {
  border-color: var(--color-primary);
}

.m-co-warning {
  background: rgba(235, 77, 75, 0.1);
  border: 1px solid rgba(235, 77, 75, 0.3);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.7rem;
  color: #e57373;
  line-height: 1.35;
  margin-bottom: 10px;
}

.m-sheet-footer {
  padding: 10px 14px 16px 14px;
  background: rgba(15, 13, 22, 0.98);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}
.m-total-lbl {
  font-size: 0.62rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 700;
}
.m-total-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.m-btn-submit-order {
  flex: 1;
  background: linear-gradient(135deg, #a270f9 0%, #8338ec 100%);
  color: #fff;
  border: none;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 11px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(162, 112, 249, 0.4);
}

/* Toast */
.m-toast {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(-120px);
  opacity: 0;
  visibility: hidden;
  background: #2ed573;
  color: #07060a;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(46, 213, 115, 0.4);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  white-space: nowrap;
}
.m-toast.show {
  transform: translateX(-50%) translateY(45px);
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   ACTUAL MOBILE DEVICE ADAPTATION (Real Smartphone Fullscreen)
   ========================================================================== */
@media (max-width: 520px) {
  .device-viewport-wrapper {
    padding: 0 !important;
    background: var(--bg-dark) !important;
    min-height: 100vh !important;
  }
  .desktop-ambient-glow {
    display: none !important;
  }
  .desktop-preview-bar {
    display: none !important;
  }
  .iphone-frame {
    width: 100vw !important;
    height: 100vh !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .iphone-button-silent,
  .iphone-button-vol-up,
  .iphone-button-vol-down,
  .iphone-button-power {
    display: none !important;
  }
  .iphone-screen {
    border-radius: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
  }
  .ios-status-bar {
    display: none !important;
  }
  .ios-home-indicator {
    display: none !important;
  }
  .iphone-app-scroll {
    padding-top: 0 !important;
    padding-bottom: calc(70px + var(--safe-bottom)) !important;
  }
  .m-dock-nav {
    position: fixed !important;
    bottom: 0 !important;
    padding-bottom: calc(8px + var(--safe-bottom)) !important;
  }
  .m-checkout-sheet {
    position: fixed !important;
    bottom: 0 !important;
  }
  .m-checkout-backdrop {
    position: fixed !important;
  }
}
