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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.6;
}

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

header {
  text-align: center;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}

.date {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.subtitle {
  color: #555;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cat-btn {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  color: #333;
  padding: 10px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.cat-btn:hover {
  background: #eee;
}

.cat-btn.active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.loading {
  text-align: center;
  color: #666;
  padding: 60px;
  font-size: 1rem;
}

/* Product Card - bestgifts.io style */
.product-card {
  display: flex;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.product-card:last-child {
  border-bottom: none;
}

.rank {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ccc;
  min-width: 50px;
  text-align: center;
  padding-top: 10px;
}

.product-image-container {
  flex-shrink: 0;
  width: 120px;
}

.product-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background: #f9f9f9;
}

.product-content {
  flex: 1;
  min-width: 0;
}

.product-brand {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-title a {
  color: inherit;
  text-decoration: none;
}

.product-title a:hover {
  color: #0066cc;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.original-price {
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 8px;
}

.product-description {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.6;
}

.why-trending {
  background: #f8f8f8;
  border-left: 3px solid #1a1a1a;
  padding: 12px 16px;
  margin-top: 16px;
}

.why-trending-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  margin-bottom: 6px;
}

.why-trending-text {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #f0f0f0;
  color: #666;
}

.tag.expert {
  background: #e8f5e9;
  color: #2e7d32;
}

.tag.community {
  background: #e3f2fd;
  color: #1565c0;
}

.tag.deal {
  background: #fff3e0;
  color: #e65100;
}

.tag.new {
  background: #fce4ec;
  color: #c2185b;
}

.no-products {
  text-align: center;
  color: #666;
  padding: 60px 20px;
}

footer {
  margin-top: 60px;
  padding: 40px 0;
  border-top: 1px solid #eee;
  text-align: center;
}

footer h2 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

footer p {
  color: #666;
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 15px;
}

.disclosure {
  font-size: 0.8rem !important;
  color: #999 !important;
}

@media (max-width: 600px) {
  .container {
    padding: 15px;
  }
  
  header h1 {
    font-size: 1.5rem;
  }
  
  .product-card {
    flex-direction: column;
    gap: 16px;
  }
  
  .rank {
    text-align: left;
    min-width: auto;
    padding-top: 0;
  }
  
  .product-image-container {
    width: 100%;
    text-align: center;
  }
  
  .product-image {
    width: 150px;
    height: 150px;
  }
}
