/* ============================== */
/* 🧊 商品詳細頁（Product Page）樣式 */
/* ============================== */

.product-detail {
  max-width: 800px;
  margin: 4rem auto;
  text-align: center;
  line-height: 1.8;
  padding: 0 1rem;
}

.product-detail h2 {
  color: #0077cc;
  margin-bottom: 0.3rem;
}

.product-detail .subtitle {
  color: #555;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.product-detail img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* 產品說明段落 */
.description {
  text-align: left;
  margin: 2rem auto;
  background: #f9fcff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.description h3 {
  color: #0077cc;
  margin-bottom: 0.5rem;
}

/* 租賃方案區 */
.pricing {
  text-align: center;
  margin: 3rem auto;
}

.pricing h3 {
  color: #0077cc;
  margin-bottom: 1rem;
}

.price-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.price-card {
  background: #f9fcff;
  border-radius: 12px;
  padding: 1.2rem 2rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.25s ease;
  width: 200px;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card h4 {
  margin-bottom: 0.3rem;
  color: #0077cc;
}

.price-card .price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
}

/* CTA 區塊 */
.cta-area {
  margin-top: 2rem;
}

.cta-area a {
  background-color: #4DB6E2;
  color: white;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cta-area a:hover {
  background-color: #3CA4D0;
}

/* Footer 微調 */
footer.container {
  margin-top: 3rem;
  border-top: 1px solid #e2e2e2;
  padding-top: 1rem;
  text-align: center;
  color: #555;
}

/* ============================== */
/* 📱 行動裝置優化 */
/* ============================== */
@media (max-width: 768px) {
  .product-detail {
    margin: 2rem auto;
  }

  .price-cards {
    flex-direction: column;
    align-items: center;
  }

  .price-card {
    width: 90%;
  }
}

/* ============================== */
/* 🌙 Dark Mode Overrides         */
/* ============================== */
@media (prefers-color-scheme: dark) {
  .product-detail h2,
  .description h3,
  .pricing h3,
  .price-card h4 {
    color: #4DB6E2;
  }

  .product-detail .subtitle {
    color: #aaa;
  }

  .description {
    background: #111f2e;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  }

  .price-card {
    background: #1a1a2e;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
  }

  .price-card .price {
    color: #eee;
  }

  footer.container {
    color: #aaa;
    border-top-color: #2a2a2a;
  }
}