body {
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
  padding-top: 50px;
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f');
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
}

.main-image {
  width: 100%;
  height: 450px;
  object-fit: contain;
}

/* PRODUCT TITLE */
.product-title {
  font-size: 28px;
  font-weight: bold;
}

/* SELLER CARD */
.seller-box {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
}

.product-card {
  border: none;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  object-position: center;
}

#noProductsMessage {
  font-size: 1rem;
}

.card-body {
  display: flex;
  flex-direction: column;
}

.card-body h4 {
  margin-top: 1rem;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 320px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.dashboard-sidebar .list-group-item {
  border: none;
  border-radius: 0;
  padding: 15px 18px;
}

.dashboard-sidebar {
  position: sticky;
  top: 80px;
}

.dashboard-sidebar .list-group-item.active {
  background-color: #0d6efd;
  color: white;
  font-weight: 500;
}

.dashboard-card {
  border: none;
  border-radius: 16px;
  background-color: #ffffff;
}

.dashboard-card h3,
.dashboard-card h4,
.dashboard-card h6 {
  font-weight: 600;
}

#profileSection .form-control {
  border-radius: 10px;
}

#profileSection .btn {
  min-width: 160px;
}

.card.dashboard-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.06);
}

.dashboard-scroll {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
}

.dashboard-scroll::-webkit-scrollbar {
  width: 8px;
}

.dashboard-scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.dashboard-scroll::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.categories-box {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.category-strip {
  background: white;
  border-radius: 12px;
  padding: 15px;
  margin-top: -30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.category-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  background: #f8f9fa;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 400;
}

.category-card:hover {
  transform: translateY(-2px);
  background: #ececec;
}

.category-card.active {
  background: #111;
  color: white;
}

/*My Profil*/
/* LEFT SIDEBAR */
.profil-sidebar {
  background: #111;
  min-height: 100vh;
  color: white;
  padding: 20px;
}

.profil-sidebar h5{
    text-align: center;
    margin-bottom:15px;
}

.profil-sidebar a {
  color: #ccc;
  display: block;
  padding: 10px;
  text-decoration: none;
  border-radius: 8px;
}

.profil-sidebar a:hover {
  background: #333;
  color: white;
}

/* PROFILE CARD */
.profile-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
}

/* RIGHT CARD */
.side-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
}

.badge-box {
  background: #eee;
  padding: 10px;
  border-radius: 10px;
}

/*Listings*/
.navbar {
  background: #111;
}

.search-bar {
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #ddd;
  width: 100%;
}

.filter-box {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.product-scroll {
  max-height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.product-scroll::-webkit-scrollbar {
  width: 4px;
}

.product-scroll::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 10px;
}

.product-scroll::-webkit-scrollbar-thumb:hover {
  background: #888;
}

/* Checkout Page */
.navbar-brand {
  font-size: 1.5rem;
}

.nav-link {
  color: white !important;
}

.nav-link.active {
  color: #0d6efd !important;
}

/* Checkout */
.checkout-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
  margin-top: 40px;
  margin-bottom: 40px;
}

.order-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid #eee;
  transition: .3s;
}

.order-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}

.order-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}

.order-item-info {
  flex: 1;
}

.order-item-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.order-item-price {
  color: #0d6efd;
  font-weight: 600;
}

.summary-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.right-side {
  background: #fff;
  border-radius: 20px;
}

.price {
  color: #0d6efd;
  font-size: 30px;
  font-weight: bold;
}

.left-side {
  padding: 40px;
}

.right-side {
  background: #f8f9fa;
  padding: 40px;
  height: 100%;
}

.section-title {
  font-weight: 700;
  margin-bottom: 20px;
}

.payment-option {
  cursor: pointer;
}

.pay-btn {
  width: 100%;
  background: black;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
}

.pay-btn:hover {
  background: #222;
}

.product-image {
  width: 100%;
  border-radius: 15px;
}

/* Modern cart styles */
.cart-list {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
  margin-bottom: 12px;
  transition: box-shadow .18s ease, transform .12s ease;
}

.cart-item:hover {
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.06);
  transform: translateY(-2px);
}

.cart-item img.thumbnail {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item .meta {
  flex: 1;
  min-width: 0;
}

.cart-item .meta .title {
  font-weight: 700;
  margin-bottom: 6px;
}

.cart-item .meta .meta-sub {
  color: #6c757d;
  font-size: 0.95rem;
}

.cart-item .actions {
  text-align: right;
}

.cart-item .price {
  color: #0d6efd;
  font-weight: 700;
}

.cart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
}

.checkout-btn {
  min-width: 200px;
}

@media (max-width:576px) {
  .cart-item {
    flex-direction: row;
  }

  .cart-item img.thumbnail {
    width: 64px;
    height: 64px;
  }

  .checkout-btn {
    width: 100%;
  }
}

.checkout-btn.disabled {
  pointer-events: none;
  opacity: .5;
  cursor: not-allowed;
}

.payment-box {
  display: none;
}

.payment-box.active {
  display: block;
}

/* Sold */
.thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: #f5f5f5
}

.small-muted {
  font-size: 0.9rem;
  color: #6c757d
}

.sold-product-image {
  width: 100%;
  max-width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f3f3
}

.label {
  color: #6c757d;
  font-size: 0.95rem
}
