:root {
  /* Premium Color Palette */
  --color-primary: #8E6E53; /* Elegant Bronze/Gold */
  --color-primary-light: #C4A484;
  --color-secondary: #2C3E50; /* Trustworthy Dark Blue */
  --color-accent: #E74C3C; /* Strong CTA Red */
  --color-bg-light: #F9F9F9;
  --color-text-main: #333333;
  --color-text-muted: #666666;
  --color-white: #FFFFFF;
  --color-star: #F1C40F;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;

  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-bold { font-weight: 700; }
.hidden { display: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #c0392b);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

.btn-floating {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 90%;
  max-width: 400px;
  text-align: center;
  font-size: 1.1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}

/* Header / Hero */
#hero {
  position: relative;
  background-color: #fff;
  overflow: hidden;
}

.hero-image-container {
  width: 100%;
  height: 60vh;
  background-color: #ddd; /* Placeholder color */
  position: relative;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  padding: var(--spacing-md);
  background: white;
  margin-top: -50px;
  position: relative;
  border-radius: 20px 20px 0 0;
  z-index: 10;
  box-shadow: 0 -10px 20px rgba(0,0,0,0.05);
}

.hero-badge {
  background: var(--color-primary);
  color: white;
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 10px;
}

/* Ranking Section */
#ranking {
  padding: var(--spacing-lg) 0;
}

.ranking-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
  border: 1px solid #eee;
  position: relative;
}

.rank-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #D4AF37; /* Gold */
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom-right-radius: 12px;
  z-index: 5;
}

.rank-1 .rank-badge { background: linear-gradient(135deg, #FFD700, #DAA520); }
.rank-2 .rank-badge { background: #C0C0C0; } /* Silver */
.rank-3 .rank-badge { background: #CD7F32; } /* Bronze */

.product-content {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-md);
}

@media (min-width: 768px) {
  .product-content { flex-direction: row; gap: 2rem; }
}

.product-image {
  flex: 1;
  max-width: 300px;
  margin: 0 auto;
}

.product-details {
  flex: 2;
}

.rating {
  color: var(--color-star);
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.rating-number {
  color: var(--color-text-main);
  font-weight: bold;
  font-size: 1.2rem;
  margin-left: 0.5rem;
}

.review-table th, .review-table td {
  padding: 8px;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.review-table th {
  text-align: left;
  color: var(--color-text-muted);
  width: 40%;
}

/* Review / Expert Section */
#expert-review {
  background: #fff;
  padding: var(--spacing-md);
  border-radius: 8px;
  margin: var(--spacing-lg) 0;
}

.expert-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #ddd;
}
