:root {
  --font: "Geist", "Geist Placeholder", sans-serif;
  --bg: #ffffff;
  --bg-dark: #111111;
  --text: #111111;
  --accent: #e63946;
  --hover: #f1f1f1;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
}

.product-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 40px;
}

.product-sidebar {
  flex: 1 1 200px;
  background: var(--bg-dark);
  color: #fff;
  padding: 30px;
  border-radius: 12px;
}

.product-sidebar h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.product-sidebar ul {
  list-style: none;
  padding: 0;
}

.product-sidebar li {
  margin-bottom: 12px;
}

.product-sidebar a {
  color: var(--hover);
  text-decoration: none;
  font-size: 0.95rem;
}

.product-main {
  flex: 3 1 600px;
}

.product-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.product-short {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

.product-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn {
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.secondary {
  background: var(--hover);
  color: var(--text);
}

.product-preview {
  margin-bottom: 40px;
}

#main-preview {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.preview-thumbnails {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.preview-thumbnails img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.preview-thumbnails img:hover {
  transform: scale(1.05);
}

.product-about h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.product-about p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.product-video video {
  width: 100%;
  border-radius: 12px;
  margin-top: 40px;
}

/* Tablet */
@media (max-width: 1024px) {
  .product-detail {
    flex-direction: column;
  }

  .product-sidebar {
    width: 100%;
  }

  .product-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .preview-thumbnails {
    justify-content: flex-start;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .product-detail {
    padding: 40px 20px;
  }

  .product-title {
    font-size: 2rem;
  }

  .product-short {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.95rem;
    padding: 10px 16px;
  }

  .preview-thumbnails img {
    width: 80px;
  }
}