/* ThalRova Eyewear - Official E-Commerce Stylesheet */
:root {
  --navy-dark: #0B1325;
  --navy-card: #152238;
  --navy-border: #233554;
  --gold-primary: #D97706;
  --gold-light: #FBBF24;
  --blue-primary: #0284C7;
  --blue-light: #38BDF8;
  --green-badge: #10B981;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --bg-light: #F8FAFC;
  --card-light: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #0B1325;
  color: #F1F5F9;
  line-height: 1.5;
  font-size: 14px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Machine Verification Banner */
.machine-banner {
  background: #1e3a8a;
  color: #FFFFFF;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #38bdf8;
}
.machine-banner .flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Header & Nav */
header {
  background: #152238;
  border-bottom: 1px solid #233554;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
}
.logo-badge {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #fbbf24;
}
.logo-text h1 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}
.logo-text span {
  font-size: 11px;
  color: #94A3B8;
  display: block;
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
}
.nav-links a {
  color: #94A3B8;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: #FFFFFF;
  background: #233554;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}
.badge-gold { background: #d97706; color: #fff; }
.badge-green { background: #065f46; color: #34d399; }
.badge-blue { background: #0369a1; color: #e0f2fe; }

/* Hero */
.hero {
  padding: 40px 0;
  background: linear-gradient(180deg, #152238 0%, #0B1325 100%);
  border-bottom: 1px solid #233554;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-size: 32px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-desc {
  color: #cbd5e1;
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.product-card {
  background: #152238;
  border: 1px solid #233554;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #fbbf24;
}
.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #0f172a;
}
.product-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-brand {
  font-size: 11px;
  text-transform: uppercase;
  color: #fbbf24;
  font-weight: 700;
  margin-bottom: 4px;
}
.product-name {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.product-specs {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 12px;
  line-height: 1.5;
}
.product-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #233554;
}
.price {
  font-size: 20px;
  font-weight: 900;
  color: #34d399;
}

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #152238;
  border: 1px solid #233554;
  border-radius: 8px;
  overflow: hidden;
}
.data-table th {
  background: #0f172a;
  color: #94a3b8;
  text-align: left;
  padding: 12px 14px;
  font-size: 12px;
  text-transform: uppercase;
  border-bottom: 1px solid #233554;
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #233554;
  color: #e2e8f0;
}
.data-table tr:hover td {
  background: #1e293b;
}

/* Footer */
footer {
  background: #090e1a;
  border-top: 1px solid #233554;
  padding: 40px 0 20px;
  margin-top: 60px;
  font-size: 12px;
  color: #94a3b8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: 14px;
  margin-bottom: 14px;
}
.footer-col p {
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
