/* ========================================
   注文確認・完了ページ共通スタイル
   - 注文サマリー
   - お届け先情報
   - 完了メッセージ
======================================== */

/* ------------------------------
   注文確認ページ
------------------------------ */
.order-page .hero-section.hero-section--list {
  padding: 32px 4%;
  min-height: 16vh;
  background: none;
}

.order-page .hero-subtitle {
  font-size: 20px;
  letter-spacing: 0.06em;
  margin: 0;
  color: #444;
}

.order-summary-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.order-summary-card h2 {
  font-size: 18px;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
}

.order-item-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.order-item-row:last-child {
  border-bottom: none;
}

.order-item-image {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-detail {
  flex: 1;
  min-width: 0;
}

.order-item-detail h3 {
  font-size: 16px;
  margin: 0 0 6px;
  font-weight: 600;
}

.order-item-meta {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.order-item-qty {
  font-size: 14px;
  color: #444;
  margin-top: 4px;
}

.delivery-summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.delivery-summary dt {
  font-weight: 600;
  color: #222;
  margin-top: 12px;
}

.delivery-summary dt:first-child {
  margin-top: 0;
}

.delivery-summary dd {
  margin: 4px 0 0;
  padding-left: 0;
}

.order-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 52px;
  margin-left: auto;
  margin-right: auto;
  max-width: 480px;
}

.order-actions .btn {
  width: 100%;
}

.order-actions .link-back {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

.order-actions .link-back:hover {
  color: #222;
  text-decoration: underline;
}

/* ------------------------------
   注文完了ページ
------------------------------ */
.order-complete-section {
  text-align: center;
  padding: 48px 4% 64px;
}

.order-complete-section .complete-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background-color: #222;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.order-complete-section h1 {
  font-size: 28px;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.order-complete-section .complete-lead {
  margin: 0 0 32px;
  margin-left: auto;
  margin-right: auto;
}

.order-number-box {
  background-color: #f7f7f7;
  border-radius: 12px;
  width: 80%;
  padding: 20px;
  margin-bottom: 32px;
  display: inline-block;
}

.order-number-box .label {
  font-size: 13px;
  color: #666;
  margin: 0 0 4px;
}

.order-number-box .number {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #222;
}

.order-complete-section .next-steps {
  text-align: left;
  max-width: 640px;
  margin: 0 auto 52px;
  padding: 20px 24px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.order-complete-section .next-steps h2 {
  font-size: 16px;
  margin: 0 0 12px;
  font-weight: 600;
}

.order-complete-section .next-steps p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.7;
}

.order-complete-section .btn--wide {
  min-width: 220px;
}

/* 注文完了ページのテキストリンク（青色ベース） */
.order-page .order-complete-section a:not(.btn) {
  color: #1d3a8a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.order-page .order-complete-section a:not(.btn):hover {
  color: #2563eb;
}

/* ------------------------------
   レスポンシブ
------------------------------ */
@media (max-width: 640px) {
  .order-item-row {
    flex-direction: column;
    gap: 12px;
  }

  .order-item-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 120px;
    height: 120px;
  }

  .order-summary-card {
    padding: 20px 16px;
  }

  .order-complete-section h1 {
    font-size: 24px;
  }
  .order-complete-section .complete-lead {
    text-align: left;
  }

  .order-number-box {
    width: 100%;
  }
}
