.order-luckyn {
  display: none;
  margin-left: 10px;
  cursor: pointer;
}

@media screen and (max-width: 767px){
  .order-luckyn {
    margin-top: 12px;
    margin-left: 0px;
  }
}

/* ??????? */
#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;
  color: #666;
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
}

thead {
  background-color: #f6f6f6;
}

tbody {
  background-color: #fff;
}

.detail-section {
  margin-bottom: 20px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  border-radius: var(--theme-border-radius);
}

.track-product-list>table {
  overflow-x: auto;
}

.track-product-list tr td {
  padding: 20px;
}

.product-info {
  display: flex;
}

.product-img {
  width: 60px;
  height: 60px;
  background-color: #eee;
  border-radius: var(--theme-border-radius);
}

.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;
}

.variants-box {
  display: flex;
}

.product-attr {
  display: inline-block;
  padding:2px 6px 0;
  color: #fff;
  font-size: 14px;
  text-align: center;
  background-color: #999;
}

.product-attr:not(:last-child) {
  margin-right: 8px;
}

.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: #bc2848;
  font-size: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  line-height: 1;
  background-color: #f6f6f6;
  border-bottom: 1px solid #e6e6e6;
}

.header-left {
  display: flex;
  align-items: center;
}

.order-id {
  font-size: 20px;
  font-weight: bold;
}

.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: #bc2848;
}

.order-status.label-warning {
  background-color: #f8b551;
}

.order-time {
  font-size: 14px;
}

.order-info {
  padding: 20px;
  font-size: 14px;
  line-height: 1;
}

.order-info p {
  margin-bottom: 16px;
}

.order-info .subtitle {
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: bold;
}

.summary-action {
  margin: 24px 0 6px;
}

.summary-action a {
  display: inline-block;
  padding: 0 80px;
}

.action-cancel {
  margin-left: 16px;
  background-color: #fff;
}

.delivery-code {
  cursor: pointer;
}

.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;
  }
  .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 a {
    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;
    padding: 4px 5px;
    font-size: 12px;
    line-height: 1;
  }
  .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: 200px;
  }
}

/* ??????Start */

.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 */

