/* ▼カート計算用▼ */
.iron-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.iron-label {
  font-size: 14px;
}

select.premium-select {
  width: 110px;
  min-width: 110px;
}


/* =========================
   プレミアム価格表
========================= */
.price-table-wrap {
  overflow-x: auto;
  margin: 15px 0;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
  min-width: 420px;
}

.price-table th,
.price-table td {
  border: 1px solid #ddd;
  padding: 8px 6px;
}

.price-table thead th {
  background: #f5f5f5;
  font-weight: bold;
}

.price-table tbody th {
  background: #fafafa;
  font-weight: bold;
  white-space: nowrap;
}

/* スマホ最適化 */
@media screen and (max-width: 768px) {
  .price-table {
    font-size: 13px;
  }
}

/* =========================
   スマホ用：プリント料金表の縦表示
========================= */
@media screen and (max-width: 768px) {

  .price-table-wrap {
    overflow-x: visible;
  }

  .price-table {
    min-width: auto;
    border: none;
  }

  .price-table thead {
    display: none;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
  }

  .price-table tbody th {
    background: #f5f5f5;
    text-align: left;
    padding: 8px 10px;
    font-weight: bold;
  }

  .price-table td {
    text-align: right;
    padding: 8px 10px;
    border-top: 1px solid #eee;
    position: relative;
  }

  /* ラベル表示（小・中・大） */
  .price-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 8px;
    font-weight: bold;
    color: #666;
  }

  /* 列ラベルを付与 */
  .price-table tbody tr td:nth-child(2)::before { content: "小サイズ"; }
  .price-table tbody tr td:nth-child(3)::before { content: "中サイズ"; }
  .price-table tbody tr td:nth-child(4)::before { content: "大サイズ"; }

}

/* ▼外部htmlを読み込んだ時に改行をそのまま扱う▼ */
#premium-iron {
  white-space: pre-line;
}

/* ▼table関連は通常表示に戻す▼ */
#premium-iron table,
#premium-iron th,
#premium-iron td {
  white-space: normal;
}

/* 商品説明エリア内の画像は必ず改行させる */
#premium-iron img {
  display: block;
}