.track-layout {
  grid-template-columns: 265px 1fr 345px;
  gap: 16px;
}
.track-content,
.track-summary > section {
  border: 1px solid #e2e8df;
  border-radius: 7px;
  padding: 16px;
  background: #fff;
}
.track-content h2,
.track-summary h2 {
  font-size: 16px;
  margin: 0 0 13px;
}
.track-form {
  display: flex;
}
.track-form input {
  height: 31px;
  flex: 1;
  border: 1px solid #dce5da;
  border-radius: 5px 0 0 5px;
  padding: 0 12px;
  font-size: 11px;
}
.track-form button {
  width: 145px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: #074c20;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.order-found {
  font-size: 11px;
  color: #357914;
  margin: 11px 0;
}
.order-found i {
  margin-right: 7px;
}
.order-data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #e2e8df;
  border-radius: 6px;
}
.order-data div {
  padding: 11px 16px;
  border-right: 1px solid #e2e8df;
}
.order-data div:last-child {
  border: 0;
}
.order-data span,
.delivery-data span {
  display: block;
  font-size: 10px;
  color: #666;
}
.order-data b,
.delivery-data b {
  display: block;
  font-size: 13px;
  margin-top: 4px;
}
.order-data b i,
.track-prices i,
.track-summary strong i {
  font-size: 11px;
  margin-right: 2px;
}
.delivery-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid #e2e8df;
  border-radius: 6px;
}
.delivery-data b {
  font-family: "Playfair Display";
  font-size: 18px;
  color: #17451f;
}
.delivery-data em {
  font-family: "DM Sans";
  font-size: 10px;
  font-style: normal;
  background: #eaf6dd;
  color: #4c8610;
  padding: 4px 7px;
  margin-left: 8px;
}
.delivery-data div:last-child {
  text-align: right;
}
.delivery-data small {
  display: block;
  font-family: "DM Sans";
  font-size: 10px;
  color: #555;
  margin-top: 4px;
}
.delivery-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 8px;
  padding: 17px 12px;
  border: 1px solid #e2e8df;
  border-radius: 6px;
}
.timeline-line {
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #d8dfd6;
}
.delivery-timeline article {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 10px;
}
.delivery-timeline article i {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  margin: 0 auto 7px;
  background: #f0f1f0;
  color: #888;
  font-size: 16px;
}
.delivery-timeline article.complete i,
.delivery-timeline article.current i {
  background: #eaf5df;
  color: #4e8510;
}
.delivery-timeline b,
.delivery-timeline small {
  display: block;
}
.delivery-timeline small {
  font-size: 9px;
  color: #666;
  margin-top: 5px;
}
.tracking-id {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 10px 16px;
  background: #f1f6e7;
  border-radius: 5px;
  font-size: 10px;
}
.tracking-id > i {
  color: #4e8410;
  font-size: 17px;
}
.tracking-id span:first-of-type {
  margin-right: auto;
  margin-left: 10px;
}
.copy-tracking {
  border: 0;
  background: none;
  color: #3f7610;
  margin-left: 8px;
}
.track-summary article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e5ebe1;
  font-size: 10px;
}
.track-summary article img {
  width: 48px;
  height: auto;
  border: 1px solid #e1e6de;
  border-radius: 4px;
}
.track-summary article div {
  flex: 1;
}
.track-summary b,
.track-summary small {
  display: block;
}
.track-summary small {
  font-size: 9px;
  margin-top: 4px;
}
.track-summary strong {
  font-size: 11px;
}
.track-prices {
  padding-top: 7px;
}
.track-prices p {
  display: flex;
  justify-content: space-between;
  margin: 9px 0;
  font-size: 10px;
}
.green {
  color: #43820e;
}
.track-total {
  padding-top: 8px;
  border-top: 1px solid #dfe7da;
  font-size: 13px !important;
  font-weight: 700;
}
.track-total b {
  font-size: 15px;
  color: #174a1f;
}
.help-box {
  margin-top: 10px;
}
.help-box p {
  font-size: 10px;
  line-height: 1.5;
}
.help-box a {
  display: block;
  border: 1px solid #5f9630;
  border-radius: 4px;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  color: #397510;
  font-size: 11px;
  font-weight: 700;
}
.help-box i {
  margin-right: 8px;
}
.track-notice {
  position: fixed;
  z-index: 1500;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 18px;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 8px 24px #0003;
  font-size: 12px;
}
.track-notice i {
  margin-right: 7px;
}
.track-notice.success {
  background: #16471f;
}
.track-notice.error {
  background: #ba352d;
}
@media (max-width: 1100px) {
  .track-layout {
    grid-template-columns: 210px 1fr;
  }
  .track-summary {
    grid-column: 2;
  }
  .track-summary > section {
    margin-bottom: 10px;
  }
}
@media (max-width: 650px) {
  .track-layout {
    display: block;
  }
  .track-content,
  .track-summary {
    margin-bottom: 12px;
  }
  .order-data {
    grid-template-columns: 1fr 1fr;
  }
  .order-data div:nth-child(2) {
    border-right: 0;
  }
  .order-data div:nth-child(-n + 2) {
    border-bottom: 1px solid #e2e8df;
  }
  .delivery-timeline {
    overflow: auto;
    min-width: 600px;
  }
  .track-content {
    overflow: hidden;
  }
  .tracking-id {
    flex-wrap: wrap;
    gap: 8px;
  }
  .track-summary {
    grid-column: auto;
  }
  .delivery-data {
    grid-template-columns: 1fr;
  }
  .delivery-data div:last-child {
    text-align: left;
    margin-top: 10px;
  }
}
