/* 订单追踪样式表 */
#orderDetail {
  /* display: none; */
  margin: 36px auto;
  max-width: 1200px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

tr {
  text-align: left;
  border-bottom: 1px solid #e6e6e6;
}

th {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
  color: var(--theme-order-id-color, var(--theme-font-color));
}

thead {
  background-color:var(--account-section-header-bgcolor, #f6f6f6);
}

.detail-section {
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
}
.track-order .form {
  max-width: 600px;
}
.track-product-list {
  overflow-x: auto;
  font-size: 14px;
}

.track-product-list tr td {
  padding: 20px;
}
.track-shipping{
  max-width: 300px;
}
.product-info {
  display: flex;
}

.product-img {
  width: 60px;
  height:calc(60px * var(--product-img-pd-math, 1));
  object-fit: contain;
}

.info-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-left: 10px;
}

.product-name {
  color: var(--theme-font-color);
  line-height: 1.3;
}

.variants-box {
  display: flex;
  flex-wrap: wrap;
  margin: 5px 0;
}

.product-attr {
  display: inline-block;
  padding:3px 6px 1px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  background-color: #999;
}

.product-attr:not(:last-child) {
  margin-right: 8px;
}
.track-ship-info{
  display: flex;
  flex-direction: column;
}
.order-summary {
  padding: 24px 20px;
  text-align: right;
}

.summary-label {
  font-size: 16px;
  font-weight: bold;
}

.summary-value {
  display: inline-block;
  margin-left: 8px;
  min-width: 130px;
  color: var(--invalid-red);
  font-size: 20px;
  font-weight: 700;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  line-height: 1;
  background-color:var(--account-section-header-bgcolor,#f6f6f6);
  border-bottom: 1px solid #e6e6e6;
}

.header-left {
  display: flex;
  align-items: center;
}

.order-id {
  font-size: 20px;
  font-weight: bold;
  color: var(--theme-order-id-color, var(--theme-font-color));
}

.order-status {
  display: inline-block;
  padding: 4px 8px;
  margin-left: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
  background-color:var(--track-order-status ,#333);
}


.order-status.label-success {
  background-color: #3ab417;
}

.order-status.label-info {
  background-color: #999;
}

.order-status.label-error {
  background-color: var(--invalid-red);
}

.order-status.label-warning {
  background-color: #f8b551;
}

.order-luckyn {
  margin-left: 10px;
  cursor: pointer;
}

@media screen and (max-width: 767px){
  .order-luckyn {
    margin-top: 12px;
    margin-left: 0px;
  }
}

.order-time {
  font-size: 14px;
}
.track-order-remark{
  margin-bottom: 15px;
}
.track-remark-title{
  font-weight: 700;
}
.order-info {
  padding: 20px;
  font-size: 14px;
  line-height: 1.3;
}

.order-info p {
  margin-bottom: 12px;
}

.order-info .subtitle {
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: bold;
}

.summary-action {
  margin: 24px 0 6px;
}

.summary-action .button {
  display: inline-block;
  padding: 0 80px;
}

.action-cancel {
  margin-left: 16px;
}

.delivery-code {
  cursor: pointer;
  font-size: 14px;
}

.form-track-order button.submit {
  line-height: unset;
}

@media screen and (max-width: 767px) {
  .section-header {
    align-items: flex-start;
    padding: 12px;
  }
  .section-header .header-left {
    align-items: flex-start;
    flex-direction: column;
    white-space: nowrap;
  }
  .header-left .order-id {
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--theme-order-id-color, var(--theme-font-color));
  }
  .header-left .order-status {
    margin-left: 0;
    font-size: 12px;
  }
  .order-info {
    padding: 12px;
  }
  .order-info .subtitle {
    margin-bottom: 12px;
  }
  .order-info p:last-child {
    margin-bottom: 0;
  }
  .summary-action .button {
    width: 100%;
    text-align: center;
  }
  .action-cancel {
    margin-top: 12px;
    margin-left: 0;
  }
  .summary-label {
    font-size: 14px;
  } 
  .summary-value {
    font-size: 18px;
    text-align: right;
  }
  .product-attr {
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.2;
  }
  .product-attr:not(:last-child) {
    margin-right: 8px;
  }
  
  th {
    padding: 10px;
  }
  tr {
    font-size: 14px;
  }
  .product-list tr td {
    padding: 12px;
  }
  .order-summary {
    padding: 12px;
  }
  .track-product-list tr td {
    padding: 10px;
  }
  .track-product-list tr td.product-info{
    width: 230px;
  }
}

/* 定制商品规格Start */
.prod-customize{
  display: flex;
  flex-direction: column;
}
.customize-row {
	margin-top: 4px;
	font-size: 14px;
}

.customize-images {
	display: flex;
	flex-wrap: wrap;
	margin-top: 4px;
}

.customize-images img {
	margin: 0 8px 8px 0;
	width: 64px;
	height: 64px;
	border-radius: var(--theme-border-radius);
	object-fit: contain;
}

@media screen and (max-width: 767px) {
	.prod-customize {
		width: 100%;
	}
	
	.customize-row .customize-images img {
		margin: 0 4px 4px 0;
		width: calc(33.33333333% - 2.33333333px);
		height: unset;
		aspect-ratio: 1;
	}

	.customize-row .customize-images img:nth-child(3n) {
		margin-right: 0;
	}
}
/* 定制商品规格End */

