/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

h1, h2 {
  color: #222;
  margin-bottom: 10px;
}

/* Header Styles */
.header {
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
}

.navigation a {
  margin: 0 15px;
  text-decoration: none;
  color: #555;
  font-size: 1rem;
}

.navigation a:hover {
  color: #007bff;
}

.header-icons a {
  margin: 0 10px;
  text-decoration: none;
  font-size: 1rem;
  color: #333;
}

.header-icons a:hover {
  color: #007bff;
}

/* Product Hero Section */
.product-hero {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-images {
  flex: 1 1 50%;
  max-width: 50%;
  padding: 10px;
}

.main-image {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.thumbnails {
  display: flex;
  gap: 10px;
}

.thumbnails img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.thumbnails img:hover {
  transform: scale(1.1);
}

.product-details {
  flex: 1 1 50%;
  max-width: 50%;
  padding: 10px 20px;
}

.product-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.product-rating {
  font-size: 1rem;
  color: #f39c12;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #27ae60;
  margin-bottom: 10px;
}

.product-short-description {
  font-size: 1rem;
  margin-bottom: 20px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.quantity {
  width: 60px;
  padding: 5px;
  text-align: center;
}

.add-to-cart, .buy-now {
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-to-cart {
  background: #007bff;
  color: #fff;
}

.add-to-cart:hover {
  background: #0056b3;
}

.buy-now {
  background: #27ae60;
  color: #fff;
}

.buy-now:hover {
  background: #1e8449;
}

.payment-icons img {
  width: 40px;
  margin-right: 10px;
}

/* Product Tabs */
.product-tabs {
  background: #fff;
  margin-top: 20px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}

.tab {
  padding: 10px 20px;
  background: #f1f1f1;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tab:hover {
  background: #e2e2e2;
}

.tab.active {
  background: #007bff;
  color: #fff;
}

.tab-content {
  display: none;
  font-size: 1rem;
}

.tab-content.active {
  display: block;
}

/* Related Products */
.related-products {
  background: #fff;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.related-products h2 {
  margin-bottom: 20px;
}

.product-grid {
  display: flex;
  gap: 20px;
}

.product-item {
  flex: 1 1 calc(33.333% - 20px);
  background: #f9f9f9;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-item img {
  width: 100%;
  margin-bottom: 10px;
}

.product-name {
  font-size: 1rem;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.product-item .add-to-cart {
  background: #007bff;
  color: #fff;
}

.product-item .add-to-cart:hover {
  background: #0056b3;
}

/* Footer */
.footer {
  background: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

.footer a:hover {
  text-decoration: underline;
}
