body {
  background: url(../images/bg-suppot.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  padding: 20px;
  line-height: 1.5;
  color: #5d5d5d;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "open sans", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
}
a {
  text-decoration: none;
  color: #eb8a0c;
}
.container {width:1000px;
  max-width: 96%;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border-radius: 30px;margin: 25px auto;
}
.hidden {
  display: none;
}
.header {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  padding: 25px 30px;
  text-align: center;
}

.header h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header p {
  font-size: 14px;
  opacity: 0.9;
}

.section8-header {
  position: relative;
}

.section8-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}
.section {
  display: none;
}
        /* === Extended Warranty Popup Styles === */
        .warranty-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.65);
            z-index: 99999;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }

        .warranty-popup-overlay.hidden {
            display: none;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(30px) scale(0.96); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .warranty-popup-modal {
            background: #ffffff;
            border-radius: 16px;
            padding: 40px 36px 32px;
            max-width: 480px;
            width: 90%;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.1);
            text-align: center;
            position: relative;
            animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);box-sizing: border-box;
        }

        .warranty-popup-icon {
            width: 64px;
            height: 64px;
             background: linear-gradient(135deg, #2f66f4, #5f21d3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
        }

        .warranty-popup-icon svg {
            width: 32px;
            height: 32px;
            fill: #fff;
        }

        .warranty-popup-title {
            font-size: 24px;
            font-weight: 700;
            color: #1a1a2e;
            margin: 0 0 16px;
            line-height: 1.3;
        }

        .warranty-popup-subtitle {
            font-size: 15px;
            color: #555;
            margin: 0 0 20px;
            line-height: 1.5;
        }

        .warranty-popup-benefits {
            text-align: left;
            margin: 0 0 28px;
            padding: 0;
            list-style: none;
        }

        .warranty-popup-benefits li {
            font-size: 15px;
            color: #333;
            line-height: 1.5;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .warranty-popup-benefits li .check-icon {
            color: #1b3cd1;
            font-size: 18px;
            font-weight: bold;
            flex-shrink: 0;
            margin-top: 1px;
        }

        .warranty-popup-buttons {
            display: flex;
            gap: 12px;
            justify-content: center;
        }

        .warranty-popup-btn {
            padding: 12px 28px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.2s ease;
            min-width: 140px;
        }

        .warranty-popup-btn-primary {
              background: #f7900c;
            color: #fff;
            box-shadow: 0 4px 14px rgba(56, 56, 56, 0.35);
        }

        .warranty-popup-btn-primary:hover {
            background: linear-gradient(135deg, #2f66f4, #5f21d3);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.45);
            transform: translateY(-1px);
        }

        .warranty-popup-btn-secondary {
            background: #f5f5f5;
            color: #666;
            border: 1px solid #e0e0e0;
        }

        .warranty-popup-btn-secondary:hover {
            background: #eeeeee;
            color: #444;
            transform: translateY(-1px);
        }
/* 默认显示第一部分 */
.section.active {
  display: block;
  animation: fadeIn 0.5s ease;margin: 25px auto;
}
.form-container {
  padding: 30px;
}

.input-group {
  margin-bottom: 25px;
  position: relative;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #333;
  font-size: 15px;
}
.input-group label::after {
  content: "*";
  color: #cd0000;
  display: inline-block;
  margin-left: 5px;
}
.input-wrapper {
  position: relative;
}

.form-control {
  width: 100%;
  padding: 14px 45px 14px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.validation-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success .form-control {
  border-color: #28a745;
}

.success .fa-check-circle {
  color: #28a745;
  opacity: 1;
}

.error .form-control {
  border-color: #dc3545;
}

.error .fa-exclamation-circle {
  color: #dc3545;
  opacity: 1;
}

.error-message {
  font-size: 14px;
  color: #dc3545;
  margin-top: 8px;
  display: none;
}

.error .error-message {
  display: block;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: #4a6cf7;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #3a5cd6;
}

.submit-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #333;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background: #28a745;
}

.toast.error {
  background: #dc3545;
}

.toast i {
  margin-right: 10px;
  font-size: 20px;
}
/* 弹层样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: 12px;
  width: 700px;
  max-width:90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

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

.modal-header h2 {
  font-size: 20px;
  color: #333;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #333;
}

.modal-body {
  padding: 20px;
}

.help-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.help-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.help-item h3 {
  font-size: 18px;
  color: #4a6cf7;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.help-item img {
  max-width: 100%;display: block;
}
.submit-btn {
  width: 100%;
  padding: 15px;
  background: #4a6cf7;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #3a5cd6;
}

@media (max-width: 576px) {
  .container {
    border-radius: 12px;
  }

  .header {
    padding: 20px;
  }

  .form-container {
    padding: 20px;
  }
  .modal {
    width: 95%;
  }
}
.label-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.columns {
  display: flex;
}

@media (min-width: 576px) {
  .left-column {
    width: 50%;
  }
}
.right-column {
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 25px;
  position: relative;
}
.right-column::before {
  content: "";
  border-left: 1px solid #dfdfdf;
  height: 100%;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}
.product-image {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: block;
}

.info-box {
  padding: 25px;
}

.info-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.info-item {
  display: flex;
  margin-bottom: 15px;
}

.info-label {
  width: 120px;
  font-weight: 500;
  color: #555;
}

.info-value {
  flex: 1;
  color: #333;
  font-weight: 500;
}

.action-section {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #dfdfdf;
}

.claim-btn {
  background: #28a745;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px 40px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.claim-btn:hover {
  background: #218838;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

.gift-info {
  text-align: center;
  margin-top: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.gift-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.gift-features {
  list-style: none;
  margin-bottom: 15px;
}

.gift-features li {
  margin-bottom: 10px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-features i {
  color: #28a745;
  margin-right: 10px;
}

.note {
  font-size: 14px;
  color: #777;
  font-style: italic;
}

@media (max-width: 768px) {
  .columns {
    flex-direction: column;
  }

  .header h1 {
    font-size: 28px;
  }

  .info-item {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .info-label {
    width: 100%;
    margin-bottom: 5px;
  }
}
.text-center {
  text-align: center;
}
.text-left{text-align:left}
.rating-section {
  text-align: center;
  margin-bottom: 30px;
}

.rating-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.star {
  font-size: 33px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.star:hover,
.star.active {
  color: #ffc107;
  transform: scale(1.1);
}

.rating-text {
  font-size: 16px;
  color: #666;
  margin-top: 10px;
  min-height: 24px;
}

.feedback-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.textarea-wrapper {
  position: relative;
}

textarea {
  width: 100%;
  min-height: 150px;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  resize: vertical;
  transition: border-color 0.3s;
  box-sizing: border-box;
  font-family: "open sans", Tahoma, Geneva, Verdana, sans-serif;
}

textarea:focus {
  outline: none;
  border-color: #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.char-count {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 14px;
  color: #999;
}

.char-count.error {
  color: #dc3545;
}

.buttons {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.btn {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-prev {
  background: #6c757d;
  color: white;
}

.btn-prev:hover {
  background: #5a6268;
}

.btn-next {
  background: #4a6cf7;
  color: white;
}

.btn-next:hover {
  background: #3a5cd6;
}

.btn-next:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #333;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: #dc3545;
}

.toast i {
  margin-right: 10px;
  font-size: 20px;
}
.content {
  padding: 30px;
}

@media (max-width: 576px) {
  .header {
    padding: 20px;
  }

  .content {
    padding: 20px;
  }

  .star {
    font-size: 35px;
  }

  .buttons {
    flex-direction: column;
  }
}
.progress-container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.progress-steps {
  display: flex;
  position: relative;
  margin-bottom: 15px;
  z-index: 1;
}

.progress-steps::before {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  z-index: -1;
  border-radius: 2px;
}
.progress-bar {
  position: relative;
  background-color: #ddd;
  height: 4px;
  width: 100%;
  display: flex;
}
.progress-steps .active {
  background: rgb(243, 189, 10);
  height: 4px;
  width: 33.33%;
  z-index: 1;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  background: #4bb543;
  color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.copied-message {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #4bb543;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s, top 0.3s;
  pointer-events: none;
  white-space: nowrap;
}

.copied-message.show {
  opacity: 1;
  top: -50px;
}

.copied-message::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: #4bb543 transparent transparent;
}
.return-checkbox {
  display: flex;
  align-items: center;
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.return-checkbox input {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.return-checkbox label {
  font-size: 16px;
  color: #495057;
  cursor: pointer;
}
.confirmation-modal {
  background: white;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.confirmation-modal h3 {
  margin-bottom: 15px;
  color: #343a40;
  font-size: 22px;
}

.confirmation-modal p {
  margin-bottom: 25px;
  color: #6c757d;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.modal-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-btn-yes {
  background: #4bb543;
  color: white;
}

.modal-btn-yes:hover {
  background: #3fa038;
}

.modal-btn-no {
  background: #dc3545;
  color: white;
}

.modal-btn-no:hover {
  background: #c82333;
}
.form-container {
  padding: 30px;
}

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

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}
.form-row .form-group input {
  max-width: 100%;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #343a40;
}

label::after {
  content: "*";
  color: #dc3545;
  margin-left: 4px;
}

.optional::after {
  content: "";
}

input,
select {
  width: 100%;
  padding: 14px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

input:focus,
select:focus {
  border-color: #4a6fa5;
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
}

input.error,
select.error {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

.button-container {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  background: #f7900c;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 16px 40px;
  font-size:22px;
  font-weight: 700;
  cursor: pointer;
}
.success-message {
  background: #4bb543;
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 20px;
  display: none;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .header {
    padding: 20px;
  }

  .form-container {
    padding: 20px;
  }
}
/* 可关闭的弹出框样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-modal {
  background: white;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6c757d;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #343a40;
}

.success-icon {
  font-size: 48px;
  color: #4bb543;
  margin-bottom: 20px;
}

.success-title {
  font-size: 24px;
  color: #343a40;
  margin: 0;
}

.success-text {
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 25px;
  font-size: 16px;
  padding: 0 2.5em;
}

.contact-email {
  color: #4a6fa5;
  font-weight: 500;
}

._btn {
  padding: 10px 25px;
  background: linear-gradient(to right, rgb(246, 174, 46), rgb(239, 214, 3));
  cursor: pointer;
  color: #fff;
  display: block;
}

/* 礼品选择样式 */
.gift-selection {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.gift-option {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gift-option:hover {
  border-color: #6a11cb;
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.2);
}

.gift-option.selected {
  border-color: #6a11cb;
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.1) 0%, rgba(37, 117, 252, 0.1) 100%);
}

.gift-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.gift-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 10px 0;
}

.select-gift-btn {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.select-gift-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

.retry-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
}

.retry-btn:hover {
  background: #c82333;
}

/* 响应式设计 */
@media (min-width: 600px) {
  .gift-selection {
    flex-direction: row;
    justify-content: space-around;
  }
  
  .gift-option {
    flex: 1;
    max-width: 200px;
  }
}
body {
  background: url(../images/bg-suppot.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  padding: 20px;
  line-height: 1.5;
  color: #5d5d5d;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "open sans", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
}
a {
  text-decoration: none;
  color: #eb8a0c;
}
.container {width:1000px;
  max-width: 96%;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border-radius: 30px;margin: 25px auto;
}
.hidden {
  display: none;
}
.header {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  padding: 25px 30px;
  text-align: center;
}

.header h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header p {
  font-size: 14px;
  opacity: 0.9;
}
.section {
  display: none;position: relative;
}
        /* === Extended Warranty Popup Styles === */
        .warranty-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.65);
            z-index: 99;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }

        .warranty-popup-overlay.hidden {
            display: none;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(30px) scale(0.96); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .warranty-popup-modal {
            background: #ffffff;
            border-radius: 16px;
            padding: 40px 36px 32px;
            max-width: 480px;
            width: 90%;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.1);
            text-align: center;
            position: relative;
            animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);box-sizing: border-box;
        }

        .warranty-popup-icon {
            width: 64px;
            height: 64px;
             background: linear-gradient(135deg, #2f66f4, #5f21d3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
        }

        .warranty-popup-icon svg {
            width: 32px;
            height: 32px;
            fill: #fff;
        }

        .warranty-popup-title {
            font-size: 24px;
            font-weight: 700;
            color: #1a1a2e;
            margin: 0 0 16px;
            line-height: 1.3;
        }

        .warranty-popup-subtitle {
            font-size: 15px;
            color: #555;
            margin: 0 0 20px;
            line-height: 1.5;
        }

        .warranty-popup-benefits {
            text-align: left;
            margin: 0 0 28px;
            padding: 0;
            list-style: none;
        }

        .warranty-popup-benefits li {
            font-size: 15px;
            color: #333;
            line-height: 1.5;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .warranty-popup-benefits li .check-icon {
            color: #1b3cd1;
            font-size: 18px;
            font-weight: bold;
            flex-shrink: 0;
            margin-top: 1px;
        }

        .warranty-popup-buttons {
            display: flex;
            gap: 12px;
            justify-content: center;
        }

        .warranty-popup-btn {
            padding: 12px 28px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.2s ease;
            min-width: 140px;
        }

        .warranty-popup-btn-primary {
              background: #f7900c;
            color: #fff;
            box-shadow: 0 4px 14px rgba(56, 56, 56, 0.35);
        }

        .warranty-popup-btn-primary:hover {
            background: linear-gradient(135deg, #2f66f4, #5f21d3);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.45);
            transform: translateY(-1px);
        }

        .warranty-popup-btn-secondary {
            background: #f5f5f5;
            color: #666;
            border: 1px solid #e0e0e0;
        }

        .warranty-popup-btn-secondary:hover {
            background: #eeeeee;
            color: #444;
            transform: translateY(-1px);
        }
/* 默认显示第一部分 */
.section.active {
  display: block;
  animation: fadeIn 0.5s ease;margin: 25px auto;
}
.form-container {
  padding: 30px;
}

.input-group {
  margin-bottom: 25px;
  position: relative;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #333;
  font-size: 15px;
}
.input-group label::after {
  content: "*";
  color: #cd0000;
  display: inline-block;
  margin-left: 5px;
}
.input-wrapper {
  position: relative;
}

.form-control {
  width: 100%;
  padding: 14px 45px 14px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.validation-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success .form-control {
  border-color: #28a745;
}

.success .fa-check-circle {
  color: #28a745;
  opacity: 1;
}

.error .form-control {
  border-color: #dc3545;
}

.error .fa-exclamation-circle {
  color: #dc3545;
  opacity: 1;
}

.error-message {
  font-size: 14px;
  color: #dc3545;
  margin-top: 8px;
  display: none;
}

.error .error-message {
  display: block;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: #4a6cf7;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #3a5cd6;
}

.submit-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #333;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background: #28a745;
}

.toast.error {
  background: #dc3545;
}

.toast i {
  margin-right: 10px;
  font-size: 20px;
}
/* 弹层样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: 12px;
  width: 700px;
  max-width:90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

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

.modal-header h2 {
  font-size: 20px;
  color: #333;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #333;
}

.modal-body {
  padding: 20px;
}

.help-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.help-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.help-item h3 {
  font-size: 18px;
  color: #4a6cf7;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.help-item img {
  max-width: 100%;display: block;
}
.submit-btn {
  width: 100%;
  padding: 15px;
  background: #4a6cf7;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #3a5cd6;
}

@media (max-width: 576px) {
  .container {
    border-radius: 12px;
  }

  .header {
    padding: 20px;
  }

  .form-container {
    padding: 20px;
  }
  .modal {
    width: 95%;
  }
}
.label-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.columns {
  display: flex;
}

@media (min-width: 576px) {
  .left-column {
    width: 50%;
  }
}
.right-column {
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 25px;
  position: relative;
}
.right-column::before {
  content: "";
  border-left: 1px solid #dfdfdf;
  height: 100%;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}
.right-column h3{font-size: 1.5rem;}
.product-image {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: block;
}

.info-box {
  padding: 25px;
}

.info-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.info-item {
  display: flex;
  margin-bottom: 15px;
}

.info-label {
  width: 120px;
  font-weight: 500;
  color: #555;
}

.info-value {
  flex: 1;
  color: #333;
  font-weight: 500;
}

.action-section {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #dfdfdf;
}

.claim-btn {
  background: #28a745;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px 40px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.claim-btn:hover {
  background: #218838;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

.gift-info {
  text-align: center;
  margin-top: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.gift-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.gift-features {
  list-style: none;
  margin-bottom: 15px;
}

.gift-features li {
  margin-bottom: 10px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-features i {
  color: #28a745;
  margin-right: 10px;
}

.note {
  font-size: 14px;
  color: #777;
  font-style: italic;
}

@media (max-width: 768px) {
  .columns {
    flex-direction: column;
  }

  .header h1 {
    font-size: 28px;
  }

  .info-item {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .info-label {
    width: 100%;
    margin-bottom: 5px;
  }
}
.text-center {
  text-align: center;
}
.rating-section {
  text-align: center;
  margin-bottom: 30px;
}

.rating-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.star {
  font-size: 33px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.star:hover,
.star.active {
  color: #ffc107;
  transform: scale(1.1);
}

.rating-text {
  font-size: 16px;
  color: #666;
  margin-top: 10px;
  min-height: 24px;
}

.feedback-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.textarea-wrapper {
  position: relative;
}

textarea {
  width: 100%;
  min-height: 150px;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  resize: vertical;
  transition: border-color 0.3s;
  box-sizing: border-box;
  font-family: "open sans", Tahoma, Geneva, Verdana, sans-serif;
}

textarea:focus {
  outline: none;
  border-color: #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.char-count {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 14px;
  color: #999;
}

.char-count.error {
  color: #dc3545;
}

.buttons {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.btn {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-prev {
  background: #6c757d;
  color: white;
}

.btn-prev:hover {
  background: #5a6268;
}

.btn-next {
  background: #4a6cf7;
  color: white;
}

.btn-next:hover {
  background: #3a5cd6;
}

.btn-next:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #333;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: #dc3545;
}

.toast i {
  margin-right: 10px;
  font-size: 20px;
}
.content {
  padding: 30px;
}

@media (max-width: 576px) {
  .header {
    padding: 20px;
  }

  .content {
    padding: 20px;
  }

  .star {
    font-size: 35px;
  }

  .buttons {
    flex-direction: column;
  }
}
.progress-container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.progress-steps {
  display: flex;
  position: relative;
  margin-bottom: 15px;
  z-index: 1;
}

.progress-steps::before {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  z-index: -1;
  border-radius: 2px;
}
.progress-bar {
  position: relative;
  background-color: #ddd;
  height: 4px;
  width: 100%;
  display: flex;
}
.progress-steps .active {
  background: rgb(243, 189, 10);
  height: 4px;
  width: 33.33%;
  z-index: 1;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  background: #4bb543;
  color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.copied-message {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #4bb543;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s, top 0.3s;
  pointer-events: none;
  white-space: nowrap;
}

.copied-message.show {
  opacity: 1;
  top: -50px;
}

.copied-message::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: #4bb543 transparent transparent;
}
.return-checkbox {
  display: flex;
  align-items: center;
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.return-checkbox input {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.return-checkbox label {
  font-size: 16px;
  color: #495057;
  cursor: pointer;
}
.confirmation-modal {
  background: white;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.confirmation-modal h3 {
  margin-bottom: 15px;
  color: #343a40;
  font-size: 22px;
}

.confirmation-modal p {
  margin-bottom: 25px;
  color: #6c757d;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.modal-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-btn-yes {
  background: #4bb543;
  color: white;
}

.modal-btn-yes:hover {
  background: #3fa038;
}

.modal-btn-no {
  background: #dc3545;
  color: white;
}

.modal-btn-no:hover {
  background: #c82333;
}
.form-container {
  padding: 30px;
}

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

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}
.form-row .form-group input {
  max-width: 100%;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #343a40;
}

label::after {
  content: "*";
  color: #dc3545;
  margin-left: 4px;
}

.optional::after {
  content: "";
}

input,
select {
  width: 100%;
  padding: 14px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

input:focus,
select:focus {
  border-color: #4a6fa5;
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
}

input.error,
select.error {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

.button-container {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  background: #f7900c;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 16px 40px;
  font-size:22px;
  font-weight: 700;
  cursor: pointer;
}
.success-message {
  background: #4bb543;
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 20px;
  display: none;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .header {
    padding: 20px;
  }

  .form-container {
    padding: 20px;
  }
}
/* 可关闭的弹出框样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-modal {
  background: white;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6c757d;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #343a40;
}

.success-icon {
  font-size: 48px;
  color: #4bb543;
  margin-bottom: 20px;
}

.success-title {
  font-size: 24px;
  color: #343a40;
  margin: 0;
}

.success-text {
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 25px;
  font-size: 16px;
  padding: 0 2.5em;
  max-width: 600px;
  margin: 0 auto;
}

.contact-email {
  color: #4a6fa5;
  font-weight: 500;
}

._btn {
  padding: 10px 25px;
  background: linear-gradient(to right, rgb(246, 174, 46), rgb(239, 214, 3));
  cursor: pointer;
  color: #fff;
  display: block;
}

/* 礼品选择样式 */
.gift-selection {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.gift-option {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gift-option:hover {
  border-color: #6a11cb;
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.2);
}

.gift-option.selected {
  border-color: #6a11cb;
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.1) 0%, rgba(37, 117, 252, 0.1) 100%);
}

.gift-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.gift-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 10px 0;
}

.select-gift-btn {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.select-gift-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

.retry-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
}

.retry-btn:hover {
  background: #c82333;
}

/* 响应式设计 */
@media (min-width: 600px) {
  .gift-selection {
    flex-direction: row;
    justify-content: space-around;
  }
  
  .gift-option {
    flex: 1;
    max-width: 200px;
  }
}

/* 固定在右上角 */
.fixed {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
  cursor: pointer;

  /* 基础样式，可按你设计稿微调 */
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ff6b35; /* 换成你想要的颜色 */
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-size: 14px;
  transition: background 0.2s, transform 0.1s;
}

.fixed img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.fixed:hover {
  background: #e85a2a;
  transform: translateY(-1px);
}

.fixed:active {
  transform: translateY(0);
}


.finish-btn{display: block;  background: linear-gradient(to bottom, #f3c890, #eb8a0c);width: 100px;margin: 1.5rem auto;color: #FFF;padding: 10px 0;border-radius: 20px;font-size: 1.25rem;}
