/* ==========================================================================
   VORTEXPAY — SAPPHIRE INDIGO THEME (COMPLETE ITEMKU GAMING MARKETPLACE)
   With Animated Mascot Wings, 4-Poster Showcase Hero, Live Ticker & Flash Deals
   ========================================================================== */

/* --- 1. DESIGN SYSTEM & TOKENS --- */
:root {
  --sapphire-darkest: #071329;
  --sapphire-header-start: #0A1938;
  --sapphire-header-mid: #102958;
  --sapphire-header-end: #173B7E;
  
  --brand-primary: #0060DF;
  --brand-primary-hover: #004BB5;
  --brand-primary-light: #EBF3FF;

  --accent-amber: #FFA41B;
  --accent-amber-hover: #E8900E;
  --accent-cyan: #00D2FF;
  --color-success: #10B981;
  --color-danger: #EF4444;

  --bg-page: #F5F7FB;
  --bg-card: #FFFFFF;
  --bg-input: #F8FAFC;
  --bg-subtle: #EDF2F7;
  
  --border-light: #E2E8F0;
  --border-focus: #0060DF;

  --text-dark: #1E293B;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 20px -3px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 8px 24px rgba(0, 96, 223, 0.25);
}

/* --- 2. GLOBAL RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.brand-title,
.poster-title,
.poster-headline-badge,
.category-card-name,
.item-pill-price,
.stat-number,
.section-headline-itemku,
.summary-total-val,
.flash-price-main,
.nominal-val-text,
.order-num-tag,
.modal-title,
.btn-brand-solid,
.btn-pay-now-large {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.15s ease;
}

button, input, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.flex-1 { flex: 1; }
.w-full { width: 100%; }

.text-primary { color: var(--brand-primary) !important; }
.text-cyan { color: var(--accent-cyan) !important; }
.text-success { color: var(--color-success) !important; }
.text-warning { color: var(--accent-amber) !important; }
.text-danger { color: var(--color-danger) !important; }



/* --- 4. MAIN SAPPHIRE HERO WITH ANIMATED MASCOTS & 4 POSTERS --- */
.main-hero-showcase-section {
  position: relative;
  background: linear-gradient(135deg, var(--sapphire-header-start) 0%, var(--sapphire-header-mid) 50%, var(--sapphire-header-end) 100%);
  padding: 1.5rem 0 3rem 0;
  box-shadow: 0 6px 20px rgba(7, 19, 41, 0.2);
  overflow: hidden;
}

/* Animated Mascot Wings (Left & Right) */
.hero-animated-art-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.mascot-left-wing {
  position: absolute;
  top: 15%;
  left: 1.5%;
}

.mascot-right-wing {
  position: absolute;
  top: 15%;
  right: 1.5%;
}

.floating-anim-1 {
  animation: mascotFloat1 6s infinite ease-in-out alternate;
}

.floating-anim-2 {
  animation: mascotFloat2 7s infinite ease-in-out alternate;
}

@keyframes mascotFloat1 {
  0% { transform: translateY(0) rotate(-3deg) scale(1); }
  50% { transform: translateY(-16px) rotate(4deg) scale(1.04); }
  100% { transform: translateY(8px) rotate(-5deg) scale(0.98); }
}

@keyframes mascotFloat2 {
  0% { transform: translateY(0) rotate(3deg) scale(1); }
  50% { transform: translateY(-18px) rotate(-4deg) scale(1.05); }
  100% { transform: translateY(6px) rotate(5deg) scale(0.97); }
}

.doodle-art {
  position: absolute;
  color: rgba(255, 255, 255, 0.12);
  animation: doodleFloatArt 9s infinite ease-in-out alternate;
}

.da-1 { top: -20px; left: 140px; font-size: 1.8rem; animation-duration: 8s; color: rgba(0, 210, 255, 0.2); }
.da-2 { bottom: -30px; left: 40px; font-size: 1.4rem; animation-duration: 11s; color: rgba(255, 164, 27, 0.2); }
.da-3 { top: 110px; left: 170px; font-size: 1.5rem; animation-duration: 10s; }
.da-4 { top: -25px; right: 140px; font-size: 2rem; animation-duration: 9s; color: rgba(255, 164, 27, 0.25); }
.da-5 { bottom: -20px; right: 30px; font-size: 1.6rem; animation-duration: 12s; color: rgba(0, 210, 255, 0.2); }
.da-6 { top: 120px; right: 160px; font-size: 1.4rem; animation-duration: 10s; }

@keyframes doodleFloatArt {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(12deg); }
  100% { transform: translateY(6px) rotate(-10deg); }
}

/* 2-TIER PERFECTLY SYMMETRIC NAVIGATION HEADER */
.header-top-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  width: 100%;
}

.header-left-col {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 170px;
}

.brand-itemku {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.brand-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.brand-pay-accent {
  color: var(--accent-cyan);
}

/* Center Col: Search Box */
.header-search-col {
  flex: 1;
  max-width: 600px;
  display: flex;
  justify-content: center;
}

.search-box-itemku {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0 0.5rem 0 1.15rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.search-magnifier {
  color: var(--text-dim);
  font-size: 1rem;
  margin-right: 0.75rem;
}

.search-box-itemku input {
  flex: 1;
  border: none;
  background: none;
  font-size: 0.92rem;
  color: var(--text-dark);
  padding: 0.4rem 0;
}

.search-box-itemku input::placeholder {
  color: var(--text-dim);
}

.btn-enter-tag {
  background-color: #F1F5F9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}

/* Centered Quick Tags Bar */
.header-tags-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  width: 100%;
}

.search-quick-tags-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tag-pill {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.15s ease;
}

.tag-pill:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
}

.tag-pill-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.4) 100%);
  border-color: rgba(245, 158, 11, 0.6);
  color: #FEF08A;
  font-weight: 700;
}

/* Right Col: Bantuan, IDR, Masuk */
.header-right-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-shrink: 0;
  min-width: 250px;
}

.header-util-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #CBD5E1;
  font-size: 0.84rem;
  font-weight: 600;
}

.desktop-util-link {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}

.desktop-util-link:hover {
  color: #FFFFFF;
}

.lang-flag-pill {
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.1);
  padding: 0 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  box-sizing: border-box;
}

.lang-text-desktop {
  display: inline;
}

.btn-masuk-sapphire {
  height: 44px;
  background: linear-gradient(135deg, #0070F3 0%, #00509E 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0 1.45rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.btn-masuk-sapphire:hover {
  background: linear-gradient(135deg, #00509E 0%, #003B75 100%);
  transform: translateY(-1px);
}

.btn-hamburger-mobile {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Sub-Nav Category Strip */
.hero-subnav-strip {
  position: relative;
  z-index: 2;
  background-color: rgba(7, 19, 41, 0.45);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.65rem 0;
  margin-bottom: 2rem;
}

.hero-subnav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
}

.subnav-item {
  color: #CBD5E1;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.15s ease;
}

.subnav-item:hover, .subnav-item.active {
  color: #FFFFFF;
}

.subnav-item.active {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* 4 LARGE POSTER SHOWCASE CARDS GRID */
.hero-posters-container {
  position: relative;
  z-index: 2;
}

.hero-posters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.poster-card {
  background: #0D1D3A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.poster-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 30px rgba(0, 210, 255, 0.25);
}

.poster-image-wrap {
  height: 200px;
  background-color: #0F172A;
  position: relative;
  overflow: hidden;
}

.poster-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.poster-card:hover .poster-image-wrap img {
  transform: scale(1.08);
}

.poster-glow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0D1D3A 0%, rgba(13, 29, 58, 0) 60%);
}

.poster-badge-top {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #FFA41B 0%, #E8900E 100%);
  color: #071329;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.poster-badge-top small {
  font-size: 0.6rem;
  font-weight: 700;
}

.poster-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.poster-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.45rem;
  align-self: flex-start;
}

.tag-hot { background-color: #FFA41B; color: #071329; }
.tag-new { background-color: #EF4444; color: #FFFFFF; }
.tag-gift { background-color: #00D2FF; color: #071329; }

.poster-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.poster-sub {
  color: #94A3B8;
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
}

.btn-poster-action {
  margin-top: auto;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.55rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.poster-card:hover .btn-poster-action {
  background-color: var(--accent-amber);
  color: #071329;
  border-color: var(--accent-amber);
}

/* Trust Bar Under Posters */
.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: #CBD5E1;
  font-size: 0.84rem;
  font-weight: 600;
  padding-top: 0.75rem;
}

.trust-dot {
  opacity: 0.3;
}

/* --- 5. HORIZONTAL 10-ICON CATEGORY ROW --- */
.category-icons-section {
  padding: 2rem 0 1.25rem 0;
  background-color: var(--bg-page);
}

.category-icons-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.65rem;
}

.cat-icon-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0.85rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.cat-icon-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.cat-icon-card.active {
  border-color: var(--brand-primary);
  background-color: var(--brand-primary-light);
}

.cat-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  position: relative;
}

.cat-mini-tag {
  position: absolute;
  top: -4px;
  right: -8px;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: var(--radius-sm);
  color: #FFFFFF;
}

.cat-mini-tag.red { background-color: var(--color-danger); }
.cat-mini-tag.blue { background-color: var(--brand-primary); }

.cat-blue .cat-icon-badge { background-color: #E0F2FE; color: #0284C7; }
.cat-yellow .cat-icon-badge { background-color: #FEF3C7; color: #D97706; }
.cat-purple .cat-icon-badge { background-color: #F3E8FF; color: #9333EA; }
.cat-pink .cat-icon-badge { background-color: #FCE7F3; color: #DB2777; }
.cat-cyan .cat-icon-badge { background-color: #CFFAFE; color: #0891B2; }
.cat-green .cat-icon-badge { background-color: #DCFCE7; color: #16A34A; }
.cat-gold .cat-icon-badge { background-color: #FEF9C3; color: #CA8A04; }
.cat-orange .cat-icon-badge { background-color: #FFEDD5; color: #EA580C; }
.cat-navy .cat-icon-badge { background-color: #E2E8F0; color: #334155; }
.cat-teal .cat-icon-badge { background-color: #CCFBF1; color: #0D9488; }

.cat-icon-name {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  white-space: nowrap;
}

/* --- 6. SPLIT GRID SECTION (GAME & GIFT CARD) --- */
.split-section-container {
  padding: 1rem 0 2rem 0;
}

.split-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.split-box-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.split-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1rem;
}

.split-header-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.split-header-title h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
}

.split-link-all {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.split-link-all:hover {
  color: var(--brand-primary-hover);
}

.split-items-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.split-item-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.split-item-pill:hover {
  background-color: var(--bg-page);
}

.split-item-pill.active {
  background-color: var(--brand-primary-light);
}

.item-pill-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.item-pill-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ppob-theme-pln { background-color: #0060DF; color: #FFFFFF; font-size: 1.35rem; }
.ppob-theme-dana { background-color: #10B981; color: #FFFFFF; font-size: 1.35rem; }
.ppob-theme-gopay { background-color: #00D2FF; color: #082855; font-size: 1.35rem; }
.ppob-theme-ovo { background-color: #8B5CF6; color: #FFFFFF; font-size: 1.35rem; }
.ppob-theme-shopee { background-color: #EA580C; color: #FFFFFF; font-size: 1.35rem; }
.ppob-theme-pulsa { background-color: #EF4444; color: #FFFFFF; font-size: 1.35rem; }
.ppob-theme-pdam { background-color: #06B6D4; color: #FFFFFF; font-size: 1.35rem; }
.ppob-theme-bpjs { background-color: #059669; color: #FFFFFF; font-size: 1.35rem; }

.item-pill-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.2;
}

/* --- 7. CAROUSEL SHOWCASE SECTION --- */
.carousel-showcase-section {
  padding: 1.5rem 0;
}

.carousel-banner-wrapper {
  background: linear-gradient(135deg, #0B1938 0%, #173B7E 100%);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.carousel-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.banner-badge-hot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--accent-amber);
  color: #071329;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.35rem;
}

.banner-main-title { font-size: 1.35rem; font-weight: 800; }
.banner-sub-title { font-size: 0.82rem; color: #CBD5E1; }

.btn-banner-all {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
}

.btn-banner-all:hover {
  background-color: #FFFFFF;
  color: #0B1938;
}

.showcase-cards-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.showcase-item-card {
  min-width: 175px;
  max-width: 175px;
  background-color: #FFFFFF;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}

.showcase-item-card:hover { transform: translateY(-4px); }

.showcase-item-img {
  height: 110px;
  background-color: #0F172A;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ppob-bg-pln { background: linear-gradient(135deg, #0060DF 0%, #004899 100%); color: #FFFFFF; font-size: 2.2rem; }
.ppob-bg-dana { background: linear-gradient(135deg, #10B981 0%, #059669 100%); color: #FFFFFF; font-size: 2.2rem; }

.tag-floating-discount {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: var(--accent-amber);
  color: #071329;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: var(--radius-sm);
}

.showcase-item-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.showcase-category { font-size: 0.68rem; color: var(--text-dim); margin-bottom: 0.5rem; }

.showcase-price-val {
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--accent-amber);
  margin-top: auto;
  margin-bottom: 0.35rem;
}

.showcase-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 0.4rem;
}

.showcase-rating { color: #D97706; font-weight: 700; }

/* --- 8. FLASH SALE DEALS SECTION --- */
.section-flash-deals {
  padding: 1.5rem 0 2.5rem 0;
}

.flash-deals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.flash-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.flash-icon {
  font-size: 1.75rem;
}

.flash-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

.flash-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.flash-countdown-badge {
  background-color: #071329;
  color: #FFFFFF;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.flash-countdown-badge strong {
  color: var(--accent-amber);
  font-family: monospace;
  font-size: 0.95rem;
}

.flash-deals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.flash-card-item {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.flash-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-amber);
}

.flash-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--color-danger);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.flash-thumb {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #0F172A;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flash-thumb img { width: 100%; height: 100%; object-fit: cover; }

.flash-item-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.flash-price-strike {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.flash-price-current {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent-amber);
  margin-bottom: 0.5rem;
}

.flash-progress-bar {
  height: 6px;
  background-color: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.flash-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFA41B 0%, #EF4444 100%);
  border-radius: var(--radius-full);
}

.flash-stock-text {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- 9. 4-STEP ORDER FORM --- */
.section-order {
  padding: 3.5rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.order-container-itemku {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.order-main-header { text-align: center; margin-bottom: 1rem; }

.order-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.45rem;
}

.order-main-title { font-size: 1.85rem; font-weight: 800; color: var(--text-dark); }
.order-main-sub { font-size: 0.88rem; color: var(--text-muted); }

.order-box-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.checkout-highlight-box { border: 2px solid var(--brand-primary); }

.box-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.box-card-title { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); line-height: 1.2; }
.box-card-desc { font-size: 0.78rem; color: var(--text-muted); }

.input-row-group { display: flex; gap: 1rem; }

.form-item { display: flex; flex-direction: column; gap: 0.35rem; }
.form-label-bold { font-size: 0.8rem; font-weight: 700; color: var(--text-dark); }

.input-itemku {
  background-color: var(--bg-input);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color 0.15s ease;
}

.input-itemku:focus { border-color: var(--border-focus); background-color: #FFFFFF; }

/* Nominals & Payments */
.nominals-grid-itemku {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.75rem;
}

.nominal-item {
  background-color: var(--bg-input);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nominal-item:hover { border-color: var(--brand-primary); background-color: #FFFFFF; }

.nominal-item.active {
  border-color: var(--brand-primary);
  background-color: var(--brand-primary-light);
  box-shadow: 0 0 0 1px var(--brand-primary);
}

.nominal-title { font-size: 0.84rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.2rem; }
.nominal-price { font-size: 0.82rem; font-weight: 800; color: var(--brand-primary); }

.payments-grid-itemku {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (max-width: 768px) {
  .payments-grid-itemku {
    grid-template-columns: 1fr;
  }
}

.payment-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 68px;
  box-sizing: border-box;
}

.payment-card:hover {
  border-color: #93C5FD;
  background-color: #F8FAFC;
  transform: translateY(-1px);
}

.payment-card.active {
  border-color: #0060DF;
  background-color: #EFF6FF;
  box-shadow: 0 0 0 2px rgba(0, 96, 223, 0.2);
}

.pay-info-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.pay-brand-logo-container {
  width: 60px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 2px 4px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pay-brand-logo-container svg {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.pay-text-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pay-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #1E293B;
  line-height: 1.25;
}

.pay-fee-text {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748B;
  line-height: 1.2;
}

.pay-status-pill {
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #BBF7D0;
  flex-shrink: 0;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.pay-status-pill.qris-pill {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #BFDBFE;
}

.pay-status-pill.bank-pill {
  background: #F1F5F9;
  color: #334155;
  border-color: #CBD5E1;
}

.pay-status-pill.ewallet-pill {
  background: #ECFDF5;
  color: #047857;
  border-color: #A7F3D0;
}

/* Custom Nominal Card */
.custom-nominal-card {
  margin-top: 1.25rem;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.custom-nominal-card:focus-within {
  border-color: #0060DF;
  background: #F0F7FF;
  box-shadow: 0 4px 15px rgba(0, 96, 223, 0.08);
}

.custom-nominal-header {
  margin-bottom: 0.85rem;
}

.custom-header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.custom-nominal-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1E293B;
  margin: 0 0 2px 0;
}

.custom-nominal-subtitle {
  font-size: 0.78rem;
  color: #64748B;
  margin: 0;
}

.custom-input-wrapper {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid #94A3B8;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  margin-bottom: 0.85rem;
  transition: border-color 0.2s ease;
}

.custom-input-wrapper:focus-within {
  border-color: #0060DF;
  box-shadow: 0 0 0 3px rgba(0, 96, 223, 0.15);
}

.currency-label {
  padding: 0.65rem 1rem;
  font-weight: 900;
  font-size: 1.05rem;
  color: #0060DF;
  background: #F1F5F9;
  border-right: 1.5px solid #CBD5E1;
}

.input-custom-field {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.65rem 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  width: 100%;
}

.btn-apply-custom {
  background: #0060DF;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.82rem;
  border: none;
  padding: 0.65rem 1.15rem;
  cursor: pointer;
  transition: background 0.15s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-apply-custom:hover {
  background: #004899;
}

.quick-preset-chips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .quick-preset-chips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.preset-chip {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.preset-chip:hover {
  background: #EFF6FF;
  border-color: #0060DF;
  color: #0060DF;
  transform: translateY(-1px);
}

/* Step 4 Checkout Summary */
.checkout-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .checkout-input-row {
    grid-template-columns: 1fr;
  }
}

.promo-box-group { display: flex; gap: 0.45rem; }
.promo-box-group input { flex: 1; }

.btn-promo-apply {
  background-color: #071329;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 0 1rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.summary-card-itemku {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
}

.summary-line { display: flex; justify-content: space-between; }
.summary-line span { color: var(--text-muted); }

.summary-action-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.total-label-itemku { font-size: 0.75rem; color: var(--text-dim); font-weight: 700; text-transform: uppercase; }

.total-price-itemku {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1.1;
}

.btn-checkout-itemku {
  background-color: var(--accent-amber);
  color: #071329;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 164, 27, 0.35);
  transition: all 0.15s ease;
}

.btn-checkout-itemku:hover {
  background-color: var(--accent-amber-hover);
  transform: translateY(-1px);
}

/* --- 10. TRACKER SECTION --- */
.section-tracker {
  padding: 2.5rem 0;
  background-color: var(--bg-page);
}

.tracker-box-itemku {
  max-width: 680px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.tracker-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.tracker-body { flex: 1; }
.tracker-title-itemku { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.2rem; }
.tracker-sub-itemku { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.85rem; }
.tracker-input-row { display: flex; gap: 0.5rem; }

.tracker-result-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
}

/* --- 11. ELEGANT WHITE FOOTER --- */
.footer-itemku-elegant {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 0 2rem 0;
  color: var(--text-dark);
}

.footer-columns-itemku {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.8fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 0.65rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: #616161;
  font-weight: 500;
  display: inline-block;
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: var(--brand-primary);
}

.payment-logos-grid-itemku {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.pay-logo-badge {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-logo-badge.pay-qris { background-color: #0060DF; color: #FFFFFF; border-color: #0060DF; }

.social-icons-row-itemku { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }

.social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #FFFFFF;
  transition: transform 0.15s ease;
}

.social-icon-btn:hover { transform: scale(1.1); }
.social-icon-btn.wa { background-color: #25D366; }
.social-icon-btn.ig { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.social-icon-btn.fb { background-color: #1877F2; }
.social-icon-btn.tt { background-color: #000000; }
.social-icon-btn.tw { background-color: #1DA1F2; }

.footer-mascot-card {
  background: linear-gradient(135deg, #0060DF 0%, #004BB5 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.mascot-badge-text strong { display: block; font-size: 0.88rem; }
.mascot-badge-text p { font-size: 0.72rem; color: #E0F2FE; margin-top: 0.2rem; }

.mascot-watermark {
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════
   OFFICIAL ITEMKU-STYLE MINIMALIST COMPLIANCE & COPYRIGHT FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.itemku-footer-compliance {
  border-top: 1px solid #E2E8F0;
  padding: 2.25rem 1rem 2.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: transparent;
}

.itemku-consumer-care {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  max-width: 680px;
}

.itemku-care-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 0.15rem 0;
}

.itemku-care-email {
  font-size: 0.8rem;
  color: #334155;
  margin: 0;
}

.itemku-care-email a {
  color: #0060DF;
  text-decoration: none;
  font-weight: 600;
}

.itemku-care-email a:hover {
  text-decoration: underline;
}

.itemku-care-desc {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.45;
  margin: 0.15rem 0 0 0;
}

.itemku-care-wa {
  font-size: 0.78rem;
  color: #64748B;
  margin: 0;
}

.itemku-care-wa a {
  color: #0060DF;
  text-decoration: none;
  font-weight: 600;
}

.itemku-care-wa a:hover {
  text-decoration: underline;
}

.itemku-copyright-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.itemku-copyright-block p {
  font-size: 0.72rem;
  color: #94A3B8;
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* --- 12. FLOATING ACTION CONTROLS & MODALS --- */
.floating-controls {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.btn-floating {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.btn-floating:hover { transform: scale(1.08); }
.btn-scroll-top { background-color: #FFFFFF; color: var(--text-dark); border: 1px solid var(--border-light); }
.btn-cs-live { background-color: #25D366; color: #FFFFFF; }

.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.65) !important;
  z-index: 99999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem !important;
}

.modal-overlay.active { display: flex !important; }

.modal-card {
  background-color: #FFFFFF !important;
  border-radius: var(--radius-lg) !important;
  max-width: 460px !important;
  width: 100% !important;
  padding: 2rem !important;
  position: relative !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-dim);
  cursor: pointer;
}

.modal-close-btn:hover { color: var(--text-dark); }
.modal-title { font-size: 1.25rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.25rem; }
.modal-subtitle { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.25rem; }

.modal-tabs {
  display: flex;
  background-color: var(--bg-input);
  border-radius: var(--radius-md);
  padding: 3px;
  margin-bottom: 1.25rem;
}

.modal-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 0.45rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.modal-tab.active {
  background-color: #FFFFFF;
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.modal-form { display: flex; flex-direction: column; gap: 1rem; }

/* Cloudflare Turnstile Bot Protection Wrapper */
.cf-turnstile-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.25rem 0 0.5rem 0;
  width: 100%;
  min-height: 65px;
}

/* ═══════════════════════════════════════════════════════════════════
   LUXURY FINTECH OBSIDIAN TOAST NOTIFICATIONS (SWISS GLASSMORPHISM)
   ═══════════════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  width: 390px;
  max-width: calc(100vw - 32px);
}

@media (max-width: 768px) {
  .toast-container {
    top: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 400px;
  }
}

.toast-card {
  position: relative;
  pointer-events: auto;
  background: rgba(7, 19, 41, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px 14px 14px;
  box-shadow: 
    0 16px 36px -4px rgba(0, 0, 0, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow: hidden;
  animation: toastLuxuryEntry 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-card.toast-exit {
  opacity: 0;
  transform: translateY(-10px) scale(0.96);
}

/* Double-Bezel Micro Icon Shield */
.toast-bezel-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
  transition: transform 0.2s ease;
}

.toast-card.toast-success .toast-bezel-icon {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.toast-card.toast-info .toast-bezel-icon {
  background: rgba(0, 96, 223, 0.16);
  border: 1px solid rgba(0, 96, 223, 0.4);
  color: #60A5FA;
  box-shadow: 0 0 12px rgba(0, 96, 223, 0.22);
}

.toast-card.toast-warning .toast-bezel-icon {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FBBF24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.toast-card.toast-error .toast-bezel-icon {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #F87171;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

/* Toast Body & Typography */
.toast-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.toast-eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
  line-height: 1.2;
}

.toast-card.toast-success .toast-eyebrow { color: #34D399; }
.toast-card.toast-info .toast-eyebrow { color: #60A5FA; }
.toast-card.toast-warning .toast-eyebrow { color: #FBBF24; }
.toast-card.toast-error .toast-eyebrow { color: #F87171; }

.toast-message {
  font-size: 0.82rem;
  color: #E2E8F0;
  font-weight: 500;
  line-height: 1.45;
  word-break: break-word;
}

.toast-message strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* Close Action */
.toast-close {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
  margin-left: 4px;
  margin-top: -2px;
}

.toast-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

/* Auto-Dismiss Linear Progress Line */
.toast-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.toast-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  animation: toastProgress linear forwards;
}

.toast-card.toast-success .toast-progress-bar {
  background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
}

.toast-card.toast-info .toast-progress-bar {
  background: linear-gradient(90deg, #0060DF 0%, #60A5FA 100%);
}

.toast-card.toast-warning .toast-progress-bar {
  background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 100%);
}

.toast-card.toast-error .toast-progress-bar {
  background: linear-gradient(90deg, #EF4444 0%, #F87171 100%);
}

@keyframes toastLuxuryEntry {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* User Logged In Profile Header Badge */
.user-profile-badge-desktop {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.user-profile-badge-desktop:hover {
  background: rgba(255, 255, 255, 0.25);
}

.user-profile-badge-desktop .user-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0070F3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.btn-logout-tiny {
  background: none;
  border: none;
  color: #FCA5A5;
  font-size: 0.78rem;
  cursor: pointer;
  margin-left: 0.35rem;
  font-weight: 600;
  text-decoration: underline;
}

.btn-logout-tiny:hover {
  color: #EF4444;
}

/* Copy Action Button inside Modal */
.btn-copy-chip {
  background-color: #E2E8F0;
  color: #1E293B;
  border: none;
  border-radius: var(--radius-sm);
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: background-color 0.15s ease;
}

.btn-copy-chip:hover {
  background-color: #CBD5E1;
}

/* QRIS Modal Card */
.qris-display-card {
  background-color: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.qris-image-box {
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  padding: 8px;
}

.qris-image-box img, .qris-image-box svg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.qris-info-rows { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; }
.qris-row { display: flex; justify-content: space-between; align-items: center; }
.qris-price { font-size: 1.15rem; color: var(--brand-primary); font-weight: 800; }

/* CS Popup Drawer */
.cs-popup-drawer {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 320px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.cs-popup-drawer.active { display: flex; }

.cs-drawer-header {
  background: linear-gradient(135deg, #0060DF 0%, #004899 100%);
  color: #FFFFFF;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cs-header-info { display: flex; align-items: center; gap: 0.65rem; }
.cs-avatar-wrap { width: 34px; height: 34px; border-radius: 50%; background: #FFFFFF; padding: 2px; }
.cs-name { font-size: 0.85rem; font-weight: 800; }
.cs-status-live { font-size: 0.68rem; color: #A7F3D0; }
.cs-close-btn { background: none; border: none; color: #FFFFFF; font-size: 1.35rem; cursor: pointer; }
.cs-drawer-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.85rem; }
.cs-welcome-msg { font-size: 0.82rem; color: var(--text-body); line-height: 1.4; }
.cs-quick-faq-buttons { display: flex; flex-direction: column; gap: 0.5rem; }

.btn-cs-faq {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
}

.btn-cs-faq:hover {
  background-color: var(--brand-primary-light);
  border-color: var(--brand-primary);
}

/* --- HIDE SCROLLBARS GLOBALLY FOR TOUCH SWIPING BUT PRESERVE SCROLLING --- */
.hero-subnav-inner,
.search-quick-tags,
.showcase-cards-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.hero-subnav-inner::-webkit-scrollbar,
.search-quick-tags::-webkit-scrollbar,
.showcase-cards-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Brave */
  width: 0;
  height: 0;
}

/* --- 14. MOBILE APP-LIKE UI COMPONENTS (PERSIS ITEMKU) --- */
.mobile-header-top-row {
  display: none !important;
}

.mobile-only-footer-list {
  display: none !important;
}

.mobile-bottom-app-bar {
  display: none !important;
}

.desktop-only-footer {
  display: grid !important;
}

.desktop-only-actions {
  display: inline-flex !important;
}

/* Base styling for mobile footer list */
.mobile-footer-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 0.65rem;
}

.mobile-footer-nav-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-footer-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-footer-nav-row:last-child {
  border-bottom: none;
}

.mobile-footer-nav-row i {
  color: #94A3B8;
  font-size: 0.82rem;
  transition: transform 0.15s ease;
}

.mobile-footer-nav-row:hover {
  background-color: #F8FAFC;
  color: var(--brand-primary);
}

.mobile-footer-nav-row:hover i {
  transform: translateX(3px);
  color: var(--brand-primary);
}

.mobile-footer-social-box {
  text-align: center;
  margin: 1.5rem 0 1rem 0;
}

.mobile-social-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.social-icons-row-itemku-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

/* Bottom App Navigation Bar */
.mobile-bottom-app-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  display: none;
  align-items: center;
  justify-content: space-around;
  z-index: 9998;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.06);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-app-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #64748B;
  flex: 1;
  height: 100%;
  text-decoration: none;
  transition: color 0.15s ease;
}

.bottom-app-tab.active {
  color: var(--brand-primary);
  font-weight: 700;
}

.bottom-app-tab.active .bottom-tab-icon {
  color: var(--brand-primary);
}

.bottom-tab-icon {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-tab-label {
  font-size: 0.65rem;
  font-weight: 600;
}

/* --- 13. RESPONSIVE BREAKPOINTS (PERFECTED ITEMKU MOBILE LAYOUT) --- */
@media (max-width: 768px) {
  body {
    padding-bottom: 68px; /* space for fixed bottom bar */
  }

  .container {
    padding: 0 1rem;
  }

  /* 1. 2-Tier Responsive Header on Mobile (Native Clean Header) */
  .header-top-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
  }

  .header-left-col {
    order: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
    min-width: auto;
  }

  .btn-hamburger-mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.35rem;
    cursor: pointer;
    padding: 0.25rem;
  }

  .header-right-col {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 0 0 auto;
    min-width: auto;
  }

  .header-util-links {
    display: none !important;
  }

  .lang-text-desktop {
    display: none !important;
  }

  .lang-flag-pill {
    display: none !important; /* Hide flag on mobile top header to keep row 1 clean & uncrowded */
  }

  .user-profile-badge-desktop {
    padding: 3px 10px 3px 4px !important;
    gap: 6px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    height: 34px !important;
    box-sizing: border-box !important;
  }

  .user-profile-badge-desktop .user-avatar-circle {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.75rem !important;
  }

  .user-profile-badge-desktop .user-profile-name {
    max-width: 90px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.78rem !important;
  }

  .user-profile-badge-desktop .btn-logout-tiny {
    display: none !important; /* On mobile, logout is cleanly inside profile modal */
  }

  .btn-masuk-sapphire {
    height: 34px;
    padding: 0 0.85rem !important;
    font-size: 0.82rem !important;
    border-radius: 20px !important;
  }

  .btn-masuk-sapphire i {
    display: none;
  }

  .header-search-col {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 0.25rem;
  }

  .header-tags-bar {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 0.85rem;
  }

  .header-tags-bar::-webkit-scrollbar {
    display: none;
  }

  .search-quick-tags-centered {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.35rem;
    padding-bottom: 4px;
  }

  .desktop-only-footer {
    display: none !important;
  }

  .mobile-only-footer-list {
    display: flex !important;
    flex-direction: column;
  }

  .mobile-bottom-app-bar {
    display: flex !important;
  }

  .floating-controls {
    display: none !important; /* Replaced by mobile bottom app bar */
  }
  .search-box-itemku {
    padding: 0.35rem 0.5rem 0.35rem 0.85rem;
  }
  .search-box-itemku input {
    font-size: 0.82rem;
  }
  .btn-enter-tag {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }
  .search-quick-tags {
    gap: 0.35rem;
    overflow-x: auto;
    white-space: nowrap;
    padding: 2px 0;
  }
  .tag-pill {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
    flex-shrink: 0;
  }

  /* 2. Subnav Strip */
  .hero-subnav-strip {
    margin-bottom: 1.25rem;
    padding: 0.5rem 0;
  }
  .hero-subnav-inner {
    gap: 1.15rem;
  }
  .subnav-item {
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  /* 3. 4-Poster Showcase Grid (Pixel-Perfect Symmetric 2x2) */
  .hero-posters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .poster-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .poster-image-wrap {
    height: 135px;
  }
  .poster-badge-top {
    font-size: 0.72rem;
    padding: 2px 6px;
    top: 6px;
    right: 6px;
  }
  .poster-body {
    padding: 0.85rem 0.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
  }
  .poster-title {
    font-size: 0.88rem;
    min-height: 2.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    margin-bottom: 0.15rem;
  }
  .poster-sub {
    font-size: 0.68rem;
    min-height: 1.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    margin-bottom: 0.65rem;
  }
  .btn-poster-action {
    padding: 0.45rem 0.35rem;
    font-size: 0.72rem;
    text-align: center;
    width: 100%;
  }

  /* Hero Trust Bar */
  .hero-trust-bar {
    font-size: 0.7rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    padding-top: 0.5rem;
  }

  /* 4. 10 Category Pastel Cards (Symmetric Equal Heights) */
  .category-icons-section {
    padding: 1.5rem 0 1rem 0;
  }
  .category-icons-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.45rem;
  }
  .cat-icon-card {
    height: 100%;
    min-height: 82px;
    padding: 0.55rem 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
  }
  .cat-icon-badge {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .cat-mini-tag {
    font-size: 0.52rem;
    padding: 0 3px;
    top: -3px;
    right: -6px;
  }
  .cat-icon-name {
    font-size: 0.65rem;
    min-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    white-space: normal;
  }

  /* 5. Split Grid Section (Symmetric Items) */
  .split-section-container {
    padding: 0.75rem 0 1.5rem 0;
  }
  .split-grid-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .split-box-card {
    padding: 1rem;
  }
  .split-box-header {
    padding-bottom: 0.65rem;
    margin-bottom: 0.75rem;
  }
  .split-header-title h3 {
    font-size: 0.98rem;
  }
  .split-link-all {
    font-size: 0.75rem;
  }
  .split-items-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
  }
  .split-item-pill {
    padding: 0.3rem 0.15rem;
  }
  .item-pill-icon {
    width: 42px;
    height: 42px;
  }
  .item-pill-name {
    font-size: 0.65rem;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
  }

  /* 6. Promo Carousel */
  .carousel-banner-wrapper {
    padding: 1.25rem 1rem;
  }
  .banner-main-title {
    font-size: 1.15rem;
  }
  .banner-sub-title {
    font-size: 0.75rem;
  }
  .showcase-item-card {
    min-width: 150px;
    max-width: 150px;
  }
  .showcase-item-img {
    height: 95px;
  }

  /* 7. Flash Deals Bento (Centered Header & Symmetric Cards) */
  .section-flash-deals {
    padding: 1.25rem 0 2rem 0;
  }
  .flash-deals-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  .flash-title-wrap {
    justify-content: center;
    text-align: center;
  }
  .flash-heading {
    font-size: 1.15rem;
  }
  .flash-desc {
    font-size: 0.75rem;
  }
  .flash-countdown-badge {
    justify-content: center;
    width: 100%;
    padding: 0.4rem;
    font-size: 0.75rem;
  }
  .flash-deals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .flash-card-item {
    padding: 0.85rem 0.75rem;
    min-height: 195px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .flash-thumb {
    width: 44px;
    height: 44px;
    margin-bottom: 0.45rem;
  }
  .flash-item-name {
    font-size: 0.78rem;
    min-height: 2.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }
  .flash-price-strike {
    font-size: 0.7rem;
  }
  .flash-price-current {
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
  }
  .flash-stock-text {
    font-size: 0.64rem;
  }

  /* 8. Order Form (Symmetric Nominals & Full Width Actions) */
  .section-order {
    padding: 2rem 0;
  }
  .order-main-title {
    font-size: 1.35rem;
  }
  .order-main-sub {
    font-size: 0.8rem;
  }
  .order-box-card {
    padding: 1.15rem;
  }
  .box-card-title {
    font-size: 0.95rem;
  }
  .box-card-desc {
    font-size: 0.74rem;
  }
  .input-row-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  .checkout-input-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .nominals-grid-itemku {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .nominal-item {
    padding: 0.75rem 0.65rem;
    min-height: 68px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .nominal-title {
    font-size: 0.78rem;
  }
  .nominal-price {
    font-size: 0.78rem;
  }
  .payments-grid-itemku {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .payment-card {
    padding: 0.75rem 0.85rem;
  }
  .summary-lines {
    font-size: 0.8rem;
  }
  .summary-action-block {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.75rem;
  }
  .total-price-itemku {
    font-size: 1.35rem;
  }
  .btn-checkout-itemku {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  /* 9. Tracker */
  .tracker-box-itemku {
    flex-direction: column;
    padding: 1.15rem;
    gap: 0.75rem;
  }
  .tracker-input-row {
    flex-direction: column;
  }
  .tracker-input-row .btn-masuk-sapphire {
    width: 100%;
    justify-content: center;
  }

  /* 10. Footer (Clean Symmetric Mobile Layout) */
  .footer-itemku-elegant {
    padding: 2.5rem 0 1.5rem 0;
  }
  .footer-columns-itemku {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-group-title {
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
  }
  .footer-links-list a {
    font-size: 0.84rem;
  }
  .payment-logos-grid-itemku {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
  }
  .pay-logo-badge {
    padding: 0.3rem 0.2rem;
    font-size: 0.68rem;
  }
  .social-icons-row-itemku {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-posters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .poster-image-wrap {
    height: 120px;
  }
  .poster-body {
    padding: 0.65rem 0.5rem;
  }
  .poster-title {
    font-size: 0.8rem;
  }
  .poster-sub {
    font-size: 0.65rem;
    margin-bottom: 0.45rem;
  }
  .btn-poster-action {
    padding: 0.35rem 0.2rem;
    font-size: 0.68rem;
  }
  .split-items-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.25rem;
  }
  .item-pill-icon {
    width: 38px;
    height: 38px;
  }
  .item-pill-name {
    font-size: 0.6rem;
  }
  .payment-logos-grid-itemku {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SWISS EDITORIAL CORPORATE COMPLIANCE TABLE (ANTI-SLOP, CLEAN & MEWAH)
   ═══════════════════════════════════════════════════════════════════ */
.corporate-compliance-table {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin: 1.25rem 0 2rem;
}

.comp-row {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid #F1F5F9;
  transition: background-color 0.15s ease;
}

.comp-row:last-child {
  border-bottom: none;
}

.comp-row:hover {
  background-color: #F8FAFC;
}

.comp-cell-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comp-cell-value {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.comp-cell-value strong {
  font-size: 0.96rem;
  color: #0F172A;
  font-weight: 700;
}

.comp-subtext {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.4;
}

.comp-cell-status {
  text-align: right;
}

.status-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
  white-space: nowrap;
}

.status-verified-badge.badge-kominfo {
  background: #EFF6FF;
  color: #1E40AF;
  border-color: #BFDBFE;
}

.status-verified-badge.badge-neutral {
  background: #F8FAFC;
  color: #334155;
  border-color: #CBD5E1;
}

@media (max-width: 768px) {
  .comp-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem 1.15rem;
  }
  .comp-cell-status {
    text-align: left;
    margin-top: 0.35rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   OFF-CANVAS MOBILE NAVIGATION DRAWER & BACKDROP (100% RESPONSIVE)
   ═══════════════════════════════════════════════════════════════════ */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 41, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  max-width: 85vw;
  background: #FFFFFF;
  z-index: 10001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #071329;
}

.drawer-brand img {
  width: 28px;
  height: 28px;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.drawer-close:hover {
  background: #FEE2E2;
  color: #EF4444;
  border-color: #FCA5A5;
}

.drawer-menu {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
  border-left: 3px solid transparent;
}

.drawer-item i {
  width: 22px;
  text-align: center;
  font-size: 1.05rem;
  color: #0060DF;
}

.drawer-item:hover, .drawer-item.active {
  background: #EFF6FF;
  color: #0060DF;
  border-left-color: #0060DF;
}

.drawer-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 0.5rem 1.25rem;
}

.drawer-footer {
  padding: 1.25rem;
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-cs-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #10B981;
  color: #FFFFFF;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: opacity 0.2s ease;
}

.drawer-cs-btn:hover {
  opacity: 0.9;
}

.drawer-legal-text {
  font-size: 0.72rem;
  color: #94A3B8;
  text-align: center;
  line-height: 1.35;
}

/* ═══════════════════════════════════════════════════════════════════
   USER PROFILE & EMAIL VERIFICATION MODAL STYLES
   ═══════════════════════════════════════════════════════════════════ */
.modal-profile-card {
  max-width: 520px;
}

.profile-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.profile-user-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.profile-avatar-large {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0060DF 0%, #00D2FF 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 96, 223, 0.25);
}

.profile-user-meta h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2px;
}

.profile-user-meta p {
  font-size: 0.84rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 6px;
}

.profile-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge-verification-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.badge-member-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.profile-stat-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.85rem;
  text-align: center;
}

.profile-stat-box .stat-lbl {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.profile-stat-box .stat-val {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.profile-section-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 1rem 1.15rem;
}

.section-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.section-card-header h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.status-pill-green {
  font-size: 0.7rem;
  font-weight: 700;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.section-card-desc {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.profile-actions-row {
  display: flex;
  gap: 0.5rem;
}

.btn-action-outline {
  flex: 1;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.btn-action-outline:hover {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #1D4ED8;
}

.profile-trx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
}

.trx-sub {
  display: block;
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 2px;
}

.trx-status-badge {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.btn-logout-full {
  width: 100%;
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
  border-radius: 8px;
  padding: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.15s ease;
}

.btn-logout-full:hover {
  background: #FCA5A5;
  color: #991B1B;
}
