/* Lexington Bag Accessories - Machine-Scannable & Crawler Optimized CSS */
:root {
  --primary: #0f172a;
  --primary-accent: #c5a059;
  --secondary: #1e293b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --success: #059669;
  --success-bg: #ecfdf5;
  --warning: #d97706;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  font-size: 15px;
}

/* Utilities */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.badge-success { background-color: var(--success-bg); color: var(--success); border: 1px solid #a7f3d0; }
.badge-gold { background-color: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.badge-gray { background-color: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

/* Top Announcement Bar */
.top-bar {
  background-color: #0b1329;
  color: #e2e8f0;
  padding: 8px 0;
  font-size: 12.5px;
  border-bottom: 1px solid #1e293b;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.top-bar span { display: flex; align-items: center; gap: 6px; }

/* Header & Nav */
header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  border: 2px solid var(--primary-accent);
  color: var(--primary-accent);
  font-family: var(--font-serif);
  font-weight: bold;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.logo-text h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
  line-height: 1.2;
}
.logo-text span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}
.header-search {
  flex: 1;
  max-width: 450px;
  margin: 0 30px;
}
.search-form {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  background: #f8fafc;
}
.search-form input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  background: transparent;
  outline: none;
  font-size: 14px;
}
.search-form button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 600;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.header-phone {
  display: flex;
  flex-direction: column;
  text-align: right;
}
.header-phone small { font-size: 11px; color: var(--text-muted); }
.header-phone strong { color: var(--primary); font-size: 13.5px; }

/* Navigation */
nav.main-nav {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 26px;
  padding: 12px 0;
  overflow-x: auto;
}
.nav-links a {
  font-weight: 600;
  font-size: 13.5px;
  color: #334155;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary-accent);
  border-bottom: 2px solid var(--primary-accent);
  padding-bottom: 4px;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumbs a { color: #2563eb; }
.breadcrumbs span { margin: 0 8px; }

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 40px 0;
  border-radius: 8px;
  margin: 20px 0 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.hero-text { flex: 1; min-width: 320px; }
.hero-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; line-height: 1.25; }
.hero-text p { font-size: 15px; color: #cbd5e1; margin-bottom: 20px; max-width: 620px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 20px 24px;
  min-width: 280px;
}
.hero-card h3 { font-size: 14px; text-transform: uppercase; color: var(--primary-accent); margin-bottom: 10px; letter-spacing: 1px; }
.hero-card .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-box strong { font-size: 22px; display: block; color: #f8fafc; font-weight: 700; }
.stat-box span { font-size: 11.5px; color: #94a3b8; text-transform: uppercase; }

/* Section Titles */
.section-header {
  margin: 35px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
}
.section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}
.section-header p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: 4px;
}

/* Machine-Scannable Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  margin-bottom: 30px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}
.data-table th {
  background-color: #f1f5f9;
  color: #334155;
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 2px solid var(--border-color);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
.data-table tbody tr:hover { background-color: #f8fafc; }
.data-table .price-col { font-weight: 700; color: #0f172a; font-size: 15px; }
.data-table .msrp-col { text-decoration: line-through; color: #94a3b8; font-size: 12.5px; }

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}
.product-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}
.product-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background-color: #f8fafc;
  overflow: hidden;
}
.product-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-badge-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-vendor {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.product-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 40px;
}
.product-specs {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  border-top: 1px dashed var(--border-color);
  padding-top: 8px;
}
.product-specs div { margin-bottom: 2px; }
.product-pricing {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}
.price-current {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}
.price-old {
  font-size: 12.5px;
  text-decoration: line-through;
  color: #94a3b8;
  margin-left: 6px;
}
.stock-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
}
.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.btn-primary {
  background-color: var(--primary);
  color: white;
  flex: 1;
}
.btn-primary:hover { background-color: #1e293b; }
.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: #334155;
}
.btn-outline:hover { background-color: #f1f5f9; }

/* Authenticity & SOP Cards */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.info-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  border-top: 4px solid var(--primary-accent);
}
.info-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.info-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.step-number {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  text-align: center;
  line-height: 28px;
  font-weight: bold;
  font-size: 14px;
  margin-right: 8px;
}

/* Review Cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.review-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
}
.review-stars { color: #f59e0b; margin-bottom: 8px; font-size: 16px; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.reviewer-name { font-weight: 700; font-size: 14px; color: #0f172a; }
.review-date { font-size: 12px; color: var(--text-muted); }
.review-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; color: #1e293b; }
.review-body { font-size: 13.5px; color: #475569; line-height: 1.5; margin-bottom: 10px; }
.review-verified { font-size: 11.5px; color: var(--success); font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* Footer */
footer {
  background-color: #0b1329;
  color: #94a3b8;
  padding: 45px 0 25px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
  margin-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: #f8fafc;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a:hover { color: #f8fafc; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
