body {
  font-family: 'Inter', sans-serif;
}

:root {
  scroll-behavior: smooth;
}

.hero-gradient {
  background: linear-gradient(135deg, #0f2340 0%, #1e3a5f 50%, #24497a 100%);
}

#mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .3s;
}

#mobile-menu.open {
  max-height: 420px;
  opacity: 1;
}

.badge-fast {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.badge-regular {
  background: #fef9c3;
  color: #a16207;
  border: 1px solid #fde047;
}

.badge-special {
  background: #ede9fe;
  color: #6d28d9;
  border: 1px solid #c4b5fd;
}

.feature-card,
.product-card {
  transition: transform .2s, box-shadow .2s;
}

.feature-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

.swatch-item {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  position: relative;
  flex-shrink: 0;
}

.swatch-item:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.swatch-item.selected {
  border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, .28);
}

.swatch-item[data-light="true"] {
  border-color: #d1d5db;
}

.swatch-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.swatch-panel.open {
  max-height: 260px;
}

.viewer-shell {
  min-height: 460px;
}

.viewer-stage {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .9), transparent 28%),
    linear-gradient(135deg, #e5e7eb 0%, #f8fafc 45%, #cbd5e1 100%);
  border: 1px solid #e5e7eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 20px 45px rgba(15, 35, 64, .08);
}

model-viewer {
  width: 100%;
  height: 420px;
  background: transparent;
  border-radius: 16px;
}

thead tr th {
  background: #1e3a5f;
  color: #fff;
}

tbody tr:nth-child(even) {
  background: #f0f4f8;
}

tbody tr:hover {
  background: #e0eaff;
}

.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #93c5fd;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: #2d5a96;
  color: #fff;
}

.section-panel {
  display: none;
}

.section-panel.active {
  display: block;
}

.form-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
}

.form-input:focus {
  border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, .1);
}

@media (max-width: 768px) {
  #sidebar {
    display: none;
  }

  #sidebar.mob-open {
    display: flex;
    position: fixed;
    inset: 0 auto 0 0;
    width: 250px;
    z-index: 60;
  }
}
