
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #fff;
  color: #333;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 80px;
  border-bottom: 1px solid #ccc;
  background-color: #0b69b3;
}

.top-nav .logo {
  font-weight: bold;
  font-size: 20px;
  color: #8b2d2d;
  height: 50px;
}

.top-nav nav a {
  margin: 1 1px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}

.user-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  border-radius: 50%;
}

.promo-container {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.left {
  flex: 1;
  min-width: 300px;
}

.main-image {
  width: 100%;
  border-radius: 12px;
}

.thumbnail-row {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}
.main-heading {
  text-align: center;
  font-size: 2em;
  margin-bottom: 1em;
}

.thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
}

.thumb .active {
  border-color: #8b2d2d;
}

.right {
  flex: 1;
  min-width: 300px;
}

.brand {
  color: #8b2d2d;
  font-weight: bold;
}

.title {
  margin-top: 4px;
  font-size: 20px;
}

.price {
  font-size: 24px;
  color: #111;
  margin: 16px 0;
}

.old-price {
  text-decoration: line-through;
  color: #bbb;
  margin-left: 12px;
  font-size: 18px;
}

.action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.qty button {
  background: #eee;
  border: none;
  padding: 6px 10px;
  font-size: 16px;
  cursor: pointer;
}

.qty span {
  margin: 0 8px;
  font-weight: bold;
}

.cta-button {
  background-color: #5c2e2e;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
}

.section {
  margin-bottom: 24px;
}

.section-title {
  color: #333;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .promo-container {
    flex-direction: column;
    padding: 20px;
  }

  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav nav {
    margin-top: 8px;
  }
}
.site-footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer .footer-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #bbb;
}
@media (max-width: 600px) {
  .site-footer {
    font-size: 0.8rem;
    padding: 1rem 0.5rem;
  }
}
.logo-footer {
  height: 50px;
  margin-bottom: 0.5rem;
}
.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  display: inline-block;
  margin: 0 0.5rem;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

body.dark {
  background-color: #121212;
  color: #eee;
}

.dark .top-nav,
.dark .site-footer {
  background-color: #1e1e1e;
}

.dark a {
  color: #90caf9;
}

.dark .cta-button {
  background-color: #444;
  color: white;
}

.dark .thumb {
  border-color: #555;
}

.dark-toggle {
  margin-left: 10px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: inherit;
}
.section .reviews {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background-color: #fff;
}

.reviews-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #333;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.review-card {
  background: #f4f4f4;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.review-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #444;
}

.review-name {
  font-weight: 600;
}

.review-date {
  color: #888;
  font-size: 0.85rem;
}

.stars {
  color: #ffc107;
  font-size: 14px;
  margin-bottom: 0.4rem;
}

.review-text {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

.aggregate-rating {
  text-align: center;
  margin-top: 1.8rem;
  font-size: 0.95rem;
  color: #222;
}

