/* ===================== General ===================== */
body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: #f8f9fa;
}

/* ===================== Header / Navbar ===================== */
.main-navbar {
  background: linear-gradient(90deg, #1a1a2e, #16213e);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.main-navbar .nav-link {
  color: #e0e0e0;
  font-weight: 500;
  margin: 0 8px;
  transition: color .2s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: #ffc107;
}

#cartCountBadge {
  font-size: 0.65rem;
}

/* ===================== Hero Section ===================== */
.hero-section {
  min-height: 60vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url('https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

/* ===================== Inner Page Hero (about / contact / policy / details) ===================== */
.page-hero {
  min-height: 22vh;
  background: linear-gradient(90deg, #1a1a2e, #16213e);
}

/* ===================== Product Details Page ===================== */
.thumb-img.active-thumb {
  border-color: #ffc107 !important;
  border-width: 2px !important;
}

/* ===================== Product Cards ===================== */
.product-card {
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 12px;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12) !important;
}

.product-card .card-img-top {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* ===================== Pagination ===================== */
.pagination .page-link {
  color: #16213e;
}

.pagination .page-item.active .page-link {
  background-color: #16213e;
  border-color: #16213e;
}

/* ===================== Cart Offcanvas ===================== */
.cart-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item .cart-item-info {
  flex-grow: 1;
}

.cart-item .qty-controls button {
  width: 26px;
  height: 26px;
  padding: 0;
  line-height: 1;
}

/* ===================== Footer ===================== */
.footer-section {
  background: #0f0f1a;
}

.footer-links li {
  margin-bottom: 8px;
  color: #b3b3b3;
}

.footer-links a {
  color: #b3b3b3;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #ffc107;
}
