/* Container for all product cards */
.product-wrapper {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
}

/* Individual product card styling */
.product-card {
  display: flex;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-bottom: 30px;
  gap: 20px;
}

/* Product image styling */
.product-card .product-image {
  width: 200px;
  flex-shrink: 0;
  border-radius: 8px;
}

/* Product information styling */
.product-card .product-info {
  flex-grow: 1;
}

.product-card .product-info .product-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card .product-info .product-price {
  color: #007bff;
  font-weight: bold;
  margin-bottom: 5px;
}

.product-card .product-info .product-rating {
  color: #f59e0b;
  font-weight: bold;
  margin-bottom: 10px;
}

.product-card .product-info .product-description {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Styling for the pros list */
.product-card .product-info .product-pros {
  list-style: none;
  padding-left: 0;
  margin-bottom: 10px;
}

.product-card .product-info .product-pros li::before {
  content: "✔️";
  color: #7c3aed;
  margin-right: 6px;
}

/* Styling for the feedback or customer review */
.product-card .product-info .product-feedback {
  font-style: italic;
  color: #444;
  margin-bottom: 10px;
}

/* Styling for the Add to Cart button */
.product-card .product-info button {
  border: 1px solid #555;
  padding: 6px 12px;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card .product-info button:hover {
  background-color: #f3f3f3;
}

/* ==== HEADER STYLES ==== */
.main-header {
  background-color: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 30px;
  font-family: 'Segoe UI', sans-serif;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  margin-bottom: 15px;
}

.header-links a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.search-box {
  display: flex;
  align-items: center;
}

.search-box input[type="text"] {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
}

.search-box button {
  padding: 6px 10px;
  border: 1px solid #ccc;
  background-color: #007bff;
  color: white;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.logo-container {
  text-align: center;
}

.logo-container img {
  max-width: 180px;
}

.tagline {
  margin-top: 5px;
  font-size: 14px;
  color: #555;
  font-style: italic;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.main-nav li {
  display: inline;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.main-nav a:hover {
  color: #007bff;
}

.amazon-button {
  display: inline-block;
  padding: 10px 16px;
  background-color: #ff9900;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  transition: background 0.3s;
}

.amazon-button:hover {
  background-color: #e68a00;
}
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
}

.product-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-description,
.product-feedback,
.product-pros {
  font-size: 15px;
  color: #444;
}

/* Logo section */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 10px;
}

.logo-container img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  margin-bottom: 5px;
}

/* Tagline styling */
.tagline {
  font-style: italic;
  font-size: 15px;
  color: #666;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .product-card { 
    flex-direction: column;
    align-items: center;
  }
  .product-image {
    max-width: 100%;
  }
}

.page-intro {
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
}
.page-intro h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.buying-tips {
  background: #f9f9f9;
  padding: 20px;
  margin: 20px auto;
  border-left: 5px solid #0077cc;
  max-width: 800px;
}
.buying-tips h2 {
  margin-top: 0;
}
.buying-tips ul {
  padding-left: 20px;
  list-style: disc;
}

.related-keywords {
  background: #f4f8ff;
  padding: 20px;
  border-radius: 12px;
  margin-top: 30px;
}

.related-keywords h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.related-keywords ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px; /* controls vertical & horizontal spacing */
}

.related-keywords ul li {
  margin: 0;
}

.related-keywords a {
  display: inline-block;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #222;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.3s, box-shadow 0.3s;
}

.related-keywords a:hover {
  background: #eef4ff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

