:root {
  --primary: #173F73;
  --primary-dark: #102D54;
  --primary-soft: #E8F0FA;
  --secondary: #F5C542;
  --accent: #2F80ED;
  --background: #F8FAFC;
  --surface: #FFFFFF;
  --text: #172033;
  --muted: #667085;
  --border: #E5EAF0;
  --success: #16A36A;
  --danger: #DC2626;
}
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: var(--background); color: var(--text); overflow-x: hidden; }
img { object-fit: cover; }
.nav-solid { background: rgba(255,255,255,0.96); box-shadow: 0 8px 24px rgba(23,32,51,0.06); }
.hide-scroll::-webkit-scrollbar { display: none; }
.hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }
.product-card { border: 1px solid var(--border); transition: border-color .2s ease; }
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
.product-card:hover { border-color: #B7C7DC; }
.ktm-mock { background: #173F73; color: #fff; border-radius: 16px; }
.lanyard-ribbon { background: linear-gradient(180deg, #173F73 0%, #2F80ED 100%); width: 42px; border-radius: 4px; }
.pay-option {
  border: 1.5px solid var(--border);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.pay-option.selected,
.pay-option:has(:checked) {
  border-color: var(--primary);
  background: #E8F0FA;
  color: var(--primary-dark);
}
.pay-option:has(:disabled) { opacity: .55; cursor: not-allowed; }
.error-text { color: #DC2626; font-size: 12px; margin-top: 4px; }
.float-wa { transition: bottom .25s ease; bottom: 88px; }
.float-wa.raised { bottom: 148px; }
input, select, textarea { font-size: 16px; }
button, a { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.sticky-cta { padding-bottom: env(safe-area-inset-bottom); }
.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 36px;
  padding: 0 .85rem;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.admin-btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(23,63,115,.18); }
.admin-btn-primary:hover { background: var(--primary-dark); }
.admin-btn-secondary { background: var(--primary-soft); color: var(--primary); }
.admin-btn-secondary:hover { background: var(--primary); color: #fff; }
.admin-btn-ghost { background: #fff; color: var(--text); border-color: var(--border); }
.admin-btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.admin-btn-danger { background: #FEF2F2; color: #B91C1C; }
.admin-btn-danger:hover { background: #DC2626; color: #fff; }
.admin-btn-success { background: #ECFDF5; color: #047857; }
.admin-btn-success:hover { background: var(--success); color: #fff; }
.admin-btn-lg { min-height: 44px; padding: 0 1.15rem; font-size: 13px; border-radius: 12px; }
.admin-table tbody tr:hover { background: #F8FBFF; }
.admin-switch { position: relative; display: inline-flex; width: 44px; height: 26px; }
.admin-switch input { opacity: 0; width: 0; height: 0; }
.admin-switch span {
  position: absolute; inset: 0; background: #D0D5DD; border-radius: 999px; cursor: pointer; transition: background .15s ease;
}
.admin-switch span::after {
  content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%;
  transition: transform .15s ease; box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.admin-switch input:checked + span { background: var(--primary); }
.admin-switch input:checked + span::after { transform: translateX(18px); }
.admin-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 768px) {
  .float-wa { bottom: 24px; }
  .float-wa.raised { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
