:root {
  --gold: #F97316;
  --gold-light: #FB923C;
  --gold-bright: #FDBA74;
  --gold-dim: rgba(249, 115, 22, 0.15);
  --dark: #080808;
  --dark-2: #101010;
  --dark-3: #181818;
  --dark-4: #222222;
  --dark-5: #2C2C2C;
  --cream: #F8F2E6;
  --cream-2: #EDE4CF;
  --text: #D8CEB8;
  --text-dim: #786E58;
  --text-muted: #4A4438;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --red: #C94040;
  --radius-sm: 3px;
  --radius: 6px;
  --radius-lg: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Syne', sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ═══ NOISE OVERLAY ═══ */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.4;
}

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-5); border-radius: 2px; }

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(249, 115, 22,0.12);
}

nav::after {
  content: '';
  position: absolute; bottom: 0; left: 48px; right: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22,0.3), transparent);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}

.logo-mark {
  width: 28px; height: 28px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: #000;
  letter-spacing: 0;
}

.logo em { color: var(--gold-light); font-style: normal; }

.nav-right { display: flex; align-items: center; gap: 8px; }

.nav-pill {
  padding: 7px 18px;
  font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 40px; cursor: pointer; transition: all 0.2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border: none;
}

.nav-pill-ghost {
  background: transparent; color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.08);
}
.nav-pill-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

.nav-pill-gold {
  background: var(--gold); color: #000;
  box-shadow: 0 0 20px rgba(249, 115, 22,0.3);
}
.nav-pill-gold:hover {
  background: var(--gold-bright);
  box-shadow: 0 0 30px rgba(249, 115, 22,0.5);
}

.cart-badge {
  background: #000; color: var(--gold);
  border-radius: 50%; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 800; font-family: 'JetBrains Mono', monospace;
}

/* ═══ LAYOUT ═══ */
main { flex: 1; padding-top: 64px; }

/* ═══ HERO ═══ */
.hero {
  min-height: 88vh;
  display: flex; align-items: center;
  padding: 80px 48px;
  position: relative; overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-bg-circle {
  position: absolute; border-radius: 50%;
  filter: blur(100px);
  animation: float 8s ease-in-out infinite;
}
.hero-bg-circle:nth-child(1) {
  width: 600px; height: 600px; top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(249, 115, 22,0.12) 0%, transparent 70%);
  animation-delay: 0s;
}
.hero-bg-circle:nth-child(2) {
  width: 400px; height: 400px; bottom: -50px; left: 20%;
  background: radial-gradient(circle, rgba(249, 115, 22,0.06) 0%, transparent 70%);
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(249, 115, 22,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 115, 22,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--gold); }
.hero-eyebrow-text {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  color: var(--gold-light); letter-spacing: 0.2em; text-transform: uppercase;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 300; line-height: 0.95;
  color: var(--cream); margin-bottom: 32px; letter-spacing: -0.01em;
}
.hero-title strong { font-weight: 700; color: var(--cream); display: block; }
.hero-title em { font-style: italic; color: var(--gold-light); display: block; }

.hero-subtitle {
  font-family: 'Syne', sans-serif; font-size: 0.9rem; color: var(--text-dim);
  line-height: 1.7; max-width: 380px; margin-bottom: 48px; font-weight: 400;
}

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #000; padding: 14px 32px; border-radius: 4px;
  font-family: 'Syne', sans-serif; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; border: none; text-decoration: none; transition: all 0.25s;
  box-shadow: 0 8px 32px rgba(249, 115, 22,0.25);
}
.btn-hero-primary:hover {
  background: var(--gold-bright); transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(249, 115, 22,0.4);
}

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; cursor: pointer; transition: color 0.2s;
  background: none; border: none; font-family: 'Syne', sans-serif; text-decoration: none;
}
.btn-hero-secondary:hover { color: var(--text); }
.btn-hero-secondary svg { width: 16px; height: 16px; }

.hero-stat-row { position: absolute; bottom: 48px; right: 48px; display: flex; gap: 40px; }
.hero-stat { text-align: right; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: 2.2rem;
  font-weight: 700; color: var(--cream); line-height: 1;
}
.hero-stat-label {
  font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.12em;
  text-transform: uppercase; margin-top: 4px; font-weight: 500;
}

/* ═══ SECTION HEADER ═══ */
.section-padding { padding: 80px 48px; }

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 0 40px; border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 40px;
}
.section-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  color: var(--text-muted); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif; font-size: 2.8rem;
  font-weight: 600; color: var(--cream); line-height: 1;
}
.section-title span { color: var(--gold-light); font-style: italic; }

.section-meta { text-align: right; }
.count-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--dark-3); border: 1px solid rgba(255,255,255,0.06);
  padding: 6px 14px; border-radius: 40px; font-size: 0.75rem; color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}
.count-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 6px var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ═══ PRODUCT GRID ═══ */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2px;
}

.product-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.04);
  position: relative; overflow: hidden; transition: border-color 0.3s;
  text-decoration: none; display: block; color: inherit;
}
.product-card::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(249, 115, 22,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.product-card:hover::before { opacity: 1; }
.product-card:hover { border-color: rgba(249, 115, 22,0.25); }

.product-img-wrap {
  width: 100%; aspect-ratio: 4/3; background: var(--dark-3);
  overflow: hidden; position: relative;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.9) saturate(0.85);
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.08); filter: brightness(1) saturate(1);
}

.product-img-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; color: var(--text-muted);
}

.product-category-pill {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(8,8,8,0.8); backdrop-filter: blur(8px);
  border: 1px solid rgba(249, 115, 22,0.2); padding: 3px 10px; border-radius: 40px;
  font-size: 0.65rem; font-weight: 600; color: var(--gold-light);
  letter-spacing: 0.1em; text-transform: uppercase;
}

.product-body { padding: 20px 22px 22px; position: relative; z-index: 1; }
.product-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem;
  font-weight: 600; color: var(--cream); line-height: 1.2; margin-bottom: 6px;
}
.product-desc {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.6;
  margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; font-weight: 400;
}

.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.05);
}
.product-price {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
  font-weight: 700; color: var(--gold-light); line-height: 1;
}
.product-price-currency {
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem;
  font-weight: 400; color: var(--text-muted); display: block;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px;
}

.add-cart-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; border: 1px solid rgba(249, 115, 22,0.3);
  color: var(--gold-light); padding: 9px 18px; border-radius: 4px;
  font-family: 'Syne', sans-serif; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s; position: relative; z-index: 2;
}
.add-cart-btn:hover {
  background: rgba(249, 115, 22,0.1); border-color: var(--gold);
  transform: translateY(-1px);
}

/* ═══ CATALOG PAGE ═══ */
.filters-bar {
  display: flex; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; align-items: center;
}
.search-box {
  display: flex; align-items: center; background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm);
  padding: 0 16px; flex: 1; min-width: 250px;
}
.search-box input {
  background: transparent; border: none; color: var(--text);
  padding: 12px 0; width: 100%; font-family: 'Syne', sans-serif; outline: none;
}
.search-box svg { color: var(--text-muted); margin-right: 10px; }

.filter-select {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.08);
  color: var(--text); padding: 12px 16px; border-radius: var(--radius-sm);
  font-family: 'Syne', sans-serif; outline: none; cursor: pointer;
}

/* ═══ EMPTY STATE ═══ */
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 100px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.empty-state-icon {
  width: 80px; height: 80px; background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); margin-bottom: 8px;
}
.empty-state h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--text-dim); }
.empty-state p { font-size: 0.82rem; color: var(--text-muted); max-width: 300px; line-height: 1.6; }

/* ═══ FOOTER ═══ */
footer {
  background: var(--dark-2); border-top: 1px solid rgba(255,255,255,0.04);
  padding: 40px 48px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; margin-top: auto;
}
.footer-logo-text {
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem;
  font-weight: 600; color: var(--cream); display: flex; align-items: center; gap: 8px;
}
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }
.footer-note {
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem;
  color: var(--text-muted); display: flex; align-items: center; gap: 6px;
}
.footer-note::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--whatsapp); }

/* ═══ UTILS ═══ */
.btn-primary {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  width: 100%; padding: 14px; background: var(--gold); color: #000;
  border: none; border-radius: var(--radius-sm); text-decoration: none;
  font-family: 'Syne', sans-serif; font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s; box-shadow: 0 8px 24px rgba(249, 115, 22,0.2);
}
.btn-primary:hover {
  background: var(--gold-bright); box-shadow: 0 12px 32px rgba(249, 115, 22,0.35); transform: translateY(-1px);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .hero-title { font-size: 3.5rem; }
  .hero-subtitle { max-width: 100%; }
}

@media (max-width: 768px) {
  nav { padding: 0 16px; height: 60px; }
  nav::after { left: 16px; right: 16px; }
  .logo { font-size: 1.1rem; }
  .logo em { display: none; } /* Hide 'Enterprises' on mobile */
  
  .nav-right { gap: 4px; }
  .nav-pill { padding: 6px 12px; font-size: 0.7rem; }
  .nav-pill-text { display: none; } /* Hide text in pills, icons only */
  
  .hero { padding: 80px 20px 40px; min-height: unset; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-eyebrow { justify-content: center; margin-bottom: 20px; }
  .hero-title { font-size: 3rem; margin-bottom: 20px; }
  .hero-subtitle { margin: 0 auto 32px; font-size: 0.85rem; }
  .hero-actions { justify-content: center; gap: 12px; }
  .hero-stat-row { display: none; }
  
  .section-padding { padding: 48px 20px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-title { font-size: 2.2rem; }
  
  .product-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .product-body { padding: 14px; }
  .product-name { font-size: 1.1rem; }
  .product-price { font-size: 1.2rem; }
  .add-cart-btn { padding: 8px 12px; font-size: 0.65rem; }
  
  footer { padding: 32px 20px; flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
  .btn-hero-primary { width: 100%; justify-content: center; }
}
