/* ============================================
   BLEJELIRE · WHITE + MINT 2025 THEME
   Ultra-clean, premium, minimal marketplace UI
   ============================================ */

:root {
  --mint: #22c55e;
  --mint-dark: #16a34a;
  --mint-light: #d1fae5;

  --text: #0f172a;
  --text-light: #475569;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 14px;
  --radius-xl: 22px;

  --shadow-soft: 0 10px 25px rgba(0,0,0,0.05);
  --shadow-card: 0 12px 40px rgba(0,0,0,0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-soft);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.5;
}

/* ============================================
   LINKS
============================================ */

a { 
  text-decoration: none; 
  color: inherit;
}

/* ============================================
   NAVBAR
============================================ */

.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.4px;
}

.navbar-brand span {
  color: var(--mint);
}

.nav-link {
  padding: 9px 18px !important;
  font-weight: 500;
  color: var(--text-light) !important;
  border-radius: var(--radius);
}

.nav-link:hover,
.nav-link.active {
  background: var(--mint-light);
  color: var(--mint-dark) !important;
}

/* ============================================
   HERO
============================================ */

.hero-shell {
  margin-top: 2rem;
}

.hero-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-subtext {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ============================================
   BUTTONS
============================================ */

.btn-mint {
  background: var(--mint);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 26px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(34,197,94,0.22);
}

.btn-mint:hover {
  background: var(--mint-dark);
}

.btn-soft {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 10px 26px;
  color: var(--text);
  font-weight: 500;
}

.btn-soft:hover {
  background: var(--bg-soft);
}

/* ============================================
   SEARCH BOX
============================================ */

.search-box {
  margin-top: 25px;
  background: var(--bg);
  border-radius: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 6px 14px;
  box-shadow: var(--shadow-soft);
}

.search-box input {
  border: none;
  padding: 12px;
  flex: 1;
  background: transparent;
  outline: none;
  color: var(--text);
}

/* ============================================
   FILTER CHIPS
============================================ */

.filter-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: .85rem;
  cursor: pointer;
  color: var(--text-light);
  transition: 0.15s ease;
}

.filter-chip:hover {
  background: var(--bg-soft);
}

.filter-chip.active {
  background: var(--mint);
  color: #fff;
  border-color: var(--mint-dark);
  box-shadow: 0 8px 18px rgba(22,163,74,0.35);
}

/* ============================================
   PRODUCT GRID + CARDS
============================================ */

.product-grid {
  margin-top: 2rem;
}

.card-product {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all .18s ease-in-out;
}

.card-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.card-product-img img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card-body {
  padding: 16px;
}

.card-product .title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-product .meta {
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.card-product .price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mint-dark);
}

/* ============================================
   PRODUCT DETAIL PAGE
============================================ */

.product-shell {
  margin-top: 2rem;
}

.product-main-img {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-soft);
}

.product-main-img img,
.product-main-img video {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.product-thumbs img,
.product-thumbs video {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-right: 10px;
}

/* ============================================
   CONDITION BADGE
============================================ */

.badge-condition {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  color: var(--text-light);
}

/* ============================================
   FOOTER
============================================ */

.footer-soft {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 22px 0;
  margin-top: 3rem;
  text-align: center;
  font-size: .9rem;
  color: var(--text-light);
}

/* ============================================
   RESPONSIVE
============================================ */

@media (max-width: 768px) {

  .hero-card {
    padding: 26px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .card-product-img img {
    height: 200px;
  }

  .product-main-img img,
  .product-main-img video {
    height: 300px;
  }
}
