/* ==========================================================================
   KOPA SAMSU - Digital License Selling Platform
   Premium Mobile & Desktop Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
  --primary-pink: #ff0055;
  --primary-pink-hover: #e0004c;
  --pink-gradient: linear-gradient(135deg, #ff0055 0%, #ff3377 100%);
  --blue-btn: #4361ee;
  --blue-btn-hover: #3a56db;
  --blue-gradient: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  --telegram-blue: #0088cc;
  --telegram-blue-hover: #0077b5;
  --telegram-gradient: linear-gradient(135deg, #0099ff 0%, #0077b5 100%);
  --green-price: #059669;
  --green-success: #10b981;
  --orange-warning: #f59e0b;
  --red-danger: #ef4444;
  --notice-bg: #dc2626;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-border: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --input-bg: #f8fafc;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.08);
  --shadow-glow-pink: 0 4px 15px rgba(255, 0, 85, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --header-height: 68px;
  --bottom-nav-height: 65px;
}

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

body {
  font-family: 'Outfit', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  padding-bottom: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.app-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card, #ffffff);
  min-height: 100vh;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 30px;
    background-color: #f1f5f9;
  }
  .app-container {
    max-width: 1100px;
    margin: 20px auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    overflow: hidden;
  }
}

/* Header */
.app-header {
  height: var(--header-height);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 12px;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 0;
}

.brand-logo:hover {
  transform: translateY(-1px) scale(1.02);
}

/* 1. Circular Brand Profile Pic / Avatar (paser pic) */
.brand-logo-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5px;
  background: linear-gradient(135deg, var(--primary-pink, #ff0055) 0%, var(--blue-btn, #00f0ff) 100%);
  box-shadow: 0 0 14px var(--shadow-glow-pink, rgba(255, 0, 85, 0.35));
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-logo:hover .brand-logo-avatar-wrap {
  box-shadow: 0 0 20px var(--shadow-glow-pink, rgba(255, 0, 85, 0.6)), 0 0 28px var(--glow-color, rgba(0, 240, 255, 0.45));
  transform: rotate(4deg) scale(1.06);
}

.brand-logo-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* 2. Brand Text Container */
.brand-logo-text-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  user-select: none;
}

/* 3. Themed 3D Spiked Graphic Logo (Mask Technique - 100% Theme Adaptive) */
.brand-text-themed-graphic {
  display: block;
  width: 142px;
  height: 38px;
  -webkit-mask-image: url('../images/brand_text_transparent.png');
  mask-image: url('../images/brand_text_transparent.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center left;
  mask-position: center left;
  background: var(--brand-logo-gradient, linear-gradient(135deg, #00f0ff 0%, #0072ff 50%, #ffffff 100%));
  filter: drop-shadow(0 0 10px var(--brand-glow-color, rgba(0, 240, 255, 0.6))) drop-shadow(0 2px 4px rgba(0,0,0,0.85));
  transition: all 0.25s ease;
}

.brand-logo:hover .brand-text-themed-graphic {
  filter: drop-shadow(0 0 16px var(--brand-glow-color, rgba(0, 240, 255, 0.85))) drop-shadow(0 2px 6px rgba(0,0,0,0.95));
  transform: scale(1.03);
}

/* 4. Plain Unmasked 3D Graphic (Fallback/Alternative) */
.brand-text-graphic {
  height: 38px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  filter: brightness(2.2) contrast(1.2) drop-shadow(0 0 10px var(--glow-color, rgba(0, 240, 255, 0.5))) drop-shadow(0 2px 5px rgba(0,0,0,0.85));
  transition: all 0.25s ease;
}

.brand-logo:hover .brand-text-graphic {
  filter: brightness(2.4) contrast(1.3) drop-shadow(0 0 16px var(--glow-color, rgba(0, 240, 255, 0.8))) drop-shadow(0 2px 8px rgba(0,0,0,0.95));
}

/* 5. Dynamic Vector Theme Text (Orbitron Esports Typography) */
.brand-text-vector {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  font-family: 'Orbitron', 'Outfit', -apple-system, sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.brand-word-kopa {
  font-size: 19px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.95)) drop-shadow(0 0 8px rgba(255,255,255,0.25));
}

.brand-word-samsu {
  font-size: 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--brand-logo-gradient, var(--blue-gradient));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px var(--brand-glow-color, rgba(0, 240, 255, 0.6))) drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

/* Light Theme Overrides */
[data-theme-type="light"] .brand-word-kopa {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

[data-theme-type="light"] .brand-text-themed-graphic {
  filter: drop-shadow(0 2px 4px rgba(0, 35, 106, 0.25));
}

[data-theme-type="light"] .brand-text-graphic {
  filter: drop-shadow(0 2px 4px rgba(0, 35, 106, 0.25));
}

/* Legacy fallback banner */
.brand-logo-img {
  height: 48px;
  max-height: 54px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

@media (max-width: 480px) {
  .app-header {
    height: 64px;
    padding: 0 14px;
  }

  .brand-logo {
    gap: 7px;
  }

  .brand-logo-avatar-wrap {
    width: 36px;
    height: 36px;
    padding: 2px;
  }

  .brand-text-themed-graphic {
    width: 122px;
    height: 32px;
  }

  .brand-text-graphic {
    height: 30px;
    max-width: 135px;
  }

  .brand-word-kopa {
    font-size: 16px;
  }

  .brand-word-samsu {
    font-size: 15px;
  }

  .brand-logo-img {
    height: 40px;
    max-height: 44px;
    max-width: 170px;
  }
}

.brand-logo h1, .brand-logo-text {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #1e293b;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.brand-logo-text span {
  color: #2563eb;
  font-style: italic;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-badge-btn {
  background: var(--pink-gradient);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(255, 0, 85, 0.3);
  transition: transform 0.2s;
  cursor: pointer;
  border: none;
}

.wallet-badge-btn:hover {
  transform: translateY(-1px);
}

.wallet-icon {
  font-size: 14px;
}

.user-initial-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e63946;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

/* Desktop Header Navigation */
.desktop-nav {
  display: none;
}

@media (min-width: 992px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 20px;
  }
  .desktop-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
  }
  .desktop-nav a:hover, .desktop-nav a.active {
    color: var(--primary-pink);
  }
}

/* Notice Bar - Modern Capsule Pill matching active theme */
.notice-marquee-wrapper {
  background: var(--pink-gradient, linear-gradient(90deg, var(--primary-pink, #ff0055) 0%, var(--primary-pink-hover, #ff3377) 100%));
  color: #ffffff;
  padding: 5px 8px;
  margin: 10px 14px 4px 14px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 4px 16px var(--shadow-glow-pink, rgba(255, 0, 85, 0.25));
  position: relative;
  overflow: hidden;
  max-height: 80px;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.notice-marquee-wrapper.closing {
  opacity: 0 !important;
  transform: translateY(-8px) scale(0.97) !important;
  max-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.notice-marquee-wrapper.closing * {
  pointer-events: none !important;
}

.notice-marquee-wrapper.closing .notice-close-btn {
  transform: rotate(90deg) scale(0.7) !important;
  opacity: 0.5 !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease-out !important;
}

.notice-marquee-wrapper:not(.closing) {
  display: flex !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.notice-pill {
  background: #ffffff;
  color: var(--primary-pink, #ff0055);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  user-select: none;
}

.notice-pill .notice-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background-color: var(--primary-pink, #ff0055);
  margin-right: 5.5px;
  display: inline-block;
  animation: noticeDotBlink 1s infinite ease-in-out;
  box-shadow: 0 0 6px var(--primary-pink, rgba(255, 0, 85, 0.6));
}

@keyframes noticeDotBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px rgba(225, 29, 72, 0.85);
  }
  50% {
    opacity: 0.15;
    transform: scale(0.75);
    box-shadow: 0 0 1px rgba(225, 29, 72, 0.1);
  }
}

.notice-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  align-items: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 12px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 12px), transparent 100%);
  user-select: none !important;
  -webkit-user-select: none !important;
  pointer-events: none !important;
}

.notice-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding-left: 100%;
  will-change: transform;
  animation: noticeTickerScroll 3.5s linear infinite;
  animation-play-state: running !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  pointer-events: none !important;
}

/* Never pause on hover, active, or touch */
.notice-marquee-wrapper:hover .notice-track,
.notice-marquee-wrapper:active .notice-track,
.notice-marquee-wrapper:focus-within .notice-track,
.notice-track:hover,
.notice-track:active {
  animation-play-state: running !important;
}

.notice-item {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  user-select: none !important;
  -webkit-user-select: none !important;
  pointer-events: none !important;
}

.notice-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 5px;
  padding: 0 4px;
}

@keyframes noticeTickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.notice-close-btn {
  background: #ffffff;
  border: none;
  color: #e11d48;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
  transition: transform 0.15s ease-out, background-color 0.15s ease-out;
  padding: 0;
  user-select: none;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto !important;
  position: relative;
  z-index: 5;
}

.notice-close-btn:hover {
  transform: scale(1.1);
  background: #fff1f2;
}

.notice-close-btn:active {
  transform: scale(0.9);
}

/* Banner Slider Track & Viewport (Smooth Touch & Drag Swipe) */
.banner-slider-container {
  padding: 12px 14px 6px 14px;
  position: relative;
  overflow: hidden;
}

.slider-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: #0b0f19;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.slider-viewport.grabbing {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.slider-track.no-transition {
  transition: none !important;
}

.banner-slide {
  min-width: 100%;
  flex: 0 0 100%;
  aspect-ratio: 16 / 8;
  position: relative;
  overflow: hidden;
  background: #111827;
}

.banner-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.banner-slide-link.no-link {
  cursor: default !important;
  user-select: none;
}

.banner-slide-link.has-link {
  cursor: pointer;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.slider-pagination-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dot.active {
  background: var(--primary-pink);
  width: 22px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(255, 0, 85, 0.4);
}

/* Category Filter Tabs */
.category-tabs-wrapper {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-padding: 0 16px;
}

.category-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.tab-pill {
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  white-space: nowrap;
  cursor: pointer;
  transition: none !important;
  animation: none !important;
  transform: none !important;
  text-transform: uppercase;
  user-select: none;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent !important;
}

.tab-pill:hover {
  border-color: #cbd5e1;
  color: #0f172a;
  transform: none !important;
  transition: none !important;
}

.tab-pill:active {
  transform: none !important;
  transition: none !important;
}

.tab-pill.active {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: none !important;
  transition: none !important;
}

.category-section-title {
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 12px 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

/* Products Grid & Switching Animation - Pure GPU Opacity, NO blur, NO layout jumps */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 14px 20px 14px;
}

.products-grid.is-switching {
  /* Zero dimming, zero freeze */
  opacity: 1;
}

.product-card.filter-hidden {
  display: none !important;
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

/* Graceful subtle product card entrance animation (No bouncing or jerking) */
@keyframes categoryCardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.product-card.animate-in {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Modern Empty State Notice for Categories */
.empty-category-notice {
  grid-column: 1 / -1;
  text-align: center;
  padding: 42px 20px;
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 20px;
  margin: 8px 0 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  animation: none !important;
}

.empty-category-notice .empty-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #94a3b8;
  font-size: 26px;
  animation: floatEmptyNoticeIcon 2.6s ease-in-out infinite;
}

@keyframes floatEmptyNoticeIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.empty-category-notice h4 {
  font-size: 15px;
  font-weight: 800;
  color: #334155;
  margin: 0 0 6px 0;
}

.empty-category-notice p {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #1e293b;
  overflow: hidden;
}

.product-image-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 3;
}

.product-image-wrap img,
.product-image-box-inner,
.product-image-box-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
  will-change: transform;
}

.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}

.card-badge.maintenance {
  background: #ef4444;
  color: #ffffff;
}

.card-badge.warning {
  background: #f59e0b;
  color: #ffffff;
}

.card-badge.success {
  background: #10b981;
  color: #ffffff;
}

.card-badge.info {
  background: #3b82f6;
  color: #ffffff;
}

.product-info-wrap {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.product-title-pill {
  background: #f1f5f9;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.product-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--green-price);
  margin-bottom: 10px;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.btn-file-setup {
  background: var(--blue-btn);
  color: #ffffff;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.2s;
  text-transform: uppercase;
}

.btn-file-setup:hover {
  background: var(--blue-btn-hover);
}

.btn-buy-now {
  background: var(--primary-pink);
  color: #ffffff;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.2s;
  text-transform: uppercase;
}

.btn-buy-now:hover {
  background: var(--primary-pink-hover);
}

.btn-buy-now:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.btn-updating {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.28);
}

.btn-updating:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.38);
}

.card-badge.updating {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
  animation: pulseUpdating 2s infinite;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-badge.updating:hover {
  transform: scale(1.06);
}

.updating-modal-content {
  border: 1.5px solid #fde68a !important;
  box-shadow: 0 25px 60px rgba(217, 119, 6, 0.2), 0 10px 30px rgba(0,0,0,0.12) !important;
}

@keyframes pulseUpdating {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(0.97); }
}

/* Recent Orders Section (Theme Variable Synchronized) */
.recent-orders-section {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 16px;
  padding: 16px 16px 8px 16px;
  margin: 12px 14px 24px 14px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.recent-orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 2px;
}

.recent-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  letter-spacing: -0.2px;
}

.pulsing-dot {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-color, #e2e8f0);
  background: var(--bg-card, #ffffff);
  border-radius: 9999px;
  padding: 3px 12px;
}

.live-badge .live-dot {
  width: 6px;
  height: 6px;
  background: var(--blue-btn, #2dd4bf);
  border-radius: 50%;
  display: inline-block;
}

.live-badge .live-text {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-main, #334155);
  letter-spacing: 0.8px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 0 10px 0;
  border-bottom: 1px solid var(--border-color, #f1f5f9);
}

.table-header > span:first-child {
  text-align: left;
}

.status-col-header {
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}

.recent-orders-list {
  display: flex;
  flex-direction: column;
}

.recent-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color, #f1f5f9);
  gap: 8px;
}

.recent-order-item:last-child {
  border-bottom: none;
}

.customer-info-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.customer-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.customer-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.customer-avatar-initial {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.customer-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.customer-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.order-product-pkg {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: break-word;
}

.order-product-name {
  color: var(--text-muted, #64748b);
  font-weight: 600;
}

.order-pkg-divider {
  color: var(--border-color, #94a3b8);
  margin: 0 2px;
  font-weight: 600;
}

.order-variant-name {
  color: var(--text-main, #334155);
  font-weight: 700;
}

.status-col-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}

.status-completed-pill {
  border: 1.2px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 2.5px 7px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3.5px;
  flex-shrink: 0;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.1px;
  line-height: 1.2;
}

.status-completed-pill i {
  color: #10b981;
  font-size: 9.5px;
}

.recent-orders-empty {
  text-align: center;
  padding: 24px 14px;
  color: #94a3b8;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* Telegram Join Banner */
.telegram-join-banner {
  margin: 15px 14px 25px 14px;
  background: var(--telegram-gradient);
  border-radius: 30px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(0, 153, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s;
}

.telegram-join-banner:hover {
  transform: translateY(-2px);
}

/* Footer Section */
.app-footer {
  text-align: left;
  padding: 32px 20px calc(var(--bottom-nav-height) + 30px) 20px;
  font-size: 13px;
  color: var(--text-muted, #64748b);
  border-top: 1px solid var(--border-color, #f1f5f9);
  background: var(--bg-card, #ffffff);
  margin-top: auto;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.footer-col-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.2px;
}

.footer-brand-name {
  font-size: 17px;
  font-weight: 900;
  color: var(--text-main, #0f172a);
  letter-spacing: -0.3px;
}

.footer-reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  margin-top: 6px;
}

.footer-info-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 8px;
  line-height: 1.5;
  color: var(--text-muted, #64748b);
  font-size: 12.5px;
}

.footer-info-row i {
  color: var(--primary-pink, #ec4899);
  margin-top: 3px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.footer-info-row a {
  color: var(--text-main, #0f172a);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-info-row a:hover {
  color: var(--primary-pink, #ec4899);
  text-decoration: underline;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 8px;
}

.footer-links-list a {
  color: var(--text-muted, #64748b);
  text-decoration: none;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s, transform 0.2s;
}

.footer-links-list a:hover {
  color: var(--primary-pink, #ec4899);
  transform: translateX(3px);
}

.footer-divider {
  max-width: 1200px;
  margin: 22px auto 18px auto;
  border-top: 1px solid var(--border-color, #e2e8f0);
}

.footer-badges-bar {
  max-width: 1200px;
  margin: 0 auto 16px auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted, #64748b);
}

.footer-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--input-bg, #f8fafc);
  border: 1px solid var(--border-color, #e2e8f0);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--text-main, #0f172a);
}

.footer-bottom-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted, #64748b);
  text-align: center;
}

@media (max-width: 600px) {
  .footer-bottom-bar, .footer-badges-bar {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* Classic Simple Footer when Compliance Mode is OFF */
.app-footer-simple {
  text-align: center !important;
  padding: 18px 14px calc(var(--bottom-nav-height) + 26px) 14px !important;
}

.app-footer-simple .owner {
  margin-top: 4px !important;
  font-weight: 600 !important;
  color: var(--text-muted, #64748b) !important;
}

.app-footer-simple .owner a {
  color: var(--primary-pink, #3b82f6) !important;
  text-decoration: underline !important;
}

/* Floating Telegram Help Widget */
.floating-help-widget {
  position: fixed;
  bottom: 92px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 99;
  transition: bottom 0.25s ease, transform 0.2s ease;
}

.help-bubble-text {
  background: var(--bg-card, #ffffff);
  color: var(--text-main, #1e293b);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border: 1px solid var(--border-color, #e2e8f0);
}

.help-telegram-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card, #ffffff);
  border: 2px solid var(--primary-pink, #ff0055);
  color: var(--primary-pink, #ff0055);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px var(--shadow-glow-pink, rgba(255, 0, 85, 0.3));
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.help-telegram-btn:hover {
  transform: scale(1.08);
  background: var(--primary-pink, #ff0055);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--shadow-glow-pink, rgba(255, 0, 85, 0.45));
}

/* Floating Capsule Bottom Navigation Bar (Matching Website Brand 100%) */
.bottom-nav-bar {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  max-width: 476px;
  margin: 0 auto;
  height: 64px;
  background: var(--bg-card, #ffffff);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(255, 0, 85, 0.06);
  border: 1.5px solid var(--border-color, rgba(255, 0, 85, 0.2));
  z-index: 1000;
  box-sizing: border-box;
}

/* Hide bottom navigation bar on PC mode (Tablet, Laptop, Desktop) - ONLY show in phone view */
@media (min-width: 768px) {
  .bottom-nav-bar {
    display: none !important;
  }
  .floating-help-widget {
    bottom: 24px;
  }
  body {
    padding-bottom: 0 !important;
  }
  .app-footer {
    padding: 20px 14px 24px 14px !important;
  }
}

/* Fluid Sliding Indicator Pill (Glides between tabs without jump) */
.nav-sliding-pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 6px;
  width: calc((100% - 12px) / 5);
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.08), rgba(255, 0, 85, 0.15));
  border: 1.5px solid var(--primary-pink);
  border-radius: 26px;
  box-shadow: 0 4px 14px rgba(255, 0, 85, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1),
              width 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  transform: translateZ(0);
}

.nav-sliding-pill.ready {
  opacity: 1;
}

.nav-item {
  flex: 1 1 0;
  min-width: 0;
  height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  border-radius: 26px;
  text-decoration: none;
  position: relative;
  z-index: 2;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  box-sizing: border-box;
  background: transparent;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation;
  transition: color 0.2s ease;
}

.nav-item .nav-icon {
  font-size: 18px;
  position: relative;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
              color 0.2s ease,
              filter 0.2s ease;
}

.nav-item .nav-label {
  font-size: 11px;
  letter-spacing: -0.2px;
  position: relative;
  z-index: 2;
  transition: color 0.2s ease,
              font-weight 0.2s ease;
}

/* Active State: Styled with Website Primary Pink */
.nav-item.active {
  color: var(--primary-pink);
}

.nav-item.active .nav-icon {
  color: var(--primary-pink);
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 2px 6px rgba(255, 0, 85, 0.3));
}

.nav-item.active .nav-label {
  color: var(--primary-pink);
  font-weight: 800;
}

/* Refined Tactile Tap / Touch Press Feedback on Icon Only */
.nav-item:active .nav-icon {
  transform: scale(0.92);
  opacity: 0.85;
}

/* Desktop Hover Only */
@media (hover: hover) and (pointer: fine) {
  .nav-item:not(.active):hover {
    color: var(--primary-pink);
  }
  .nav-item:not(.active):hover .nav-icon {
    color: var(--primary-pink);
    transform: translateY(-2px) scale(1.08);
  }
}

/* Cards & Forms (Profile, Deposit, Orders) */
.page-content {
  padding: 16px 14px;
}

.content-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.content-card-pink-border {
  border: 1px solid #fecdd3;
  box-shadow: 0 4px 16px rgba(255, 0, 85, 0.05);
}

.profile-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.profile-large-circle {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-pink-hover));
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 20px var(--shadow-glow-pink);
}

.profile-camera-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--bg-card);
  color: var(--text-main);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  cursor: pointer;
  border: 1.5px solid var(--border-color);
  transition: transform 0.2s, background 0.2s;
}

.profile-camera-btn:hover {
  transform: scale(1.1);
  color: var(--primary-pink);
}

.profile-greeting {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 12px;
}

.profile-subtext {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 280px;
  margin: 4px auto 0 auto;
}

.available-balance-box {
  text-align: center;
  margin: 20px 0;
}

.available-balance-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.balance-display-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 30px;
  padding: 8px 22px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-pink);
  margin-top: 8px;
  box-shadow: 0 4px 16px var(--shadow-glow-pink);
  transition: transform 0.2s, box-shadow 0.2s;
}

.balance-wallet-icon {
  color: var(--primary-pink);
  font-size: 19px;
  display: inline-flex;
  align-items: center;
}

.balance-refresh-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 16px;
  display: flex;
  align-items: center;
  margin-left: 2px;
  transition: transform 0.3s, color 0.2s;
}

.balance-refresh-btn:hover {
  color: var(--primary-pink);
  transform: rotate(180deg);
}

/* 4-Stat Grid */
.stats-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15), 0 0 10px var(--shadow-glow-pink);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-box:hover {
  transform: translateY(-2px);
  border-color: var(--primary-pink);
  box-shadow: 0 6px 18px var(--shadow-glow-pink);
}

.stat-label {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 4px;
}

.stat-value-with-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn-copy-pin {
  background: var(--input-bg);
  border: 1.5px solid var(--border-color);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

.btn-copy-pin:hover {
  color: var(--primary-pink);
  border-color: var(--primary-pink);
  background: rgba(226, 19, 110, 0.12);
  transform: scale(1.08);
}

.btn-copy-pin:active {
  transform: scale(0.94);
}

/* Forms */
.form-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--input-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 12px var(--shadow-glow-pink);
}

.btn-red-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-pink-hover));
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px var(--shadow-glow-pink);
}

.btn-red-submit:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--shadow-glow-pink);
}

/* Details Table inside Deposit/Order Cards */
.meta-table {
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0 16px 0;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
}

.meta-row:last-child {
  border-bottom: none;
}

.meta-label {
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 11px;
}

.meta-val {
  font-weight: 700;
  color: var(--text-main);
}

.meta-val-price {
  font-size: 18px;
  color: var(--primary-pink);
  font-weight: 800;
}

/* Pay Now & TrxID Verification */
.btn-pay-now-pink {
  width: 100%;
  padding: 12px;
  background: var(--primary-pink);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(255, 0, 85, 0.3);
}

.btn-pay-now-green {
  width: 100%;
  padding: 12px;
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.trx-verify-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.trx-input-wrap {
  flex: 1;
  position: relative;
}

.trx-input {
  width: 100%;
  padding: 10px 36px 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  background: #f8fafc;
}

.trx-paste-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #f97316;
  cursor: pointer;
  font-size: 15px;
}

.btn-verify-orange {
  padding: 10px 20px;
  background: #f97316;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-verify-orange:hover {
  background: #ea580c;
}

/* Delivered License Key Container */
.delivered-license-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.28);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.delivered-license-header {
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.delivered-license-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.delivered-license-code {
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
  font-size: 16px;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 1px;
  word-break: break-all;
}

.btn-copy-key {
  padding: 7px 16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.btn-copy-key:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
  transform: translateY(-1px);
}

.btn-copy-key:active {
  transform: translateY(0);
}

.btn-video-guide {
  width: 100%;
  padding: 10px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

/* Background Scroll Lock when Any Modal or Popup is Open */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

#siteAnnouncementBackdrop.closing {
  pointer-events: none !important;
  opacity: 0 !important;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overscroll-behavior: contain !important;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay.closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 1, 1);
}

.modal-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2), 0 4px 16px rgba(0,0,0,0.05);
  position: relative;
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease-out;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-overlay.closing .modal-content {
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 0.24s cubic-bezier(0.4, 0, 1, 1), opacity 0.2s ease-in;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  color: #64748b;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close-btn:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #ef4444;
  transform: rotate(90deg) scale(1.08);
}

/* Flash alerts */
.flash-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
  max-height: 200px;
  overflow: hidden;
}

.flash-close-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  padding: 0 4px;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.flash-close-btn:hover {
  opacity: 1;
}

.flash-alert.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.flash-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.flash-alert.info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* ==========================================================================
   Multi-Step Checkout Modal (Light Theme Matching Website)
   ========================================================================== */
.checkout-modal-content {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 26px;
  width: 100%;
  max-width: 460px;
  padding: 24px 22px;
  box-shadow: 0 25px 65px rgba(15, 23, 42, 0.22), 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  color: #0f172a;
  transform: scale(0.92) translateY(24px);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease-out;
  touch-action: pan-y !important;
  overscroll-behavior-y: contain !important;
}

.modal-overlay.active .checkout-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-overlay.closing .checkout-modal-content {
  transform: scale(0.92) translateY(24px);
  opacity: 0;
  transition: transform 0.24s cubic-bezier(0.4, 0, 1, 1), opacity 0.2s ease-in;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.checkout-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--input-bg, #fff0f5);
  border: 1.5px solid var(--border-color, #ffd6e4);
  color: var(--primary-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.checkout-product-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-main, #0f172a);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.checkout-close-btn {
  background: var(--input-bg, #f1f5f9);
  border: 1px solid var(--border-color, #e2e8f0);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #64748b);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checkout-close-btn:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #ef4444;
  transform: rotate(90deg) scale(1.08);
}

/* Stepper Indicator */
.checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.step-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--input-bg, #f8fafc);
  border: 2px solid var(--border-color, #e2e8f0);
  color: var(--text-muted, #94a3b8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-bubble.active {
  background: var(--pink-gradient);
  border-color: var(--primary-pink);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 0, 85, 0.4);
  transform: scale(1.06);
}

.step-connector {
  width: 48px;
  height: 3px;
  background: var(--border-color, #e2e8f0);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.step-connector.active {
  background: var(--pink-gradient);
  box-shadow: 0 0 8px rgba(255, 0, 85, 0.35);
}

/* Panels */
.checkout-step-panel {
  display: none;
}

.checkout-step-panel.active {
  display: block;
  animation: fadeInStep 0.25s ease-out;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step 1 Styles */
.select-option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted, #475569);
  margin-bottom: 10px;
}

.select-option-label i {
  color: var(--primary-pink);
}

.variant-select-trigger {
  background: var(--input-bg, #f8fafc);
  border: 2px solid var(--border-color, #e2e8f0);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main, #0f172a);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  user-select: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.variant-select-trigger:hover {
  border-color: var(--primary-pink);
  background: var(--input-bg, #ffffff);
  box-shadow: 0 4px 16px rgba(255, 0, 85, 0.12);
  transform: translateY(-1px);
}

.variant-select-trigger.open {
  border-color: var(--primary-pink);
  background: var(--input-bg, #ffffff);
  box-shadow: 0 0 0 4px rgba(255, 0, 85, 0.1);
}

.variant-select-trigger i {
  color: var(--primary-pink);
  font-size: 15px;
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

.variant-select-trigger:hover i {
  transform: translateY(2px);
}

.variant-select-trigger.open i {
  transform: rotate(180deg);
}

.variant-select-trigger.open:hover i {
  transform: rotate(180deg) translateY(2px);
}

/* Smooth Accordion Animated Dropdown Panel */
.variants-dropdown-panel {
  background: var(--bg-card, #ffffff);
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 16px;
  margin-top: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px) scale(0.99);
  pointer-events: none;
  transition: max-height 0.28s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.2s ease,
              transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
              margin-top 0.22s ease;
}

.variants-dropdown-panel.open {
  max-height: 380px;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  margin-top: 10px;
}

.variants-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted, #64748b);
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--border-color, #f1f5f9);
  background: var(--input-bg, #f8fafc);
}

.variants-dropdown-header span:last-child {
  background: var(--border-color, #e2e8f0);
  color: var(--text-muted, #334155);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
}

.variants-list {
  overflow-y: auto !important;
  max-height: 216px !important;
  height: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
  -webkit-overflow-scrolling: touch !important;
  scroll-behavior: smooth;
  touch-action: pan-y !important;
  overscroll-behavior-y: contain !important;
}

.variants-dropdown-panel {
  touch-action: pan-y !important;
}

.variants-list::-webkit-scrollbar {
  width: 5px;
  display: block;
}

.variants-list::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}

.variants-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.variants-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.variant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid var(--border-color, #f1f5f9);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none !important;
  border-left: 3.5px solid transparent;
  touch-action: pan-y !important;
}

.variants-list,
.variants-dropdown-panel,
.variant-row,
.variant-row * {
  touch-action: pan-y !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.variant-row:last-child {
  border-bottom: none;
}

/* Only desktop mouse hover gets subtle background - never pink border or text */
@media (hover: hover) and (pointer: fine) {
  .variant-row:not(.selected):hover {
    background: var(--input-bg, #f8fafc);
  }
}

.variant-row.selected {
  background: var(--variant-selected-bg, #fff1f5) !important;
  border-left-color: var(--primary-pink) !important;
}

.variant-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  min-width: 0;
  overflow: hidden;
}

.variant-row-left span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.variant-row.selected .variant-row-left {
  color: var(--primary-pink);
}

.variant-check-icon {
  color: var(--primary-pink);
  font-size: 13px;
  width: 14px;
}

.variant-row-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.stock-tag {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.variant-price-tag {
  color: var(--green-price);
  font-size: 14.5px;
  font-weight: 900;
  min-width: 55px;
  text-align: right;
}

.variant-row.selected .variant-price-tag {
  color: var(--primary-pink);
}

/* Quantity Selector Component in Buy Modal */
.checkout-quantity-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--input-bg, #f8fafc);
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 14px;
  padding: 10px 14px;
  margin-top: 14px;
  margin-bottom: 14px;
  transition: all 0.22s ease;
  animation: qtyFadeIn 0.25s ease-out;
}

@keyframes qtyFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide quantity wrap while variants dropdown panel is open */
.variants-dropdown-panel.open ~ #checkoutQuantityWrap,
.variants-dropdown-panel.open ~ .checkout-quantity-wrap {
  display: none !important;
}

.checkout-quantity-wrap:focus-within {
  border-color: var(--primary-pink);
  background: var(--bg-card, #ffffff);
  box-shadow: 0 0 0 3px rgba(255, 0, 85, 0.08);
}

.quantity-label-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quantity-mini-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted, #64748b);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.quantity-mini-label i {
  color: var(--primary-pink);
  font-size: 11px;
}

.quantity-stock-note {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
}

.quantity-stock-note.low-stock {
  color: #ef4444;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--input-bg, #ffffff);
  border: 1.5px solid var(--border-color, #cbd5e1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quantity-stepper:focus-within {
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 2px rgba(255, 0, 85, 0.12);
}

.btn-qty {
  width: 38px;
  height: 38px;
  background: var(--input-bg, #f8fafc);
  border: none;
  color: var(--text-main, #1e293b);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  outline: none;
}

.btn-qty:hover:not(:disabled) {
  background: var(--primary-pink);
  color: #ffffff;
}

.btn-qty:active:not(:disabled) {
  transform: scale(0.92);
}

.btn-qty:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: var(--input-bg, #f1f5f9);
  color: var(--text-muted, #94a3b8);
}

.quantity-number-input {
  width: 52px;
  height: 38px;
  border: none;
  border-left: 1px solid var(--border-color, #e2e8f0);
  border-right: 1px solid var(--border-color, #e2e8f0);
  background: var(--input-bg, #ffffff);
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  outline: none;
  padding: 0 4px;
  -moz-appearance: textfield;
  font-family: inherit;
}

.quantity-number-input::-webkit-outer-spin-button,
.quantity-number-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-proceed-payment {
  width: 100%;
  background: var(--pink-gradient);
  color: #ffffff;
  padding: 15px;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  margin-top: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(255, 0, 85, 0.35);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-proceed-payment:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 85, 0.45);
  filter: brightness(1.05);
}

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

.btn-proceed-payment.btn-out-of-stock {
  background: #fef2f2 !important;
  color: #ef4444 !important;
  border: 1.5px solid #fca5a5 !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.15) !important;
  cursor: pointer;
}

.btn-proceed-payment.btn-out-of-stock:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border-color: #f87171 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.22) !important;
}

/* Step 2 Styles */
.order-summary-box {
  background: var(--input-bg, #f8fafc);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}

.summary-label {
  color: var(--text-muted, #64748b);
  font-weight: 600;
}

.summary-val {
  color: var(--text-main, #0f172a);
  font-weight: 800;
}

.summary-val-highlight {
  color: var(--primary-pink);
  font-weight: 800;
}

.summary-divider {
  height: 1px;
  background: var(--border-color, #e2e8f0);
  margin: 12px 0;
}

.total-row {
  margin-bottom: 0;
}

.summary-total-label {
  color: var(--text-main, #0f172a);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.summary-total-val {
  color: var(--primary-pink);
  font-weight: 900;
  font-size: 24px;
}

.payment-method-section .section-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted, #475569);
  margin-bottom: 10px;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.payment-card {
  background: var(--bg-card, #ffffff);
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 16px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 84px;
  box-sizing: border-box;
  width: 100%;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.payment-card:hover {
  border-color: var(--border-color, #cbd5e1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.payment-card.active {
  border: 2px solid var(--primary-pink);
  background: var(--variant-selected-bg, #fff1f5);
  box-shadow: 0 4px 16px var(--shadow-glow-pink, rgba(255, 0, 85, 0.2));
  transform: translateY(-2px);
}

.payment-card.disabled-insufficient,
.payment-method-card.disabled-insufficient {
  opacity: 0.65 !important;
  background: var(--input-bg, rgba(255, 255, 255, 0.04)) !important;
  border: 1.5px dashed var(--border-color, #cbd5e1) !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

.payment-card.disabled-insufficient:hover,
.payment-method-card.disabled-insufficient:hover {
  border-color: var(--border-color, #94a3b8) !important;
  transform: none !important;
  box-shadow: none !important;
}

.payment-card.disabled-insufficient .method-title,
.payment-method-card.disabled-insufficient .method-title,
.payment-card.disabled-insufficient .method-name,
.payment-method-card.disabled-insufficient .method-name {
  color: var(--text-muted) !important;
}

.badge-insufficient {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 800;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  margin-top: 2px;
  letter-spacing: 0.2px;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.mfs-logos-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 150px;
  height: 44px;
  padding: 0 4px;
  box-sizing: border-box;
  margin: 0 auto;
}

.mfs-brand-img {
  width: 100%;
  max-width: 140px;
  height: auto;
  max-height: 28px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
}

.method-logos {
  display: flex;
  gap: 3px;
  align-items: center;
}

.logo-badge {
  font-size: 8px;
  font-weight: 800;
  padding: 2px 4px;
  border-radius: 3px;
  color: #fff;
}

.logo-badge.bkash { background: #e2136e; }
.logo-badge.nagad { background: #f7941d; }
.logo-badge.rocket { background: #8c3291; }

.payment-card .method-icon {
  font-size: 24px;
  color: #06b6d4;
}

.payment-card .method-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main, #0f172a);
}

.step2-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 18px;
  width: 100%;
  box-sizing: border-box;
}

.btn-change-plan {
  flex: 1 1 0;
  width: 50%;
  min-width: 0;
  height: 48px;
  background: var(--input-bg, #f8fafc);
  border: 1.5px solid var(--border-color, #e2e8f0);
  color: var(--text-main, #475569);
  border-radius: 14px;
  padding: 0 12px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-sizing: border-box;
  transition: all 0.2s;
}

.btn-change-plan:hover {
  background: var(--bg-card, #f1f5f9);
  border-color: var(--primary-pink);
  color: var(--primary-pink);
}

.btn-confirm-pay {
  flex: 1 1 0;
  width: 50%;
  min-width: 0;
  height: 48px;
  background: var(--pink-gradient);
  border: none;
  color: #ffffff;
  border-radius: 14px;
  padding: 0 12px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(255, 0, 85, 0.35);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.btn-confirm-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 85, 0.45);
  filter: brightness(1.05);
}

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

.checkout-trust-footer {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
}

/* ==========================================================================
   DESKTOP / PC VIEW OPTIMIZATION & RESPONSIVE POLISH (min-width: 992px & 1200px)
   ========================================================================== */
/* Slider Navigation Arrow Buttons (Removed per user request) */
.slider-arrow-btn {
  display: none !important;
}

/* Admin Pill in Header */
.header-admin-pill {
  display: none;
  align-items: center;
  gap: 6px;
  background: #ede9fe;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
}

.header-admin-pill:hover {
  background: #6d28d9;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25);
}

@media (min-width: 992px) {
  body {
    padding-bottom: 110px; /* Space for the floating dock */
    background: #f1f5f9;
  }

  .app-container {
    max-width: 1200px;
    margin: 24px auto;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
  }

  /* Top Header on PC */
  .app-header {
    height: 78px;
    padding: 0 28px;
    border-bottom: 1px solid #e2e8f0;
  }

  .brand-logo-img {
    height: 56px;
    max-height: 62px;
    max-width: 280px;
  }

  .header-avatar-badge {
    width: 44px;
    height: 44px;
  }

  .brand-logo-text {
    font-size: 21px;
  }

  .header-admin-pill {
    display: inline-flex;
  }

  .wallet-badge-btn {
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 24px;
  }

  .user-initial-badge {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  /* Notice Bar on PC */
  .notice-marquee-wrapper {
    margin: 14px 24px 0 24px;
    border-radius: 9999px;
    padding: 6px 10px;
  }

  /* Banner Slider on PC - Preserves complete banner width without cropping edges */
  .banner-slider-container {
    padding: 16px 24px 8px 24px;
  }

  .banner-slide {
    aspect-ratio: 16 / 8;
    max-height: none;
  }

  .banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }


  /* Category Filter Pills on PC */
  .category-tabs-wrapper {
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    flex-wrap: wrap;
  }

  .tab-pill {
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 700;
  }

  .tab-pill:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    transform: none !important;
    transition: none !important;
  }

  .category-section-title {
    font-size: 20px;
    margin: 16px 0 22px 0;
  }

  /* Products Grid on PC - 4 Columns */
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding: 10px 24px 40px 24px;
  }

  .product-card {
    border-radius: 18px;
    border: 1.5px solid #e2e8f0;
    transition: transform 0.36s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.36s cubic-bezier(0.34, 1.56, 0.64, 1), 
                border-color 0.3s ease;
    cursor: pointer;
    will-change: transform, box-shadow;
  }

  /* PC Mode Dynamic Hover Animation */
  .product-card:hover {
    transform: translateY(-10px) scale(1.025);
    box-shadow: 0 24px 45px -12px rgba(79, 70, 229, 0.28), 0 12px 25px -6px rgba(15, 23, 42, 0.12);
    border-color: rgba(99, 102, 241, 0.55);
    z-index: 10;
  }

  /* Image Zoom and Specular Glare Sweep */
  .product-card:hover .product-image-wrap::after {
    left: 160%;
  }

  .product-card:hover .product-image-wrap img,
  .product-card:hover .product-image-box-inner img {
    transform: scale(1.1);
    filter: brightness(1.04) contrast(1.03);
  }

  /* Title Pill Glow */
  .product-title-pill {
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    font-size: 12px;
    padding: 6px 10px;
  }

  .product-card:hover .product-title-pill {
    background: #e0e7ff;
    color: #4338ca;
    transform: translateY(-2px);
  }

  /* Price Pulse */
  .product-price {
    font-size: 17px;
    margin-bottom: 12px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
  }

  .product-card:hover .product-price {
    transform: scale(1.07);
    color: #059669;
  }

  /* Action Buttons Smooth Jump & Micro-interactions */
  .btn-file-setup, .btn-buy-now {
    padding: 10px 14px;
    font-size: 12px;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .btn-buy-now i, .btn-file-setup i {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .product-card:hover .btn-buy-now {
    transform: translateY(-2.5px);
    box-shadow: 0 8px 20px var(--shadow-glow-pink, rgba(255, 45, 85, 0.45));
    background: var(--pink-gradient, linear-gradient(135deg, #ff2d55 0%, #e11d48 100%));
  }

  .product-card:hover .btn-buy-now i {
    transform: scale(1.25) rotate(-10deg);
  }

  .product-card:hover .btn-file-setup {
    transform: translateY(-1.5px);
    background: var(--blue-btn-hover, #3b82f6);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
  }

  .product-card:hover .btn-file-setup i {
    transform: rotate(18deg) scale(1.18);
  }

  /* Recent Orders on PC */
  .recent-orders-section {
    padding: 22px 28px 12px 28px;
    margin: 16px 24px 32px 24px;
    border-radius: 18px;
  }

  .recent-orders-list {
    display: flex;
    flex-direction: column;
  }

  .recent-order-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;
    padding: 13px 0;
  }

  .recent-order-item:last-child {
    border-bottom: none;
  }

  .recent-order-item:hover {
    background: transparent;
    box-shadow: none;
  }

  /* Subpages Page Content Padding on PC */
  .page-content {
    padding: 28px 32px;
  }

  /* Responsive Grids for Subpages on PC */
  .add-fund-pc-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: start;
  }

  .orders-responsive-grid,
  .keys-responsive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* Profile Page on PC */
  .stats-grid-2x2 {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .profile-cards-pc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
  }

  /* Floating Help Widget on PC */
  .floating-help-widget {
    bottom: 30px;
    right: 32px;
  }
}

/* ==========================================================================
   Header User Corner Avatar Button
   ========================================================================== */
.user-corner-avatar-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  padding: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.user-corner-avatar-btn:hover {
  transform: scale(1.08);
  border-color: var(--primary-pink);
  box-shadow: 0 4px 14px rgba(255, 0, 85, 0.25);
}

.user-corner-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ==========================================================================
   Slide-out Profile Menu Drawer (Offcanvas)
   ========================================================================== */
.profile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.profile-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 330px;
  max-width: 86vw;
  height: 100vh;
  background: #ffffff;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.profile-drawer-panel.open {
  transform: translateX(0);
}

/* Drawer Header Card (Website Theme) */
.drawer-header-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 34px 20px 24px;
  text-align: center;
  position: relative;
  color: #ffffff;
  border-bottom: 2px solid #334155;
}

.drawer-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.drawer-avatar-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  position: relative;
}

.drawer-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.drawer-camera-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: var(--primary-pink);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.drawer-user-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
}

.drawer-user-email {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 10px;
  word-break: break-all;
}

.drawer-balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

/* Drawer Menu List */
.drawer-menu-list {
  padding: 16px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-menu-item {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.drawer-menu-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-pink);
  box-shadow: 0 6px 18px rgba(255, 0, 85, 0.08);
}

.drawer-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-right: 12px;
  flex-shrink: 0;
}

.drawer-item-text {
  flex: 1;
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.drawer-item-arrow {
  color: #94a3b8;
  font-size: 12px;
}

.drawer-logout-item {
  border-color: #fee2e2;
  background: #fffafa;
  margin-top: 6px;
}

.drawer-logout-item:hover {
  border-color: #ef4444;
  background: #fef2f2;
}

/* ==========================================================================
   DEDICATED PRODUCT DETAIL & CHECKOUT PAGE (product.php)
   ========================================================================== */
.product-page-wrapper {
  padding: 16px 16px 36px 16px;
}

@media (min-width: 992px) {
  .product-page-wrapper {
    padding: 24px 32px 50px 32px;
  }
}

.product-page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  color: #334155;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid #e2e8f0;
}

.btn-back-home:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateX(-2px);
}

.product-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

.product-breadcrumbs .active {
  color: var(--primary-pink);
  font-weight: 800;
}

.product-detail-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.product-detail-hero {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  border-bottom: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
  .product-detail-hero {
    grid-template-columns: 340px 1fr;
    padding: 28px;
    gap: 28px;
    align-items: center;
  }
}

.product-image-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card, #ffffff);
  aspect-ratio: 1 / 1;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1.5px solid var(--border-color, #e2e8f0);
  display: block;
}

/* Mobile Responsive Optimization for Product Detail Page (Phone View) */
@media (max-width: 640px) {
  .product-detail-hero {
    padding: 16px 14px !important;
    gap: 16px !important;
  }
  .product-image-box {
    max-width: 190px !important;
    max-height: 190px !important;
    border-radius: 16px !important;
    margin: 0 auto !important;
  }
  .product-info-box {
    align-items: center !important;
    text-align: center !important;
  }
  .product-info-box > div:first-child {
    justify-content: center !important;
  }
  .product-page-title {
    font-size: 19px !important;
    margin-bottom: 8px !important;
    text-align: center !important;
  }
  .product-price-headline {
    justify-content: center !important;
    margin-bottom: 12px !important;
  }
  .price-from-val {
    font-size: 21px !important;
  }
  .product-action-hub {
    justify-content: center !important;
    gap: 8px !important;
  }
  .hub-btn {
    padding: 7px 14px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }
  .product-variants-section {
    padding: 16px 14px !important;
  }
  .section-headline {
    margin-bottom: 12px !important;
  }
  .headline-title {
    font-size: 14px !important;
  }
  .variant-select-card {
    padding: 10px 12px !important;
  }
  .variant-card-title {
    font-size: 13px !important;
  }
  .variant-card-price {
    font-size: 14px !important;
  }
}

.product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 18px;
  transition: transform 0.35s ease;
}

.product-image-box:hover .product-hero-img {
  transform: scale(1.025);
}

.product-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.product-badge.badge-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.product-badge.badge-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.product-badge.badge-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.product-badge.badge-primary,
.product-badge.badge-info {
  background: linear-gradient(135deg, var(--primary-pink, #ff0055) 0%, #ff2a5f 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.product-info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #4361ee;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 10px;
}

.product-page-title {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

@media (min-width: 992px) {
  .product-page-title {
    font-size: 26px;
  }
}

.product-price-headline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.price-from-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.price-from-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-pink);
  letter-spacing: -0.5px;
}

.stock-status-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stock-status-pill.in-stock {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.product-description-text {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
}

.product-action-hub {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hub-btn:hover {
  transform: translateY(-2px);
}

.tg-hub-btn {
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  color: #ffffff;
}

.yt-hub-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
}

.support-hub-btn {
  background: #ffffff;
  color: #334155;
  border: 1.5px solid #cbd5e1;
}

/* Variants Section */
.product-variants-section {
  padding: 22px 20px;
}

@media (min-width: 768px) {
  .product-variants-section {
    padding: 28px;
  }
}

.section-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.headline-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.variants-total-count {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Variants Selection Cards */
.variants-selection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .variants-selection-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.variant-select-card {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.variant-select-card:hover:not(.disabled) {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateY(-2px);
}

.variant-select-card.selected {
  border-color: var(--primary-pink);
  background: rgba(255, 0, 85, 0.03);
  box-shadow: 0 6px 20px rgba(255, 0, 85, 0.12);
}

.variant-select-card.disabled {
  opacity: 0.6;
  background: #f8fafc;
  cursor: not-allowed;
}

.variant-card-radio {
  margin-right: 12px;
}

.radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.variant-select-card.selected .radio-circle {
  border-color: var(--primary-pink);
  background: var(--primary-pink);
}

.variant-select-card.selected .radio-circle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.variant-card-content {
  flex: 1;
  min-width: 0;
}

.variant-card-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.variant-card-badges {
  margin-top: 2px;
}

.stock-pill {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.2px;
}

.stock-pill.in-stock {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.stock-pill.out-of-stock {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.variant-card-price {
  font-size: 16px;
  font-weight: 900;
  color: #059669;
  margin-left: 10px;
  flex-shrink: 0;
}

.variant-select-card.selected .variant-card-price {
  color: var(--primary-pink);
}

/* Product Checkout Box */
.product-checkout-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
}

@media (min-width: 768px) {
  .product-checkout-box {
    padding: 24px;
  }
}

.checkout-box-title {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.live-summary-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 14px;
  margin-bottom: 18px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  padding: 4px 0;
}

.summary-line.total-line {
  border-top: 1px dashed #e2e8f0;
  margin-top: 8px;
  padding-top: 8px;
  color: #0f172a;
  font-weight: 800;
}

.payment-block-label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 8px;
}

.payment-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-method-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.payment-method-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.payment-method-card.active {
  border-color: var(--primary-pink);
  background: rgba(255, 0, 85, 0.04);
  box-shadow: 0 4px 16px rgba(255, 0, 85, 0.12);
}

.method-badges {
  display: flex;
  gap: 4px;
}

.logo-pill {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  color: #ffffff;
}

.logo-pill.bkash { background: #e2136e; }
.logo-pill.nagad { background: #f7931e; }
.logo-pill.rocket { background: #8c3494; }

.wallet-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.method-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
}

.btn-product-submit {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: var(--pink-gradient);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 0, 85, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.3px;
}

.btn-product-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 0, 85, 0.45);
}

.btn-login-to-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
}

.btn-login-to-order:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

.checkout-guarantee-note {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
}

/* Video Embed Section */
.product-video-section {
  padding: 22px 20px 28px 20px;
  border-top: 1px solid #f1f5f9;
  background: #fcfcfd;
}

@media (min-width: 768px) {
  .product-video-section {
    padding: 28px;
  }
}

.yt-external-link {
  font-size: 12px;
  font-weight: 700;
  color: #ef4444;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.yt-external-link:hover {
  text-decoration: underline;
}

.video-embed-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  background: #000000;
}

.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Contact Us / GET IN TOUCH (Matching Screenshot 2 - Compact Website Theme)
   ========================================================================== */
.touch-contact-section {
  max-width: 1200px;
  margin: 32px auto 12px auto;
  padding: 0 16px;
  box-sizing: border-box;
  text-align: center;
}

.touch-header {
  margin-bottom: 16px;
}

.touch-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-pink);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.touch-line {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--pink-gradient);
  border-radius: 2px;
}

.touch-title {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.2px;
  margin: 2px 0 4px 0;
  line-height: 1.2;
}

.touch-highlight {
  color: var(--primary-pink);
  background: var(--pink-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.touch-tagline {
  font-size: 12.5px;
  font-weight: 500;
  color: #64748b;
  margin: 0 auto;
  max-width: 540px;
  line-height: 1.4;
}

/* 4 Cards Grid - Compact proportions */
.touch-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.touch-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 15px 12px 13px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #0f172a;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-sizing: border-box;
}

.touch-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 0, 85, 0.35);
  box-shadow: 0 8px 22px rgba(255, 0, 85, 0.12);
}

.touch-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.touch-card:hover .touch-icon-wrap {
  transform: scale(1.12);
}

/* Icon specific accents */
.touch-wa .touch-icon-wrap {
  background: #ecfdf5;
  color: #10b981;
  border: 1px solid #a7f3d0;
}

.touch-tg .touch-icon-wrap {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.touch-tt .touch-icon-wrap {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #1e293b;
}

.touch-yt .touch-icon-wrap {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fecaca;
}

.touch-dc .touch-icon-wrap {
  background: #eef2ff;
  color: #5865f2;
  border: 1px solid #c7d2fe;
}

.touch-card.touch-dc:hover {
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.15);
}

.touch-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
  line-height: 1.2;
}

.touch-card-detail {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  max-width: 95%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.touch-card-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  margin-top: 2px;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: touchPulse 1.8s infinite;
}

@keyframes touchPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.touch-card-subtag {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}

/* Responsive Grid for Tablets & Phones */
@media (max-width: 900px) {
  .touch-contact-section {
    margin: 24px auto 10px auto;
    padding: 0 12px;
  }
  .touch-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .touch-card {
    padding: 13px 10px 11px 10px;
    border-radius: 14px;
  }
  .touch-title {
    font-size: 21px;
  }
}

@media (max-width: 420px) {
  .touch-cards-grid {
    gap: 8px;
  }
  .touch-card {
    padding: 12px 8px 10px 8px;
  }
  .touch-icon-wrap {
    width: 34px;
    height: 34px;
    font-size: 16px;
    margin-bottom: 6px;
  }
  .touch-card-title {
    font-size: 13px;
  }
  .touch-card-detail {
    font-size: 11px;
  }
  .touch-card-status,
  .touch-card-subtag {
    font-size: 10.5px;
  }
}



/* Policy Modal */
.policy-modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 520px;
  width: 92%;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  animation: modalPopIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: left;
  border: 1.5px solid #e2e8f0;
}

.policy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.policy-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-modal-body {
  font-size: 13.5px;
  line-height: 1.7;
  color: #334155;
  max-height: 60vh;
  overflow-y: auto;
}

.policy-modal-body h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 14px 0 6px 0;
}

.policy-modal-body p {
  margin: 0 0 10px 0;
}


