.aftersale_banner {
  color: #fff;
  overflow: hidden;
  background: url(../img/page-banner-bg.svg) no-repeat center / cover #0c0d11;
}
.aftersale_banner .flex {
  min-height: 324px;
  padding: 4rem 0;
  position: relative;
}
.aftersale_banner .flex::after {
  content: '';
  display: block;
  width: 100vw;
  height: 40px;
  position: absolute;
  left: 103.2787%;
  bottom: 0;
  background-color: #fff;
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
}
.aftersale_banner h1 {
  font-size: 4rem;
  line-height: 77px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.aftersale_process {
  padding: 45px 0;
}
.aftersale_process .steps {
  display: flex;
  max-width: max-content;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.aftersale_process .steps::after {
  content: '';
  display: block;
  width: 70%;
  height: 1px;
  background-color: rgba(22, 22, 22, 0.19);
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
}
.aftersale_process .steps .step {
  width: 1220px;
  flex: 1;
  max-width: 286px;
  text-align: center;
  padding: 0 8px;
  position: relative;
  z-index: 2;
}
.aftersale_process .steps .step .order {
  margin: 0 auto;
  max-width: 60px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(11, 11, 11, 0.85);
  font-size: 24px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}
.aftersale_process .steps .step .order::before {
  content: '';
  display: block;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  border-radius: 50%;
  background-color: #fff;
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.aftersale_process .steps .step .order::after {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid rgba(20, 20, 20, 0.3);
}
.aftersale_process .steps .step .title {
  margin-top: 28px;
  color: rgba(20, 20, 20, 0.5);
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  text-transform: uppercase;
}
.aftersale_process .steps .active .order {
  color: #111111;
}
.aftersale_process .steps .active .order::after {
  border-color: var(--theme_color);
  background-color: var(--theme_color);
}
.aftersale_process .steps .active .title {
  color: var(--theme_color);
}
.aftersale_form {
  padding: 30px 0;
}
.aftersale_form .con {
  padding: 3rem 4.18033% 4rem;
  background-color: #f8f8f8;
}
.aftersale_form .intro .title {
  text-transform: uppercase;
  font-size: 28px;
  font-weight: 700;
}
.aftersale_form .intro .title h2 {
  font-size: 28px;
  font-weight: 700;
}
.aftersale_form .intro .desc {
  margin-top: 18px;
  color: #494949;
  font-size: 17px;
  line-height: 30px;
}
.aftersale_form .contact_form {
  margin-top: 58px;
}
.aftersale_tips {
  padding: 55px 0 120px;
}
.aftersale_tips .content > *:first-child {
  margin-top: 0;
}
.aftersale_tips h2,
.aftersale_tips h3,
.aftersale_tips h4,
.aftersale_tips h5,
.aftersale_tips h6,
.aftersale_tips table {
  font-family: 'Oswald', sans-serif;
}
.aftersale_tips h2 {
  text-transform: uppercase;
  font-size: 46px;
  line-height: 62px;
  font-weight: 700;
  border-bottom: 1px solid #d1d1d1;
  padding-bottom: 18px;
  margin: 82px 0 46px;
}
.aftersale_tips h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 27px 0 3px;
}
.aftersale_tips li,
.aftersale_tips p {
  color: #494949;
  font-size: 17px;
  line-height: 30px;
  list-style: unset !important;
}
.aftersale_tips ul,
.aftersale_tips ol {
  padding-left: 18px;
}
.aftersale_tips img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
  margin: 2rem 0;
}
.aftersale_tips .wp-block-columns {
  display: flex;
  gap: 2rem 4.2623%;
}
.aftersale_tips .wp-block-columns .wp-block-column {
  flex: 1;
}
.aftersale_tips table {
  width: 100%;
  margin: 42px 0;
}
.aftersale_tips table tbody {
  display: block;
  column-count: 2;
  break-inside: avoid;
  column-gap: 4.2623%;
}
.aftersale_tips table tbody tr {
  display: flex;
  break-inside: avoid-column;
  border-bottom: 1px solid #dbdbdb;
}
.aftersale_tips table tbody tr td {
  color: #141414;
  font-size: 20px;
  font-weight: 500;
  padding: 8px 6px 10px;
  flex: 1;
}
.aftersale_tips table tbody tr td:first-child {
  color: #242424;
  font-size: 20px;
  opacity: 0.76;
  width: 43.98626%;
  flex: unset;
  font-weight: normal;
} 
.instructions_form table{
  width: 100%;
  display: block;
  margin-top: 2rem;
  overflow: auto;
}
.instructions_form table button.btn{
  color: var(--title_color);
  border-color: var(--theme_color);
  background-color: var(--theme_color);
  font-size: 16px;
  padding: 10px 16px;
  min-width: 150px;
}
.instructions_form table thead tr td{
  padding: 1rem 0;
  font-weight: 600;
}

.instructions_form table tr:not(.query_model) td{
  text-align: center;
  white-space: nowrap;
  padding: .5rem;
}  
.instructions_form .basic_infor h2 {
  font-size: 24px;
  line-height: 17px;
}

.instructions_form .basic_infor .items {
  margin-top: 20px;
  display: grid;
  gap: 5px;
  align-items: start;
  grid-template-columns: auto 45.5646%;
}
.instructions_form .basic_infor .items .T {
  color: #515151;
  font-size: 18px;
  padding-top: 4px;
}
.instructions_form .basic_infor .items .C {
  color: #353535;
  font-size: 17px;
  line-height: 2rem;
  font-weight: 500;
}
.instructions_form .basic_infor .items .C a {
  display: block;
  max-width: max-content;
  font-weight: 500;
  color: var(--theme_color);
  text-transform: uppercase;
  text-decoration: underline;
}
.instructions_form table tr.query_model .basic_infor{
  display: none;
}

/* ============================================================ */
/* After-sale Popups (shared + list + detail)                     */
/* ============================================================ */

/* Open list button */
.as-open-list-wrap {
  margin-top: 30px;
}
.as-open-list-btn {
  color: var(--title_color);
  border-color: var(--theme_color);
  background-color: var(--theme_color);
  font-size: 16px;
  padding: 12px 32px;
  min-width: 200px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
}
.as-open-list-btn:hover {
  filter: brightness(110%);
}

/* Shared overlay */
.as-popup-overlay,
.as-list-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.as-list-popup-overlay {
  z-index: 99998;
}

/* Shared popup box */
.as-popup {
  background: #fff;
  width: 600px;
  max-width: 92vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.as-popup-header {
  padding: 24px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.as-popup-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
}
.as-popup-close {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #999;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}
.as-popup-close:hover {
  color: #000;
}
.as-popup-body {
  padding: 28px 30px;
  overflow-y: auto;
  flex: 1;
}
.as-popup-loading {
  text-align: center;
  padding: 20px;
  color: #999;
  font-size: 14px;
}

/* List popup */
.as-list-popup {
  width: 560px;
}
.as-list-popup .as-popup-body {
  padding: 0;
}

/* Card list */
.as-list-items {
  padding: 8px 0;
}
.as-list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
  gap: 16px;
}
.as-list-card:last-child {
  border-bottom: none;
}
.as-list-card:hover {
  background: #fafafa;
}
.as-list-card-info {
  flex: 1;
  min-width: 0;
}
.as-list-card-product {
  font-size: 16px;
  font-weight: 600;
  color: #232323;
  line-height: 1.4;
  margin-bottom: 6px;
  word-break: break-word;
}
.as-list-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: #999;
}
.as-list-card-meta strong {
  color: #555;
  font-weight: 500;
}
.as-list-card-btn {
  flex-shrink: 0;
  color: var(--title_color) !important;
  border-color: var(--theme_color) !important;
  background-color: var(--theme_color) !important;
  font-size: 13px !important;
  padding: 8px 18px !important;
  min-width: auto !important;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}
.as-list-card-btn:hover {
  filter: brightness(110%);
}

/* Detail grid */
.as-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.as-detail-row {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.as-detail-row:nth-last-child(1),
.as-detail-row:nth-last-child(2):not(.as-detail-row-full) {
  border-bottom: none;
}
.as-detail-row-full {
  grid-column: 1 / -1;
}
.as-label {
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 500;
}
.as-value {
  font-size: 16px;
  color: #232323;
  font-weight: 500;
  line-height: 1.5;
  word-break: break-word;
}

@media (max-width: 768px) {
  .as-popup {
    max-width: 95vw;
  }
  .as-list-popup {
    width: 95vw;
  }
  .as-popup-header {
    padding: 18px 20px;
  }
  .as-popup-body {
    padding: 20px;
  }
  .as-list-popup .as-popup-body {
    padding: 0;
  }
  .as-detail-grid {
    grid-template-columns: 1fr;
  }
  .as-list-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
  }
  .as-list-card-btn {
    width: 100%;
    text-align: center;
  }
  .as-open-list-btn {
    width: 100%;
  }
}
