/* フルオーダーゼッケン申込ページ */
.fullorder-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.fullorder-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 32px 24px;
}

.fullorder-intro {
  margin-bottom: 24px;
  color: #444;
  line-height: 1.7;
}

/* 3ステップ申込 */
.fullorder-card-steps {
  margin-bottom: 8px;
}

.fullorder-step-panel[hidden] {
  display: none !important;
}

.fullorder-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding-top: 8px;
}

.fullorder-step-actions .purchase-btn-primary {
  flex: 1 1 auto;
  min-width: 200px;
  background-color: var(--zk-primary, #ff6b35);
  color: #fff;
}

.fullorder-step-actions .purchase-btn-primary:hover:not(:disabled) {
  background-color: var(--zk-primary-hover, #e55a2b);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.fullorder-container .purchase-btn-primary {
  background-color: var(--zk-primary, #ff6b35);
  color: #fff;
}

.fullorder-container .purchase-btn-primary:hover:not(:disabled) {
  background-color: var(--zk-primary-hover, #e55a2b);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.fullorder-confirm-summary {
  margin: 0 0 24px;
  padding: 16px 18px;
  background: #f5f8fc;
  border: 1px solid #e3eaf3;
  border-radius: 8px;
}

.fullorder-confirm-summary-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #0d47a1;
}

.fullorder-confirm-summary-list {
  margin: 0;
}

.fullorder-confirm-summary-row {
  display: grid;
  grid-template-columns: minmax(7em, 32%) 1fr;
  gap: 8px 16px;
  padding: 6px 0;
  border-bottom: 1px solid #e8eef5;
  font-size: 14px;
}

.fullorder-confirm-summary-row:last-child {
  border-bottom: none;
}

.fullorder-confirm-summary-row dt {
  margin: 0;
  color: #666;
  font-weight: 500;
}

.fullorder-confirm-summary-row dd {
  margin: 0;
  color: #222;
  line-height: 1.5;
}

.fullorder-card .purchase-card-step.completed .purchase-card-step-number {
  background-color: #4caf50;
  color: #fff;
}

.fullorder-card .purchase-card-step.completed .purchase-card-step-label {
  color: #388e3c;
}

.fullorder-card .purchase-card-step.completed:not(:last-child)::after {
  background-color: #4caf50;
}

.fullorder-form .purchase-form-group {
  margin-bottom: 20px;
}

.fullorder-size-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fullorder-size-inputs input {
  width: 80px;
}

.fullorder-price-block {
  margin: 24px 0;
  padding: 16px;
  background: #f5f5f5;
  border-radius: 6px;
}

.fullorder-price-label {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: #666;
}

.fullorder-price-value {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  color: #0d47a1;
}

.fullorder-price-note {
  margin: 8px 0 0 0;
  font-size: 12px;
  color: #666;
}

.fullorder-hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 28px 0;
}

.fullorder-section-title {
  font-size: 18px;
  margin-bottom: 16px;
}

.fullorder-disclaimer {
  margin: 16px 0 24px;
  padding: 12px;
  background: #fff8e1;
  border-radius: 4px;
  font-size: 13px;
  color: #5d4e37;
}

.fullorder-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fullorder-actions .purchase-btn {
  min-width: 140px;
}

/* 制作サンプルギャラリー */
.fullorder-samples-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.fullorder-samples-lead {
  margin: 0 0 16px 0;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.fullorder-reference-chip {
  margin: 0 0 8px 0;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #0d47a1;
  background: #e3f2fd;
  border-radius: 6px;
}

.fullorder-reference-chip[hidden] {
  display: none;
}

.fullorder-reference-feedback {
  margin: 0 0 12px 0;
  min-height: 1.4em;
  font-size: 14px;
  color: #2e7d32;
}

.fullorder-reference-feedback:empty {
  min-height: 0;
  margin-bottom: 0;
}

body.fullorder-modal-open {
  overflow: hidden;
}

.fullorder-samples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.fullorder-samples-loading,
.fullorder-samples-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #666;
  font-size: 14px;
}

.fullorder-sample-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  min-height: 44px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.fullorder-sample-card:hover,
.fullorder-sample-card:focus-visible {
  border-color: #ff6b35;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
  outline: none;
}

.fullorder-sample-card-thumb-wrap {
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullorder-sample-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fullorder-sample-card-meta {
  padding: 10px 12px 12px;
}

.fullorder-sample-card-no {
  margin: 0 0 4px 0;
  font-size: 12px;
  font-weight: 600;
  color: #0d47a1;
}

.fullorder-sample-card-name {
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

/* サンプル拡大モーダル */
.fullorder-sample-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.fullorder-sample-modal[hidden] {
  display: none;
}

.fullorder-sample-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.fullorder-sample-modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.fullorder-sample-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.fullorder-sample-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.fullorder-sample-modal-close {
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  min-width: 44px;
  min-height: 44px;
}

.fullorder-sample-modal-close:hover {
  color: #333;
}

.fullorder-sample-modal-body {
  padding: 16px 20px 24px;
  text-align: center;
}

.fullorder-sample-modal-image {
  max-width: 100%;
  max-height: 50vh;
  object-fit: contain;
  margin-bottom: 12px;
}

.fullorder-sample-modal-no {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: #0d47a1;
}

.fullorder-sample-modal-desc {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  text-align: left;
}

.fullorder-sample-modal-desc:empty {
  display: none;
}

#fullorder-sample-modal-use {
  width: 100%;
  max-width: 320px;
}

@media (max-width: 767px) {
  .fullorder-samples-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
