.marquee { animation: scroll 22s linear infinite; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Hero Cards with High-Res Bag Backgrounds */
.hero-card {
  position: relative;
  height: 230px;
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.16);
}

.hero-card[data-category="Luggage"] {
  background-image: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.25) 60%), url('https://images.unsplash.com/photo-1565026057447-bc90a3dceb87?w=800&auto=format&fit=crop&q=80');
}
.hero-card[data-category="Travel Bags"] {
  background-image: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.25) 60%), url('https://images.unsplash.com/photo-1547949003-9792a18a2601?w=800&auto=format&fit=crop&q=80');
}
.hero-card[data-category="School Bags"] {
  background-image: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.25) 60%), url('https://images.unsplash.com/photo-1546938576-6e6a64f317cc?w=800&auto=format&fit=crop&q=80');
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.hero-label {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.hero-btn {
  background: #ffffff;
  color: #111827;
  font-size: .8rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-card:hover .hero-btn {
  background: #1e3a8a;
  color: #ffffff;
}

.pill {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: .8rem;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
}
.pill:hover {
  border-color: #1e3a8a;
}
.pill.active {
  background: #1e3a8a;
  color: #fff;
  border-color: #1e3a8a;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.product-img {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  border-radius: 12px;
  background: #f8fafc;
  transition: transform 0.3s ease;
}
.product-card:hover .product-img {
  transform: scale(1.03);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#cartDrawer.open { transform: translateX(0); }

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background: #f9fafb;
}
.qty-btn:hover {
  background: #e5e7eb;
}

/* Nav links */
.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: #4b5563;
  transition: color 0.2s ease;
  position: relative;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active {
  color: #1e3a8a;
  font-weight: 700;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #1e3a8a;
  border-radius: 99px;
}

/* Tracking Step */
.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
}
.step-done {
  background-color: #10b981;
  color: white;
}
.step-active {
  background-color: #1e3a8a;
  color: white;
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.2);
}
.step-pending {
  background-color: #e2e8f0;
  color: #94a3b8;
}
