/* ==========================================================================
   LuviaStore - Ultra Cute Kawaii & Pastel Theme (Pink, Baby Blue, Soft White)
   Bubbly, Playful, Responsive Mobile-First Design
   ========================================================================== */

:root {
  /* Pastel Pink & Rose Palette */
  --pink-light: #fff0f5;
  --pink-soft: #ffe4ec;
  --pink-subtle: #ffd1dc;
  --pink-main: #ff7597;
  --pink-accent: #ff527b;
  --pink-deep: #e11d48;

  /* Pastel Baby Blue & Sky Palette */
  --blue-light: #f0f7ff;
  --blue-soft: #e0f0fe;
  --blue-subtle: #bae0fd;
  --blue-main: #60b5ff;
  --blue-accent: #38a4ff;
  --blue-deep: #0284c7;

  /* Soft Pastel Accents */
  --pastel-yellow: #fef08a;
  --pastel-purple: #e9d5ff;
  --pastel-mint: #a7f3d0;
  --pastel-cream: #fffbeb;

  /* Backgrounds & Surfaces */
  --bg-page: #fbfbfe;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-input: #f8faff;

  /* Text Colors */
  --text-main: #1e293b;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-pink: #e11d48;
  --text-blue: #0284c7;

  /* Borders & Shadows */
  --border-light: #f1e4ec;
  --border-blue: #dbeafe;
  --border-pink: #fce7f3;
  --border-focus: #ff7597;

  --shadow-sm: 0 4px 12px rgba(255, 117, 151, 0.08);
  --shadow-card: 0 10px 28px rgba(100, 149, 237, 0.09), 0 4px 12px rgba(255, 117, 151, 0.08);
  --shadow-card-hover: 0 16px 36px rgba(255, 117, 151, 0.2), 0 6px 16px rgba(96, 181, 255, 0.15);
  --shadow-glow: 0 0 24px rgba(255, 117, 151, 0.25);
  --shadow-wa: 0 8px 24px rgba(37, 211, 102, 0.28);

  /* Bubbly Radii */
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --font-cute: 'Quicksand', 'Nunito', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-cute);
  background: linear-gradient(145deg, #fff5f8 0%, #f0f7ff 50%, #fff8fc 100%);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Background Kawaii Doodle Bubbles */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.35) 0%, transparent 70%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: 5%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(176, 224, 255, 0.4) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

/* Top Kawaii Announcement Bar */
.top-announcement {
  background: linear-gradient(90deg, #ff9ebb, #a0d8ef, #ffb6c1, #bae0fd);
  background-size: 300% 300%;
  animation: gradientShift 6s ease infinite;
  color: #ffffff;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255, 117, 151, 0.15);
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--pink-soft);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(255, 154, 184, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.brand-wrapper:hover {
  transform: scale(1.03) rotate(-1deg);
}

.brand-logo-badge {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ff9ebb, #60b5ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 6px 16px rgba(255, 117, 151, 0.3);
  position: relative;
  overflow: hidden;
}

.brand-logo-badge::after {
  content: '✨';
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 0.75rem;
}

.brand-text h1 {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ff527b, #38a4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.76rem;
  color: #ff7597;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: lowercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-contact-cs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(37, 211, 102, 0.12);
  color: #15803d;
  border: 1.5px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.btn-contact-cs:hover {
  background: rgba(37, 211, 102, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-cart-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: linear-gradient(135deg, #ff7597, #60b5ff);
  border: none;
  border-radius: var(--radius-full);
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 117, 151, 0.3);
  transition: var(--transition);
}

.btn-cart-nav:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(255, 117, 151, 0.4);
}

.cart-badge {
  background: #ffffff;
  color: #ff527b;
  font-size: 0.78rem;
  font-weight: 900;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-badge.bump {
  transform: scale(1.4) rotate(10deg);
}

/* Hero Section */
.hero-section {
  padding: 36px 0 24px;
}

.hero-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 247, 255, 0.95));
  border: 2px solid var(--pink-soft);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-banner::before {
  content: '🌸';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 2rem;
  opacity: 0.6;
  animation: floatAnim 4s ease-in-out infinite;
}

.hero-banner::after {
  content: '⭐';
  position: absolute;
  bottom: 20px;
  right: 25px;
  font-size: 1.8rem;
  opacity: 0.6;
  animation: floatAnim 3.5s ease-in-out infinite reverse;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(8deg); }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fff0f5, #e0f0fe);
  border: 1.5px solid #ffccd9;
  color: #ff527b;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(255, 117, 151, 0.15);
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.6px;
  line-height: 1.25;
  margin-bottom: 12px;
  max-width: 720px;
  color: var(--text-main);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ff527b, #70c4ff, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 620px;
  margin-bottom: 24px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid var(--border-pink);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-pill:hover {
  transform: translateY(-2px);
  border-color: #ff7597;
  color: #ff527b;
}

/* ==========================================================================
   Category Shortcut Buttons (Bebek: Apps, Sugar Glider: Hay Day, Kucing: Games)
   ========================================================================== */
.category-shortcuts-section {
  padding: 10px 0 28px;
}

.category-shortcuts-container {
  background: linear-gradient(135deg, #fff0f5 0%, #ffffff 50%, #f0f7ff 100%);
  border: 2px dashed #ffb6c1;
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.category-shortcuts-header {
  text-align: center;
  margin-bottom: 20px;
}

.category-shortcuts-header h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ff527b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.category-shortcuts-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

@media (min-width: 680px) {
  .category-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card-btn {
  background: #ffffff;
  border: 2px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 6px 16px rgba(255, 117, 151, 0.12);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.category-card-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff7597, #60b5ff);
  opacity: 0;
  transition: var(--transition);
}

.category-card-btn:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: #ff7597;
  box-shadow: 0 14px 30px rgba(255, 117, 151, 0.28);
}

.category-card-btn:hover::before {
  opacity: 1;
}

.category-card-btn:active {
  transform: translateY(-2px) scale(0.99);
}

.category-card-img-wrap {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #ffe4ec, #e0f0fe);
  border: 3px solid #ffffff;
  box-shadow: 0 6px 14px rgba(255, 117, 151, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition);
}

.category-card-btn:hover .category-card-img-wrap {
  transform: scale(1.1) rotate(4deg);
}

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.category-card-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: #ff527b;
  background: #fff0f5;
  border: 1px solid #ffccd9;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.category-card-title {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
}

.category-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.35;
  min-height: 2.6em;
}

.btn-category-action {
  margin-top: 4px;
  width: 100%;
  padding: 8px 14px;
  background: linear-gradient(135deg, #fff0f5, #e0f0fe);
  border: 1.5px solid #ffccd9;
  color: #ff527b;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.category-card-btn:hover .btn-category-action {
  background: linear-gradient(135deg, #ff7597, #60b5ff);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 117, 151, 0.3);
}

/* Controls / Filter / Search */
.controls-section {
  padding: 16px 0 20px;
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(251, 251, 254, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--pink-soft);
}

.controls-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 768px) {
  .controls-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 440px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff7597;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 12px 18px 12px 46px;
  background: #ffffff;
  border: 2px solid var(--border-pink);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: #ff7597;
  box-shadow: 0 0 0 4px rgba(255, 117, 151, 0.18);
}

.search-input::placeholder {
  color: var(--text-subtle);
  font-weight: 500;
}

.categories-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.categories-pills::-webkit-scrollbar {
  display: none;
}

.category-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-pink);
  background: #ffffff;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.category-btn:hover {
  background: #fff0f5;
  border-color: #ffb6c1;
  color: #ff527b;
  transform: translateY(-2px);
}

.category-btn.active {
  background: linear-gradient(135deg, #ff7597, #60b5ff);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 117, 151, 0.35);
  transform: translateY(-2px);
}

/* Products Section */
.products-section {
  padding: 24px 0 60px;
  flex: 1;
}

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

.section-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-count {
  font-size: 0.82rem;
  color: #ff527b;
  font-weight: 800;
  background: #fff0f5;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1.5px solid #ffccd9;
}

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

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

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

/* Product Card */
.product-card {
  background: #ffffff;
  border: 2px solid var(--border-pink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: #ff7597;
  box-shadow: var(--shadow-card-hover);
}

.product-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #ffe4ec, #e0f0fe);
  overflow: hidden;
}

.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1.5px solid #ffccd9;
  color: #ff527b;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(255, 117, 151, 0.2);
}

.product-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-developer {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #60b5ff;
  margin-bottom: 4px;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1.5px dashed var(--pink-soft);
}

.price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.price-value {
  font-size: 1.02rem;
  font-weight: 900;
  color: #ff527b;
}

.btn-open-detail {
  padding: 8px 14px;
  background: linear-gradient(135deg, #fff0f5, #e0f0fe);
  border: 1.5px solid #ffccd9;
  color: #ff527b;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.product-card:hover .btn-open-detail {
  background: linear-gradient(135deg, #ff7597, #60b5ff);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255, 117, 151, 0.3);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px dashed #ffb6c1;
  box-shadow: var(--shadow-sm);
}

.empty-state-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.empty-state-text {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   Modals & Drawers (Sweet Pastel Glass)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

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

.modal-container {
  background: #ffffff;
  border: 2px solid var(--border-pink);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(255, 117, 151, 0.25), 0 10px 25px rgba(96, 181, 255, 0.2);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

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

.modal-header {
  padding: 18px 22px;
  border-bottom: 2px solid var(--pink-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #fff0f5, #f0f7ff);
}

.modal-header-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-game-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(255, 117, 151, 0.2);
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
}

.modal-developer {
  font-size: 0.78rem;
  font-weight: 700;
  color: #60b5ff;
}

.btn-close-modal {
  background: #ffffff;
  border: 1.5px solid var(--pink-soft);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.btn-close-modal:hover {
  background: #ff527b;
  color: white;
  border-color: #ff527b;
  transform: rotate(90deg);
}

.modal-body {
  padding: 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Modal Form Sections */
.form-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
}

.step-number {
  background: linear-gradient(135deg, #ff7597, #60b5ff);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(255, 117, 151, 0.3);
}

/* Saved Account Auto-Fill Banner in Modal */
.dynamic-inputs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.saved-account-banner {
  background: linear-gradient(135deg, #fff5f8, #f0f7ff);
  border: 1.5px solid #ffccd9;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(255, 117, 151, 0.08);
  animation: fadeInPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.saved-account-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.saved-account-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.saved-account-text {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.35;
}

.saved-account-text strong {
  display: block;
  color: #ff527b;
  font-size: 0.84rem;
  margin-bottom: 2px;
}

.saved-account-text span {
  color: var(--text-muted);
}

.btn-clear-saved-id {
  background: #ffffff;
  border: 1.5px solid #ffccd9;
  color: #ff527b;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-clear-saved-id:hover {
  background: #ff527b;
  color: #ffffff;
  border-color: #ff527b;
  box-shadow: 0 2px 6px rgba(255, 82, 123, 0.25);
}

.dynamic-inputs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 540px) {
  .dynamic-inputs-grid.has-multiple {
    grid-template-columns: 1fr 1fr;
  }
}

.input-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.input-label .required-star {
  color: var(--pink-deep);
}

.custom-input, .custom-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 2px solid var(--border-blue);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}

.custom-input:focus, .custom-select:focus {
  outline: none;
  border-color: #ff7597;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 117, 151, 0.18);
}

.input-helper {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

/* Package Nominal Selection Grid */
.nominal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 500px) {
  .nominal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nominal-card {
  background: #ffffff;
  border: 2px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition);
  position: relative;
  text-align: left;
}

.nominal-card:hover {
  border-color: #60b5ff;
  background: #f0f7ff;
  transform: translateY(-2px);
}

.nominal-card.selected {
  border-color: #ff7597;
  background: #fff5f8;
  box-shadow: 0 0 0 3px rgba(255, 117, 151, 0.25);
  transform: scale(1.02);
}

.nominal-popular-badge {
  position: absolute;
  top: -9px;
  right: 8px;
  background: linear-gradient(135deg, #ff7597, #ff527b);
  color: white;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(255, 117, 151, 0.3);
}

.nominal-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.nominal-price {
  font-size: 1rem;
  font-weight: 900;
  color: #ff527b;
}

.nominal-old-price {
  font-size: 0.74rem;
  color: var(--text-subtle);
  text-decoration: line-through;
  font-weight: 600;
}

/* Quantity Stepper */
.qty-stepper-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--border-pink);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.btn-qty {
  width: 40px;
  height: 40px;
  background: #fff0f5;
  border: none;
  color: #ff527b;
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-qty:hover {
  background: #ff7597;
  color: white;
}

.qty-number {
  width: 48px;
  text-align: center;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--text-main);
}

/* Modal Footer */
.modal-footer {
  padding: 16px 22px;
  border-top: 2px solid var(--pink-soft);
  background: linear-gradient(135deg, #fff0f5, #f0f7ff);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-subtotal-info .label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.modal-subtotal-info .val {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ff527b;
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.btn-secondary {
  padding: 11px 18px;
  background: #ffffff;
  border: 2px solid var(--border-pink);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #fce7f3;
  color: #ff527b;
}

.btn-primary {
  padding: 11px 22px;
  background: linear-gradient(135deg, #ff7597, #60b5ff);
  border: none;
  border-radius: var(--radius-full);
  color: white;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(255, 117, 151, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 117, 151, 0.45);
}

/* ==========================================================================
   Shopping Cart Drawer (Pastel Slide-Over)
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-left: 2px solid var(--pink-soft);
  box-shadow: -10px 0 40px rgba(255, 117, 151, 0.2);
  z-index: 125;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 18px 20px;
  border-bottom: 2px solid var(--pink-soft);
  background: linear-gradient(135deg, #fff0f5, #f0f7ff);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-main);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fafafc;
}

.cart-item-card {
  background: #ffffff;
  border: 2px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cart-item-card:hover {
  border-color: #60b5ff;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-game-name {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #60b5ff;
  font-weight: 800;
}

.cart-item-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2px;
}

.btn-remove-cart {
  background: #fff0f5;
  border: 1px solid #ffccd9;
  color: var(--text-subtle);
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
}

.btn-remove-cart:hover {
  background: #ff527b;
  color: white;
  border-color: #ff527b;
}

.cart-item-details-badge {
  background: #fff5f8;
  border: 1px solid #ffe4ec;
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  font-size: 0.8rem;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1.5px dashed var(--pink-soft);
}

.cart-item-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: #ff527b;
}

/* Cart Game Grouped Display (Single-Entry ID Per Game) */
.cart-game-group {
  background: #ffffff;
  border: 2px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cart-game-group:hover {
  border-color: #60b5ff;
}

.cart-game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1.5px dashed var(--pink-soft);
}

.cart-game-header-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ff527b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-game-account-pill {
  font-size: 0.76rem;
  font-weight: 700;
  background: #f0f7ff;
  border: 1px solid #bae0fd;
  color: #0284c7;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  word-break: break-word;
}

.cart-game-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-subitem-card {
  background: #fafafc;
  border: 1px solid #ffe4ec;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
}

.cart-subitem-card:hover {
  background: #fffbfe;
  border-color: #ffccd9;
}

.cart-subitem-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-subitem-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.cart-subitem-extras {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: #fff0f5;
  border: 1px solid #ffe4ec;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 4px;
  display: inline-block;
}

.cart-subitem-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px dashed #f1e4ec;
}

.cart-game-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1.5px solid #fff0f5;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cart-game-subtotal strong {
  color: #ff527b;
  font-size: 0.95rem;
}

/* Customer Checkout Form in Drawer */
.cart-checkout-details {
  background: #ffffff;
  border: 2px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-checkout-details-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ff7597;
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 2px solid var(--pink-soft);
  background: linear-gradient(135deg, #fff0f5, #f0f7ff);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
}

.cart-total-val {
  font-size: 1.45rem;
  color: #ff527b;
  font-weight: 900;
}

.btn-checkout-wa {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-wa);
  transition: var(--transition);
}

.btn-checkout-wa:hover {
  filter: brightness(1.08);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}

.btn-clear-cart {
  background: transparent;
  border: none;
  color: var(--text-subtle);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  text-decoration: underline;
}

.btn-clear-cart:hover {
  color: #ff527b;
}

/* Floating Cart Button for Mobile */
.floating-cart-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 45;
  background: linear-gradient(135deg, #ff7597, #60b5ff);
  color: white;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(255, 117, 151, 0.4);
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-weight: 900;
  font-size: 0.95rem;
  transition: var(--transition);
}

.floating-cart-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(255, 117, 151, 0.5);
}

.floating-badge {
  background: #ffffff;
  color: #ff527b;
  border-radius: var(--radius-full);
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: 900;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #ffffff;
  border: 2px solid #ff7597;
  color: var(--text-main);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 32px rgba(255, 117, 151, 0.25);
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer {
  margin-top: auto;
  background: linear-gradient(180deg, #ffffff 0%, #fff0f5 100%);
  border-top: 2px solid var(--pink-soft);
  padding: 42px 0 26px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand h2 {
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff527b, #38a4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 380px;
  margin-top: 6px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-meta a {
  color: #ff527b;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1.5px dashed var(--pink-soft);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-subtle);
  font-weight: 600;
}
