/* ===========================
   FOOD DEAL — DESIGN SYSTEM
   Identité: Économie circulaire
   Palette: Vert vif + Ardoise + Crème
   =========================== */

:root {
  --green: #2ECC71;
  --green-dark: #1a9e53;
  --green-light: #e8fdf1;
  --dark: #1a1f16;
  --dark-2: #252c1f;
  --slate: #3d4a38;
  --mid: #6b7c65;
  --light: #f4f7f2;
  --cream: #faf9f5;
  --white: #ffffff;
  --orange: #FF6B35;
  --red: #e74c3c;
  
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(26,31,22,0.08);
  --shadow-md: 0 8px 40px rgba(26,31,22,0.12);
  --shadow-lg: 0 16px 60px rgba(26,31,22,0.16);
  
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--green { background: var(--green-light); }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

.btn-primary { background: var(--green); color: var(--dark); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,204,113,0.35); }

.btn-ghost { background: transparent; color: var(--dark); }
.btn-ghost:hover { background: var(--light); }

.btn-outline { background: transparent; border-color: currentColor; }
.btn-outline:hover { background: var(--green); border-color: var(--green); color: var(--dark); }

.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--slate); transform: translateY(-2px); }

/* ====== LOGO ====== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}
.logo-text strong { color: var(--green); font-weight: 800; }

/* ====== HEADER ====== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,249,245,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,31,22,0.06);
  transition: var(--transition);
}
.nav {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin: 0 auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--green-dark); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; font-size: 1.4rem; background: none; border: none; cursor: pointer; }

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.blob-1 {
  width: 600px; height: 600px;
  background: var(--green);
  top: -200px; right: -200px;
  animation: float 8s ease-in-out infinite;
}
.blob-2 {
  width: 400px; height: 400px;
  background: #a8e6cf;
  bottom: -100px; left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}
.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
}
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-top: 40px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  border: 1px solid rgba(46,204,113,0.3);
  color: var(--green-dark);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero p {
  font-size: 1.1rem;
  color: var(--mid);
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  animation: fadeUp 0.6s 0.4s ease both;
  padding-top: 40px;
  border-top: 1px solid rgba(26,31,22,0.08);
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-dark);
}
.stat-label { font-size: 0.82rem; color: var(--mid); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--mid);
  font-size: 0.75rem;
  animation: fadeUp 0.6s 0.8s ease both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--mid));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== SECTION HEADER ====== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section--dark .section-tag { background: var(--green); }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header p { color: var(--mid); font-size: 1.05rem; }
.section--dark .section-header p { color: rgba(255,255,255,0.6); }

/* ====== CATEGORIES ====== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid rgba(26,31,22,0.07);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: var(--transition);
  cursor: pointer;
}
.cat-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cat-card--featured {
  background: var(--green);
  border-color: var(--green);
}
.cat-card--featured .cat-info h3 { color: var(--dark); }
.cat-card--featured .cat-count { color: var(--dark-2); opacity: 0.7; }
.cat-icon { font-size: 2rem; flex-shrink: 0; }
.cat-info { flex: 1; }
.cat-info h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.cat-count { font-size: 0.8rem; color: var(--mid); }
.cat-arrow {
  font-size: 1.1rem;
  color: var(--mid);
  transition: var(--transition);
}
.cat-card:hover .cat-arrow { transform: translateX(4px); color: var(--green-dark); }

/* ====== LOT CARDS ====== */
.lots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.lot-card {
  background: var(--dark-2);
  border: 1.5px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}
.lot-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46,204,113,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.lot-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}
.lot-badge--hot { background: var(--orange); color: #fff; }
.lot-badge--new { background: var(--green); color: var(--dark); }
.lot-badge--ending { background: var(--red); color: #fff; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }

.lot-img {
  height: 160px;
  background: linear-gradient(135deg, rgba(46,204,113,0.1), rgba(46,204,113,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
}
.lot-emoji { font-size: 4rem; }

.lot-body { padding: 20px; }
.lot-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 8px;
  display: block;
}
.lot-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}
.lot-desc { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-bottom: 16px; }

.lot-pricing {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
}
.lot-current, .lot-buynow { flex: 1; }
.lot-label { font-size: 0.72rem; color: rgba(255,255,255,0.4); display: block; margin-bottom: 2px; }
.lot-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}
.lot-price--green { color: var(--green); }

.lot-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.timer-val {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}
.lot-actions { display: flex; gap: 8px; }
.lot-actions .btn { flex: 1; justify-content: center; }
.lot-actions .btn-outline { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }
.lot-actions .btn-outline:hover { border-color: var(--green); color: var(--green); background: transparent; }

.section-footer { text-align: center; }
.section--dark .btn-outline { border-color: rgba(255,255,255,0.2); color: var(--white); }
.section--dark .btn-outline:hover { background: var(--green); border-color: var(--green); color: var(--dark); }

/* ====== HOW IT WORKS ====== */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.step-connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(to right, var(--green), var(--green-dark));
  margin-top: 36px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-content p { font-size: 0.88rem; color: var(--mid); }

/* ====== IMPACT SECTION ====== */
.impact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.impact-text .section-tag { background: var(--green); }
.impact-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}
.impact-text p { color: var(--slate); margin-bottom: 24px; font-size: 1rem; }
.impact-list { list-style: none; margin-bottom: 32px; }
.impact-list li { padding: 8px 0; border-bottom: 1px solid rgba(26,31,22,0.07); font-size: 0.92rem; font-weight: 500; }

.impact-visual { display: flex; justify-content: center; }
.circle-stat {
  width: 280px; height: 280px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0% 68%, rgba(46,204,113,0.2) 68% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: spin-slow 20s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.cs-inner {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: spin-slow 20s linear infinite reverse;
}
.cs-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
}
.cs-unit {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
}
.cs-label { font-size: 0.75rem; color: var(--mid); margin-top: 4px; }

/* ====== FOOTER ====== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p { font-size: 0.88rem; margin-top: 16px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.78rem;
  opacity: 0.4;
}

/* ====== CATALOGUE PAGE ====== */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 120px 0 60px;
}
.page-hero h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.5); }

.catalogue-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 48px 0;
}
.filters-panel {
  position: sticky;
  top: 90px;
  height: fit-content;
}
.filter-card {
  background: var(--white);
  border: 1.5px solid rgba(26,31,22,0.07);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.filter-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26,31,22,0.07);
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  cursor: pointer;
}
.filter-option input { accent-color: var(--green); }
.filter-option label { cursor: pointer; flex: 1; }
.filter-option .count { font-size: 0.75rem; color: var(--mid); }

.catalogue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.catalogue-header h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.sort-select {
  padding: 8px 16px;
  border: 1.5px solid rgba(26,31,22,0.1);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  background: var(--white);
}

.lots-grid-cat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ── Carte lot catalogue redesignée ── */
.lot-card-light {
  background: var(--white);
  border: 1.5px solid rgba(26,31,22,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.lot-card-light:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}
.lot-img-light {
  height: 130px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  flex-shrink: 0;
}
.lot-body-light {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lot-body-light .lot-cat {
  color: var(--green-dark);
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.lot-body-light h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.lot-body-light .lot-desc {
  color: var(--mid);
  font-size: 0.8rem;
  margin-bottom: 14px;
}

/* Bloc prix — 2 colonnes séparées visuellement */
.lot-pricing-light {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.price-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--light);
}
.price-group--bid { border-left: 3px solid var(--dark); }
.price-group--buynow { border-left: 3px solid var(--green); background: var(--green-light); }
.price-group .lot-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mid);
}
.price-group .lot-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.price-group--buynow .lot-price { color: var(--green-dark); }
.price-group .lot-price--green { color: var(--green-dark); }

/* Timer + compteur enchères sur une ligne propre */
.lot-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  margin-bottom: 12px;
  border-top: 1px solid rgba(26,31,22,0.06);
  border-bottom: 1px solid rgba(26,31,22,0.06);
}
.lot-timer-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-display);
}
.lot-timer-inline.urgent { color: var(--red); }
.lot-bids-count {
  font-size: 0.78rem;
  color: var(--mid);
}
.lot-bids-count strong { color: var(--dark); font-weight: 700; }

/* Boutons */
.lot-actions-light {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.lot-actions-light .btn {
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  padding: 10px 16px;
}
.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(26,31,22,0.12);
  color: var(--slate);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-outline-light:hover {
  border-color: var(--slate);
  background: var(--light);
}

/* ====== FORMS ====== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--light);
  padding: 100px 0 40px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.auth-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.auth-card p { color: var(--mid); margin-bottom: 32px; font-size: 0.9rem; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(26,31,22,0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,204,113,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 15px; justify-content: center; font-size: 1rem; border-radius: var(--radius-sm); }

.kbis-upload {
  border: 2px dashed rgba(26,31,22,0.15);
  border-radius: var(--radius-sm);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.kbis-upload:hover { border-color: var(--green); background: var(--green-light); }
.kbis-upload input { display: none; }
.kbis-upload p { font-size: 0.85rem; color: var(--mid); margin-top: 8px; }

/* ====== LOT DETAIL PAGE ====== */
.lot-detail {
  padding: 100px 0 60px;
}
.lot-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.lot-detail-img {
  height: 400px;
  background: var(--green-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: sticky;
  top: 90px;
}
.lot-detail-info h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.lot-detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.meta-item {
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.meta-item .meta-label { font-size: 0.72rem; color: var(--mid); margin-bottom: 2px; }
.meta-item .meta-val { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }

.bid-box {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 24px;
}
.bid-box h3 { font-family: var(--font-display); font-weight: 700; color: var(--white); margin-bottom: 20px; }
.bid-current {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bid-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
}
.bid-count { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.bid-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.bid-input-group input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.bid-input-group input::placeholder { color: rgba(255,255,255,0.3); }
.bid-input-group input:focus { outline: none; border-color: var(--green); }
.buynow-btn {
  width: 100%;
  justify-content: center;
  background: var(--green-light);
  color: var(--green-dark);
  border: 1.5px solid var(--green);
  border-radius: var(--radius-sm);
}
.buynow-btn:hover { background: var(--green); color: var(--dark); }

/* ====== DASHBOARD ====== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 70px);
  margin-top: 70px;
}
.sidebar {
  background: var(--dark);
  padding: 40px 24px;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
}
.sidebar-menu { margin-top: 32px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 4px;
}
.sidebar-link:hover, .sidebar-link.active { background: rgba(46,204,113,0.12); color: var(--green); }
.sidebar-icon { font-size: 1.1rem; }

.dashboard-main { padding: 48px; background: var(--light); }
.dashboard-main h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; margin-bottom: 32px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.kpi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1.5px solid rgba(26,31,22,0.06);
}
.kpi-card .kpi-icon { font-size: 1.5rem; margin-bottom: 12px; }
.kpi-card .kpi-val { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--dark); }
.kpi-card .kpi-label { font-size: 0.78rem; color: var(--mid); margin-top: 4px; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .lots-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-inner { grid-template-columns: 1fr; gap: 48px; }
  .circle-stat { width: 200px; height: 200px; }
  .cs-inner { width: 160px; height: 160px; }
  .cs-num { font-size: 2rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  .cat-grid { grid-template-columns: 1fr; }
  .lots-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .steps { flex-direction: column; }
  .step-connector { width: 2px; height: 40px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .catalogue-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .lot-detail-grid { grid-template-columns: 1fr; }
  .lot-detail-img { position: static; height: 240px; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
  .section { padding: 60px 0; }
}
