* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #08150E;
  background-image: none;
  background-attachment: fixed;
  color: #e8f0ec;
  padding: 16px;
  padding-bottom: 120px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cardAppear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); } 50% { box-shadow: 0 0 0 4px rgba(251, 191, 36, 0); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(20px); } }
@keyframes blinkGreen { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }
@keyframes runningTextAnim { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: #08150E;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -16px -16px 20px -16px;
  padding: 14px 16px;
  border-bottom: 1px solid #08150E;
}

@media (min-width: 768px) {
  header {
    margin: -30px -20px 30px -20px;
    padding: 16px 20px;
  }
}


header h1 { font-size: 18px; font-weight: 800; color: #fff; }
.header-title-block { display: flex; flex-direction: column; gap: 4px; }
.header-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #a7f3d0; font-weight: 500; }

.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-dot.online { background: #34d399; animation: blinkGreen 2s ease-in-out infinite; }
.status-dot.offline { background: #7fb8a0; }

.header-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.header-actions .action-btn {
  padding: 6px 10px;
  font-size: 11px;
  background: #122a20;
  border: 1px solid #1a3d2e;
  color: #7dd3fc;
  border-radius: 6px;
}

.top-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}

.action-btn {
  background: #122a20;
  color: #7dd3fc;
  border: 1px solid #1a3d2e;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.action-btn:active { background: #1a3d2e; transform: scale(0.96); }

.alert-banner {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-left: 4px solid #fbbf24;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
}

.alert-icon { font-size: 18px; line-height: 1.2; flex-shrink: 0; }
.alert-text { font-size: 11px; color: #fde68a; line-height: 1.5; }
.alert-text b { color: #fbbf24; display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: 0.5px; }

.alert-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent !important;
  border: none !important;
  color: #fbbf24 !important;
  font-size: 20px !important;
  padding: 0 !important;
  width: auto !important;
  cursor: pointer;
}

.stats-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.stat-box {
  background: #0f2219;
  border: 1px solid #1a3d2e;
  border-radius: 10px;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-icon {
  font-size: 18px;
  background: #153d2c;
  padding: 6px;
  border-radius: 8px;
}

.stat-info { display: flex; flex-direction: column; }
.stat-number { font-size: 14px; font-weight: 800; color: #7dd3fc; line-height: 1.1; }
.stat-label { font-size: 9px; color: #a7f3d0; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

.search-container {
  display: flex;
  align-items: center;
  background: #0f2219;
  border: 1px solid #1a3d2e;
  border-radius: 10px;
  padding: 0 14px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.search-container:focus-within { border-color: #7dd3fc; }
.search-icon { font-size: 16px; margin-right: 10px; opacity: 0.6; }

.search-container input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  padding: 14px 0 !important;
  margin: 0 !important;
  color: #fff;
  font-size: 14px;
  outline: none !important;
  box-shadow: none !important;
}

.search-container input::placeholder { color: #4a7a65; }

.running-text {
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 6px;
  padding: 8px 0;
  margin-bottom: 20px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
}

.running-text-content {
  display: inline-block;
  padding-left: 100%;
  animation: runningTextAnim 15s linear infinite;
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 600;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  color: #a7f3d0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 24px 0 12px;
  padding-left: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before { content: ""; width: 4px; height: 14px; background: #7dd3fc; border-radius: 2px; }

.tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  background: #122a20;
  color: #a7f3d0;
  border: 1px solid #1a3d2e;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  width: auto;
  transition: all 0.2s;
}
.tab-btn.active { background: #7dd3fc; color: #091610; border-color: #7dd3fc; }
.tab-btn:active { transform: scale(0.94); }
.tab-count { display: inline-block; background: rgba(0,0,0,0.15); padding: 1px 6px; border-radius: 8px; font-size: 10px; margin-left: 4px; font-weight: 700; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }

.card {
  background: #0f2219;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #1a3d2e;
  position: relative;
  animation: cardAppear 0.3s ease backwards;
  display: flex;
  flex-direction: column;
}
.card:active { transform: scale(0.98); border-color: #7dd3fc; }
.card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; color: #fff; }
.card p { font-size: 11px; color: #a7f3d0; margin-bottom: 12px; line-height: 1.4; flex-grow: 1; }
.card .price { color: #7dd3fc; font-weight: 800; font-size: 18px; margin-bottom: 12px; letter-spacing: -0.5px; }

.card .badge-sold {
  position: absolute; top: 12px; right: 12px;
  background: rgba(239, 68, 68, 0.15); color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 9px; font-weight: 700; padding: 3px 6px; border-radius: 6px; text-transform: uppercase;
}

.event-badge {
  display: inline-block;
  background: #fbbf24;
  color: #091610;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  margin-bottom: 10px;
  position: static;
}
.event-badge.sold { background: #ef4444; color: #fff; }

.card.sold-out-card { opacity: 0.5; pointer-events: none; filter: grayscale(0.5); }
.card.disabled { pointer-events: auto; }
.card.disabled button:disabled { background: #0d1f17 !important; color: #4a7a65 !important; border-color: #1a3d2e !important; opacity: 0.7; }

button {
  background: #153d2c;
  color: #7dd3fc;
  border: 1px solid #26694f;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  width: 100%;
  transition: all 0.15s;
  font-family: inherit;
  user-select: none;
}
button:active { transform: scale(0.97); background: #1a4a35; }
button:disabled { background: #0d1f17; color: #4a7a65; border-color: #153d2c; cursor: not-allowed; }
button.btn-success { background: #34d399; color: #091610; border-color: #34d399; }
button.btn-success:active { background: #6ee7b7; }
button.btn-secondary { background: #11281e; color: #e8f0ec; border-color: #1a3d2e; }
button.btn-secondary:active { background: #1a3a2c; }

.modal {
  position: fixed; inset: 0;
  background: rgba(5, 15, 10, 0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; z-index: 100; overflow-y: auto;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.modal-content {
  background: #0f2219;
  padding: 24px; border-radius: 16px;
  max-width: 440px; width: 100%; max-height: 92vh; overflow-y: auto;
  position: relative; border: 1px solid #26694f;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  animation: modalIn 0.25s ease;
}
.modal-content h2 { font-size: 18px; font-weight: 800; margin-bottom: 12px; padding-right: 30px; color: #fff; }
.modal-content h3 { font-size: 13px; font-weight: 700; margin: 20px 0 8px; color: #7dd3fc; text-transform: uppercase; letter-spacing: 1px; }

.modal-content .close {
  position: absolute; top: 16px; right: 16px;
  font-size: 24px; cursor: pointer; color: #a7f3d0; line-height: 1;
  background: #153d2c; border: 1px solid #26694f;
  border-radius: 50%; padding: 0; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.modal-content .close:active { background: #1f4d3a; }

input[type="file"], input[type="number"], input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%; padding: 14px; margin-bottom: 12px;
  border-radius: 10px; border: 1px solid #1a3d2e;
  background: #091610; color: #fff;
  font-size: 14px; font-family: inherit;
  transition: border-color 0.2s;
}
input:focus, textarea:focus { outline: none; border-color: #7dd3fc; }
input::placeholder, textarea::placeholder { color: #4a7a65; }
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
label { display: block; font-size: 12px; color: #a7f3d0; margin-bottom: 6px; margin-top: 14px; font-weight: 600; }

.hidden { display: none !important; }
#qrisImg { width: 100%; border-radius: 10px; margin: 12px 0; background: white; }

#danaBox, #shopeepayBox {
  background: #091610; border: 1px solid #1a3d2e;
  border-radius: 10px; padding: 16px; margin: 10px 0;
}
#danaBox p, #shopeepayBox p { font-size: 14px; margin-bottom: 8px; color: #a7f3d0; }
#danaBox b, #shopeepayBox b { color: #fff; font-size: 15px; }

.pay-btn-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 8px; }
.pay-btn-row-3 button { font-size: 12px; padding: 12px 4px; }

.status-badge {
  display: inline-block; padding: 5px 12px; border-radius: 20px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
}
.status-pending { background: #fbbf24; color: #091610; animation: pulse 2s infinite; }
.status-processing { background: #3b82f6; color: #fff; }
.status-delivered { background: #34d399; color: #091610; }
.status-cancelled { background: #ef4444; color: #fff; }

#trackResult {
  margin-top: 16px; padding: 16px;
  background: #091610; border-radius: 12px; border: 1px solid #1a3d2e;
  font-size: 13px; line-height: 1.7;
}
#trackResult p { margin-bottom: 6px; }
#trackResult b { color: #a7f3d0; font-weight: 600; font-size: 12px; }
#trackResult hr { margin: 12px 0; border: none; border-top: 1px solid #1a3d2e; }
#trackResult h4 { font-size: 12px; margin-bottom: 8px; color: #34d399; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
#trackResult img { width: 100%; border-radius: 8px; margin-top: 8px; }

.info-text { font-size: 12px; color: #a7f3d0; margin: 6px 0; line-height: 1.5; }
.info-text b { color: #fff; }
.loading { text-align: center; padding: 40px 20px; color: #4a7a65; font-size: 14px; }

.order-card {
  background: #0f2219; border: 1px solid #1a3d2e;
  border-radius: 14px; padding: 16px; margin-bottom: 14px;
  animation: cardAppear 0.3s ease backwards;
}
.order-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.order-header b { font-size: 14px; font-weight: 700; color: #fff; }
.order-meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #a7f3d0; margin-bottom: 12px; line-height: 1.5; }

.note-box { background: #091610; border-left: 3px solid #7dd3fc; padding: 12px; border-radius: 8px; margin: 12px 0; }
.note-box .note-label { font-size: 10px; color: #a7f3d0; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.note-box .note-content { font-size: 13px; color: #d9e5e0; white-space: pre-wrap; word-break: break-word; line-height: 1.5; }

.form-data-box { background: #091610; border-left: 3px solid #34d399; padding: 12px; border-radius: 8px; margin: 12px 0; }
.form-data-box .note-label { font-size: 10px; color: #a7f3d0; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.form-data-box table { width: 100%; border-collapse: collapse; font-size: 13px; }
.form-data-box td { padding: 4px 0; vertical-align: top; color: #d9e5e0; }
.form-data-box td:first-child { color: #a7f3d0; font-weight: 600; width: 40%; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1a3d2e; border-radius: 3px; }

.popup-order-success { text-align: center; padding: 28px 22px 24px; }
.popup-order-success .success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #153d2c; color: #34d399;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; margin: 0 auto 16px;
  border: 2px solid #34d399;
}
.popup-order-success .success-title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 6px; padding: 0; }
.popup-order-success .success-subtitle { font-size: 13px; color: #a7f3d0; margin-bottom: 20px; }
.popup-order-success .order-number-display {
  background: #091610; border: 1px solid #7dd3fc;
  border-radius: 12px; padding: 20px 16px; margin-bottom: 16px;
  font-size: 28px; font-weight: 800; color: #7dd3fc;
  letter-spacing: 5px; font-family: "Courier New", monospace;
  user-select: all; -webkit-user-select: all; cursor: pointer;
}
.popup-order-success .order-number-display:active { transform: scale(0.98); border-color: #34d399; color: #34d399; }
.popup-order-success .btn-copy { background: #153d2c; color: #fff; border: 1px solid #26694f; padding: 14px; border-radius: 10px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.popup-order-success .success-note { font-size: 12px; color: #a7f3d0; line-height: 1.6; margin-bottom: 18px; padding: 12px; background: #091610; border-radius: 8px; border-left: 2px solid #7dd3fc; text-align: left; }

.toast {
  position: fixed; bottom: 90px; left: 16px; right: 16px;
  background: #34d399; color: #091610;
  padding: 14px 18px; border-radius: 12px;
  font-weight: 800; font-size: 14px; text-align: center;
  z-index: 9999; box-shadow: 0 8px 24px rgba(52, 211, 153, 0.3);
  animation: toastIn 0.3s ease;
}
.toast.hiding { animation: toastOut 0.3s forwards; }

.step-indicator { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.step-dot { width: 30px; height: 4px; background: #1a3d2e; border-radius: 2px; transition: background 0.3s; }
.step-dot.active { background: #7dd3fc; }
.step-dot.done { background: #34d399; }

.total-price-box { background: #091610; border: 1px solid #34d399; border-radius: 12px; padding: 16px; text-align: center; font-size: 26px; font-weight: 800; color: #34d399; margin-bottom: 16px; }
.warning-box { background: rgba(74, 107, 58, 0.2); border: 1px solid rgba(74, 107, 58, 0.5); border-radius: 10px; padding: 14px; margin: 12px 0 16px; font-size: 12px; line-height: 1.6; color: #d4dc8a; font-weight: 600; }

.checkbox-wrapper { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0; padding: 14px; background: #091610; border-radius: 10px; border: 1px solid #1a3d2e; }
.checkbox-wrapper input[type="checkbox"] { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: #7dd3fc; cursor: pointer; }
.checkbox-wrapper label { margin: 0; font-size: 13px; color: #fff; line-height: 1.5; cursor: pointer; font-weight: 600; }

.product-select {
  width: 100%; padding: 14px; border-radius: 10px;
  border: 1px solid #1a3d2e; background: #091610; color: #fff;
  font-size: 14px; font-family: inherit; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a7f3d0' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.product-select:focus { outline: none; border-color: #7dd3fc; }
.product-select option { background: #091610; color: #fff; }

.radio-group { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.radio-option {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  background: #091610; border: 1px solid #1a3d2e; border-radius: 10px;
  cursor: pointer; transition: all 0.15s; margin: 0;
  font-size: 14px; color: #fff; font-weight: 500;
}
.radio-option:active { background: #0f2219; }
.radio-option input[type="radio"] { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: #7dd3fc; cursor: pointer; }
.radio-option:has(input:checked) { border-color: #7dd3fc; background: #0f2219; }

@media (max-width: 400px) {
  .stats-container { gap: 6px; }
  .stat-box { padding: 8px 6px; gap: 4px; flex-direction: column; text-align: center; }
  .stat-icon { font-size: 14px; padding: 4px; }
  .stat-number { font-size: 13px; }
  .stat-label { font-size: 8px; }
}

@media (min-width: 768px) {
  body { max-width: 1100px; margin: 0 auto; padding: 30px 20px; padding-bottom: 100px; }
  header { margin-bottom: 30px; }
  .header-actions { flex-direction: row; gap: 12px; }
  .header-actions .action-btn { padding: 10px 20px; font-size: 13px; }
  .stats-container { gap: 20px; margin-bottom: 24px; }
  .stat-box { padding: 20px; gap: 15px; }
  .stat-icon { font-size: 28px; padding: 12px; }
  .stat-number { font-size: 24px; }
  .stat-label { font-size: 12px; }
  .search-container { padding: 0 20px; margin-bottom: 24px; }
  .search-container input { padding: 18px 0 !important; font-size: 16px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
  .card { padding: 20px; }
  .card h3 { font-size: 18px; }
  .card p { font-size: 14px; }
  .card .price { font-size: 22px; }
  .modal-content { max-width: 550px; padding: 30px; }
  .running-text-content { font-size: 14px; }
}

@media (min-width: 1200px) {
  body { max-width: 1200px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
}

#statusText {
  font-size: 13px;
  color: #a7f3d0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* === BOTTOM NAVIGATION BAR === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 43, 32, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(94, 159, 160, 0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 65px;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8b8f96;
  font-size: 20px;
  flex: 1;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-item small {
  font-size: 9px;
  margin-top: 4px;
  font-weight: 600;
}

.nav-item:active { transform: scale(0.9); }
.nav-item.active { color: #7dd3fc; }

.cart-nav {
  position: relative;
  top: -15px;
}

.cart-circle {
  background: #7dd3fc;
  color: #091610;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(125, 211, 252, 0.4);
  position: relative;
}

#cartCount {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 800;
  border: 2px solid #0f2219;
}

.floating-cart { display: none !important; }

#adminContent .bottom-nav,
#adminContent .cart-circle,
#adminContent .nav-item {
  display: none !important;
}

/* === SKELETON LOADING === */
@keyframes shimmer {
  0% { background-position: -468px 0; }
  100% { background-position: 468px 0; }
}
.shimmer {
  background: #0f2219;
  background-image: linear-gradient(to right, #0f2219 0%, #1a3d2e 20%, #0f2219 40%, #0f2219 100%);
  background-repeat: no-repeat;
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite linear forwards;
}
.skeleton-pill {
  width: 80px;
  height: 32px;
  border-radius: 20px;
  background: #0f2219;
  background-image: linear-gradient(to right, #0f2219 0%, #1a3d2e 20%, #0f2219 40%, #0f2219 100%);
  background-repeat: no-repeat;
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite linear forwards;
  flex-shrink: 0;
}
.skeleton-card {
  background: #0f2219;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #1a3d2e;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skeleton-img {
  width: 100%;
  height: 80px;
  border-radius: 8px;
}
.skeleton-title {
  width: 100%;
  height: 14px;
  border-radius: 4px;
}
.skeleton-title.short {
  width: 60%;
}
.skeleton-btn {
  width: 100%;
  height: 38px;
  border-radius: 8px;
  margin-top: 5px;
}

/* =====================================================================
   ===  UIVERSE OVERRIDES — SEARCH, CARD, TOMBOL, QTY, CHECKBOX, LOGOUT
   ===================================================================== */

/* 1. SEARCH — LightAndy1/tidy-pig-67 */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 16px;
}
.search-container .search-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  pointer-events: none;
  z-index: 2;
  margin: 0;
  opacity: 0.7;
}
.search-container input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px !important;
  margin: 0 !important;
  border: 0;
  border-radius: 12px;
  background-color: #0f2219;
  color: #e8f0ec;
  font-size: 14px;
  outline: none;
  box-shadow: 0 0 0 1.5px #1a3d2e, 0 0 25px -17px #000;
  transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
}
.search-container input::placeholder { color: #4a7a65; }
.search-container input:hover { box-shadow: 0 0 0 2px #26694f, 0 0 25px -15px #000; }
.search-container input:focus { box-shadow: 0 0 0 2.5px #7dd3fc; }

/* 2. CARD PRODUK — bhaveshxrawat/dangerous-quail-58 */
.card {
  background: linear-gradient(170deg, #0f2219 0%, #091610 100%);
  border-radius: 20px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #1a3d2e;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.15) 0%, transparent 70%);
  top: -40px; right: -40px;
  border-radius: 50%;
  transition: all 0.5s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #7dd3fc;
  box-shadow: 0 15px 35px rgba(125, 211, 252, 0.15), 0 0 0 1px #7dd3fc;
}
.card:hover::before { transform: scale(1.5); background: radial-gradient(circle, rgba(52, 211, 153, 0.2) 0%, transparent 70%); }
.card h3, .card p, .card .price { position: relative; z-index: 1; }
.card .badge-sold, .card .event-badge { z-index: 2; }

/* 2b. CARD PREMIUM (pita PREMIUM) — mrhyddenn/massive-earwig-94
   Otomatis aktif untuk kartu event gratis (.event-badge ada) */
.card:has(.event-badge) {
  background: linear-gradient(170deg, #1a2e25 0%, #0a1a12 100%);
  border: 1px solid #2a5a44;
}
.card:has(.event-badge)::after {
  content: "PREMIUM";
  position: absolute;
  top: 14px; left: -35px;
  width: 140px; height: 24px;
  background: linear-gradient(45deg, #7dd3fc 0%, #34d399 51%, #7dd3fc 100%);
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  color: #091610; font-weight: 800; font-size: 9px;
  letter-spacing: 0.15em; text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
  z-index: 3;
  pointer-events: none;
}

/* 3. TOMBOL — 0xnihilism/fresh-cobra-9
   Override .btn-success & .btn-secondary dengan efek glow bawah */
button.btn-success,
button.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  transition: transform 0.15s ease, background-color 0.2s ease;
  width: 100%;
  font-family: inherit;
}

button.btn-success::before,
button.btn-secondary::before,
button.btn-success::after,
button.btn-secondary::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  pointer-events: none;
  border-radius: 8px;
  transition: opacity 1.2s ease-in-out;
}

/* Glow bawah (default) */
button.btn-success::before,
button.btn-secondary::before {
  top: 0;
  background: radial-gradient(15% 50% at 50% 100%, #7dd3fc 0%, rgba(125, 211, 252, 0) 100%);
  filter: blur(15px);
  opacity: 1;
  z-index: -1;
}

/* Glow bawah (hover) */
button.btn-success::after,
button.btn-secondary::after {
  top: 0;
  background: radial-gradient(60.6% 50% at 50% 100%, #34d399 0%, rgba(52, 211, 153, 0) 100%);
  filter: blur(18px);
  opacity: 0;
  z-index: -1;
}

button.btn-success:hover::before,
button.btn-secondary:hover::before { opacity: 0; }
button.btn-success:hover::after,
button.btn-secondary:hover::after { opacity: 1; }

/* Varian warna default */
button.btn-success { background-color: #153d2c; color: #a7f3d0; }
button.btn-secondary { background-color: #11281e; color: #7dd3fc; border: 1px solid #1a3d2e; }

button.btn-success:hover,
button.btn-secondary:hover { color: #fff; }
button.btn-success:active,
button.btn-secondary:active { transform: scale(0.95); }
button.btn-success:disabled,
button.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #0d1f17;
  color: #4a7a65;
}
button.btn-success:disabled::before,
button.btn-success:disabled::after,
button.btn-secondary:disabled::before,
button.btn-secondary:disabled::after { display: none; }

/* 4. QTY KERANJANG — PriyanshuGupta28/tender-fish-11 */
#cartList button {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #1a3d2e !important;
  background: #153d2c !important;
  color: #7dd3fc !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  box-shadow: none !important;
}
#cartList button::before,
#cartList button::after { display: none !important; }
#cartList button:hover { background: #1a4a35 !important; color: #fff !important; }
#cartList button:active { transform: scale(0.94) !important; }

/* 6. LOGOUT BULAT (tanpa animasi teks) — vinodjangid07/thin-duck-22 */
.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  min-width: 45px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background-color: #ef4444;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  padding: 0;
  transition: background-color 0.2s;
}
.logout-btn:hover { background-color: #dc2626; }
.logout-btn:active { transform: translate(1px, 1px); }
.logout-btn svg { width: 20px; height: 20px; }
.logout-btn svg path { fill: white; }