@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --cs-bg: #0d0f10;
  --cs-panel: #15191d;
  --cs-panel-2: #1b2025;
  --cs-text: #e8ebee;
  --cs-muted: #97a3ae;
  --cs-accent: #35d3b2;
  --cs-accent-soft: rgba(53, 211, 178, 0.16);
}

* {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--cs-text);
  background:
    radial-gradient(circle at 15% -10%, rgba(53, 211, 178, 0.2), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #0b0d0f 0%, #0f1113 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: "Space Grotesk", sans-serif;
}

.tracking {
  letter-spacing: 0.4px;
}

.nav-glass {
  background: rgba(9, 11, 13, 0.86);
  backdrop-filter: blur(8px);
}

.navbar .nav-link.active {
  color: var(--cs-accent) !important;
}

.btn-accent {
  background-color: var(--cs-accent);
  color: #072118;
  border: 0;
  font-weight: 700;
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: #4be2c2;
  color: #051811;
}

.text-bg-accent {
  background-color: var(--cs-accent) !important;
  color: #041510 !important;
}

.nav-cart-badge {
  position: absolute;
  top: -2px;
  right: -12px;
}

.card,
.modal-content,
.offcanvas,
.dropdown-menu {
  background: linear-gradient(180deg, var(--cs-panel) 0%, var(--cs-panel-2) 100%);
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.product-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24) !important;
}

.product-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.hero-panel {
  border-radius: 1.5rem;
  border: 1px solid rgba(53, 211, 178, 0.28);
  background: linear-gradient(140deg, rgba(53, 211, 178, 0.15), rgba(53, 211, 178, 0.04));
}

.accent-soft {
  background-color: var(--cs-accent-soft);
}

.form-control,
.form-select,
.input-group-text {
  border-radius: 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(53, 211, 178, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(53, 211, 178, 0.16);
}

.table > :not(caption) > * > * {
  background-color: transparent;
}

.badge.bg-secondary-subtle {
  color: #d7dee4;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination .page-link {
  background-color: #161a1f;
  border-color: rgba(255, 255, 255, 0.1);
  color: #dae1e7;
}

.pagination .page-item.active .page-link {
  background-color: var(--cs-accent);
  border-color: var(--cs-accent);
  color: #072118;
}

.list-group-item {
  background-color: #13171b;
  color: var(--cs-text);
  border-color: rgba(255, 255, 255, 0.08);
}

.list-group-item-action:hover {
  background-color: #1a1f24;
  color: var(--cs-text);
}

.order-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.timeline-step {
  position: relative;
  text-align: center;
}

.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 8px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.timeline-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--cs-muted);
}

.timeline-step.done .timeline-dot,
.timeline-step.active .timeline-dot {
  background: var(--cs-accent);
  border-color: var(--cs-accent);
}

.timeline-step.done .timeline-label,
.timeline-step.active .timeline-label {
  color: #d9f9f2;
}

.timeline-step.done:not(:last-child)::after {
  background: var(--cs-accent);
}

.skeleton-card .placeholder {
  animation: skeletonPulse 1.25s ease-in-out infinite;
}

@keyframes skeletonPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.9;
  }
}

.fade-up {
  animation: fadeUp 0.45s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qr-box {
  background: #ffffff;
  display: inline-flex;
  padding: 10px;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 991.98px) {
  .product-thumb {
    height: 165px;
  }

  .nav-cart-badge {
    right: -8px;
  }

  .order-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.5rem;
  }

  .timeline-step:not(:last-child)::after {
    display: none;
  }
}
