/* ===== SWAPA STYLES ===== */
:root {
  --primary: #FF6B35;
  --primary-dark: #e05520;
  --primary-light: #fff2ed;
  --accent: #00C896;
  --dark: #1A1A1A;
  --text: #333333;
  --text-light: #777777;
  --border: #E8E8E8;
  --bg: #F9F7F4;
  --white: #FFFFFF;
  --auction: #7B2FBE;
  --auction-light: #f3e8ff;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

a { cursor: pointer; text-decoration: none; color: inherit; }
input, select, textarea, button { font-family: var(--font-body); }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,107,53,0.35); }
.btn-primary.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: 10px; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost.full-width { width: 100%; margin-top: 0.5rem; }

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  height: 64px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  cursor: pointer;
  letter-spacing: -0.5px;
}
.logo-dot { color: var(--primary); }
.nav-links {
  display: flex;
  gap: 0.25rem;
  flex: 1;
}
.nav-links a {
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.15s;
  font-size: 0.9rem;
}
.nav-links a:hover { background: var(--bg); color: var(--primary); }
.nav-actions { display: flex; gap: 0.5rem; align-items: center; margin-left: auto; }
.hamburger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }

/* ===== APP / PAGES ===== */
#app { padding-top: 64px; }
.page { display: none; min-height: calc(100vh - 64px); }
.page.active { display: block; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #2d1810 60%, #3d2010 100%);
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 560px;
}
.hero-bg {
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  z-index: 1;
  max-width: 580px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.3);
  color: #ff9a6c;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}
.hero h1 .accent { color: var(--primary); }
.hero-sub { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.stat strong { display: block; color: white; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.stat span { color: rgba(255,255,255,0.5); font-size: 0.8rem; }
.stat-div { width: 1px; height: 32px; background: rgba(255,255,255,0.2); }

.hero-visual {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.float-card {
  background: white;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 4s ease-in-out infinite;
}
.float-card.fc2 { animation-delay: 1.5s; margin-left: 1.5rem; }
.float-card.fc3 { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
.fc-img { font-size: 2rem; }
.fc-info strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.fc-info span { font-size: 0.9rem; color: var(--primary); font-weight: 700; }
.fc-badge { background: var(--auction-light); color: var(--auction); font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; }
.fc-timer { font-size: 0.75rem; color: var(--text-light); }
.auction-card { border-left: 3px solid var(--auction); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== SECTIONS ===== */
.section { padding: 4rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.75rem;
  letter-spacing: -0.5px;
}
.section-title.centered { text-align: center; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; }
.see-all { color: var(--primary); font-weight: 600; font-size: 0.9rem; transition: 0.15s; }
.see-all:hover { opacity: 0.75; }

/* ===== CATEGORIES ===== */
.categories-section { background: white; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}
.cat-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-card:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); }
.cat-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.cat-name { font-weight: 600; font-size: 0.85rem; color: var(--dark); }
.cat-count { font-size: 0.75rem; color: var(--text-light); margin-top: 0.25rem; }

/* ===== LISTINGS GRID ===== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.listing-card {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.22s;
  position: relative;
}
.listing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.listing-card.is-auction { border-color: var(--auction-light); }
.listing-card.is-auction:hover { border-color: var(--auction); }

.lc-image {
  height: 170px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.lc-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.lc-badge {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  background: var(--auction);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.lc-badge.sold { background: #999; }
.lc-body { padding: 0.9rem; }
.lc-title { font-weight: 600; font-size: 0.9rem; color: var(--dark); margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-meta { font-size: 0.78rem; color: var(--text-light); margin-bottom: 0.6rem; }
.lc-price { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--primary); }
.lc-price.auction-price { color: var(--auction); }
.lc-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.6rem; }
.lc-location { font-size: 0.75rem; color: var(--text-light); }
.lc-timer { font-size: 0.75rem; color: var(--auction); font-weight: 600; }

/* ===== FEATURED SECTION ===== */
.featured-section { background: var(--bg); }
.auction-section { background: #faf7ff; }

/* ===== HOW IT WORKS STRIP ===== */
.how-strip { background: var(--dark); }
.how-strip .section-title { color: white; }
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
}
.step-num { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--primary); letter-spacing: 2px; margin-bottom: 0.5rem; }
.step-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.step h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.step p { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.step-arrow { font-size: 1.5rem; color: rgba(255,255,255,0.2); padding-top: 3rem; flex-shrink: 0; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), #ff9a3c);
  padding: 4rem 1.5rem;
  text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-banner h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: white; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; font-size: 1.05rem; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--dark);
  padding: 3rem 1.5rem 2.5rem;
}
.auction-header { background: linear-gradient(135deg, #2d1a4a, #1a0f2e); }
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-header h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: white; margin-bottom: 0.35rem; }
.page-header p { color: rgba(255,255,255,0.6); }

/* ===== BROWSE PAGE ===== */
.browse-layout {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  gap: 2rem;
  align-items: flex-start;
}
.filters-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1.5px solid var(--border);
  position: sticky;
  top: 80px;
}
.filters-sidebar h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--dark); }
.filter-group { margin-bottom: 1rem; }
.filter-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-light); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.5px; }
.filter-group select, .filter-group input {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s;
}
.filter-group select:focus, .filter-group input:focus { outline: none; border-color: var(--primary); }
.browse-main { flex: 1; min-width: 0; }
.browse-toolbar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 0.5rem 0.9rem;
  min-width: 200px;
}
.search-bar input { border: none; background: none; font-size: 0.9rem; width: 100%; }
.search-bar input:focus { outline: none; }
.browse-toolbar select {
  padding: 0.55rem 0.8rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text);
  background: white;
  cursor: pointer;
}
.results-count { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1rem; }

/* ===== SELL FORM ===== */
.form-container { max-width: 700px; margin: 0 auto; padding: 2rem 1.5rem; }
.form-section {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1.5px solid var(--border);
  margin-bottom: 1.25rem;
}
.form-section h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--dark); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-light); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: white; }
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.listing-type-toggle { display: flex; border: 1.5px solid var(--border); border-radius: 9px; overflow: hidden; margin-bottom: 1.25rem; width: fit-content; }
.type-btn { padding: 0.55rem 1.4rem; border: none; background: white; font-weight: 600; font-size: 0.88rem; cursor: pointer; color: var(--text-light); transition: all 0.15s; }
.type-btn.active { background: var(--primary); color: white; }
.full-width { width: 100%; }

.photo-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
  background: var(--bg);
}
.photo-upload:hover { border-color: var(--primary); }
.upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.upload-placeholder p { font-weight: 600; font-size: 0.92rem; color: var(--text); margin-bottom: 0.25rem; }
.upload-placeholder span { font-size: 0.8rem; color: var(--text-light); }
.photo-preview-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.photo-preview-grid img { width: 70px; height: 70px; object-fit: cover; border-radius: 7px; }

.commission-note {
  display: flex;
  gap: 0.75rem;
  background: var(--primary-light);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 9px;
  padding: 0.9rem;
  margin-top: 1rem;
}
.cn-icon { font-size: 1.1rem; flex-shrink: 0; }
.cn-text { font-size: 0.82rem; color: var(--text); line-height: 1.5; }
.cn-text strong { color: var(--primary); }

/* ===== HOW PAGE ===== */
.how-content { max-width: 800px; margin: 0 auto; padding: 2rem 1.5rem; }
.how-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.how-tab {
  padding: 0.5rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: white;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text-light);
}
.how-tab.active { background: var(--primary); color: white; border-color: var(--primary); }
.how-tab-content { display: none; }
.how-tab-content.active { display: block; }
.how-steps { display: flex; flex-direction: column; gap: 1.25rem; }
.how-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.hs-num {
  width: 36px; height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.hs-body h3 { font-weight: 700; margin-bottom: 0.3rem; color: var(--dark); }
.hs-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.5; }
.info-box {
  background: #fffbf0;
  border: 1.5px solid #fde68a;
  border-radius: var(--radius);
  padding: 1.1rem;
  font-size: 0.88rem;
  color: var(--text);
  margin-top: 1.25rem;
  line-height: 1.6;
}
.payment-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.pm-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.pm-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.pm-card h4 { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--dark); }
.pm-card p { font-size: 0.78rem; color: var(--text-light); line-height: 1.4; }

/* ===== ITEM DETAIL ===== */
.item-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.id-gallery { background: white; border-radius: var(--radius); border: 1.5px solid var(--border); overflow: hidden; }
.id-main-img { height: 380px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 6rem; }
.id-info { display: flex; flex-direction: column; gap: 1rem; }
.id-card {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 1.5rem;
}
.id-card h1 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--dark); margin-bottom: 0.25rem; }
.id-meta-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.id-tag { background: var(--bg); border: 1px solid var(--border); border-radius: 5px; padding: 0.2rem 0.6rem; font-size: 0.78rem; color: var(--text-light); }
.id-price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; }
.id-commission { font-size: 0.82rem; color: var(--text-light); }
.id-desc { font-size: 0.9rem; color: var(--text); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 0.5rem; }

.auction-info { background: var(--auction-light); border-radius: var(--radius); padding: 1.25rem; border: 1.5px solid rgba(123,47,190,0.2); }
.ai-current { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--auction); }
.ai-timer { font-size: 0.85rem; color: var(--auction); margin-bottom: 1rem; }
.bid-input-row { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.bid-input-row input { flex: 1; padding: 0.6rem 0.8rem; border: 1.5px solid rgba(123,47,190,0.3); border-radius: 8px; font-size: 0.9rem; }
.btn-auction { background: var(--auction); color: white; border: none; padding: 0.65rem 1.2rem; border-radius: 8px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-auction:hover { background: #6520a0; }

.unlock-card { text-align: center; }
.unlock-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.unlock-card h3 { font-family: var(--font-display); font-weight: 700; margin-bottom: 0.4rem; color: var(--dark); }
.unlock-card p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1.25rem; line-height: 1.5; }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.75rem; }
.pay-btn {
  border: 1.5px solid var(--border);
  background: white;
  border-radius: 8px;
  padding: 0.55rem 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text);
  text-align: center;
}
.pay-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.back-btn { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--text-light); cursor: pointer; margin-bottom: 1.5rem; transition: color 0.15s; }
.back-btn:hover { color: var(--primary); }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  animation: modalIn 0.22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--text-light); }
.modal h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin-bottom: 0.3rem; }
.modal p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1.5rem; }
.modal .form-group { margin-bottom: 0.85rem; }
.modal .form-group label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); display: block; margin-bottom: 0.3rem; }
.modal .form-group input { width: 100%; padding: 0.65rem 0.85rem; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.92rem; background: var(--bg); }
.modal .form-group input:focus { outline: none; border-color: var(--primary); background: white; }
.modal-footer { margin-top: 1rem; text-align: center; font-size: 0.82rem; color: var(--text-light); }
.modal-footer a { color: var(--primary); font-weight: 600; cursor: pointer; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 3000;
  transition: transform 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand .logo { color: white; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25D366;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: opacity 0.15s;
}
.whatsapp-btn:hover { opacity: 0.85; }
.footer-links h4 { color: white; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-links a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; transition: color 0.15s; cursor: pointer; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-light); }
.empty-state .es-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-family: var(--font-display); font-weight: 700; margin-bottom: 0.5rem; color: var(--dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .item-detail { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: white; flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border); z-index: 999; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .browse-layout { flex-direction: column; padding: 1rem; }
  .filters-sidebar { width: 100%; position: static; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-outline { text-align: center; }
}
@media (max-width: 480px) {
  .hero { padding: 3.5rem 1rem 3rem; }
  .hero h1 { font-size: 1.7rem; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-card { padding: 0.8rem 0.4rem; }
  .cat-icon { font-size: 1.4rem; }
  .cat-name { font-size: 0.72rem; }
  .cat-count { display: none; }
}
