:root {
  --primary-red: #F5222D;
  --red-hover: #D41A24;
  --red2: #FF3B30;
  --pink: #FFE9EA;
  --pink2: #FFF4F4;
  --text-dark: #111111;
  --text-gray: #666666;
  --text-light: #999999;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-radius: 16px;
  --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --hover-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  --section-gap: 22px;
  --pad: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f4f5f8;
  color: var(--text-dark);
  overflow-x: hidden;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

ul {
  list-style: none;
}

a {
  color: var(--primary-red);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

/* App container */
.app {
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fff3f3 0%, #ffffff 240px, #ffffff 100%);
  padding: 16px var(--pad) 100px; /* Safe padding for sticky bottom nav */
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.07);
}

/* =========================================
   STICKY TOP SECTION (Header + Search)
   ========================================= */
.sticky-top-section {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: -16px calc(var(--pad) * -1) 0;
  padding: 16px var(--pad) 0;
  background: linear-gradient(180deg, #fff3f3 0%, #fff6f6 100%);
}

.sticky-top-section .top {
  padding: 2px 0 14px;
}

.sticky-top-section .searchrow {
  margin-bottom: 0;
}

/* Header */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0 16px;
  position: relative;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}

.menu-btn:active {
  transform: scale(0.92);
  background: var(--pink2);
}

.logo {
  display: flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}

.logo b {
  font-size: 19px;
  font-weight: 800;
  display: block;
  line-height: 1.1;
  color: #111;
  letter-spacing: -0.4px;
}

.logo i {
  color: var(--primary-red);
  font-style: normal;
}

.logo small {
  color: var(--primary-red);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  display: block;
}

.right {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
}

.loc {
  background: var(--pink2);
  border: 1px solid rgba(245, 34, 45, 0.14);
  border-radius: 20px;
  padding: 6px 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.loc:active {
  background: var(--pink);
}

.locmenu {
  position: absolute;
  top: 48px;
  right: 32px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  z-index: 60;
  overflow: hidden;
  min-width: 145px;
  border: 1px solid var(--border-color);
}

.locmenu li {
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.locmenu li:hover,
.locmenu li:active {
  background: var(--pink);
  color: var(--primary-red);
}

.bell {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  color: #333;
  display: grid;
  place-items: center;
  transition: transform 0.15s;
}

.bell:active {
  transform: scale(0.92);
}

.bell em {
  position: absolute;
  top: 3px;
  right: 3px;
  background: var(--primary-red);
  color: #fff;
  font: 700 9px 'Poppins';
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

/* Page Header for subpages */
.page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 16px;
  margin-bottom: 8px;
  position: relative;
}

.back-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  display: grid;
  place-items: center;
  transition: all 0.15s;
}

.back-btn:active {
  transform: scale(0.92);
  background: var(--pink2);
}

.page-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

/* Slide-out Drawer Menu */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 300px;
  max-width: 82vw;
  background: #ffffff;
  z-index: 1060;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.18);
}

.drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 24px 20px 18px;
  background: linear-gradient(135deg, #fff3f3 0%, #ffe8e8 100%);
  border-bottom: 1px solid rgba(245, 34, 45, 0.1);
  position: relative;
}

.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--text-gray);
  display: grid;
  place-items: center;
}

.drawer-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.drawer-user img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-red);
}

.drawer-user h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.drawer-user p {
  font-size: 11px;
  color: var(--text-gray);
}

.drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #333;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.15s;
  text-decoration: none;
  margin-bottom: 4px;
}

.drawer-link svg {
  color: var(--primary-red);
  flex-shrink: 0;
}

.drawer-link:hover,
.drawer-link.active {
  background: var(--pink2);
  color: var(--primary-red);
}

.drawer-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border-color);
}

.logout-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  background: #fff0f0;
  border: 1px solid rgba(245, 34, 45, 0.2);
  color: var(--primary-red);
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  transition: background 0.15s;
}

.logout-btn:active {
  background: #ffe2e2;
}

/* Auth Conditional Visibility */
body.user-guest .logout-btn,
body.user-guest #drawerLogout,
body.user-guest .drawer-footer,
body.user-guest .logout-item,
body.user-guest [data-auth="logged-in"] {
  display: none !important;
}

body.user-logged-in [data-auth="guest"],
body.user-logged-in .drawer-link[href*="login.html"],
body.user-logged-in #drawerLoginLink,
body.user-logged-in .login-item {
  display: none !important;
}

.login-item {
  background: #fff5f5;
  border: 1px solid rgba(245, 34, 45, 0.2);
  color: var(--primary-red);
  font-weight: 700;
  margin-top: 6px;
}

/* Search Row */
.searchrow {
  display: flex;
  gap: 10px;
  margin-bottom: var(--section-gap);
}

.search {
  flex: 1;
  height: 48px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--border-color);
}

.search svg {
  color: var(--primary-red);
  flex-shrink: 0;
}

.search input {
  border: 0;
  outline: 0;
  font: 500 12.5px 'Poppins', sans-serif;
  width: 100%;
  background: none;
  color: var(--text-dark);
}

/* Remove extra browser native grey cancel 'x' button */
.search input::-webkit-search-decoration,
.search input::-webkit-search-cancel-button,
.search input::-webkit-search-results-button,
.search input::-webkit-search-results-decoration,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none !important;
}

.search input::-ms-clear,
input[type="search"]::-ms-clear {
  display: none !important;
  width: 0;
  height: 0;
}

.search input::placeholder {
  color: #aaa;
}

.filter {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  color: var(--primary-red);
  display: grid;
  place-items: center;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.filter:active {
  background: var(--pink2);
  transform: scale(0.95);
}

/* =========================================
   HERO SECTION SLIDABLE CAROUSEL BANNERS
   ========================================= */
.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  touch-action: pan-y;
  user-select: none;
  background: #fff;
  margin-top: 0;
  margin-bottom: var(--section-gap);
}

.hero-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
  height: 205px;
  padding: 18px 16px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.hero-slide.slide-1 {
  background: linear-gradient(135deg, #ffffff 0%, #fff1f1 48%, #fed7d7 84%, #fed7aa 100%);
}

.hero-slide.slide-2 {
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 48%, #ffedd5 84%, #fed7aa 100%);
}

.hero-slide.slide-3 {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 48%, #e0f2fe 84%, #bae6fd 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 62%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3.5px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.badge-red {
  background: rgba(245, 34, 45, 0.12);
  color: var(--primary-red);
  border: 1px solid rgba(245, 34, 45, 0.2);
}

.badge-orange {
  background: rgba(234, 88, 12, 0.12);
  color: #ea580c;
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.badge-blue {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-red);
  box-shadow: 0 0 0 0 rgba(245, 34, 45, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(245, 34, 45, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(245, 34, 45, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(245, 34, 45, 0);
  }
}

.hero-title {
  font-size: 26px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #111111;
  margin: 0 0 4px;
}

.hero-title .highlight {
  color: var(--primary-red);
}

.hero-title .highlight-orange {
  color: #ea580c;
}

.hero-title .highlight-blue {
  color: #0284c7;
}

.hero-sub {
  font-size: 9.5px;
  font-weight: 500;
  color: #555555;
  margin: 0 0 10px;
  line-height: 1.3;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.hero-btn:active {
  transform: scale(0.95);
}

.btn-red {
  background: var(--primary-red);
  box-shadow: 0 4px 12px rgba(245, 34, 45, 0.35);
}

.btn-orange {
  background: #ea580c;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

.btn-blue {
  background: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.bike-art {
  position: absolute;
  right: -10px;
  top: 10px;
  bottom: 10px;
  width: 58%;
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.18));
  pointer-events: none;
  z-index: 2;
  transition: transform 0.3s ease;
}

.bike-art.r {
  top: 14px;
  bottom: 0;
  height: auto;
  right: -10px;
  width: 58%;
}

/* Carousel Dots Indicator */
.hero-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  gap: 6px;
  justify-content: center;
  z-index: 10;
}

.hero-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  transition: all 0.25s ease;
  padding: 0;
}

.hero-dots button.on {
  background: var(--primary-red);
  width: 18px;
  border-radius: 4px;
}

/* Hero Trust Highlights Bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 14px;
  padding: 9px 12px;
  margin-top: 10px;
  margin-bottom: var(--section-gap);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #333333;
}

.trust-badge svg {
  color: var(--primary-red);
  flex-shrink: 0;
}

/* Actions (Buy & Sell) */
.actions {
  display: flex;
  gap: 10px;
  margin: 14px 0 16px;
}

.act {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  padding: 8px 10px;
  border-radius: 13px;
  background: linear-gradient(110deg, #ffebee 0%, #fff5f5 100%);
  border: 1px solid rgba(245, 34, 45, 0.12);
  min-width: 0;
  box-shadow: 0 2px 6px rgba(245, 34, 45, 0.04);
  transition: transform 0.15s, box-shadow 0.15s;
  color: inherit;
  text-decoration: none;
}

.act:active {
  transform: scale(0.98);
}

.act.sell {
  background: linear-gradient(110deg, #fff0e0 0%, #fff9f0 100%);
  border-color: rgba(255, 140, 0, 0.18);
}

.act-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  color: var(--primary-red);
}

.act-icon svg {
  width: 17px;
  height: 17px;
}

.act.sell .act-icon {
  color: #e65100;
}

.act b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.act small {
  font-size: 8.5px;
  color: var(--text-gray);
  display: block;
  white-space: nowrap;
  line-height: 1.15;
}

.act-arrow {
  margin-left: auto;
  color: #888;
  display: flex;
  align-items: center;
}

/* Sections */
section {
  margin-bottom: var(--section-gap);
}

.sh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}

.sh h2 {
  font-size: 15.5px;
  font-weight: 700;
  margin-right: auto;
  letter-spacing: -0.3px;
}

.ends {
  background: var(--pink);
  color: var(--primary-red);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Horizontal Rails */
.scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0;
  padding: 4px 0 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

#cats,
#featured {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.scroll::-webkit-scrollbar {
  display: none;
}

.scroll > * {
  flex: none;
  scroll-snap-align: start;
}

/* 2-Column Grid for Nearby & Wishlist Bikes */
.grid-nearby,
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 4px;
}

.grid-nearby .card,
.grid-2 .card {
  width: 100%;
}

.grid-nearby .card .ph,
.grid-2 .card .ph {
  height: 120px;
}

/* Category Cards */
.cat {
  width: 82px;
  text-align: center;
  font-size: 9.5px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: transform 0.15s;
}

.cat:active {
  transform: scale(0.95);
}

.cat .im {
  height: 70px;
  border-radius: 14px;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.cat .im img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.12));
}

/* Brand items */
.brand {
  width: 68px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: transform 0.15s;
}

.brand:active {
  transform: scale(0.95);
}

.brand .lg {
  width: 58px;
  height: 58px;
  margin: 0 auto 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--card-shadow);
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--border-color);
}

.brand .lg img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

/* Filter chips */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 12px;
  padding: 2px 0;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chips button {
  flex: none;
  background: #f1f2f5;
  color: #555;
  font-size: 11px;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: 20px;
  transition: all 0.2s;
}

.chips .on {
  background: var(--primary-red);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(245, 34, 45, 0.3);
}

/* Bike Cards */
.cards {
  align-items: flex-start;
}

.card {
  width: 158px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
}

.card:active {
  transform: scale(0.97);
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

.card .ph {
  position: relative;
  height: 100px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #f4f5f8;
}

.heart {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-red);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: all 0.15s;
}

.heart svg {
  width: 13px;
  height: 13px;
}

.heart.on {
  background: var(--primary-red);
  color: #fff;
}

.heart:active {
  transform: scale(1.15);
}

.card .body {
  padding: 9px 10px 11px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card h3 {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card .m {
  font-size: 9.5px;
  color: var(--text-gray);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card .m svg {
  flex-shrink: 0;
  color: #aaa;
}

.price {
  display: block;
  color: var(--primary-red);
  font-weight: 800;
  font-size: 14.5px;
  margin: 5px 0 7px;
  letter-spacing: -0.3px;
}

.vd {
  width: 100%;
  background: var(--primary-red);
  color: #fff;
  border-radius: 9px;
  padding: 6px;
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.15s;
  text-decoration: none;
  display: block;
}

.vd:active {
  opacity: 0.85;
}

/* Deals */
.deal {
  width: 176px;
}

.deal .b {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary-red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.deal .row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--primary-red);
  font-size: 13.5px;
  margin-top: 4px;
}

.deal s {
  font-size: 9.5px;
  color: var(--text-light);
  font-weight: 400;
}

.deal .row span {
  margin-left: auto;
  color: #444;
  display: flex;
  align-items: center;
}

/* Promo Banner */
.promo {
  position: relative;
  min-height: 200px;
  border-radius: 22px;
  padding: 20px 18px;
  margin: 0 -4px var(--section-gap);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(105deg, #3d0c0c 0%, #7d2a0c 45%, #e28a45 100%);
  box-shadow: var(--card-shadow);
}

.promo h2 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  position: relative;
  z-index: 2;
  letter-spacing: -0.3px;
}

.promo h2 span {
  color: #ffb852;
}

.promo ul {
  margin: 10px 0 14px;
  font-size: 11.5px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.promo li {
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.promo-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}

.cta {
  position: relative;
  z-index: 2;
  background: var(--primary-red);
  border-radius: 12px;
  padding: 10px 18px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 4px 14px rgba(245, 34, 45, 0.4);
  transition: transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.cta:active {
  transform: scale(0.96);
}

.promo q {
  position: absolute;
  right: 14px;
  top: 24px;
  font: italic 11px/1.2 'Poppins', sans-serif;
  width: 95px;
  text-align: right;
  quotes: none;
  color: #ffe3bd;
  opacity: 0.9;
  z-index: 2;
}

/* 2-Column Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.grid-2 .card {
  width: 100%;
}

/* =========================================
   STORIES FROM OUR RIDERS UI
   ========================================= */
.story-card {
  flex: 0 0 116px;
  width: 116px;
  height: 164px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  scroll-snap-align: start;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
  background: #ffffff;
}

.story-card:active {
  transform: scale(0.96);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

/* Add Story Card */
.add-story-card {
  background: linear-gradient(145deg, #fff7f7 0%, #ffebeb 100%);
  border: 1.5px dashed rgba(245, 34, 45, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 8px;
}

.add-story-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(245, 34, 45, 0.35);
  transition: transform 0.2s ease;
}

.add-story-card:active .add-story-icon {
  transform: scale(1.1);
}

.add-story-card b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.add-story-card span {
  font-size: 9.5px;
  color: var(--text-gray);
  font-weight: 500;
}

/* Rider Story Card */
.rider-card {
  position: relative;
}

.story-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.rider-card:hover .story-bg {
  transform: scale(1.06);
}

.story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.05) 38%, rgba(0, 0, 0, 0.88) 100%);
  z-index: 1;
}

.story-top {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.story-avatar-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #F5222D 0%, #ff7e5f 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1.5px solid #ffffff;
}

.story-tag {
  background: rgba(255, 255, 255, 0.94);
  color: #111111;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.story-bottom {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  z-index: 2;
  color: #ffffff;
}

.story-rider-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}

.story-bike-name {
  font-size: 9px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-stars {
  font-size: 9px;
  color: #f59e0b;
  margin-top: 1px;
  letter-spacing: 0.5px;
}

/* =========================================
   RIDER STORY VIEWER MODAL
   ========================================= */
.story-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
}

.story-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.story-modal-box {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-modal-overlay.active .story-modal-box {
  transform: scale(1);
}

.story-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: grid;
  place-items: center;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.story-modal-close:active {
  transform: scale(0.92);
  background: rgba(0, 0, 0, 0.65);
}

.story-modal-hero {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
}

.story-modal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

.story-modal-progress {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
}

.story-modal-bar {
  height: 100%;
  width: 100%;
  background: #ffffff;
  border-radius: 3px;
}

.story-modal-rider {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-modal-rider img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.story-modal-rider h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.story-modal-rider p {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

.story-modal-body {
  padding: 16px 18px 18px;
  background: #ffffff;
}

.story-modal-bike-chip {
  display: inline-block;
  background: var(--pink2);
  color: var(--primary-red);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.story-modal-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.story-modal-body blockquote {
  font-size: 12.5px;
  line-height: 1.5;
  color: #333333;
  font-style: italic;
  margin-bottom: 14px;
}

.story-modal-footer {
  display: flex;
  justify-content: flex-end;
}

.story-modal-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--pink);
  color: var(--primary-red);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.story-modal-like-btn:active {
  transform: scale(0.95);
}

.story-modal-like-btn.liked {
  background: var(--primary-red);
  color: #ffffff;
}

/* =========================================
   ALWAYS STICKY BOTTOM NAVIGATION BAR
   ========================================= */
.nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 72px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.09);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  z-index: 1000;
  border-top: 1px solid var(--border-color);
}

.nav a,
.nav button {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: color 0.15s;
  text-decoration: none;
}

.nav svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.nav .on {
  color: var(--primary-red);
  font-weight: 700;
}

.nav .on svg {
  color: var(--primary-red);
}

.nav .plus {
  position: relative;
  color: var(--text-gray);
}

.nav .plus b {
  position: absolute;
  top: -30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-red);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(245, 34, 45, 0.45);
  border: 4px solid #fff;
  transition: transform 0.15s;
}

.nav .plus:active b {
  transform: scale(0.92);
}

.nav .plus em {
  font-style: normal;
  margin-top: 24px;
  font-size: 10px;
  font-weight: 600;
}

/* =========================================
   FORM CONTROLS & PILLS
   ========================================= */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.form-label .req {
  color: var(--primary-red);
  font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: #fff;
  font: 500 13px 'Poppins', sans-serif;
  color: var(--text-dark);
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(245, 34, 45, 0.1);
}

.form-textarea {
  min-height: 86px;
  resize: vertical;
}

.inline-error {
  font-size: 10.5px;
  color: var(--primary-red);
  margin-top: 4px;
  font-weight: 600;
  display: none;
}

.has-error .form-input,
.has-error .form-select {
  border-color: var(--primary-red);
}

.has-error .inline-error {
  display: block;
}

/* Selection Pills (Fuel, Transmission, Condition) */
.toggle-pills {
  display: flex;
  gap: 8px;
  width: 100%;
}

.toggle-pill {
  flex: 1;
  padding: 10px;
  text-align: center;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.toggle-pill.active {
  border-color: var(--primary-red);
  background: var(--pink2);
  color: var(--primary-red);
}

/* =========================================
   SELL FLOW EXACT COMPONENTS
   ========================================= */

/* 4-Step Progress Bar */
.sell-progress-stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 12px 14px 24px;
}

.sell-progress-line {
  position: absolute;
  top: 14px;
  height: 2px;
  background: #e5e7eb;
  z-index: 1;
  pointer-events: none;
}

.sell-progress-fill {
  position: absolute;
  top: 14px;
  height: 2px;
  background: var(--primary-red);
  z-index: 2;
  transition: width 0.3s ease;
  pointer-events: none;
}

.step-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.step-bullet {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f2f5;
  color: #777;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}

.step-node.active .step-bullet {
  background: var(--primary-red);
  color: #fff;
  box-shadow: 0 4px 12px rgba(245, 34, 45, 0.4);
}

.step-node.completed .step-bullet {
  background: var(--primary-red);
  color: #fff;
}

.step-label-text {
  font-size: 10px;
  font-weight: 600;
  color: #777;
}

.step-node.active .step-label-text {
  color: var(--primary-red);
  font-weight: 700;
}

/* Sell Intro Benefits List */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 22px 0 28px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.benefit-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--pink2);
  color: var(--primary-red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(245, 34, 45, 0.15);
}

.benefit-item h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #111;
}

.benefit-item p {
  font-size: 11.5px;
  color: var(--text-gray);
  margin-top: 2px;
}

/* Primary Flow CTA Button */
.flow-cta-btn {
  width: 100%;
  background: var(--primary-red);
  color: #fff;
  padding: 14px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(245, 34, 45, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s, background-color 0.15s;
}

.flow-cta-btn:active {
  transform: scale(0.98);
  background: var(--red-hover);
}

/* Photo Upload Box & Samples Grid */
.photo-upload-box {
  background: var(--pink2);
  border: 2px dashed rgba(245, 34, 45, 0.35);
  border-radius: 18px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 18px;
}

.photo-upload-box:active {
  background: var(--pink);
}

.photo-upload-box .cam-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-red);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  box-shadow: 0 4px 10px rgba(245, 34, 45, 0.15);
}

.photo-guidelines-box {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  margin-bottom: 18px;
}

.photo-guidelines-box h4 {
  font-size: 12px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.photo-guidelines-box li {
  font-size: 11px;
  color: var(--text-gray);
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.photo-guidelines-box li svg {
  color: #27ae60;
  flex-shrink: 0;
}

.photo-samples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.photo-sample-slot {
  height: 76px;
  border-radius: 12px;
  background: #f0f0f0;
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
}

.photo-sample-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-sample-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

.photo-sample-slot span {
  position: relative;
  z-index: 2;
  font-size: 8.5px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.photo-sample-slot.checked {
  border-color: #27ae60;
}

.photo-sample-slot.checked::before {
  content: '✓';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #27ae60;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  z-index: 3;
}

/* Review Listing Specs Table */
.review-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.review-specs-table tr {
  border-bottom: 1px solid #f2f3f5;
}

.review-specs-table td {
  padding: 9px 0;
  font-size: 12px;
}

.review-specs-table td:first-child {
  color: var(--text-gray);
  font-weight: 500;
  width: 45%;
}

.review-specs-table td:last-child {
  color: var(--text-dark);
  font-weight: 700;
  text-align: right;
}

/* Success Confirmation Screen */
.success-screen {
  text-align: center;
  padding: 30px 10px 20px;
}

.success-badge-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}

.success-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #27ae60;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.35);
  margin: 0 auto;
}

/* My Listed Bikes Cards & Options */
.listing-tab-group {
  display: flex;
  background: #f1f2f5;
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.listing-tab {
  flex: 1;
  text-align: center;
  padding: 9px 4px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.15s;
}

.listing-tab.active {
  background: #fff;
  color: var(--primary-red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.my-listing-card {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  margin-bottom: 14px;
}

.my-listing-card-top {
  display: flex;
  gap: 12px;
  position: relative;
}

.my-listing-card-thumb {
  width: 100px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.my-listing-status-tag {
  display: inline-block;
  background: #e8f8ed;
  color: #27ae60;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.my-listing-more-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #666;
  display: grid;
  place-items: center;
}

.my-listing-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 10px;
  margin: 12px 0 10px;
  text-align: center;
}

.my-listing-metrics div {
  font-size: 10px;
  color: var(--text-gray);
}

.my-listing-metrics b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
}

.my-listing-actions-row {
  display: flex;
  gap: 8px;
  border-top: 1px solid #f2f3f5;
  padding-top: 10px;
}

.my-listing-btn {
  flex: 1;
  padding: 7px;
  border-radius: 8px;
  background: #f4f5f8;
  color: #333;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.15s;
}

.my-listing-btn:active {
  background: #eaecef;
}

/* Bottom Sheet Modal for Listing Options */
.bottom-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.bottom-sheet-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 430px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
  padding: 16px 18px calc(24px + env(safe-area-inset-bottom));
  z-index: 1110;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-sheet.active {
  transform: translateX(-50%) translateY(0);
}

.bottom-sheet-handle {
  width: 38px;
  height: 4px;
  border-radius: 3px;
  background: #ddd;
  margin: 0 auto 16px;
}

.bottom-sheet-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
  text-align: left;
}

.bottom-sheet-item:active {
  background: var(--pink2);
}

.bottom-sheet-item.danger {
  color: var(--primary-red);
}

.bottom-sheet-item.danger:active {
  background: #fff0f0;
}

/* Inquiries List Items */
.inquiry-item {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.15s;
}

.inquiry-item:active {
  transform: scale(0.98);
}

.inquiry-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.inquiry-badge-unread {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-red);
  margin-left: auto;
  flex-shrink: 0;
}

@media (max-width: 360px) {
  .hero-slide h1 {
    font-size: 30px;
  }
  .card,
  .deal {
    width: 156px;
  }
}

/* ==========================================================================
   QuickBike Brand Orange Loader & Shimmer Skeleton Placeholders
   ========================================================================== */
.qb-loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  width: 100%;
  text-align: center;
}

.qb-orange-spinner {
  width: 44px;
  height: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect x='21' y='2.5' width='6' height='13' rx='3' fill='%23FA541C' opacity='1'%2F%3E%3Crect x='21' y='2.5' width='6' height='13' rx='3' fill='%23FA541C' opacity='0.875' transform='rotate(45 24 24)'%2F%3E%3Crect x='21' y='2.5' width='6' height='13' rx='3' fill='%23FA541C' opacity='0.75' transform='rotate(90 24 24)'%2F%3E%3Crect x='21' y='2.5' width='6' height='13' rx='3' fill='%23FA541C' opacity='0.625' transform='rotate(135 24 24)'%2F%3E%3Crect x='21' y='2.5' width='6' height='13' rx='3' fill='%23FA541C' opacity='0.5' transform='rotate(180 24 24)'%2F%3E%3Crect x='21' y='2.5' width='6' height='13' rx='3' fill='%23FA541C' opacity='0.375' transform='rotate(225 24 24)'%2F%3E%3Crect x='21' y='2.5' width='6' height='13' rx='3' fill='%23FA541C' opacity='0.25' transform='rotate(270 24 24)'%2F%3E%3Crect x='21' y='2.5' width='6' height='13' rx='3' fill='%23FA541C' opacity='0.125' transform='rotate(315 24 24)'%2F%3E%3C%2Fsvg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none !important;
  border-radius: 0 !important;
  animation: qbSpin 0.85s linear infinite;
  display: inline-block;
  margin: 0 auto 10px;
}

@keyframes qbSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.qb-loader-text {
  font-size: 12px;
  font-weight: 600;
  color: #fa541c;
  letter-spacing: -0.2px;
  animation: qbPulse 1.5s ease-in-out infinite;
}

@keyframes qbPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

/* Shimmer Skeleton Card */
.qb-card-skeleton {
  width: 160px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  flex: none;
  display: flex;
  flex-direction: column;
}

.grid-2 .qb-card-skeleton {
  width: 100%;
}

.qb-shimmer {
  background: linear-gradient(90deg, #f1f5f9 0%, #fde8db 50%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: qbShimmer 1.35s ease-in-out infinite;
}

@keyframes qbShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Offline / Empty State */
.qb-empty-state {
  width: 100%;
  text-align: center;
  padding: 36px 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.qb-empty-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff7ed;
  color: #fa541c;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}

/* QuickBike Mobile Pull to Refresh Indicator */
.qb-pull-refresh-indicator {
  position: fixed;
  top: -65px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.2s ease;
  will-change: transform, opacity;
}

.qb-pull-refresh-circle {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.qb-pull-refresh-indicator.refreshing {
  transform: translateX(-50%) translateY(82px) !important;
  opacity: 1 !important;
}

.qb-pull-refresh-indicator.hiding {
  transform: translateX(-50%) translateY(0px) !important;
  opacity: 0 !important;
  transition: transform 0.25s ease, opacity 0.25s ease;
}


