/* ========== product.html 固有スタイル ========== */

/* 2カラム */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 50px;
  align-items: start;
}

/* --- 左：ギャラリー --- */
.pd-main {
  border-radius: 14px;
  overflow: hidden;
  background: #f3f2ef;
  aspect-ratio: 1 / 1;
}
.pd-main-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumb {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #ededea;
  background: #f3f2ef;
  cursor: pointer;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.is-active { border-color: var(--accent); }
.pd-thumb:hover { border-color: #c8c8c0; }

/* --- 右：商品情報 --- */
.pd-brand { height: 34px; margin-bottom: 14px; }
.pd-brand-logo { max-height: 34px; max-width: 150px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.pd-name { font-size: 24px; font-weight: 700; line-height: 1.5; letter-spacing: -.01em; }
.pd-rating { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.pd-stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }
.pd-rating-text { font-size: 12.5px; color: #6c6c66; }

.pd-price-wrap { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.pd-price { font-size: 32px; font-weight: 900; letter-spacing: -.01em; }
.pd-price-tax { font-size: 13px; color: #8a8a82; }
.pd-point { font-size: 12.5px; color: #6c6c66; margin-top: 8px; }
.pd-point b { color: var(--accent-dark); font-weight: 700; }

.pd-stock { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #2f8f4e; margin-top: 18px; }
.pd-stock-dot { width: 8px; height: 8px; border-radius: 999px; background: #2f8f4e; display: inline-block; }

.pd-buy { border-top: 1px solid #ededea; margin-top: 22px; padding-top: 22px; }
.pd-qty { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.pd-qty-label { font-size: 13px; font-weight: 700; }
.pd-actions { display: flex; gap: 12px; align-items: stretch; }
.pd-cart-btn { flex: 1; font-size: 15px; padding: 18px 28px; }
.pd-fav-btn {
  flex: none;
  width: 56px;
  border: 1px solid #d6d6cf;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-fav-btn:hover { background: #f6f6f3; border-color: var(--accent); }
.pd-fav-btn.is-active svg path { fill: var(--accent); stroke: var(--accent); }

.pd-notes { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 9px; }
.pd-notes li { font-size: 12.5px; color: #6c6c66; padding-left: 18px; position: relative; line-height: 1.7; }
.pd-notes li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 999px; background: var(--accent-light); }

/* --- タブ --- */
.pd-tabs { margin-top: 64px; }

/* レビュー */
.pd-review { padding: 18px 0; border-bottom: 1px solid #ededea; }
.pd-review:last-child { border-bottom: none; }
.pd-review-head { font-size: 14px; }
.pd-review-meta { font-size: 12px; color: #9a9a92; margin: 6px 0 8px; }

/* --- 関連商品 --- */
.pd-related { margin-top: 64px; }
.pd-related .card-grid { margin-top: 28px; }
.product-card a.product-thumb { display: block; }
.product-card h3 a { display: block; color: inherit; }
.product-card h3 a:hover { color: var(--accent-dark); }

/* --- レスポンシブ --- */
@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .pd-name { font-size: 21px; }
  .pd-tabs { margin-top: 48px; }
}
