/* DeskBusters - Home Office Affiliate Site Styles */

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

body {
  font-family: 'Inter', sans-serif;
  background: #f8f9fa;
  color: #1a1a2e;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
}
.logo span { color: #0070f3; }

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
nav a:hover { color: #0070f3; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #0070f3 0%, #00c6ff 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-block;
  background: white;
  color: #0070f3;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* CATEGORIES */
.categories {
  padding: 60px 0;
  background: #fff;
}

.categories h2, .featured h2, .buying-guide h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
  color: #1a1a2e;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.cat-card {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: #1a1a2e;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,112,243,0.12);
  border-color: #0070f3;
}

.cat-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.cat-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.cat-card p { font-size: 0.9rem; color: #6b7280; }

/* FEATURED PRODUCTS */
.featured {
  padding: 60px 0;
  background: #f8f9fa;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.badge {
  display: inline-block;
  background: #0070f3;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 14px;
  border-radius: 8px;
}

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a1a2e;
}

.stars { color: #f59e0b; font-size: 1rem; margin-bottom: 8px; }

.desc {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 16px;
  line-height: 1.5;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #16a34a;
}

.btn-buy {
  display: inline-block;
  background: #ff9900;
  color: #fff;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn-buy:hover {
  background: #e67e00;
  transform: translateY(-1px);
}

/* BUYING GUIDE */
.buying-guide {
  padding: 60px 0;
  background: #fff;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.guide-block {
  background: #f8f9fa;
  border-left: 4px solid #0070f3;
  border-radius: 8px;
  padding: 22px;
}

.guide-block h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.guide-block p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}

/* FOOTER */
footer {
  background: #1a1a2e;
  color: #9ca3af;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.88rem;
}

footer p { margin-bottom: 6px; }
footer .disclaimer { font-size: 0.8rem; opacity: 0.7; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.9rem; }
  nav a { margin-left: 10px; font-size: 0.85rem; }
  .product-grid { grid-template-columns: 1fr; }
}
