@charset "utf-8";
/* CSS Document */
/*商品詳細*/
.product-detail {
  display: flex;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.product-info {
  flex: 1;
}
.add-cart {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.add-cart:focus {
  outline: none;
}
.add-cart:hover {
  opacity: 0.5;
  transform: scale(0.95);
}
.quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}
.qty-input {
  width: 50px;
  text-align: center;
}
.qty-btn {
  width: 32px;
  height: 32px;
  font-size: 18px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}
.product-image {
  max-width: 420px;
}
.main-image {
  position: relative;
}

.main-image img {
  width: 100%;
  display: none;
  border-radius: 10px;
}

.main-image img.active {
  display: block;
}
.thumb-list {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.thumb-list img {
  width: 80px;
  cursor: pointer;
  opacity: 0.6;
  border-radius: 6px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.thumb-list img:hover {
  opacity: 1;
  transform: scale(1.05);
}
.small {
  font-size: 13px;
}
.product-price {
  font-size: 20px;
  font-weight: bold;
}
.product-name {
  font-size: 30px;
}
/*商品詳細ここまで*/
/*おすすめ*/
.recommend {
  margin-top: 80px;
}
.section-title {
  font-size: 20px;
  margin-bottom: 20px;
}
/* 表示枠 */
.recommend-slider {
  overflow-x: auto;
}
/* 横並び */
.recommend-track {
  display: flex;
  gap: 20px;
  list-style-type: none;
}
/* 商品カード */
.recommend-item {
  flex: 0 0 180px;
}
.recommend-item img {
  width: 100%;
  border-radius: 10px;
}
.recommend-item .name {
  font-size: 14px;
  margin-top: 8px;
}
.recommend-item .price {
  font-size: 13px;
  color: #666;
}
.recommend-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}
.recommend-item a:hover {
  transform: scale(0.95);
  opacity: 0.5;
}
.section-title {
  border-top: 2px dotted #3f3203;
  padding-top: 20px;
  padding-left: 20px;
}