/* RIDEON Bicycle Rental Platform - Custom Styles */
:root {
  --color-primary: #00030a;
  --color-secondary: #fe6b00;
  --color-tertiary: #000403;
  --color-surface: #f8f9fa;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: #191c1d;
}

.hero-gradient {
  background: linear-gradient(180deg, rgba(10, 29, 55, 0.4) 0%, rgba(10, 29, 55, 0.8) 100%);
}

.shadow-soft {
  box-shadow: 0px 4px 20px rgba(10, 29, 55, 0.08);
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 24px rgba(10, 29, 55, 0.12);
}

.ambient-shadow {
  box-shadow: 0px 4px 20px rgba(10, 29, 55, 0.08);
}

.ambient-shadow:hover {
  box-shadow: 0px 8px 30px rgba(10, 29, 55, 0.12);
  transform: translateY(-4px);
}

/* Mobile "Choose Your Ride" slider */
.ride-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ride-slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  touch-action: pan-y;
  cursor: grab;
}

.ride-slider-track:active {
  cursor: grabbing;
}

.ride-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 4px;
}

.ride-slide > div {
  width: 100%;
  overflow: hidden;
}

.ride-dot.active {
  width: 1.75rem;
}

/* ============================================================
   Category Product Slider (Bike & E-Bike)
   ============================================================ */
.cat-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.cat-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  touch-action: pan-y;
  cursor: grab;
  gap: 0;
}

.cat-slider-track:active {
  cursor: grabbing;
}

.cat-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 8px;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .cat-slide {
    flex: 0 0 50%;
    min-width: 50%;
  }
}

@media (min-width: 1024px) {
  .cat-slide {
    flex: 0 0 33.333%;
    min-width: 33.333%;
  }
}

@media (min-width: 1280px) {
  .cat-slide {
    flex: 0 0 25%;
    min-width: 25%;
  }
}

.cat-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(10, 29, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00030a;
  transition: all 0.2s ease;
  border: 1px solid rgba(197, 198, 206, 0.5);
}

.cat-slider-btn:hover {
  background: #fe6b00;
  color: #fff;
  box-shadow: 0 6px 20px rgba(254, 107, 0, 0.35);
}

.cat-slider-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.cat-slider-btn.prev {
  left: 0;
}

.cat-slider-btn.next {
  right: 0;
}

.cat-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #c5c6ce;
  transition: all 0.3s ease;
}

.cat-dot.active {
  background: #fe6b00;
  width: 28px;
}

/* ============================================================
   Info Slider (Why RIDEON, How It Works, FAQ) — Full-width slides
   ============================================================ */
.info-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.info-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  touch-action: pan-y;
  cursor: grab;
  gap: 0;
}

.info-slider-track:active {
  cursor: grabbing;
}

.info-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 24px;
  scroll-snap-align: start;
}

.info-slider .cat-slider-btn {
  top: 40%;
}

@media (max-width: 640px) {
  .info-slider .cat-slider-btn {
    display: none;
  }
}

.info-slide > div {
  max-width: 100%;
}

/* Swipe hint for touch devices */
.info-slider-swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  color: #75777e;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

@media (min-width: 640px) {
  .info-slider-swipe-hint {
    display: none;
  }
}

/* Print styles for receipt */
@media print {
  body * { visibility: hidden; }
  #receipt, #receipt * { visibility: visible; }
  #receipt { position: absolute; left: 0; top: 0; width: 100%; }
  .no-print { display: none !important; }
}