@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600;700&display=swap");
:root {
  --primary: #e60023;
  --dark: #0f172a;
  --light: #ffffff;
  --grey: #94a3b8;
}

* {
  font-family: "Inter", sans-serif;
}

.hero {
  padding-top: 6rem !important;
  padding: 2rem;
  background: #0f1821f7;
  overflow-x: hidden;
}

.ecommerce-hero-carousel {
  height: 500px;
  overflow: hidden;
}

.ecommerce-hero-carousel .swiper-slide {
  height: 100%;
  min-height: 0;
}

.ecommerce-hero-image {
  width: 100%;
}

.ecommerce-hero-slide {
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.ecommerce-hero-slide-one h1 span {
  color: #facc15 !important;
}

.ecommerce-hero-slide-one .mt-5 a {
  background-color: #12355b !important;
}

.ecommerce-hero-slide-two h1 span {
  color: #67e8f9 !important;
}

.ecommerce-hero-slide-two .mt-5 a {
  background-color: #f59e0b !important;
  color: #172033 !important;
}

@media (max-width: 767px) {
  .hero {
    padding-top: 72px !important;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .ecommerce-hero-carousel {
    height: 384px;
  }

  .ecommerce-hero-frame {
    border-radius: 0 !important;
  }

  .ecommerce-hero-carousel .swiper-slide {
    align-items: flex-start;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .ecommerce-hero-slide-one {
    background-image: url("../img/ecommerce.avif") !important;
    background-position: center bottom;
  }

  .ecommerce-hero-slide-two {
    background-image: url("../img/exchange.avif") !important;
  }

  .ecommerce-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(15, 23, 42, 0.24);
  }

  .ecommerce-hero-slide > div {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 1.25rem 1rem 0;
    position: relative;
    z-index: 1;
  }

  .ecommerce-hero-slide .ecommerce-hero-image,
  .ecommerce-hero-slide .ecommerce-hero-secondary {
    display: none;
  }

  .ecommerce-hero-slide h1 {
    font-size: 2.25rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  }

  .ecommerce-hero-carousel .swiper-slide > div {
    gap: 0.75rem !important;
  }

  .ecommerce-hero-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    overflow: hidden;
  }

  .ecommerce-hero-image img {
    width: 100%;
    max-width: none;
    height: 145px;
    object-fit: cover;
    object-position: center 62%;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.footer-contact-email {
  overflow-wrap: anywhere;
}

/* LEFT */
.hero-main {
  position: relative;
  background: linear-gradient(135deg, #020617, #064e3b);
  border-radius: 16px;
  padding: 2rem;
  color: var(--light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  max-width: 55%;
}

.badge {
  /* background: #22c55e;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 6px; */
}

.hero h1 {
  font-size: 2.5rem;
  margin: 10px 0;
}

.hero h1 span {
  color: #22c55e;
}

.hero p {
  color: var(--grey);
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.old-price {
  text-decoration: line-through;
  color: var(--grey);
}

.discount {
  background: #22c55e;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.hero-buttons {
  margin-top: 1rem;
}

.btn {
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  margin-right: 10px;
  display: inline-block;
}

.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.outline {
  border: 1px solid white;
  color: white;
}

.hero-image {
  width: 220px;
}

/* RIGHT SIDE */
.hero-side {
  display: grid;
  gap: 1rem;
}

.card {
  border-radius: 14px;
  padding: 1.5rem;
  color: white;
}

.featured {
  background: linear-gradient(135deg, #1e293b, #4c1d95);
}

.tag {
  background: var(--primary);
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 5px;
}

.small-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-main {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    margin-top: 20px;
  }
}

.breadcrumps {
  padding-top: 10% !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Auth pages — login, register, forgot password */
@keyframes auth-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.float {
  animation: auth-float 6s ease-in-out infinite;
}

@keyframes auth-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: auth-fade-in 0.9s ease-in-out;
}

.glow {
  box-shadow: 0 0 60px rgba(108, 43, 217, 0.25);
}

.auth-form-panel {
  position: relative;
}

.auth-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  border-radius: 0;
}

.auth-loading-overlay.is-active {
  display: flex;
}

.auth-loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(108, 43, 217, 0.2);
  border-top-color: #6c2bd9;
  border-radius: 50%;
  animation: auth-spin 0.75s linear infinite;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-loading-text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0b1b3a;
  text-align: center;
  max-width: 220px;
  line-height: 1.4;
}

.auth-btn-spinner {
  display: inline-block;
  width: 1.125rem;
  height: 1.125rem;
  margin-right: 0.5rem;
  vertical-align: -0.2em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin 0.65s linear infinite;
}

.btn-primary .auth-btn-spinner {
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
}

/* Track order page */
@keyframes track-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes track-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(108, 43, 217, 0.18);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(108, 43, 217, 0);
  }
}

@keyframes track-shimmer {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(220%);
  }
}

.track-rise {
  animation: track-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.track-delay-1 {
  animation-delay: 0.08s;
}
.track-delay-2 {
  animation-delay: 0.16s;
}
.track-delay-3 {
  animation-delay: 0.24s;
}
.track-delay-4 {
  animation-delay: 0.32s;
}
.track-delay-5 {
  animation-delay: 0.4s;
}
.track-step-active {
  animation: track-glow 2.4s ease-in-out infinite;
}

.track-progress-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  animation: track-shimmer 2.8s ease-in-out infinite;
}

.track-watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 56px 56px;
  opacity: 0.05;
}

.track-swipe-complete {
  width: min(100%, 24rem);
  max-width: 24rem;
  margin: 0 auto;
}

.track-swipe-complete__rail {
  position: relative;
  height: 3.75rem;
  border-radius: 9999px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}

.track-swipe-complete__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    rgba(108, 43, 217, 0.18),
    rgba(108, 43, 217, 0.32)
  );
  pointer-events: none;
  transition: width 0.12s ease-out;
}

.track-swipe-complete__hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4.5rem 0 4.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.track-swipe-complete__handle {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 9999px;
  background: #6c2bd9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  box-shadow: 0 10px 24px rgba(108, 43, 217, 0.28);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
  z-index: 2;
}

.track-swipe-complete__handle:active {
  cursor: grabbing;
}

.track-swipe-complete.is-dragging .track-swipe-complete__fill,
.track-swipe-complete.is-dragging .track-swipe-complete__handle {
  transition: none;
}

.track-swipe-complete.is-complete .track-swipe-complete__handle {
  background: #166534;
  box-shadow: 0 10px 24px rgba(22, 101, 52, 0.28);
}

.track-swipe-complete.is-complete .track-swipe-complete__hint {
  opacity: 0;
}

.track-order-page {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
}

.track-order-page .track-display {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.track-order-page .track-heading {
  font-weight: 700;
}

.track-order-page .track-eyebrow {
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.track-order-page .track-body {
  font-weight: 400;
}

.track-shell {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1.25rem 2.5rem rgba(15, 23, 42, 0.06);
}

.track-shell__hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e1438 55%, #2e1065 100%);
  color: #fff;
  padding: 1.35rem 1.5rem 1.45rem;
}

.track-shell__hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
  pointer-events: none;
}

.track-shell__body {
  padding: 1.25rem 1.35rem 1.5rem;
  background: #f8fafc;
}

.track-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.track-panel {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 0.95rem;
  overflow: hidden;
  height: 100%;
}

.track-panel__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  background: #fbfcfe;
  border-bottom: 1px solid #eef1f4;
}

.track-panel__head i {
  color: #6c2bd9;
  font-size: 0.78rem;
}

.track-panel__body {
  padding: 0.95rem 1rem 1.05rem;
}

.track-kv {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.3rem 0;
  font-size: 0.86rem;
}

.track-kv + .track-kv {
  border-top: 1px dashed #eef1f4;
}

.track-kv__label {
  color: #64748b;
  flex-shrink: 0;
}

.track-kv__value {
  color: #0f172a;
  text-align: right;
  word-break: break-word;
  font-weight: 600;
}

.track-person {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.track-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #6c2bd9, #4c1d95);
}

.track-pickup-note {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  border: 1px solid #fecaca;
  background: linear-gradient(180deg, #fff7f7, #fff1f2);
  border-radius: 0.95rem;
  padding: 0.95rem 1.05rem;
  color: #991b1b;
}

.track-pickup-note__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fee2e2;
  color: #dc2626;
}

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

@media (max-width: 767px) {
  .track-timeline {
    grid-template-columns: 1fr;
  }
}

.track-step {
  position: relative;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 0.9rem;
  padding: 0.9rem;
}

.track-step.is-done,
.track-step.is-current {
  border-color: rgba(108, 43, 217, 0.28);
  background: linear-gradient(180deg, #faf5ff, #fff);
}

.track-step__num {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #94a3b8;
}

.track-step.is-done .track-step__num,
.track-step.is-current .track-step__num {
  border-color: #6c2bd9;
  background: #6c2bd9;
  color: #fff;
}

.track-items-table {
  width: 100%;
  font-size: 0.86rem;
}

.track-items-table th {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  background: #fbfcfe;
  border-bottom: 1px solid #eef1f4;
  padding: 0.7rem 0.9rem;
}

.track-items-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  color: #0f172a;
  vertical-align: middle;
}

.track-totals {
  max-width: 18rem;
  margin-left: auto;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 0.9rem;
  padding: 0.8rem 1rem;
}

.track-totals__row {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.86rem;
  color: #475569;
  padding: 0.28rem 0;
}

.track-totals__row--paid {
  font-weight: 800;
  color: #0f172a;
  border-top: 1px solid #eef1f4;
  margin-top: 0.25rem;
  padding-top: 0.55rem;
  font-size: 0.95rem;
}

.track-totals__row--due {
  color: #b91c1c;
  font-weight: 700;
}

/* Homepage trusted-brands marquee */
.brand-marquee-wrap {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
  padding: 1.75rem 0;
}

.brand-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}

.brand-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 3.5rem;
  padding: 0 2rem;
  animation: brand-marquee-scroll 48s linear infinite;
}

.brand-marquee:hover .brand-marquee-track {
  animation-play-state: paused;
}

.brand-marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
}

.brand-marquee-item img {
  height: 2.5rem;
  width: auto;
  max-width: 8rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition:
    filter 0.2s ease,
    opacity 0.2s ease;
}

.brand-marquee-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.brand-marquee-item.is-wordmark .brand-marquee-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #334155;
  line-height: 1;
  white-space: nowrap;
}

@keyframes brand-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .brand-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 2rem 2.75rem;
    padding: 0 1.25rem;
  }

  .brand-marquee-track [data-marquee-clone] {
    display: none;
  }
}
