/* ===== STATUS BADGE & ACTION BUTTONS UPGRADE ===== */
.status-badge {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 16px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px #2563eb11, 0 1.5px 0 #2563eb11 inset;
  background: #f4f8ff;
  color: #2563eb;
  margin: 0 2px;
  transition: background 0.2s, color 0.2s;
}
.status-badge.status-pending {
  background: #fffbe6;
  color: #bfa100;
  border: 1px solid #ffe066;
}
.status-badge.status-paid {
  background: #eaf1ff;
  color: #2563eb;
  border: 1px solid #4f8cff;
}
.status-badge.status-success {
  background: #eaffea;
  color: #1a7f1a;
  border: 1px solid #6ee7b7;
}
.status-badge.status-failed {
  background: #ffeaea;
  color: #e11d48;
  border: 1px solid #fca5a5;
}

.btn, .btn.small {
  display: inline-block;
  background: linear-gradient(90deg, #4f8cff 0%, #2563eb 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 10px 22px;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px #2563eb22, 0 1.5px 0 #2563eb11 inset;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  margin: 2px 0;
  text-decoration: none;
}
.btn.small {
  padding: 7px 14px;
  font-size: 0.98rem;
  border-radius: 9px;
}
.btn:disabled, .btn.small:disabled {
  background: #b3cdfa;
  color: #e6e6e6;
  cursor: not-allowed;
  box-shadow: none;
}
.btn:hover:not(:disabled), .btn.small:hover:not(:disabled), .btn:focus-visible:not(:disabled), .btn.small:focus-visible:not(:disabled) {
  background: linear-gradient(90deg, #2563eb 0%, #4f8cff 100%);
  color: #fff;
  box-shadow: 0 4px 16px #2563eb44, 0 1.5px 0 #4f8cff inset;
  transform: translateY(-2px) scale(1.03);
}
.btn[onclick], .btn.small[onclick] {
  outline: none;
}
.btn + .btn, .btn.small + .btn.small {
  margin-left: 8px;
}
/* ===== PAYMENT PAGE PROFESSIONAL LAYOUT ===== */
.payment-page {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.payment-page h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--primary-text);
  letter-spacing: 0.01em;
}
.payment-page .payment-card {
  background: var(--card-surface);
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--dark-shadow), 0 1.5px 0 var(--inner-highlight) inset;
  padding: 32px 36px 28px 36px;
  margin-bottom: 0;
  margin-top: 0;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  transition: box-shadow 0.2s;
}
.payment-page .payment-card.order-summary {
  margin-bottom: 24px;
  background: linear-gradient(120deg, #eaf1ff 0%, #f7faff 100%);
  box-shadow: 0 6px 32px #2563eb22, 0 1.5px 0 #2563eb11 inset;
}
.payment-page .payment-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--primary-text);
}
.payment-page .summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}
.payment-page .summary-item {
  font-size: 1.08rem;
  color: var(--primary-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.payment-page .summary-item strong {
  min-width: 110px;
  font-weight: 600;
  color: var(--primary-text);
}
.payment-page .price {
  color: #2563eb;
  font-weight: 700;
  font-size: 1.12rem;
}
.payment-page .payment-method-badge {
  background: #eaf1ff;
  color: #2563eb;
  border-radius: 8px;
  padding: 2px 10px;
  font-weight: 600;
  font-size: 1rem;
}
.payment-page .status-badge {
  font-size: 1rem;
  padding: 2px 10px;
  border-radius: 8px;
  font-weight: 600;
}
.payment-page .payment-instructions {
  margin-bottom: 24px;
  background: linear-gradient(120deg, #f7faff 0%, #eaf1ff 100%);
}
.payment-page .payment-method-instruction {
  margin-bottom: 0;
}
.payment-page .qris-box, .payment-page .virtual-account-box, .payment-page .ewallet-options {
  background: #f4f8ff;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px #2563eb11;
}
.payment-page .qris-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.payment-page .btn-download {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  border-radius: 8px;
  padding: 8px 18px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.2s;
}
.payment-page .btn-download:hover {
  background: #1746a2;
}
.payment-page .va-number, .payment-page .amount-info, .payment-page .bank-details, .payment-page .va-steps {
  margin-bottom: 12px;
}
.payment-page .va-code {
  font-family: 'Fira Mono', monospace;
  font-size: 1.1rem;
  background: #eaf1ff;
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: 8px;
}
.payment-page .copy-btn {
  margin-left: 10px;
  background: #4f8cff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.payment-page .copy-btn:hover {
  background: #2563eb;
}
.payment-page .ewallet-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.payment-page .ewallet-item {
  background: #fff;
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  box-shadow: 0 1px 4px #2563eb11;
}
.payment-page .ewallet-icon {
  font-size: 1.3rem;
}
.payment-page .ewallet-steps, .payment-page .qris-steps, .payment-page .va-steps {
  margin-top: 10px;
}
.payment-page .note {
  background: #eaf1ff;
  color: #2563eb;
  border-radius: 8px;
  padding: 10px 16px;
  margin-top: 18px;
  font-size: 1.01rem;
}
.payment-page .upload-proof {
  background: linear-gradient(120deg, #eaf1ff 0%, #f7faff 100%);
  margin-bottom: 0;
}
.payment-page .proof-preview {
  max-width: 220px;
  max-height: 220px;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px #2563eb22;
}
.payment-page .upload-btn {
  background: #2563eb;
  color: #fff;
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 600;
  border: none;
  margin-top: 10px;
  font-size: 1.08rem;
  transition: background 0.2s;
}
.payment-page .upload-btn:hover {
  background: #1746a2;
}
.payment-page .file-input-label {
  background: #f9f9f9;
  border: 2px dashed #2563eb44;
  border-radius: 8px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  margin-bottom: 8px;
  transition: border 0.2s, background 0.2s;
}
.payment-page .file-input-label:hover {
  border-color: #2563eb;
  background: #eaf1ff;
}
.payment-page .file-text {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.payment-page .file-types {
  font-size: 0.95rem;
  color: #2563eb;
}
.payment-page .file-input-container {
  margin-bottom: 10px;
}
.payment-page .note.success {
  background: #eaffea;
  color: #1a7f1a;
}
@media (max-width: 900px) {
  .payment-page .payment-card {
    padding: 22px 10px 18px 10px;
    max-width: 100%;
  }
  .payment-page .summary-grid {
    grid-template-columns: 1fr;
    gap: 10px 0;
  }
  .payment-page .ewallet-options {
    flex-direction: column;
    gap: 8px;
  }
  .payment-page .proof-preview {
    max-width: 100%;
    max-height: 180px;
  }
}
@media (max-width: 600px) {
  .payment-page {
    gap: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .payment-page h1 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  .payment-page .payment-card {
    padding: 12px 2vw 10px 2vw;
    border-radius: 10px;
  }
  .payment-page .summary-item strong {
    min-width: 80px;
    font-size: 0.98rem;
  }
  .payment-page .summary-item {
    font-size: 0.98rem;
  }
  .payment-page .payment-card h2 {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }
  .payment-page .btn-download, .payment-page .upload-btn {
    font-size: 0.98rem;
    padding: 8px 12px;
    border-radius: 7px;
  }
}
/* ===== FULL WIDTH ORDER SUMMARY ON PAYMENT PAGE ===== */
.payment-page .payment-card.order-summary {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .payment-page .payment-card.order-summary {
    width: 100%;
    max-width: 100%;
    margin: 0 0 18px 0;
  }
}
/* ===== PRIMARY BUY BUTTON (Beli Sekarang) ===== */
.buy-btn-primary {
  background: linear-gradient(90deg, #4f8cff 0%, #2563eb 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  box-shadow: 0 4px 16px var(--dark-shadow), 0 1.5px 0 #2563eb inset;
}
.buy-btn-primary:disabled {
  background: #2d3139ff;
  color: #e6e6e6;
  cursor: not-allowed;
  box-shadow: none;
}
.buy-btn-primary:hover:not(:disabled),
.buy-btn-primary:focus-visible:not(:disabled) {
  background: linear-gradient(90deg, #2563eb 0%, #4f8cff 100%);
  color: #fff;
  box-shadow: 0 6px 24px #2563eb44, 0 1.5px 0 #4f8cff inset;
  transform: translateY(-2px) scale(1.03);
}
/* ===== UTILITY CLASSES ===== */
.hidden {
  display: none !important;
}
/* ===== ORDER SUMMARY & BUY BUTTON LAYOUT ===== */
.order-summary-row-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 32px;
  margin-bottom: 0;
}
.order-summary {
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  margin-bottom: 0;
}
.buy-btn-wrapper {
  display: flex;
  align-items: flex-end;
  flex: 0 0 auto;
}
.buy-btn {
  min-width: 220px;
  font-size: 1.15rem;
  padding: 16px 0;
  border-radius: 14px;
  margin: 0;
  box-shadow: 0 4px 16px var(--dark-shadow);
}
@media (max-width: 900px) {
  .order-summary-row-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .order-summary {
    max-width: 100%;
    margin-bottom: 0;
  }
  .buy-btn-wrapper {
    justify-content: flex-end;
    width: 100%;
  }
  .buy-btn {
    width: 100%;
    min-width: 0;
    font-size: 1.08rem;
    padding: 14px 0;
  }
}
@media (max-width: 600px) {
  .order-summary-row-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 18px;
  }
  .order-summary {
    min-width: 0;
    max-width: 100%;
    font-size: 0.98rem;
  }
  .buy-btn {
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
    border-radius: 10px;
  }
}
/* ===== MODAL RESPONSIVE ENHANCEMENT ===== */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.custom-modal[style*="display: flex"] {
  display: flex !important;
}
.modal-dialog {
  background: var(--card-surface);
  border-radius: 20px;
  box-shadow: 0 8px 32px var(--dark-shadow);
  width: 100%;
  max-width: 420px;
  margin: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeInUp 0.4s;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 12px 24px;
  border-bottom: 1px solid var(--inner-highlight);
}
.modal-body {
  padding: 22px 24px;
  font-size: 1rem;
  color: var(--primary-text);
}
.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 18px 24px;
  border-top: 1px solid var(--inner-highlight);
  background: var(--card-surface-alt);
}
@media (max-width: 600px) {
  .modal-dialog {
    max-width: 98vw;
    padding: 0;
  }
  .modal-header, .modal-body, .modal-footer {
    padding-left: 12px;
    padding-right: 12px;
  }
  .modal-header, .modal-footer {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .modal-body {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}
/* ===== PRODUCT DETAIL PAGE ENHANCEMENTS ===== */
.neumorphic-modal {
  background: var(--card-surface);
  border-radius: 20px;
  box-shadow: 8px 8px 30px var(--dark-shadow), -8px -8px 30px var(--light-shadow);
  border: 1px solid var(--inner-highlight);
  color: var(--primary-text);
  font-family: 'Poppins', sans-serif;
}
.neumorphic-modal-header {
  border-bottom: 1px solid var(--inner-highlight);
  background: var(--card-surface-alt);
  border-radius: 20px 20px 0 0;
  color: var(--primary-text);
}
.neumorphic-modal-title {
  color: var(--primary-text);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
}
.neumorphic-modal-close {
  color: var(--accent-text);
  background: transparent;
  border: none;
  font-size: 1.5rem;
  border-radius: 50%;
  transition: background 0.2s;
}
.neumorphic-modal-close:hover {
  background: var(--hover-glow);
  color: var(--primary-text);
}
.neumorphic-modal-body {
  background: var(--card-surface);
  color: var(--primary-text);
}
.neumorphic-modal-footer {
  border-top: 1px solid var(--inner-highlight);
  background: var(--card-surface-alt);
  border-radius: 0 0 20px 20px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 20px 25px;
}
.neumorphic-btn-cancel {
  background: var(--card-surface-alt);
  color: var(--primary-text);
  border: 1px solid var(--inner-highlight);
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  padding: 12px 24px;
  box-shadow: 4px 4px 8px var(--dark-shadow), -4px -4px 8px var(--light-shadow);
  transition: background 0.2s, color 0.2s;
}
.neumorphic-btn-cancel:hover {
  background: var(--active-state);
  color: var(--primary-text);
  box-shadow: 2px 2px 6px var(--dark-shadow), -2px -2px 6px var(--light-shadow), 0 0 10px var(--hover-glow);
}
.neumorphic-btn-confirm {
  background: var(--accent-text);
  color: var(--base-bg);
  border: none;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  padding: 12px 24px;
  box-shadow: 4px 4px 12px var(--dark-shadow), -4px -4px 12px var(--light-shadow);
  transition: background 0.2s, color 0.2s;
}
.neumorphic-btn-confirm:hover {
  background: var(--primary-text);
  color: var(--accent-text);
  box-shadow: 2px 2px 8px var(--dark-shadow), -2px -2px 8px var(--light-shadow), 0 0 10px var(--hover-glow);
}
.input-group {
  margin-bottom: 1.5rem;
}
.input-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-text);
}
.required {
  color: #dc3545;
}
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--card-surface-alt);
  color: var(--primary-text);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px var(--hover-glow);
}
.form-input.error {
  border-color: #dc3545;
  animation: shake 0.5s ease;
}
.help-text {
  display: block;
  margin-top: 0.25rem;
  color: var(--secondary-text);
  font-size: 0.875rem;
}
.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.variant-item {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--card-surface-alt);
  color: var(--primary-text);
}
.variant-item:hover {
  border-color: var(--accent-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--hover-glow);
}
.variant-item.selected {
  border-color: var(--accent-text);
  background: var(--active-state);
  box-shadow: 0 4px 12px var(--hover-glow);
}
.variant-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.v-name {
  font-weight: 600;
  color: var(--primary-text);
  margin-bottom: 0.5rem;
}
.v-price {
  font-weight: 700;
  color: var(--accent-text);
  font-size: 1.1rem;
}
.buy-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: not-allowed;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.buy-btn:enabled {
  background: var(--accent-text);
  color: var(--base-bg);
  cursor: pointer;
}
.buy-btn:enabled:hover {
  background: var(--primary-text);
  color: var(--accent-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--hover-glow);
}
.order-summary {
  background: linear-gradient(135deg, #001a33 0%, #004080 50%, #0066cc 100%);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid var(--accent-text);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #dee2e6;
}
.summary-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.confirmation-details {
  margin: 1rem 0;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
}
/* ===== PROFILE PAGE ENHANCEMENTS ===== */
.profile-wrapper {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.profile-card {
  width: 100%;
  max-width: 420px;
  background: var(--card-surface);
  border-radius: 20px;
  box-shadow: 6px 6px 18px var(--dark-shadow), -6px -6px 18px var(--light-shadow);
  padding: 32px 28px 28px 28px;
  text-align: center;
  animation: fadeInUp 0.6s ease;
  font-family: 'Poppins', sans-serif;
}

.profile-avatar-text {
  width: 90px;
  height: 90px;
  margin: 0 auto 10px auto;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--accent-text);
  font-weight: 700;
  box-shadow: 0 4px 16px var(--dark-shadow);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
}

.profile-header h1 {
  font-size: 1.7rem;
  color: var(--primary-text);
  margin-top: 10px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}

.profile-header .joined {
  font-size: 0.95rem;
  color: var(--secondary-text);
  margin-top: 2px;
}

.profile-info {
  margin: 22px 0 18px 0;
  background: var(--card-surface-alt);
  border-radius: 14px;
  padding: 18px 15px;
  box-shadow: inset 2px 2px 8px var(--dark-shadow), inset -2px -2px 8px var(--light-shadow);
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--inner-highlight);
  font-size: 1rem;
}
.info-item:last-child {
  border-bottom: none;
}
.label {
  font-weight: 600;
  color: var(--primary-text);
}
.value {
  font-weight: 500;
  color: var(--secondary-text);
}
.profile-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.action-btn {
  flex: 1;
  text-align: center;
  background: var(--primary-gradient);
  color: var(--accent-text);
  border-radius: 12px;
  padding: 12px 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 2px 2px 8px var(--dark-shadow), -2px -2px 8px var(--light-shadow);
  transition: 0.3s ease;
  border: none;
}
.action-btn:hover {
  background: var(--active-state);
  color: var(--primary-text);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px var(--hover-glow);
}
.action-btn.danger {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
}
.action-btn.danger:hover {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  color: #fff;
}

/* ===== TRANSACTION HISTORY ENHANCEMENTS ===== */
.transactions-table th, .transactions-table td {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--primary-text);
  background: transparent;
}
.transactions-table th {
  background: var(--card-surface-alt);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.transactions-table tr {
  transition: background 0.2s;
}
.transactions-table tr:hover {
  background: var(--active-state);
}
.transaction-cards [data-animate="transaction-card"] {
  background: var(--card-surface);
  border-radius: 18px;
  box-shadow: 4px 4px 12px var(--dark-shadow), -4px -4px 12px var(--light-shadow);
  padding: 22px 18px;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  animation: fadeInUp 0.7s ease;
}
.transaction-cards .text-slate-700, .transaction-cards strong {
  color: var(--primary-text) !important;
}
.transaction-cards a {
  background: var(--card-surface-alt);
  color: var(--primary-text);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.transaction-cards a:hover {
  background: var(--active-state);
  color: var(--accent-text);
}
.empty-state {
  background: var(--card-surface-alt);
  border-radius: 18px;
  box-shadow: 2px 2px 8px var(--dark-shadow), -2px -2px 8px var(--light-shadow);
  color: var(--secondary-text);
  font-family: 'Poppins', sans-serif;
}
.empty-state a {
  background: var(--primary-gradient);
  color: var(--accent-text);
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  padding: 10px 24px;
  margin-top: 18px;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.empty-state a:hover {
  background: var(--active-state);
  color: var(--primary-text);
}
/* ===== CSS VARIABLES & BASE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  /* Base Colors (Soft/Muted) */
  --base-bg: #1a3a5c;
  --base-bg-alt: #1e4a6e;
  --card-surface: #1f4d73;
  --card-surface-alt: #2a5580;
  
  /* Neumorphic Shadows & Highlights */
  --light-shadow: rgba(100, 200, 255, 0.15);
  --dark-shadow: rgba(0, 10, 30, 0.6);
  --inner-highlight: rgba(0, 212, 255, 0.1);
  
  /* Interactive Elements */
  --active-state: #164163;
  --hover-glow: rgba(0, 212, 255, 0.2);
  
  /* Text & Icons */
  --primary-text: #E8F4FF;
  --secondary-text: #7DB8E0;
  --accent-text: #00D4FF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { 
  min-height: 100%; display: flex; flex-direction: column; 
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; 
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 153, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, #2a5580 0%, #1f4d73 50%, #1a3a5c 100%);
  background-attachment: fixed; color: var(--primary-text); 
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; width: 100%; overflow-x: hidden; 
}
h1, h2, h3, h4, h5, h6 { 
  font-family: 'Orbitron', sans-serif; font-weight: 600; 
  letter-spacing: 0.8px; color: var(--primary-text); 
}
main.container { flex: 1; width: 100%; }
.container { width: 100%; padding: 0 1rem; margin: 0 auto; max-width: 1400px; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes pulse { 0%{transform:scale(1)} 50%{transform:scale(1.05)} 100%{transform:scale(1)} }
@keyframes slideInLeft { from{ opacity:0; transform:translateX(-20px)} to{ opacity:1; transform:translateX(0)} }
@keyframes shimmer { 0%{ transform:translateX(-100%) } 100%{ transform:translateX(100%) } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(50px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ===== HEADER & NAVIGATION ===== */
.site-header { 
  background: var(--card-surface); padding: 12px 0; 
  position: sticky; top: 0; z-index: 1000; 
  box-shadow: 0 4px 20px var(--dark-shadow), 0 -2px 10px var(--light-shadow); 
  width: 100%; backdrop-filter: blur(10px); 
  border-bottom: 1px solid var(--inner-highlight);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; }
.logo-img { height: 50px; transition: all 0.3s ease; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.logo-img:hover { transform: scale(1.05) rotate(-2deg); filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4)); }

.search-toggle-wrapper { display: flex; align-items: center; gap: 1.5rem; flex: 1; justify-content: flex-end; }
.search-form { position: relative; flex: 0 1 400px; }
.search-form input { 
  width: 100%; padding: 0.75rem 1.5rem; border: none; border-radius: 50px; 
  background: var(--card-surface-alt); 
  box-shadow: inset 4px 4px 12px var(--dark-shadow), inset -4px -4px 12px var(--light-shadow); 
  transition: all 0.3s ease; font-size: 0.95rem; color: var(--primary-text); border: 2px solid transparent; 
}
.search-form input:focus { 
  outline: none; box-shadow: inset 2px 2px 8px var(--dark-shadow), inset -2px -2px 8px var(--light-shadow), 0 0 0 3px var(--hover-glow); 
  background: var(--card-surface); transform: translateY(-2px); 
}
.search-form input::placeholder { color: var(--secondary-text); }
.search-results { 
  position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; border-radius: 15px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.15); margin-top: 0.75rem; overflow: hidden; 
  z-index: 100; display: none; animation: fadeIn 0.3s ease; border: 1px solid #e6f2ff; 
}
.search-result-item { 
  display: flex; align-items: center; padding: 1rem 1.5rem; cursor: pointer; 
  transition: all 0.3s ease; border-bottom: 1px solid #f1f3f5; color: #003366; 
}
.search-result-item:hover { background: #e6f2ff; transform: translateX(5px); }
.search-result-item:last-child { border-bottom: none; }
.search-result-item img { width: 40px; height: 40px; object-fit: contain; margin-right: 1rem; border-radius: 8px; }

.main-nav { display: flex; gap: 2rem; align-items: center; }
.main-nav a { 
  color: var(--primary-text); text-decoration: none; font-weight: 500; padding: 0.75rem 1.25rem; 
  border-radius: 12px; position: relative; transition: all 0.3s ease; 
  background: var(--card-surface); font-family: 'Poppins', sans-serif;
  box-shadow: 4px 4px 12px var(--dark-shadow), -4px -4px 12px var(--light-shadow);
}
.main-nav a:hover { 
  background: var(--active-state); transform: translateY(-2px); 
  box-shadow: 2px 2px 8px var(--dark-shadow), -2px -2px 8px var(--light-shadow), 0 0 20px var(--hover-glow); 
}
.main-nav a::after { 
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; 
  background: linear-gradient(90deg, var(--light-shadow), var(--accent-text)); transition: all 0.3s ease; 
  transform: translateX(-50%); border-radius: 2px; 
}
.main-nav a:hover::after { width: 80%; }

.mobile-toggle { 
  display: none; flex-direction: column; justify-content: space-between; width: 32px; height: 24px; 
  cursor: pointer; background: transparent; border: none; padding: 0; z-index: 1001; position: relative; 
}
.mobile-toggle span { 
  height: 3px; width: 100%; background: linear-gradient(90deg, var(--primary-text), var(--secondary-text)); 
  border-radius: 3px; transition: all 0.3s ease; transform-origin: center; 
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); background: var(--accent-text); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scale(0); }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); background: var(--accent-text); }

/* ===== HERO SECTION ===== */
.hero { width: 100%; display: flex; justify-content: center; margin: 20px 0; padding: 0 1rem; }
.hero-slider { width: 100%; border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
.swiper { position: relative; width: 100%; border-radius: 20px; }
.swiper-wrapper { align-items: center; }
.swiper-slide { display: flex; justify-content: center; align-items: center; border-radius: 20px; overflow: hidden; }
.swiper-slide img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 8px 25px rgba(0,0,0,0.4); transition: transform 0.5s ease; }
.swiper-slide-active img { transform: scale(1.02); }
.swiper-button-prev, .swiper-button-next { 
  background: var(--card-surface); width: 45px; height: 45px; border-radius: 50%; color: var(--primary-text); 
  top: 50%; transform: translateY(-50%); transition: all 0.3s ease; backdrop-filter: blur(10px); 
  border: 2px solid var(--inner-highlight); 
  box-shadow: 4px 4px 12px var(--dark-shadow), -4px -4px 12px var(--light-shadow);
}
.swiper-button-prev:hover, .swiper-button-next:hover { 
  background: var(--active-state); transform: translateY(-50%) scale(1.1); 
  box-shadow: 2px 2px 8px var(--dark-shadow), -2px -2px 8px var(--light-shadow), 0 0 20px var(--hover-glow); 
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 16px; font-weight: bold; }
.swiper-pagination { bottom: 15px !important; }
.swiper-pagination-bullet { background: var(--secondary-text); width: 10px; height: 10px; transition: all 0.3s ease; opacity: 0.7; }
.swiper-pagination-bullet-active { 
  background: var(--accent-text); transform: scale(1.3); 
  box-shadow: 0 0 10px var(--hover-glow); opacity: 1;
}

/* ===== CATEGORY SECTION ===== */
.category-section { margin: 40px 0; width: 100%; padding: 0 1rem; }
.category-title { 
  font-size: 2.2rem; color: #ffffff; margin-bottom: 30px; text-align: center; 
  position: relative; padding-bottom: 15px; width: 100%; text-shadow: 0 2px 10px rgba(0,0,0,0.3); 
}
.category-title::after { 
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); 
  width: 80px; height: 4px; background: linear-gradient(90deg, var(--light-shadow), var(--accent-text)); 
  border-radius: 2px; box-shadow: 0 2px 10px var(--hover-glow); 
}

/* ===== PRODUCT CAROUSEL ===== */
.product-carousel { 
  display: flex; gap: 20px; overflow-x: auto; padding: 20px 10px; scroll-behavior: smooth; 
  scrollbar-width: thin; scrollbar-color: #0066cc transparent; margin-bottom: 30px; width: 100%; 
}
.product-carousel::-webkit-scrollbar { height: 8px; }
.product-carousel::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 10px; margin: 0 15px; }
.product-carousel::-webkit-scrollbar-thumb { 
  background: linear-gradient(90deg, #003366, #0099ff); border-radius: 10px; 
  border: 2px solid rgba(255,255,255,0.3); 
}
.product-carousel::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #002244, #0088ff); }

/* ===== CARD DESIGN ===== */
.product-carousel .card { 
  flex: 0 0 auto; width: 150px; background: var(--card-surface); 
  border-radius: 20px; 
  box-shadow: 8px 8px 20px var(--dark-shadow), -8px -8px 20px var(--light-shadow); 
  transition: all 0.4s ease; overflow: hidden; 
  animation: fadeInUp 0.6s ease; position: relative; 
  border: 1px solid var(--inner-highlight); 
  backdrop-filter: blur(10px); 
}
.product-carousel .card::before { 
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; 
  background: linear-gradient(90deg, #00ff88, #00ccff, #0066ff); z-index: 2; 
}
.product-carousel .card::after { 
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; 
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); 
  transition: left 0.6s ease; z-index: 1; 
}
.product-carousel .card:hover::after { left: 100%; }
.product-carousel .card:hover { 
  transform: translateY(-8px) scale(1.02); 
  box-shadow: 4px 4px 15px var(--dark-shadow), -4px -4px 15px var(--light-shadow), 0 0 25px var(--hover-glow); 
  background: var(--card-surface-alt);
}

.card-image-container { 
  position: relative; width: 100%; height: 160px; overflow: hidden; 
  background: var(--card-surface-alt);
  box-shadow: inset 4px 4px 8px var(--dark-shadow), inset -4px -4px 8px var(--light-shadow);
}
.product-carousel .card img { 
  width: 100%; height: 100%; object-fit: contain; padding: 20px; 
  transition: all 0.4s ease; position: relative; z-index: 2; 
}
.product-carousel .card:hover img { transform: scale(1.1); }

.card-overlay { 
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
  background: linear-gradient(135deg, var(--hover-glow) 0%, var(--inner-highlight) 50%, var(--light-shadow) 100%); 
  opacity: 0; transition: all 0.4s ease; z-index: 1; 
}
.product-carousel .card:hover .card-overlay { opacity: 1; }

/* Removed unused: .card-badge, .card-actions, .card-action-btn */

.product-carousel .meta { 
  padding: 20px; text-align: center; background: var(--inner-highlight); 
  border-top: 1px solid var(--light-shadow); position: relative; z-index: 3; 
}
.product-carousel .meta h3 { 
  font-size: 1.1rem; color: var(--primary-text); margin: 0 0 8px 0; font-weight: 600; 
  line-height: 1.3; 
}
.product-carousel .meta .price { 
  font-size: 1.2rem; color: var(--accent-text); font-weight: 700; margin: 8px 0; 
}
.product-carousel .meta .description { 
  color: var(--secondary-text); font-size: 0.85rem; line-height: 1.4; margin: 8px 0 0 0; opacity: 0.9; 
}

/* Animation delays untuk cards */
.product-carousel .card:nth-child(1) { animation-delay: 0.1s; }
.product-carousel .card:nth-child(2) { animation-delay: 0.2s; }
.product-carousel .card:nth-child(3) { animation-delay: 0.3s; }
.product-carousel .card:nth-child(4) { animation-delay: 0.4s; }
.product-carousel .card:nth-child(5) { animation-delay: 0.5s; }
.product-carousel .card:nth-child(6) { animation-delay: 0.6s; }

/* ===== CATEGORY NAV ===== */
.category-nav { display: flex; justify-content: center; gap: 15px; margin: 30px 0 20px; flex-wrap: wrap; width: 100%; }
.category-nav-btn { 
  padding: 12px 24px; border-radius: 20px; background: var(--card-surface); color: var(--primary-text); 
  border: 2px solid var(--inner-highlight); font-weight: 600; cursor: pointer; transition: all 0.3s ease; 
  box-shadow: 6px 6px 15px var(--dark-shadow), -6px -6px 15px var(--light-shadow); 
  backdrop-filter: blur(10px); position: relative; overflow: hidden; 
  font-size: 0.9rem; font-family: 'Rajdhani', sans-serif;
}
.category-nav-btn::before { 
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; 
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); 
  transition: left 0.5s ease; 
}
.category-nav-btn:hover::before { left: 100%; }
.category-nav-btn:hover, .category-nav-btn.active { 
  background: var(--active-state); color: var(--primary-text); 
  transform: translateY(-2px); 
  box-shadow: inset 4px 4px 10px var(--dark-shadow), inset -4px -4px 10px var(--light-shadow), 0 0 20px var(--hover-glow); 
  border-color: var(--accent-text); 
}

/* ===== LOAD MORE BUTTON ===== */
.load-more-wrapper { text-align: center; margin: 30px 0; width: 100%; }
.load-more-btn { 
  padding: 14px 32px; border-radius: 25px; background: var(--card-surface-alt); 
  color: var(--primary-text); border: none; font-size: 1.1rem; font-weight: 600; cursor: pointer; 
  transition: all 0.3s ease; font-family: 'Rajdhani', sans-serif;
  box-shadow: 8px 8px 20px var(--dark-shadow), -8px -8px 20px var(--light-shadow); 
  display: inline-flex; align-items: center; gap: 10px; position: relative; overflow: hidden; 
}
.load-more-btn::before { 
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; 
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); 
  transition: left 0.5s ease; 
}
.load-more-btn:hover::before { left: 100%; }
.load-more-btn:hover { 
  transform: translateY(-3px); 
  box-shadow: 4px 4px 15px var(--dark-shadow), -4px -4px 15px var(--light-shadow), 0 0 25px var(--hover-glow); 
  background: var(--active-state); 
}
.load-more-btn:active { transform: translateY(-1px); }
.load-more-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.load-more-btn.loading { position: relative; color: transparent; }
.load-more-btn.loading::after { 
  content: ''; position: absolute; width: 20px; height: 20px; border: 2px solid transparent; 
  border-top: 2px solid #ffffff; border-radius: 50%; animation: spin 1s linear infinite; 
}

/* ===== PRODUCT DETAIL ===== */
.product-detail { padding: 20px; margin: 0 auto; width: 100%; }
.breadcrumb { 
  margin-bottom: 25px; font-size: .9rem; color: #b3d9ff; display: flex; align-items: center; 
}
.breadcrumb a { color: #66b3ff; text-decoration: none; transition: color .3s ease; }
.breadcrumb a:hover { color: #99ccff; text-decoration: underline; }
.breadcrumb span { color: #e6f2ff; font-weight: 500; }
.breadcrumb a + span::before { content: "›"; margin: 0 8px; color: #99ccff; }

.product-header { 
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--card-surface);
  border-radius: 16px;
  box-shadow: 8px 8px 25px var(--dark-shadow), -8px -8px 25px var(--light-shadow);
  animation: fadeInUp .6s ease; backdrop-filter: blur(10px); width: 100%; 
  border: 1px solid var(--inner-highlight);
}
.product-logo { 
  width: 100px; height: 100px; object-fit: contain; border-radius: 12px; padding: 10px; 
  background: rgba(255,255,255,.9); box-shadow: 0 4px 12px rgba(0,0,0,.1); transition: transform .3s ease; 
}
.product-logo:hover { transform: scale(1.05); }
.product-header .info h1 { font-size: 2rem; color: var(--primary-text); margin-bottom: 8px; }
.product-header .info p { color: var(--secondary-text); font-size: 1rem; line-height: 1.5; }

#orderForm { 
  background: var(--card-surface); border-radius: 16px; padding: 25px; 
  box-shadow: 8px 8px 30px var(--dark-shadow), -8px -8px 30px var(--light-shadow); 
  margin-bottom: 30px; animation: fadeInUp .8s ease; 
  backdrop-filter: blur(10px); width: 100%; border: 1px solid var(--inner-highlight);
}

.user-input { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 15px; margin-bottom: 25px; }
.user-input input { 
  width: 100%; padding: 14px 16px; border: 2px solid var(--inner-highlight); border-radius: 10px; 
  font-size: 1rem; transition: all .3s ease; background: var(--card-surface-alt); color: var(--primary-text); 
  box-shadow: inset 4px 4px 8px var(--dark-shadow), inset -4px -4px 8px var(--light-shadow);
}
.user-input input:focus { 
  outline: none; border-color: var(--accent-text); 
  box-shadow: inset 2px 2px 6px var(--dark-shadow), inset -2px -2px 6px var(--light-shadow), 0 0 0 3px var(--hover-glow); 
  background: var(--card-surface); 
}
.user-input input::placeholder { color: #6699cc; }

.variant-tabs { 
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; 
  padding-bottom: 10px; border-bottom: 2px solid rgba(255,255,255,.2); 
}
.tab-btn { 
  padding: 10px 20px; border-radius: 30px; background: var(--card-surface-alt); color: var(--primary-text); 
  font-weight: 500; cursor: pointer; border: 2px solid var(--inner-highlight); transition: all .3s ease; 
  box-shadow: 4px 4px 10px var(--dark-shadow), -4px -4px 10px var(--light-shadow);
  font-family: 'Rajdhani', sans-serif;
}
.tab-btn:hover { background: var(--card-surface); transform: translateY(-2px); }
.tab-btn.active { 
  background: var(--active-state); color: var(--primary-text); border-color: var(--accent-text); 
  box-shadow: inset 4px 4px 8px var(--dark-shadow), inset -4px -4px 8px var(--light-shadow); 
}

.variant-list { display: none; animation: fadeIn .4s ease; }
.variant-list.active { display: block; }
.variant-list ul { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 15px; }

.variant-item { 
  background: var(--card-surface-alt); padding: 18px; border-radius: 12px; 
  box-shadow: 4px 4px 12px var(--dark-shadow), -4px -4px 12px var(--light-shadow); 
  display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: all .3s ease; 
  border: 2px solid var(--inner-highlight); position: relative; overflow: hidden; color: var(--primary-text); 
}
.variant-item:hover { 
  transform: translateY(-3px); 
  box-shadow: 2px 2px 8px var(--dark-shadow), -2px -2px 8px var(--light-shadow), 0 0 15px var(--hover-glow); 
  border-color: var(--accent-text); 
}
.variant-item.selected { 
  border-color: var(--accent-text); background: var(--active-state); 
  box-shadow: inset 4px 4px 8px var(--dark-shadow), inset -4px -4px 8px var(--light-shadow); 
}
.variant-item.selected::before { 
  content: "✓"; position: absolute; top: -8px; right: -8px; width: 25px; height: 25px; 
  background: var(--accent-text); color: var(--base-bg); border-radius: 50%; display: flex; align-items: center; 
  justify-content: center; font-size: 14px; box-shadow: 0 2px 8px var(--hover-glow); 
}
.v-name { font-weight: 500; color: var(--primary-text); }
.v-price { color: var(--accent-text); font-weight: 600; font-size: 1.1rem; }

.form-actions { margin-top: 30px; text-align: center; animation: fadeIn .5s ease; }
.submit { 
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; 
  padding: 16px 32px; background: var(--card-surface-alt); color: var(--primary-text); 
  border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 600; cursor: pointer; 
  transition: all .3s ease; font-family: 'Rajdhani', sans-serif;
  box-shadow: 8px 8px 15px var(--dark-shadow), -8px -8px 15px var(--light-shadow); 
}
.buy-submit:hover { 
  transform: translateY(-3px); 
  box-shadow: 4px 4px 10px var(--dark-shadow), -4px -4px 10px var(--light-shadow), 0 0 25px var(--hover-glow); 
  background: var(--active-state); 
}
.buy-submit:active { transform: translateY(-1px); }

.custom-alert { 
  display: none; position: fixed; top: 20px; left: 50%; transform: translateX(-50%); 
  background: #ff4757; color: #fff; padding: 15px 20px; border-radius: 10px; 
  box-shadow: 0 5px 15px rgba(255,71,87,.3); z-index: 1000; animation: slideInDown .5s ease; 
}

/* ===== PAYMENT PAGE ===== */
.payment-page { padding: 20px; margin: 0 auto; width: 100%; max-width: 1200px; }
.payment-page h1 { 
  text-align: center; font-size: 2.2rem; margin-bottom: 30px; color: #ffffff; 
  position: relative; padding-bottom: 15px; 
}
.payment-page h1:after { 
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); 
  width: 80px; height: 4px; background: linear-gradient(90deg,#003366,#0099ff); border-radius: 2px; 
}

.payment-grid { 
  display: grid; grid-template-columns: 1fr 400px; gap: 2rem; align-items: start; 
  margin-bottom: 2rem; 
}

.payment-card { 
  background: var(--card-surface); border-radius: 16px; 
  box-shadow: 8px 8px 30px var(--dark-shadow), -8px -8px 30px var(--light-shadow); 
  padding: 25px; margin-bottom: 25px; transition: transform .3s ease, box-shadow .3s ease; 
  border: 1px solid var(--inner-highlight); animation: fadeInUp .6s ease; backdrop-filter: blur(10px); 
  width: 100%; 
}
.payment-card:hover { 
  transform: translateY(-5px); 
  box-shadow: 4px 4px 20px var(--dark-shadow), -4px -4px 20px var(--light-shadow), 0 0 25px var(--hover-glow); 
}
.payment-card h2 { 
  color: var(--primary-text); margin-bottom: 20px; font-size: 1.5rem; position: relative; 
  padding-bottom: 10px; display: flex; align-items: center; 
}
.payment-card h2:after { 
  content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; 
  background: linear-gradient(90deg,#003366,#0099ff); border-radius: 2px; 
}
.payment-card h3 { color: var(--primary-text); margin: 20px 0 15px; font-size: 1.2rem; }

.order-summary p { margin-bottom: 12px; display: flex; align-items: center; color: var(--primary-text); }
.order-summary strong { min-width: 100px; color: var(--secondary-text); }

.payment-methods { margin: 2rem 0; }
.payment-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.payment-option { cursor: pointer; }
.payment-option input { display: none; }
.payment-method-card { 
  background: var(--card-surface-alt); 
  border: 2px solid var(--inner-highlight); border-radius: 12px; padding: 1.5rem; 
  transition: all 0.3s ease; display: flex; align-items: center; gap: 1rem; 
  color: var(--primary-text); backdrop-filter: blur(10px); 
  box-shadow: 4px 4px 15px var(--dark-shadow), -4px -4px 15px var(--light-shadow);
}
.payment-option input:checked + .payment-method-card { 
  border-color: var(--accent-text); background: var(--active-state); transform: translateY(-2px); 
  box-shadow: inset 4px 4px 10px var(--dark-shadow), inset -4px -4px 10px var(--light-shadow), 0 0 20px var(--hover-glow); 
}
.payment-icon { 
  font-size: 2rem; width: 50px; height: 50px; display: flex; align-items: center; 
  justify-content: center; background: var(--card-surface); 
  border-radius: 10px; color: var(--accent-text); 
  box-shadow: inset 3px 3px 6px var(--dark-shadow), inset -3px -3px 6px var(--light-shadow);
}
.payment-info h4 { color: var(--primary-text); margin-bottom: 0.25rem; font-size: 1.1rem; }
.payment-info p { color: var(--secondary-text); margin-bottom: 0.25rem; font-size: 0.9rem; }
.payment-info small { color: var(--secondary-text); font-size: 0.8rem; opacity: 0.8; }

.payment-instructions ul { margin: 15px 0; padding-left: 20px; }
.payment-instructions li { 
  margin-bottom: 10px; padding: 12px 15px; background: rgba(255,255,255,.1); 
  border-radius: 10px; border-left: 4px solid #0066cc; transition: transform .2s ease; color: #e6f2ff; 
}
.payment-instructions li:hover { transform: translateX(5px); background: rgba(255,255,255,.15); }

.note { 
  background: rgba(255,249,230,.2); padding: 12px 15px; border-radius: 8px; 
  border-left: 4px solid #ffc107; margin-top: 15px; font-size: .95rem; color: #e6f2ff; 
}
.note.success { background: rgba(46,213,115,0.2); color: #2ed573; border-color: #2ed573; }
.note.info { background: rgba(0,102,204,0.2); color: #66b3ff; border-color: #66b3ff; }

/* QRIS Styles */
.qris-box { 
  text-align: center; padding: 2rem; background: rgba(255,255,255,0.1); 
  border-radius: 16px; margin: 1rem 0; border: 2px dashed #0066cc; 
  transition: all .3s ease; backdrop-filter: blur(10px); 
}
.qris-box:hover { background: rgba(255,255,255,0.15); border-style: solid; transform: scale(1.01); }
.qris-img { 
  max-width: 250px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,.2); 
  transition: transform .3s ease; margin: 0 auto; 
}
.qris-img:hover { transform: scale(1.03); }
.qris-steps { text-align: left; max-width: 400px; margin: 0 auto 1.5rem; }
.qris-steps ol { padding-left: 1.5rem; color: #e6f2ff; }
.qris-steps li { margin-bottom: 0.5rem; }

/* Virtual Account Styles */
.virtual-account-box { 
  background: rgba(255,255,255,0.1); border-radius: 16px; padding: 2rem; 
  margin: 1rem 0; backdrop-filter: blur(10px); 
}
.va-number { 
  background: linear-gradient(135deg, #003366, #0066cc); color: white; padding: 1.5rem; 
  border-radius: 12px; text-align: center; margin-bottom: 1.5rem; position: relative; 
}
.va-code { 
  font-family: 'Courier New', monospace; font-size: 1.4rem; font-weight: 700; 
  letter-spacing: 2px; margin: 0.5rem 0; display: block; 
}
.copy-btn { 
  background: var(--card-surface-alt); border: 1px solid var(--inner-highlight); 
  color: var(--primary-text); padding: 0.5rem 1rem; border-radius: 8px; cursor: pointer; 
  transition: all 0.3s ease; margin-top: 1rem; font-family: 'Rajdhani', sans-serif;
  box-shadow: 4px 4px 8px var(--dark-shadow), -4px -4px 8px var(--light-shadow);
}
.copy-btn:hover { 
  background: var(--active-state); transform: translateY(-2px); 
  box-shadow: 2px 2px 6px var(--dark-shadow), -2px -2px 6px var(--light-shadow), 0 0 10px var(--hover-glow);
}

.bank-details ul { list-style: none; padding: 0; }
.bank-details li { 
  padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); color: #e6f2ff; 
}
.bank-details li:last-child { border-bottom: none; }

/* E-Wallet Styles */
.ewallet-options { 
  background: rgba(255,255,255,0.1); border-radius: 16px; padding: 1.5rem; 
  margin: 1rem 0; backdrop-filter: blur(10px); 
}
.ewallet-item { 
  display: flex; align-items: center; gap: 1rem; padding: 1rem; 
  border-bottom: 1px solid rgba(255,255,255,0.1); transition: all 0.3s ease; 
}
.ewallet-item:hover { background: rgba(255,255,255,0.1); border-radius: 8px; }
.ewallet-item:last-child { border-bottom: none; }
.ewallet-icon { 
  font-size: 1.5rem; width: 40px; height: 40px; display: flex; align-items: center; 
  justify-content: center; background: linear-gradient(135deg, #003366, #0066cc); 
  border-radius: 8px; color: white; 
}
.ewallet-info { flex: 1; color: #e6f2ff; }

/* Upload Proof Styles */
.proof-form { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.file-input-container { position: relative; overflow: hidden; display: inline-block; width: 100%; }
.file-input-container input[type="file"] { 
  position: absolute; left: 0; top: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; 
}
.file-input-label { 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  border: 3px dashed #0066cc;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  color: #e6f2ff;
  position: relative;
  overflow: hidden;
}
.file-input-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
 width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.file-input-label:hover::before {
  left: 100%;
}

.file-input-label:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #004d99;
  transform: translateY(-2px);
}

.file-input-label i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0066cc;
}

.file-text {
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
  color: #ffffff;
}

.file-types {
  color: #99ccff;
  font-size: 0.9rem;
}

/* Download Button Enhancement */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #003366, #0066cc);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
  gap: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 51, 102, 0.4);
  background: linear-gradient(135deg, #002244, #004d99);
}

/* Copy Button Enhancement */
.copy-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Removed unused: .a11y-hidden */
/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes pulse { 0%{transform:scale(1)} 50%{transform:scale(1.05)} 100%{transform:scale(1)} }
@keyframes slideInLeft { from{ opacity:0; transform:translateX(-20px)} to{ opacity:1; transform:translateX(0)} }
@keyframes shimmer { 0%{ transform:translateX(-100%) } 100%{ transform:translateX(100%) } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(50px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ===== HEADER & NAVIGATION ===== */
.site-header { 
  background: var(--card-surface); padding: 12px 0; 
  position: sticky; top: 0; z-index: 1000; 
  box-shadow: 0 4px 20px var(--dark-shadow), 0 -2px 10px var(--light-shadow); 
  width: 100%; backdrop-filter: blur(10px); 
  border-bottom: 1px solid var(--inner-highlight);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; }
.logo-img { height: 50px; transition: all 0.3s ease; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.logo-img:hover { transform: scale(1.05) rotate(-2deg); filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4)); }

.search-toggle-wrapper { display: flex; align-items: center; gap: 1.5rem; flex: 1; justify-content: flex-end; }
.search-form { position: relative; flex: 0 1 400px; }
.search-form input { 
  width: 100%; padding: 0.75rem 1.5rem; border: none; border-radius: 50px; 
  background: var(--card-surface-alt); 
  box-shadow: inset 4px 4px 12px var(--dark-shadow), inset -4px -4px 12px var(--light-shadow); 
  transition: all 0.3s ease; font-size: 0.95rem; color: var(--primary-text); border: 2px solid transparent; 
}
.search-form input:focus { 
  outline: none; box-shadow: inset 2px 2px 8px var(--dark-shadow), inset -2px -2px 8px var(--light-shadow), 0 0 0 3px var(--hover-glow); 
  background: var(--card-surface); transform: translateY(-2px); 
}
.search-form input::placeholder { color: var(--secondary-text); }
.search-results { 
  position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; border-radius: 15px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.15); margin-top: 0.75rem; overflow: hidden; 
  z-index: 100; display: none; animation: fadeIn 0.3s ease; border: 1px solid #e6f2ff; 
}
.search-result-item { 
  display: flex; align-items: center; padding: 1rem 1.5rem; cursor: pointer; 
  transition: all 0.3s ease; border-bottom: 1px solid #f1f3f5; color: #003366; 
}
.search-result-item:hover { background: #e6f2ff; transform: translateX(5px); }
.search-result-item:last-child { border-bottom: none; }
.search-result-item img { width: 40px; height: 40px; object-fit: contain; margin-right: 1rem; border-radius: 8px; }

.main-nav { display: flex; gap: 2rem; align-items: center; }
.main-nav a { 
  color: var(--primary-text); text-decoration: none; font-weight: 500; padding: 0.75rem 1.25rem; 
  border-radius: 12px; position: relative; transition: all 0.3s ease; 
  background: var(--card-surface); font-family: 'Poppins', sans-serif;
  box-shadow: 4px 4px 12px var(--dark-shadow), -4px -4px 12px var(--light-shadow);
}
.main-nav a:hover { 
  background: var(--active-state); transform: translateY(-2px); 
  box-shadow: 2px 2px 8px var(--dark-shadow), -2px -2px 8px var(--light-shadow), 0 0 20px var(--hover-glow); 
}
.main-nav a::after { 
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; 
  background: linear-gradient(90deg, var(--light-shadow), var(--accent-text)); transition: all 0.3s ease; 
  transform: translateX(-50%); border-radius: 2px; 
}
.main-nav a:hover::after { width: 80%; }

.mobile-toggle { 
  display: none; flex-direction: column; justify-content: space-between; width: 32px; height: 24px; 
  cursor: pointer; background: transparent; border: none; padding: 0; z-index: 1001; position: relative; 
}
.mobile-toggle span { 
  height: 3px; width: 100%; background: linear-gradient(90deg, var(--primary-text), var(--secondary-text)); 
  border-radius: 3px; transition: all 0.3s ease; transform-origin: center; 
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); background: var(--accent-text); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scale(0); }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); background: var(--accent-text); }

/* ===== HERO SECTION ===== */
.hero { width: 100%; display: flex; justify-content: center; margin: 20px 0; padding: 0 1rem; }
.hero-slider { width: 100%; border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
.swiper { position: relative; width: 100%; border-radius: 20px; }
.swiper-wrapper { align-items: center; }
.swiper-slide { display: flex; justify-content: center; align-items: center; border-radius: 20px; overflow: hidden; }
.swiper-slide img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 8px 25px rgba(0,0,0,0.4); transition: transform 0.5s ease; }
.swiper-slide-active img { transform: scale(1.02); }
.swiper-button-prev, .swiper-button-next { 
  background: var(--card-surface); width: 45px; height: 45px; border-radius: 50%; color: var(--primary-text); 
  top: 50%; transform: translateY(-50%); transition: all 0.3s ease; backdrop-filter: blur(10px); 
  border: 2px solid var(--inner-highlight); 
  box-shadow: 4px 4px 12px var(--dark-shadow), -4px -4px 12px var(--light-shadow);
}
.swiper-button-prev:hover, .swiper-button-next:hover { 
  background: var(--active-state); transform: translateY(-50%) scale(1.1); 
  box-shadow: 2px 2px 8px var(--dark-shadow), -2px -2px 8px var(--light-shadow), 0 0 20px var(--hover-glow); 
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 16px; font-weight: bold; }
.swiper-pagination { bottom: 15px !important; }
.swiper-pagination-bullet { background: var(--secondary-text); width: 10px; height: 10px; transition: all 0.3s ease; opacity: 0.7; }
.swiper-pagination-bullet-active { 
  background: var(--accent-text); transform: scale(1.3); 
  box-shadow: 0 0 10px var(--hover-glow); opacity: 1;
}

/* ===== CATEGORY SECTION ===== */
.category-section { margin: 40px 0; width: 100%; padding: 0 1rem; }
.category-title { 
  font-size: 2.2rem; color: #ffffff; margin-bottom: 30px; text-align: center; 
  position: relative; padding-bottom: 15px; width: 100%; text-shadow: 0 2px 10px rgba(0,0,0,0.3); 
}
.category-title::after { 
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); 
  width: 80px; height: 4px; background: linear-gradient(90deg, var(--light-shadow), var(--accent-text)); 
  border-radius: 2px; box-shadow: 0 2px 10px var(--hover-glow); 
}

/* ===== PRODUCT CAROUSEL ===== */
.product-carousel { 
  display: flex; gap: 20px; overflow-x: auto; padding: 20px 10px; scroll-behavior: smooth; 
  scrollbar-width: thin; scrollbar-color: #0066cc transparent; margin-bottom: 30px; width: 100%; 
}
.product-carousel::-webkit-scrollbar { height: 8px; }
.product-carousel::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 10px; margin: 0 15px; }
.product-carousel::-webkit-scrollbar-thumb { 
  background: linear-gradient(90deg, #003366, #0099ff); border-radius: 10px; 
  border: 2px solid rgba(255,255,255,0.3); 
}
.product-carousel::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #002244, #0088ff); }

/* ===== CARD DESIGN ===== */
.product-carousel .card { 
  flex: 0 0 auto; width: 150px; background: var(--card-surface); 
  border-radius: 20px; 
  box-shadow: 8px 8px 20px var(--dark-shadow), -8px -8px 20px var(--light-shadow); 
  transition: all 0.4s ease; overflow: hidden; 
  animation: fadeInUp 0.6s ease; position: relative; 
  border: 1px solid var(--inner-highlight); 
  backdrop-filter: blur(10px); 
}
.product-carousel .card::before { 
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; 
  background: linear-gradient(90deg, #00ff88, #00ccff, #0066ff); z-index: 2; 
}
.product-carousel .card::after { 
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; 
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); 
  transition: left 0.6s ease; z-index: 1; 
}
.product-carousel .card:hover::after { left: 100%; }
.product-carousel .card:hover { 
  transform: translateY(-8px) scale(1.02); 
  box-shadow: 4px 4px 15px var(--dark-shadow), -4px -4px 15px var(--light-shadow), 0 0 25px var(--hover-glow); 
  background: var(--card-surface-alt);
}

.card-image-container { 
  position: relative; width: 100%; height: 160px; overflow: hidden; 
  background: var(--card-surface-alt);
  box-shadow: inset 4px 4px 8px var(--dark-shadow), inset -4px -4px 8px var(--light-shadow);
}
.product-carousel .card img { 
  width: 100%; height: 100%; object-fit: contain; padding: 20px; 
  transition: all 0.4s ease; position: relative; z-index: 2; 
}
.product-carousel .card:hover img { transform: scale(1.1); }

.card-overlay { 
  background: var(--active-state); 
}

.auth-footer { 
  text-align: center; margin-top: 2rem; padding-top: 1.5rem; 
  border-top: 1px solid rgba(255,255,255,0.2); 
}
.auth-footer p { color: var(--secondary-text); }
.auth-link { 
  color: var(--accent-text); text-decoration: none; font-weight: 600; transition: all 0.3s ease; 
}
.auth-link:hover { color: var(--primary-text); text-decoration: underline; }

.auth-messages { margin-bottom: 1.5rem; }
.message { padding: 1rem 1.25rem; border-radius: 10px; text-align: center; font-weight: 500; }
.message.error { 
  background: rgba(255,71,87,0.2); color: #ff6b81; border: 1px solid rgba(255,107,129,0.3); 
}

/* ===== PROFILE STYLES ===== */
.profile-wrapper { display: flex; justify-content: center; margin: 40px 0; }
.profile-card { 
  width: 100%; max-width: 420px; background: rgba(255,255,255,0.1); border-radius: 20px; 
  box-shadow: 0 8px 25px rgba(0,0,0,0.1); padding: 25px; text-align: center; 
  animation: fadeInUp 0.6s ease; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); 
}
.profile-avatar-text { 
  width: 90px; height: 90px; margin: 0 auto; background: #0077b6; border-radius: 50%; 
  display: flex; align-items: center; justify-content: center; font-size: 2rem; color: white; 
  font-weight: 700; box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
}
.profile-header h1 { font-size: 1.6rem; color: #ffffff; margin-top: 10px; }
.profile-header .joined { font-size: 0.9rem; color: #cce6ff; }
.profile-info { 
  margin: 20px 0; background: rgba(255,255,255,0.1); border-radius: 14px; padding: 15px; 
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.05); 
}
.info-item { 
  display: flex; justify-content: space-between; padding: 8px 0; 
  border-bottom: 1px solid rgba(255,255,255,0.1); 
}
.info-item:last-child { border-bottom: none; }
.label { font-weight: 600; color: #cce6ff; }
.value { font-weight: 500; color: #ffffff; }
.profile-actions { display: flex; gap: 10px; margin-top: 15px; }
.action-btn { 
  flex: 1; text-align: center; background: #0077b6; color: white; border-radius: 10px; 
  padding: 10px 0; transition: 0.3s ease; text-decoration: none; 
}
.action-btn:hover { background: #005f8a; transform: scale(1.05); }
.action-btn.danger { background: #ef4444; }
.action-btn.danger:hover { background: #b91c1c; }

/* ===== FOOTER ENHANCEMENTS ===== */
.site-footer {
    background: linear-gradient(135deg, var(--base-bg) 0%, var(--card-surface) 50%, var(--card-surface-alt) 100%);
    color: var(--primary-text);
    padding: 50px 0 20px;
    margin-top: auto;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -8px 25px var(--dark-shadow);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--light-shadow), var(--accent-text), var(--hover-glow), var(--light-shadow));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

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

.site-footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
}

.footer-brand h1 {
    font-size: 1.1rem;
    color: var(--secondary-text);
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

.footer-brand h2 {
    font-size: 2rem;
    color: var(--primary-text);
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, var(--light-shadow), var(--accent-text));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--secondary-text);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--card-surface-alt);
    color: var(--primary-text);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid var(--inner-highlight);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 4px 4px 10px var(--dark-shadow), -4px -4px 10px var(--light-shadow);
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 2px 2px 8px var(--dark-shadow), -2px -2px 8px var(--light-shadow), 0 0 20px var(--hover-glow);
}

.contact-btn.wa:hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: #25D366;
}

.contact-btn.tg:hover {
    background: linear-gradient(135deg, #0088cc, #006699);
    border-color: #0088cc;
}

.contact-btn.ig:hover {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4, #5851DB, #405DE6);
    border-color: #E4405F;
}

.contact-btn i {
    font-size: 1.3rem;
    z-index: 2;
    position: relative;
}

/* Footer Links Section */
.footer-links h3, .footer-contact h3 {
    color: var(--primary-text);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links h3::before {
    content: '📋';
    font-size: 1.1rem;
}

.footer-contact h3::before {
    content: '📞';
    font-size: 1.1rem;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--light-shadow), var(--accent-text));
    border-radius: 2px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links li a {
    color: var(--secondary-text);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.5rem 0;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.footer-links li a:hover::before {
    left: 100%;
}

.footer-links li a:hover {
    color: var(--primary-text);
    transform: translateX(8px);
    background: var(--inner-highlight);
}

/* Footer Contact Section */
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--secondary-text);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0.5rem 0;
}

.footer-contact li:hover {
    color: var(--primary-text);
    transform: translateX(5px);
}

.footer-contact-icon {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--inner-highlight);
    color: var(--secondary-text);
    font-size: 0.9rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-text), transparent);
}

/* ===== MOBILE SEARCH OVERLAY ===== */
.mobile-search-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

#mobileSearchOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#mobileSearchOverlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.mobile-search-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.mobile-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mobile-search-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.3rem;
}

.mobile-search-close {
    background: none;
    border: none;
    color: #cce6ff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-search-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: rotate(90deg);
}

.mobile-search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    color: #003366;
    transition: all 0.3s ease;
}

.mobile-search-input:focus {
    outline: none;
    border-color: #0066cc;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.mobile-search-results {
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: none;
}
/* ===== PRODUCT DETAIL PAGE ENHANCEMENTS ===== */

/* Order Summary Styles */
.order-summary {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.6s ease;
}

.order-summary h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 10px;
}

.order-summary h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00ccff);
    border-radius: 2px;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e6f2ff;
    font-size: 0.95rem;
}

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

.summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: #00ccff;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    margin-top: 8px;
    padding-top: 12px;
}

/* Payment Methods Enhancement */
.payment-methods {
    margin: 25px 0;
    animation: fadeInUp 0.7s ease;
}

.payment-methods h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.payment-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option input {
    display: none;
}

.payment-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #e6f2ff;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.payment-option:hover .payment-card::before {
    left: 100%;
}

.payment-option input:checked + .payment-card {
    border-color: #0066cc;
    background: rgba(0, 102, 204, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.payment-option:hover .payment-card {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.payment-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003366, #0066cc);
    border-radius: 12px;
    color: white;
    flex-shrink: 0;
}

.payment-info {
    flex: 1;
}

.payment-info h4 {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.payment-info p {
    color: #cce6ff;
    margin-bottom: 5px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.payment-info small {
    color: #99ccff;
    font-size: 0.8rem;
}

/* Custom Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.4s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #cce6ff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-end;
}

.modal-cancel, .modal-confirm {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
    font-family: 'Rajdhani', sans-serif;
}

.modal-cancel {
    background: var(--card-surface-alt);
    color: var(--primary-text);
    border: 1px solid var(--inner-highlight);
    box-shadow: 4px 4px 8px var(--dark-shadow), -4px -4px 8px var(--light-shadow);
}

.modal-cancel:hover {
    background: var(--active-state);
    transform: translateY(-2px);
    box-shadow: 2px 2px 6px var(--dark-shadow), -2px -2px 6px var(--light-shadow), 0 0 10px var(--hover-glow);
}

.modal-confirm {
    background: var(--card-surface-alt);
    color: var(--primary-text);
    box-shadow: 6px 6px 15px var(--dark-shadow), -6px -6px 15px var(--light-shadow);
}

.modal-confirm:hover {
    background: var(--active-state);
    transform: translateY(-2px);
    box-shadow: 3px 3px 10px var(--dark-shadow), -3px -3px 10px var(--light-shadow), 0 0 15px var(--hover-glow);
}

/* Modal Content Styles */
.modal-error, .modal-success {
    padding: 0;
}

.modal-error h4, .modal-success h4 {
    color: #ff6b6b;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-success h4 {
    color: #51cf66;
}

.modal-error p, .modal-success p {
    color: #e6f2ff;
    margin-bottom: 15px;
    line-height: 1.5;
}

.modal-error ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.modal-error li {
    padding: 8px 12px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
    color: #ffa8a8;
    border-left: 3px solid #ff6b6b;
}

.confirmation-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e6f2ff;
}

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

.detail-row.total {
    font-weight: 700;
    color: #00ccff;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    margin-top: 10px;
    padding-top: 12px;
}

.detail-row strong {
    color: #cce6ff;
    font-weight: 600;
}

/* ===== PAYMENT PAGE ENHANCEMENTS ===== */

/* Summary Grid Styles */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #0066cc;
    transition: all 0.3s ease;
}

.summary-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.summary-item strong {
    color: #cce6ff;
    font-weight: 600;
    font-size: 0.9rem;
}

.summary-item span {
    color: #ffffff;
    font-weight: 500;
    text-align: right;
}

.summary-item .price {
    color: #00ccff;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Payment Method Badge */
.payment-method-badge {
    padding: 6px 12px;
    background: linear-gradient(135deg, #003366, #0066cc);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

/* Status Badge Enhancement */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.status-pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
}

.status-paid {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
}

.status-success {
    background: linear-gradient(135deg, #10b981, #047857);
    color: #ffffff;
}

/* Payment Method Instructions */
.payment-method-instruction {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.payment-method-instruction.active {
    display: block;
}

.payment-method-instruction h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Amount Info Styles */
.amount-info {
    background: linear-gradient(135deg, #003366, #0066cc);
    color: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amount-info strong {
    color: #cce6ff;
}

.amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #00ff88;
}

/* E-Wallet Steps Enhancement */
.ewallet-steps, .va-steps, .qris-steps {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ewallet-steps h4, .va-steps h4, .qris-steps h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.ewallet-steps ol, .va-steps ol, .qris-steps ol {
    padding-left: 20px;
    color: #e6f2ff;
}

.ewallet-steps li, .va-steps li, .qris-steps li {
    margin-bottom: 10px;
    padding: 8px 0;
    line-height: 1.5;
}

/* Upload Proof Enhancement */
.upload-proof {
    animation: fadeInUp 0.8s ease;
}

.proof-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.file-input-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    border-radius: 16px;
}

.file-input-container input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border: 3px dashed #0066cc;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: #e6f2ff;
    position: relative;
    overflow: hidden;
}

.file-input-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.file-input-label:hover::before {
    left: 100%;
}

.file-input-label:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #004d99;
    transform: translateY(-2px);
}

.file-input-label i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0066cc;
}

.file-text {
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
    color: #ffffff;
}

.file-types {
    color: #99ccff;
    font-size: 0.9rem;
}

/* Download Button Enhancement */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #003366, #0066cc);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
    gap: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.4);
    background: linear-gradient(135deg, #002244, #004d99);
}

/* Copy Button Enhancement */
.copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ===== ANIMATION ENHANCEMENTS ===== */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .summary-item {
        padding: 10px 12px;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-cancel, .modal-confirm {
        width: 100%;
    }
    
    .amount-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .file-input-label {
        padding: 2rem 1rem;
    }
    
    .file-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .order-summary {
        padding: 15px;
    }
    
    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .payment-card {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .payment-icon {
        align-self: center;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .payment-card, .order-summary, .summary-item {
        border: 2px solid #ffffff;
    }
    
    .file-input-label {
        border: 3px solid #ffffff;
    }
}

/* Dark mode optimization */
@media (prefers-color-scheme: dark) {
    .payment-card, .order-summary, .modal-content {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* Print styles */
@media print {
    .payment-page {
        background: white !important;
        color: black !important;
    }
    
    .payment-card, .order-summary {
        background: white !important;
        color: black !important;
        border: 1px solid #000 !important;
    }
    
    .btn-download, .copy-btn, .upload-btn {
        display: none !important;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .payment-grid { grid-template-columns: 1fr; }
  .summary-sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 900px) {
  .mobile-toggle { display: flex; }
  .search-form { display: none; }
  .site-header .container { padding: 0 1rem; }
  .main-nav { 
    position: fixed; top: 70px; left: 0; right: 0; 
    background: linear-gradient(135deg, #003366, #0066cc); flex-direction: column; 
    padding: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transform: translateY(-20px); 
    opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999; 
    border-radius: 0 0 20px 20px; backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); 
  }
  .main-nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { 
    width: 100%; text-align: center; padding: 1rem 1.25rem; border-radius: 10px; 
    margin: 0.2rem 0; border: 1px solid rgba(255,255,255,0.1); font-size: 1rem; 
  }
  .main-nav a:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
  .main-nav a::after { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .category-title { font-size: 1.8rem; }
  .product-carousel .card { width: 260px; }
  .payment-page h1 { font-size: 1.8rem; }
  .payment-card { padding: 1.5rem; }
  .payment-options { grid-template-columns: 1fr; }
  .table-wrapper, .transactions-table { display: none; }
  .order-card-list, .transaction-cards { display: flex; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer-links h3::after, .footer-contact h3::after { left: 50%; transform: translateX(-50%); }
  .footer-social { justify-content: center; }
  .category-nav { gap: 8px; }
  .category-nav-btn { padding: 10px 18px; font-size: 0.85rem; }
  .qris-img { max-width: 200px; }
  .va-code { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .category-title { font-size: 1.6rem; }
  .product-carousel .card { width: 240px; }
  .logo-img { height: 40px; }
  .load-more-btn { padding: 12px 24px; font-size: 1rem; }
  .payment-page { padding: 15px; }
  .payment-page h1 { font-size: 1.6rem; }
  .payment-card { padding: 1.25rem; }
  .footer-grid { gap: 1.5rem; }
  .product-carousel .meta h3 { font-size: 1rem; }
  .product-carousel .meta .price { font-size: 1.1rem; }
  .qris-img { max-width: 180px; }
  .va-code { font-size: 1.1rem; letter-spacing: 1px; }
  .file-input-label { padding: 2rem 1rem; }
}

/* ===== UTILITY CLASSES ===== */
.fade-up { animation: fadeInUp 0.6s ease both; }
.slide-in-left { animation: slideInLeft 0.6s ease both; }
.pulse { animation: pulse 2s infinite; }
body.nav-open { overflow: hidden; }
.full-width { width: 100% !important; max-width: 100% !important; }
.no-max-width { max-width: none !important; }
.text-center { text-align: center; }

/* Enhanced Focus Styles for Accessibility */
button:focus-visible, input:focus-visible, a:focus-visible { 
  outline: 3px solid var(--accent-text); outline-offset: 2px; border-radius: 4px; 
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--card-surface); border-radius: 8px; }
::-webkit-scrollbar-thumb { 
  background: var(--card-surface-alt); 
  border-radius: 8px; 
  box-shadow: inset 2px 2px 4px var(--dark-shadow), inset -2px -2px 4px var(--light-shadow);
}
::-webkit-scrollbar-thumb:hover { 
  background: var(--active-state); 
  box-shadow: inset 1px 1px 3px var(--dark-shadow), inset -1px -1px 3px var(--light-shadow);
}