body.after-sale-page,
.after-sale-page .service-shell {
  background: #f0f1f3;
}

.after-sale-main {
  padding: 14px 15px calc(100px + var(--safe-bottom));
}

.after-sale-card,
.after-sale-type-entry {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.after-sale-card {
  padding: 16px 15px;
}

.after-sale-card + .after-sale-card,
.after-sale-card + .after-sale-type-entry {
  margin-top: 10px;
}

.after-sale-card__head,
.after-sale-select-all,
.after-sale-meta-row,
.after-sale-meta-row__value,
.after-sale-type-entry {
  display: flex;
  align-items: center;
}

.after-sale-card__head {
  justify-content: space-between;
  gap: 12px;
}

.after-sale-card__head h1 {
  color: #262626;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.after-sale-select-all {
  gap: 10px;
  color: #2b2b2b;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.after-sale-check {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid #d2d5da;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

.after-sale-check--selected {
  border-color: #006843;
  background: #006843;
}

.after-sale-check--selected::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.after-sale-product-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.after-sale-product {
  display: grid;
  grid-template-columns: 28px 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.after-sale-product__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
}

.after-sale-product__thumb {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: contain;
  background: #f7f8fa;
}

.after-sale-product__body {
  min-width: 0;
}

.after-sale-product__body h2 {
  color: #2b2b2b;
  font-size: 15px;
  line-height: 1.38;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.after-sale-product__body p {
  margin-top: 8px;
  color: #aeb4bc;
  font-size: 13px;
  line-height: 1.25;
}

.after-sale-product__aside {
  display: grid;
  justify-items: end;
  gap: 8px;
  align-self: start;
}

.after-sale-product__aside strong {
  color: #2b2b2b;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
}

.after-sale-product__aside span {
  color: #aeb4bc;
  font-size: 13px;
  line-height: 1.2;
}

.after-sale-card__summary {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eceef1;
}

.after-sale-summary-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.after-sale-summary-row + .after-sale-summary-row {
  margin-top: 14px;
}

.after-sale-summary-row span,
.after-sale-meta-row > span {
  color: #9fa3a7;
  font-size: 14px;
  line-height: 1.35;
}

.after-sale-summary-row strong,
.after-sale-meta-row strong {
  color: #2b2b2b;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}

.after-sale-summary-row strong,
.after-sale-summary-row p {
  text-align: right;
}

.after-sale-summary-row__discount {
  color: #ff3b30;
}

.after-sale-summary-row--note p {
  color: #2b2b2b;
  font-size: 14px;
  line-height: 1.45;
}

.after-sale-card--meta {
  padding-top: 16px;
  padding-bottom: 16px;
}

.after-sale-meta-row {
  justify-content: space-between;
  gap: 18px;
}

.after-sale-meta-row + .after-sale-meta-row {
  margin-top: 18px;
}

.after-sale-meta-row__value {
  justify-content: flex-end;
  gap: 12px;
}

.after-sale-meta-row button {
  color: #006843;
  font-size: 14px;
  line-height: 1.2;
}

.after-sale-type-entry {
  width: 100%;
  justify-content: space-between;
  gap: 16px;
  padding: 0 15px;
  min-height: 58px;
  text-align: left;
}

.after-sale-type-entry__label {
  color: #9fa3a7;
  font-size: 14px;
  line-height: 1.35;
}

.after-sale-type-entry__value {
  margin-left: auto;
  color: #2b2b2b;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
}

.after-sale-type-entry__arrow {
  width: 9px;
  height: 9px;
  border-top: 1.75px solid #2b2b2b;
  border-right: 1.75px solid #2b2b2b;
  transform: rotate(45deg);
}

.after-sale-sheet__scrim {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.34);
}

.after-sale-sheet {
  border-radius: 18px 18px 0 0;
  padding-bottom: calc(18px + var(--safe-bottom));
}

.after-sale-sheet__list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.after-sale-sheet__list li {
  padding: 0;
  border-radius: 12px;
  background: #f5f7fa;
}

.after-sale-sheet__list button {
  width: 100%;
  min-height: 48px;
  color: #2b2b2b;
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 359px) {
  .after-sale-main {
    padding-inline: 12px;
  }

  .after-sale-card,
  .after-sale-type-entry {
    padding-left: 12px;
    padding-right: 12px;
  }

  .after-sale-product {
    grid-template-columns: 24px 68px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .after-sale-product__thumb {
    width: 68px;
    height: 68px;
  }

  .after-sale-product__body h2,
  .after-sale-type-entry__value {
    font-size: 15px;
  }

  .after-sale-summary-row,
  .after-sale-meta-row {
    gap: 10px;
  }
}
