.xindongda_customization {
  width: 100%;
  padding: 2.5rem 0 3.125rem;
  background-color: var(--bg-color);
}

.xindongda_customization .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.875rem;
}

.xindongda_customization_breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.1875rem;
  font-size: var(--font-size-22);
  font-weight: 500;
  line-height: 1.21;
  color: var(--title-text-color);
}

.xindongda_customization_breadcrumb .xdd_customization_crumb {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.xindongda_customization_breadcrumb .xdd_customization_crumb:hover {
  color: var(--color-primary);
}

.xindongda_customization_breadcrumb .xdd_customization_crumb_sep {
  opacity: 1;
}

.xindongda_customization_breadcrumb .xdd_customization_crumb.active {
  color: #FFF;
}

/* 主标题 */
.xindongda_customization_title {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-68);
  font-weight: 700;
  line-height: 1.21;
  letter-spacing: 0.6%;
  text-align: center;
  text-transform: capitalize;
  color: var(--title-text-color);
}

/* 步骤容器 */
.xindongda_customization_form {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
  width: 100%;
}

.xindongda_customization .xdd_customization_steps {
  position: relative;
  width: 100%;
  overflow: clip;
  overflow-clip-margin: .75rem;
}

.xindongda_customization .xdd_customization_step {
  display: none;
  width: 100%;
}

.xindongda_customization .xdd_customization_step.active {
  display: block;
}

.xindongda_customization .xdd_customization_step.slide_next {
  animation: xddCustomizationSlideNext 0.4s ease;
}

.xindongda_customization .xdd_customization_step.slide_prev {
  animation: xddCustomizationSlidePrev 0.4s ease;
}

@keyframes xddCustomizationSlideNext {
  from {
    opacity: 0;
    transform: translateX(1.5625rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes xddCustomizationSlidePrev {
  from {
    opacity: 0;
    transform: translateX(-1.5625rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 第一页:类型卡片 */
.xindongda_customization .xdd_customization_types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.71875rem;
  padding: .625rem 0;
}

.xindongda_customization .xdd_customization_type_card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background-color: #fafafa;
  border-radius: 0.3125rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.xindongda_customization .xdd_customization_type_card:hover {
  box-shadow: 0 0.125rem 0.75rem 0 rgba(57, 211, 141, 0.3);
}

.xindongda_customization .xdd_customization_type_radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.xindongda_customization .xdd_customization_type_check {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background-color: #EDEDED;
  transition: all 0.3s ease;
}

.xindongda_customization .xdd_customization_type_card:hover .xdd_customization_type_check,
.xindongda_customization .xdd_customization_type_radio:checked~.xdd_customization_type_check {
  background-color: var(--color-primary);
}

.xindongda_customization .xdd_customization_type_img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  transition: all 0.5s ease;
}

.xindongda_customization .xdd_customization_type_card:hover .xdd_customization_type_img {
  transform: scale(1.05);
}

/* 第二页:表单 */
.xindongda_customization .xdd_customization_fields {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.xindongda_customization .xdd_customization_field_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #FFF;
  border-radius: 0.3125rem;
  overflow: hidden;
}

.xindongda_customization .xdd_customization_field {
  position: relative;
  padding: 1.25rem 0.625rem 0.9375rem;
}

.xindongda_customization .xdd_customization_field_row .xdd_customization_field+.xdd_customization_field {
  border-left: 1px solid rgba(10, 10, 10, 0.4);
}

.xindongda_customization .xdd_customization_field.full {
  grid-column: 1 / -1;
}

.xindongda_customization .xdd_customization_field_label {
  position: absolute;
  top: 0.5rem;
  left: 0.625rem;
  font-family: var(--font-family);
  font-size: var(--font-size-14);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.3s ease;
  pointer-events: none;
}

.xindongda_customization .xdd_customization_field.has-value .xdd_customization_field_label {
  opacity: 1;
  transform: translateY(0);
}

.xindongda_customization .xdd_customization_input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  color: #0A0A0A;
}

.xindongda_customization .xdd_customization_input::placeholder {
  color: #0A0A0A;
  font-weight: 700;
}

.xindongda_customization .xdd_customization_input.error {
  color: #e74c3c;
}

.xindongda_customization .xdd_customization_input.error::placeholder {
  color: #e74c3c;
}

.xindongda_customization .xdd_customization_error {
  margin-top: 0.25rem;
  font-size: var(--font-size-14);
  color: #e74c3c;
}

.xindongda_customization .xdd_customization_error_global {
  text-align: center;
  margin-top: 0.75rem;
}

/* 翻页按钮 */
.xindongda_customization .xdd_customization_nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5625rem;
}

.xindongda_customization .xdd_customization_nav_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid #FFF;
  border-radius: 50%;
  background-color: transparent;
  color: #FFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.xindongda_customization .xdd_customization_nav_btn:hover:not(.disabled) {
  transform: scale(1.05);
  background-color: var(--color-primary);
  border-color: transparent;
}

.xindongda_customization .xdd_customization_nav_btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.xindongda_customization .xdd_customization_nav_btn.loading {
  opacity: 0.6;
  cursor: wait;
}

@media screen and (max-width: 1024px) {
  .xindongda_customization .xdd_customization_types {
    grid-template-columns: repeat(2, 1fr);
  }

  .xindongda_customization .xdd_customization_product_cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .xindongda_customization .container {
    gap: 1.25rem;
  }

  .xindongda_customization .xdd_customization_field_row {
    grid-template-columns: 1fr;
  }

  .xindongda_customization .xdd_customization_field_row .xdd_customization_field+.xdd_customization_field {
    border-left: 0;
    border-top: 1px solid rgba(10, 10, 10, 0.4);
  }

  .xindongda_customization .xdd_customization_product_cards {
    grid-template-columns: 1fr;
  }

  .xindongda_customization .xdd_customization_yesno_btns {
    flex-direction: column;
  }

  .xindongda_customization .xdd_customization_spec_grid.two_col {
    grid-template-columns: 1fr;
  }
}

/* 第三页:运动员数量输入 */
.xindongda_customization .xdd_customization_panel {
  background-color: #f6f6f6;
  border-radius: 0.3125rem;
  padding: 1.3125rem 0.875rem 1.125rem;
  display: flex;
  flex-direction: column;
  margin: 1.25rem 0;
}

.xindongda_customization .xdd_customization_underline_label {
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  text-align: center;
  color: #151515;
}

.xindongda_customization .xdd_customization_underline_input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #000000;
  background: transparent;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  text-align: center;
  color: #151515;
  padding: .3125rem 0;
  outline: none;
}

.xindongda_customization .xdd_customization_underline_input::placeholder {
  color: rgba(21, 21, 21, 0.5);
}

/* 第四页:产品选择   */
.xindongda_customization .xdd_customization_question_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  width: 100%;
}

.xindongda_customization .xdd_customization_question_block.block2 {
  margin-top: 3.125rem;
  margin-bottom: 1.25rem;
}

.xindongda_customization .xdd_customization_question_title {
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  text-align: center;
  color: var(--title-text-color);
}

.xindongda_customization .xdd_customization_product_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65625rem;
  width: 100%;
}

@media screen and (max-width: 576px) {
  .xindongda_customization .xdd_customization_product_cards {
    grid-template-columns: 1fr 1fr;
  }
}

.xindongda_customization .xdd_customization_product_card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #FFF;
  border: 2px solid transparent;
  border-radius: 0.3125rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.5s ease;
}

.xindongda_customization .xdd_customization_product_card.checked,
.xindongda_customization .xdd_customization_product_card:has(.xdd_customization_product_radio:checked),
.xindongda_customization .xdd_customization_product_card:hover {
  background-color: rgba(57, 211, 141, 0.86);
  border-color: var(--color-primary);
  box-shadow: 0 0.125rem 0.125rem 0 rgba(0, 0, 0, 0.25);
}

.xindongda_customization .xdd_customization_product_radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.xindongda_customization .xdd_customization_product_check {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background-color: transparent;
  transition: all 0.3s ease;
}

.xindongda_customization .xdd_customization_product_radio:checked~.xdd_customization_product_check,
.xindongda_customization .xdd_customization_product_card:hover .xdd_customization_product_check {
  background-color: #FFF;
  border: #FFF;
}

.xindongda_customization .xdd_customization_product_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.xindongda_customization .xdd_customization_product_name {
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  text-align: center;
  color: #090909;
}

.xindongda_customization .xdd_customization_product_img {
  width: 100%;
  max-width: 10.375rem;
  height: auto;
  object-fit: contain;
}

/* yes/no 按钮 */
.xindongda_customization .xdd_customization_yesno_btns {
  display: flex;
  gap: 1.625rem;
  width: 100%;
  padding: 0 1.625rem;
}

.xindongda_customization .xdd_customization_yesno_btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.3125rem;
  padding: 0.625rem;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.xindongda_customization .xdd_customization_yesno_btn.active,
.xindongda_customization .xdd_customization_yesno_btn:hover,
.xindongda_customization .xdd_customization_yesno_btn:has(input:checked) {
  background-color: #32b77b;
}

.xindongda_customization .xdd_customization_yesno_btn input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.xindongda_customization .xdd_customization_yesno_btn span {
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  text-transform: uppercase;
  text-align: center;
  color: #000000;
}

.xindongda_customization .xdd_customization_yesno_btn.active span,
.xindongda_customization .xdd_customization_yesno_btn:hover span,
.xindongda_customization .xdd_customization_yesno_btn:has(input:checked) span {
  color: #ffffff;
}

.xindongda_customization .xdd_customization_panel.panel2 {
  margin-top: 2.5rem;
}

/* 第六页:详细规格面板 */
.xindongda_customization .xdd_customization_spec_panels {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.xindongda_customization .xdd_customization_spec_panel {
  background-color: #ffffff;
  border-radius: 0.3125rem;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.xindongda_customization .xdd_customization_spec_panel.upload_panel {
  background-color: #f6f6f6;
}

.xindongda_customization .xdd_customization_spec_title {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  color: #000000;
}

.xindongda_customization .xdd_customization_spec_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.1875rem 1rem;
}

.xindongda_customization .xdd_customization_spec_grid.three_col {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.625rem 1rem;
}

.xindongda_customization .xdd_customization_spec_option {
  display: flex;
  align-items: center;
  gap: 0.8125rem;
  cursor: pointer;
}

.xindongda_customization .xdd_customization_spec_option input[type="radio"] {
  width: .5625rem;
  height: .5625rem;
  margin: 0;
  flex-shrink: 0;
  appearance: none;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background-color: #d9d9d9;
  cursor: pointer;
  transition: all 0.3s ease;
}

.xindongda_customization .xdd_customization_spec_option input[type="radio"]:checked {
  background-color: var(--color-primary);
}

.xindongda_customization .xdd_customization_spec_option span {
  font-family: var(--font-family);
  font-size: var(--font-size-20);
  font-weight: 500;
  line-height: 1.21;
  color: #000000;
}

.xindongda_customization .xdd_customization_gram_weight {
  display: flex;
  align-items: center;
  gap: 2.4375rem;
}

.xindongda_customization .xdd_customization_gram_input {
  background-color: #d9d9d9;
  border: 1px solid #000000;
  border-radius: 0.3125rem;
  padding: 0.53125rem 1.78125rem 0.5rem 0.71875rem;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  color: #000000;
  width: 100%;
  max-width: 29.71875rem;
}

.xindongda_customization .xdd_customization_gram_unit {
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  color: #454545;
}

.xindongda_customization .xdd_customization_spec_row {
  display: flex;
  flex-direction: column;
  gap: 1.5625rem;
}

.xindongda_customization .xdd_customization_spec_col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.xindongda_customization .xdd_customization_text_color_row {
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
}

.xindongda_customization .xdd_customization_color_picker {
  display: flex;
  align-items: center;
  gap: 2.4375rem;
}

.xindongda_customization .xdd_customization_color_preview {
  width: 5.1563rem;
  height: 2.34375rem;
  border-radius: 0.3125rem;
  flex-shrink: 0;
}

.xindongda_customization .xdd_customization_color_input {
  background-color: #e4e4e4;
  border: 0;
  border-radius: 0.3125rem;
  padding: 0.5rem 3.625rem 0.46875rem 0.84375rem;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  color: #000000;
  width: 100%;
  max-width: 7.65625rem;
}

/* 第6页:grid 列数调整 */
.xindongda_customization .xdd_customization_spec_grid.three_col {
  grid-template-columns: repeat(3, 1fr);
}

.xindongda_customization .xdd_customization_spec_grid.four_col {
  grid-template-columns: repeat(4, 1fr);
}

.xindongda_customization .xdd_customization_spec_grid.two_col_inline,
.xindongda_customization .xdd_customization_spec_grid.three_col_inline,
.xindongda_customization .xdd_customization_spec_grid.four_col_inline {
  gap: 1.25rem 1.875rem;
}

.xindongda_customization .xdd_customization_spec_grid.two_col_inline {
  grid-template-columns: repeat(2, auto);
}

.xindongda_customization .xdd_customization_spec_grid.three_col_inline {
  grid-template-columns: repeat(3, auto);
}

.xindongda_customization .xdd_customization_spec_grid.four_col_inline {
  grid-template-columns: repeat(4, auto);
}

/* Gram Weight 滑块样式 */
.xindongda_customization .xdd_customization_gram_slider {
  flex: 1;
  height: 0.375rem;
  border-radius: 0.1875rem;
  background: linear-gradient(to right, var(--color-primary) 0%, var(--color-primary) 33%, #d9d9d9 33%, #d9d9d9 100%);
  outline: none;
  appearance: none;
  cursor: pointer;
}

.xindongda_customization .xdd_customization_gram_slider::-webkit-slider-thumb {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
}

.xindongda_customization .xdd_customization_gram_slider::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--color-primary);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.xindongda_customization .xdd_customization_gram_input {
  width: 6.25rem;
}

@media screen and (max-width: 576px) {
  .xindongda_customization .xdd_customization_spec_grid.spec1 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .xindongda_customization .xdd_customization_spec_grid.spec2 {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .xindongda_customization .xdd_customization_spec_grid.three_col {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* 第七页:日历 */
.xindongda_customization .xdd_customization_calendar_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.xindongda_customization .xdd_customization_calendar_question {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  text-align: center;
  color: var(--title-text-color);
}

.xindongda_customization .xdd_customization_calendar {
  width: 100%;
  max-width: 50rem;
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.xindongda_customization .xdd_calendar_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.xindongda_customization .xdd_calendar_month {
  font-family: var(--font-family);
  font-size: var(--font-size-32);
  font-weight: 700;
  color: #000000;
}

.xindongda_customization .xdd_calendar_nav_btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: opacity 0.2s ease;
}

.xindongda_customization .xdd_calendar_nav_btn:hover {
  opacity: 0.7;
}

.xindongda_customization .xdd_calendar_weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  font-family: var(--font-family);
  font-size: var(--font-size-20);
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.xindongda_customization .xdd_calendar_days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.xindongda_customization .xdd_calendar_day {
  aspect-ratio: 2/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: var(--font-size-20);
  font-weight: 500;
  color: #000000;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.xindongda_customization .xdd_calendar_day:hover:not(.disabled):not(.selected) {
  background-color: rgba(57, 211, 141, 0.2);
}

.xindongda_customization .xdd_calendar_day.disabled {
  color: rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.1);
  cursor: not-allowed;
}

.xindongda_customization .xdd_calendar_day.selected {
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
}

.xindongda_customization .xdd_calendar_day.empty {
  cursor: default;
}

@media screen and (max-width: 576px) {
  .xindongda_customization .xdd_customization_calendar {
    padding: 1rem;
  }

  .xindongda_customization .xdd_calendar_days {
    gap: 0.2rem;
  }

  .xindongda_customization .xdd_calendar_day {
    aspect-ratio: 4/3;
  }
}

/* 文件上传区域 */
.xindongda_customization .xdd_file_upload_area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.xindongda_customization .xdd_upload_trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  border: 2px dashed rgba(0, 0, 0, 0.3);
  border-radius: 0.3125rem;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.xindongda_customization .xdd_upload_trigger:hover {
  border-color: var(--color-primary);
  background-color: rgba(57, 211, 141, 0.05);
}

.xindongda_customization .xdd_upload_trigger svg {
  color: var(--color-primary);
}

.xindongda_customization .xdd_upload_trigger span {
  font-family: var(--font-family);
  font-size: var(--font-size-20);
  font-weight: 600;
  color: #000000;
}

.xindongda_customization .xdd_file_list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.xindongda_customization .xdd_file_item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
}

.xindongda_customization .xdd_file_item img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 0.25rem;
}

.xindongda_customization .xdd_file_name {
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  font-weight: 500;
  color: #000000;
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xindongda_customization .xdd_file_close {
  position: absolute;
  top: -0.375rem;
  right: -0.375rem;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e74c3c;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.xindongda_customization .xdd_file_close:hover {
  opacity: 0.8;
}

.xindongda_customization .xdd_file_error {
  padding: 0.5rem;
  background-color: rgba(231, 76, 60, 0.1);
  border-left: 3px solid #e74c3c;
  font-family: var(--font-family);
  font-size: var(--font-size-14);
  color: #e74c3c;
}

/* 第3面板横向布局 */
.xindongda_customization .xdd_customization_spec_row_horizontal {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.xindongda_customization .xdd_customization_spec_row_horizontal .xdd_customization_spec_col {
  flex: 1;
  min-width: 15rem;
}

/* Text Color 色块更大 */
.xindongda_customization .xdd_customization_color_preview {
  width: 5.1563rem;
  height: 2.3438rem;
}

.xindongda_customization .xdd_customization_color_input {
  max-width: 8rem;
}

/* Gram Weight 宽输入框样式(按设计稿) */
.xindongda_customization .xdd_customization_gram_weight {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.xindongda_customization .xdd_customization_gram_input {
  flex: 1;
  max-width: none;
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 0.3125rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  color: #000000;
}

.xindongda_customization .xdd_customization_gram_unit {
  flex-shrink: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 400;
  line-height: 1.83;
  color: #000000;
}

/* 提交按钮(绿色长条 CONFIRM) */
.xindongda_customization .xdd_customization_submit_btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  min-width: 20rem;
  border: 0;
  border-radius: 0.3125rem;
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: var(--font-size-22);
  font-weight: 600;
  line-height: 1.21;
  letter-spacing: 0.032em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.xindongda_customization .xdd_customization_submit_btn:hover {
  opacity: 0.9;
}

.xindongda_customization .xdd_customization_submit_btn.loading {
  opacity: 0.6;
  cursor: wait;
}

/* 文件图标(非图片文件) */
.xindongda_customization .xdd_file_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* 提交成功页 */
.xindongda_customization .xdd_customization_success {
  display: none;
}

.xindongda_customization .xdd_customization_success.show {
  display: block;
}

.xindongda_customization .xdd_customization_success_card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 5rem 3.75rem;
  background-color: var(--color-primary);
  border-radius: 0.625rem;
  overflow: hidden;
}

.xindongda_customization .xdd_customization_success_title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.21;
  color: #000000;
}

.xindongda_customization .xdd_customization_success_desc {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  color: #000000;
}

@media screen and (max-width: 768px) {
  .xindongda_customization .xdd_customization_submit_btn {
    min-width: 12rem;
  }

  .xindongda_customization .xdd_customization_success_card {
    padding: 3rem 1.5rem;
  }

  .xindongda_customization .xdd_customization_success_title {
    font-size: 1.75rem;
  }
}

/* 文件项:文件名拆分展示 + 错误态(参考 custom_inquiry_form) */
.xindongda_customization .xdd_file_item {
  flex-wrap: wrap;
}

.xindongda_customization .xdd_file_name {
  display: flex;
  align-items: center;
  max-width: 12rem;
}

.xindongda_customization .xdd_file_name_text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  font-weight: 500;
  color: #000000;
}

.xindongda_customization .xdd_file_name_type {
  flex-shrink: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  font-weight: 500;
  color: #000000;
}

.xindongda_customization .xdd_file_item.error {
  border-color: #e74c3c;
}

.xindongda_customization .xdd_file_error_text {
  width: 100%;
  margin-top: 0.25rem;
  font-family: var(--font-family);
  font-size: var(--font-size-14);
  color: #e74c3c;
}

/* 成功页  */
.xindongda_customization .xdd_customization_success_card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.5rem 3.75rem;
  background-color: var(--color-primary);
  border-radius: .625rem;
  overflow: hidden;
}

/* 弧形装饰环(右侧溢出部分) */
.xindongda_customization .xdd_customization_success_decoration {
  position: absolute;
  top: 50%;
  left: 34%;
  width: 38.25rem;
  transform: translateY(-50%);
  aspect-ratio: 1/1;
  opacity: 0.2;
  pointer-events: none;
}

.xindongda_customization .xdd_customization_success_circle {
  width: 100%;
  height: 100%;
  border: 2.125rem solid #000000;
  border-radius: 50%;
}

.xindongda_customization .xdd_customization_success_title {
  position: relative;
  z-index: 1;
  font-family: var(--font-family);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.21;
  text-align: left;
  color: #000000;
}

.xindongda_customization .xdd_customization_success_desc {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: 700;
  line-height: 1.83;
  text-align: left;
  color: #000000;
}

@media screen and (max-width: 768px) {
  .xindongda_customization .xdd_customization_success_card {
    padding: 3rem 1.5rem;
  }

  .xindongda_customization .xdd_customization_success_title {
    font-size: 2rem;
  }

  .xindongda_customization .xdd_customization_success_decoration {
    right: -20rem;
  }
}

/* 第四页类型内容切换 */
.xdd_customization_type_content {
  display: none;
}

.xdd_customization_type_content.active {
  display: block;
}