@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #0d6efd;
  --primary-hover: #0b5ed7;
  --bg-soft: #f4f7f9;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --text-dark: #2c3e50;
  --text-muted: #6c757d;
  --card-radius: 20px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 40px rgba(13, 110, 253, 0.15);
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-soft);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.rounded-4 {
  border-radius: var(--card-radius) !important;
}

.rounded-5 {
  border-radius: 30px !important;
}

.shadow-soft {
  box-shadow: var(--shadow-soft) !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.navbar-glass {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  background: white;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover) !important;
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  height: 250px;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-hover:hover .product-img-wrapper img {
  transform: scale(1.05);
}

.btn-primary-custom {
  background-color: var(--primary-color);
  border: none;
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
  color: white;
}

.btn-outline-custom {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 12px;
  font-weight: 600;
  padding: 8px 20px;
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: white;
}

.sell-btn-floating {
  position: fixed;
  bottom: 100px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1030;
  text-decoration: none;
}

.sell-btn-floating:hover {
  transform: scale(1.1) rotate(90deg);
  color: white;
}

.form-control-lg-custom {
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid #e1e5e9;
  background-color: #fff;
  font-size: 15px;
}

.form-control-lg-custom:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.skeleton {
  background: #e0e0e0;
  background: linear-gradient(90deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 8px;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton-text {
  height: 16px;
  margin-bottom: 8px;
}

.skeleton-img {
  height: 200px;
  width: 100%;
}

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1040;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.03);
}

.nav-item-mobile {
  text-align: center;
  color: #9aa0a6;
  text-decoration: none;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.nav-item-mobile.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-item-mobile i {
  font-size: 20px;
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .navbar-glass {
    padding: 10px 0;
  }

  .hero-section {
    border-radius: 0 !important;
    margin-top: -1px;
  }

  .sell-btn-floating {
    display: none;
  }
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

.badge-status {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.badge-approved {
  background: #d1e7dd;
  color: #0f5132;
}

.badge-pending {
  background: #fff3cd;
  color: #664d03;
}

.badge-new {
  background: #cfe2ff;
  color: #084298;
}