:root {
  --bg-main: #0b0f19;
  --bg-card: rgba(22, 30, 49, 0.75);
  --bg-card-hover: rgba(30, 41, 67, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(99, 102, 241, 0.5);
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --accent: #10b981;
  --accent-glow: rgba(16, 185, 129, 0.35);
  --warning: #f59e0b;
  --danger: #ef4444;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace, monospace;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  padding: 0.75rem 1.5rem;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-navbar-img {
  height: 38px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  transition: transform 0.2s ease;
}

.logo-navbar-img:hover {
  transform: translateY(-1px);
}

.footer-logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  display: inline-block;
  margin-bottom: 0.85rem;
}


/* Brand Showcase Card untuk About Page */
.brand-showcase-card {
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(99, 102, 241, 0.05) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.75rem 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.brand-showcase-logo-box {
  background: #ffffff;
  display: inline-block;
  padding: 18px 26px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.25rem;
  transition: transform 0.25s ease;
}

.brand-showcase-logo-box:hover {
  transform: scale(1.02);
}

.brand-showcase-img {
  max-height: 130px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.brand-hero-desc {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.45rem 0.9rem;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-nav:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.badge-counter {
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 12px;
  font-weight: 700;
}

/* Dark Theme Synchronized Navbar Overrides */
.navbar .btn-nav {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
}

.navbar .btn-nav:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
}

.navbar .btn-reseller {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #fbbf24 !important;
  font-weight: 700 !important;
}

.navbar .btn-reseller:hover {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #fde68a !important;
  transform: translateY(-1px);
}

.navbar .reseller-tag {
  background: #f59e0b;
  color: #0b0f19;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.navbar .badge-counter {
  background: var(--primary);
  color: #ffffff;
}

.nav-text-desktop {
  display: inline;
}

.nav-text-mobile {
  display: none;
}

/* HERO SECTION */
.hero {
  max-width: 1280px;
  margin: 2.5rem auto 1.5rem;
  padding: 0 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 1.75rem;
}

/* SEARCH & FILTER BAR */
.search-filter-wrap {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-box svg {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.filter-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tag-btn:hover, .tag-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* PRODUCT GRID */
.products-section {
  max-width: 1280px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.5);
}

.prod-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.prod-logo {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  object-fit: cover;
  background: #1e293b;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.prod-title-wrap {
  min-width: 0;
}

.prod-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prod-category {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.prod-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.badge-stock {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-stock.empty {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.25);
}

.badge-warranty {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.badge-region {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.prod-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-line;
}

.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.price-wrap {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.price-amount {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #10b981;
}

.price-amount.promo-highlight {
  color: #fbbf24;
}

.price-strike-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.1;
  margin-bottom: 2px;
}

.price-original-striked {
  font-size: 0.72rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-family: var(--font-mono);
  font-weight: 600;
}

.badge-discount-mini {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.badge-promo {
  background: linear-gradient(135deg, #ef4444, #f59e0b) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.btn-buy {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-buy:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-buy:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* MODAL & DRAWER */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.modal-card {
  background: #111827;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  padding: 1.75rem;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* FORM ELEMENTS */
.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

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

.tier-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.tier-pill {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 3px 8px;
  color: #cbd5e1;
}

.order-summary-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.summary-row.total {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--border-subtle);
}

.btn-submit {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #fff;
  border: none;
  border-radius: 11px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* PAYMENT PAGE STYLING */
.payment-container {
  max-width: 600px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.qris-box {
  background: #fff;
  padding: 1rem;
  border-radius: 16px;
  display: inline-block;
  margin: 1.5rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.qris-img {
  width: 250px;
  height: 250px;
  display: block;
}

.highlight-amount-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
  padding: 1rem;
  margin: 1.25rem 0;
  text-align: center;
}

.amount-huge {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #fbbf24;
  letter-spacing: -0.02em;
}

.timer-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 0.35rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* SUCCESS FULFILLMENT REVEAL */
.success-reveal-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  margin-top: 1.5rem;
}

.license-item-box {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #34d399;
  word-break: break-all;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.copy-mini-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.copy-mini-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* TOAST */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #10b981;
  color: #000;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

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

/* PRODUCT DETAIL PAGE */
.detail-container {
  max-width: 1200px;
  margin: 1.5rem auto 4rem;
  padding: 0 1.5rem;
}

.breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.breadcrumb-bar a {
  color: #93c5fd;
  text-decoration: none;
}

.breadcrumb-bar a:hover {
  text-decoration: underline;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.detail-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.detail-header-flex {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.detail-big-logo {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.detail-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.detail-terms-box {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.detail-terms-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #a5b4fc;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.detail-terms-text {
  font-size: 0.88rem;
  color: #d1d5db;
  line-height: 1.6;
  white-space: pre-line;
}

.detail-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.75rem;
  position: sticky;
  top: 90px;
  backdrop-filter: blur(8px);
}

.qty-stepper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
}

.qty-stepper-btn {
  background: none;
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-stepper-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qty-stepper-input {
  background: none;
  border: none;
  color: #fff;
  width: 50px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-mono);
  -moz-appearance: textfield;
}

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

/* MOBILE FLOATING BOTTOM BUY BAR (HIDDEN ON DESKTOP) */
.mobile-sticky-buy-bar {
  display: none;
}

/* ============================================================== */
/* MOBILE AUDIT: 2-COLUMN CATALOG & RESPONSIVE DETAIL ERGONOMICS */
/* ============================================================== */
@media (max-width: 640px) {
  .logo-navbar-img {
    height: 32px;
    padding: 0;
    max-width: 140px;
  }
  /* Catalog 2-box per row on mobile */
  .products-section {
    padding: 0 0.65rem;
    margin-bottom: 2.5rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }
  .product-card {
    padding: 0.75rem !important;
    border-radius: 12px !important;
  }
  .prod-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.4rem !important;
    margin-bottom: 0.4rem !important;
  }
  .prod-logo {
    width: 34px !important;
    height: 34px !important;
    border-radius: 7px !important;
  }
  .prod-title {
    font-size: 0.8rem !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .prod-category {
    font-size: 0.65rem !important;
  }
  .prod-tags-row {
    margin-bottom: 0.4rem !important;
    gap: 3px !important;
    flex-wrap: wrap !important;
  }
  .prod-tags-row .badge {
    font-size: 0.62rem !important;
    padding: 2px 4px !important;
  }
  /* Pangkas deskripsi panjang di mobile */
  .prod-desc {
    display: none !important;
  }
  .prod-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.4rem !important;
    margin-top: 0.4rem !important;
    padding-top: 0.4rem !important;
  }
  .price-wrap {
    text-align: left !important;
  }
  .price-label {
    font-size: 0.6rem !important;
  }
  .price-amount {
    font-size: 0.92rem !important;
  }
  .btn-buy {
    width: 100% !important;
    padding: 0.45rem 0.4rem !important;
    font-size: 0.72rem !important;
    border-radius: 7px !important;
    text-align: center !important;
  }
}

@media (max-width: 860px) {
  /* Detail Page Mobile Ergonomics */
  .detail-container {
    padding: 0 0.85rem;
    margin-bottom: 5.5rem; /* Space so content isn't covered by sticky buy bar */
  }
  .product-detail-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }
  .detail-card-main {
    padding: 1.25rem !important;
    border-radius: 16px !important;
    order: 1 !important;
  }
  .detail-sidebar-card {
    position: static !important;
    padding: 1.25rem !important;
    border-radius: 16px !important;
    order: 2 !important;
  }
  .detail-header-flex {
    gap: 1rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .detail-big-logo {
    width: 52px !important;
    height: 52px !important;
    border-radius: 12px !important;
  }
  .detail-title {
    font-size: 1.35rem !important;
  }
  .detail-terms-box {
    padding: 1rem 1.15rem !important;
    margin: 1rem 0 !important;
  }

  /* Mobile Sticky Bottom Buy Bar Activation */
  .mobile-sticky-buy-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-subtle);
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 999;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.5);
  }
  .mobile-sticky-price-wrap {
    display: flex;
    flex-direction: column;
  }
  .mobile-sticky-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  .mobile-sticky-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #10b981;
    font-family: var(--font-mono);
  }
  .mobile-sticky-btn {
    flex: 1;
    max-width: 190px;
    padding: 0.65rem 1rem !important;
    font-size: 0.88rem !important;
    margin: 0 !important;
    border-radius: 10px !important;
  }
}

/* ============================================================== */
/* RESELLER NAV BUTTON */
/* ============================================================== */
.btn-reseller {
  background: rgba(245, 158, 11, 0.1) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  color: #fbbf24 !important;
  font-weight: 700 !important;
}

.btn-reseller:hover {
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  transform: translateY(-1px);
}

.reseller-tag {
  background: rgba(245, 158, 11, 0.25);
  color: #fde68a;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 800;
  margin-left: 2px;
}

/* ============================================================== */
/* STREAMLINED 2-COLUMN MINIMALIST FOOTER */
/* ============================================================== */
.site-footer {
  background: #060911;
  border-top: 1px solid var(--border-subtle);
  margin-top: 4.5rem;
  padding: 3rem 1.5rem 2rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-streamlined-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  margin-bottom: 2.25rem;
}

.footer-col-links h5,
.footer-col-action h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}

.footer-nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 0.65rem 1.5rem;
}

.footer-nav-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.18s ease, transform 0.18s ease;
  display: inline-flex;
  align-items: center;
  padding: 3px 0;
}

.footer-nav-links a:hover {
  color: #ffffff;
  transform: translateX(2px);
  text-decoration: none;
}

.footer-reseller-card {
  display: block;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(217, 119, 6, 0.12) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: transform 0.2s, border-color 0.2s;
}

.footer-reseller-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.65);
}

.reseller-badge-mini {
  display: inline-block;
  background: #f59e0b;
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.reseller-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 0.2rem;
}

.reseller-sub {
  font-size: 0.8rem;
  color: #e2e8f0;
  line-height: 1.4;
}

.footer-cs-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-cs-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.footer-bottom-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: #64748b;
}

@media (max-width: 768px) {
  /* Hapus Join Reseller di navbar mobile sesuai arahan */
  .btn-reseller {
    display: none !important;
  }
  .logo-navbar-img {
    height: 34px;
    max-width: 150px;
  }
  .footer-streamlined-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .footer-nav-links {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem 1rem !important;
  }
  .footer-nav-links a {
    font-size: 0.86rem !important;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 2.25rem 1rem 1.75rem;
    margin-top: 3.5rem;
  }
  .footer-bottom-simple {
    text-align: center;
    justify-content: center;
  }

  /* NAVBAR MOBILE ERGONOMICS: RAPI, PADAT, TIDAK BENTROK */
  .nav-text-desktop {
    display: none !important;
  }
  .nav-text-mobile {
    display: inline !important;
  }
  .navbar {
    padding: 0.55rem 0.75rem !important;
  }
  .nav-container {
    gap: 0.35rem !important;
  }
  .logo-wrap {
    font-size: 1.05rem !important;
    gap: 0.4rem !important;
  }
  .logo-badge {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.88rem !important;
    border-radius: 6px !important;
  }
  .nav-actions {
    gap: 0.35rem !important;
  }
  .btn-nav {
    padding: 0.36rem 0.55rem !important;
    font-size: 0.74rem !important;
    gap: 0.28rem !important;
    border-radius: 7px !important;
    white-space: nowrap !important;
  }
  .btn-nav svg {
    width: 13px !important;
    height: 13px !important;
  }
}

/* ============================================================== */
/* FLOATING TELEGRAM CS BUTTON */
/* ============================================================== */
.floating-telegram-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #229ed9 0%, #197bb0 100%);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-telegram-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(34, 158, 217, 0.55);
}

.floating-telegram-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  /* Di halaman detail produk, geser tombol telegram ke atas agar tidak menutupi mobile-sticky-buy-bar */
  body.has-sticky-bar .floating-telegram-btn {
    bottom: 85px;
  }
  .floating-telegram-btn {
    bottom: 20px;
    right: 16px;
    padding: 9px 14px;
    font-size: 0.82rem;
  }
}

/* ============================================================== */
/* INFORMATIONAL / TRUST PAGES (ABOUT, HOW-TO-BUY, WARRANTY, PRIVACY, TERMS) */
/* ============================================================== */
.info-container {
  max-width: 900px;
  margin: 2.5rem auto 5rem;
  padding: 0 1.5rem;
}

.info-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.info-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.75rem;
}

.info-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.25rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.info-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card ul, .info-card ol {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 1rem 0 1rem 1.5rem;
}

.info-card li {
  margin-bottom: 0.5rem;
}

.info-highlight-box {
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.info-highlight-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 0.4rem;
}

.info-highlight-box p {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.55;
  margin: 0;
}

.info-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.step-card p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .info-container {
    padding: 0 1rem;
    margin: 1.75rem auto 4rem;
  }
  .info-header h1 {
    font-size: 1.85rem;
  }
  .info-card {
    padding: 1.35rem;
    border-radius: 16px;
  }
  .info-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ORDER HISTORY CARDS & STATUS SYSTEM ("Pesanan Saya")
   ========================================================================== */
.order-history-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
}

.order-history-card.active-card {
  cursor: pointer;
}

.order-history-card.active-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.order-history-card.highlight-unpaid {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.03);
}

.order-history-card.highlight-unpaid:hover {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.06);
}

.order-history-card.order-card-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.05);
}

.order-card-main {
  flex: 1;
  min-width: 0;
}

.order-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.order-card-title {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.order-card-sub {
  font-size: 0.75rem;
  line-height: 1.4;
}

.badge-history {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge-history-unpaid {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  animation: pulse 2s infinite;
}

.badge-history-paid {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-history-expired {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-history-cancelled {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.order-card-action {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-history-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-history-pay {
  background: #f59e0b;
  color: #0b0f19;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-history-pay:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

.btn-history-claim {
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
}

.btn-history-claim:hover {
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
}

.btn-history-disabled {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.75rem;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  cursor: not-allowed;
  white-space: nowrap;
}

.btn-history-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto !important;
  transition: all 0.18s ease;
}

.btn-history-delete:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ffffff;
  transform: scale(1.08);
}

.history-clear-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 8px;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  color: #fca5a5;
}

.btn-clear-expired {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-clear-expired:hover {
  background: rgba(239, 68, 68, 0.35);
  border-color: rgba(239, 68, 68, 0.6);
}

/* ==========================================================================
   CANCEL ORDER BUTTON & MINIMALIST CONFIRM MODAL
   ========================================================================== */
.btn-cancel-order {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 0.35rem;
}

.btn-cancel-order:hover {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.06);
}

.cancel-modal-card {
  max-width: 420px;
  text-align: center;
  padding: 1.75rem 1.5rem;
}

.cancel-modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.cancel-modal-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.cancel-modal-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-modal-back {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  padding: 0.65rem 1rem;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-modal-back:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-modal-confirm-cancel {
  flex: 1;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  padding: 0.65rem 1rem;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-modal-confirm-cancel:hover {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

