input.t4s_frm_input {
  -webkit-appearance: none;
  display: block;
  padding: 12px 14px;
  border-radius: 0;
  border: 1px solid var(--border-color);
  width: 100%;
  line-height: normal;
  resize: none;
  transition: border-color .1s ease-in-out;
  background: 0 0
}

.t4s-customer select:focus,
input.t4s_frm_input:focus {
  border-color: rgba(var(--text-color-rgb), .8);
  outline: 0
}

.t4s_field label {
  position: absolute;
  top: 0;
  left: 14px;
  transform: scale(1);
  transform-origin: left top;
  transition: transform .2s ease-in-out;
  pointer-events: none;
  display: flex;
  align-items: center;
  height: 100%
}

.t4s-customer .t4s_field input:-webkit-autofill,
.t4s-customer .t4s_field input:focus,
.t4s-customer .t4s_field input:not(:placeholder-shown) {
  padding: 18px 14px 6px
}

.t4s-customer .t4s_field input:-webkit-autofill~label,
.t4s-customer .t4s_field input:focus~label,
.t4s-customer .t4s_field input:not(:placeholder-shown)~label {
  transform: translateY(-6px) scale(.8)
}

.t4s-customer .t4s_fieldinput::-webkit-search-cancel-button,
.t4s_field__input::-webkit-search-cancel-button {
  display: none
}

.t4s-customer .t4s_field input::-webkit-autofill,
.t4s-customer .t4s_field input:::autofill {
  color: inherit
}

.t4s-customer .t4s_field input:-webkit-autofill {
  border-color: rgba(var(--text-color-rgb), .8);
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: inherit
}

.t4s-customer .t4s_field input::placeholder,
.t4s_field__input::placeholder {
  opacity: 0
}

.t4s-customer {
  text-align: center
}

.t4s_field {
  text-align: left
}

.t4s-customer .t4s_btn_submmit {
  width: 100%;
  text-transform: uppercase;
  font-weight: 500;
  transition: color .25s, background-color .25s, border-color .25s, box-shadow .25s, opacity .25s
}

.t4s-customer .t4s_btn_black {
  min-width: 90px;
  background-color: var(--t4s-dark-color);
  color: var(--t4s-light-color);
  transition: .3s;
  position: relative;
  overflow: hidden;
  background-position: 150% 45%
}

.t4s-customer .t4s_btn_black:after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 150%;
  width: 200%;
  height: 100%;
  transform: skew(-20deg);
  background-image: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, .25), transparent)
}

@keyframes ani_shine {
  to {
    left: -200%
  }
}

.t4s-customer .t4s_btn_black:hover {
  background-color: var(--t4s-dark-color);
  color: var(--t4s-light-color)
}

.t4s-customer .t4s_btn_black:hover:after {
  animation: .75s cubic-bezier(.01, .56, 1, 1) ani_shine
}

.t4s-customer .t4s_btn_white {
  transition: border .3s;
  min-width: 90px;
  background-color: var(--t4s-light-color);
  color: var(--t4s-dark-color);
  border: 1px solid var(--border-color)
}

.t4s-customer .t4s_btn_white:hover {
  background-color: var(--t4s-light-color);
  color: var(--t4s-dark-color);
  border-color: var(--t4s-dark-color)
}

.t4s-customer a {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.t4s-customer h2 {
  font-size: 20px;
  text-transform: uppercase
}

.t4s-customer .form__message {
  align-items: center;
  display: flex;
  font-size: 16px;
  line-height: 1;
  margin-top: 1rem;
  font-weight: 400
}

.t4s-customer .form__message svg {
  height: 1.5rem;
  width: 1.5rem;
  margin-right: 1rem
}

.t4s-customer .form__message svg.svg-account-hello {
  margin-bottom: 7px
}

.t4s_field+.form__message {
  margin-top: -20px;
  font-size: 13px;
  margin-bottom: 30px;
  text-align: left;
  line-height: 1.1
}

.t4s-customer ul {
  padding-left: 4.4rem;
  text-align: left;
  margin-bottom: 40px;
  list-style: disc;
  margin-top: 15px
}

.t4s-customer-account {
  text-align: left;
  margin-top: 60px;
  margin-bottom: 60px
}

.t4s-account-nav ul {
  padding: 0;
  list-style: none;
  margin-top: 0;
  line-height: 1.4;
  border: 1px solid var(--border-color)
}

.t4s-account-nav a {
  text-decoration: none;
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center
}

.t4s-account-nav svg {
  width: 16px;
  height: 16px;
  margin-right: 5px
}

.t4s-account-nav li:last-child a {
  border-bottom: 0
}

.t4s-account-nav .is--active a,
.t4s-account-nav a:hover {
  background-color: rgba(var(--border-color-rgb), .35);
  color: initial
}

.t4s-account-hello strong {
  color: var(--link-color)
}

.t4s-account-content h2 {
  font-size: 15px;
  text-transform: none;
  margin-bottom: 15px
}

.select,
.text-area {
  display: flex;
  position: relative;
  width: 100%
}

.t4s-customer select {
  width: 100%;
  cursor: pointer;
  padding: 12px 14px;
  -webkit-appearance: none;
  appearance: none
}

.t4s-customer select+svg {
  height: .6rem;
  pointer-events: none;
  position: absolute;
  top: calc(50% - .2rem);
  right: 12px
}

.t4s_mb_10 {
  margin-bottom: 10px
}

.t4s_mb_20 {
  margin-bottom: 20px
}

.t4s_mb_30 {
  margin-bottom: 30px
}

.t4s_mb_60 {
  margin-bottom: 60px
}

.t4s_mr_10 {
  margin-right: 10px
}

@media screen and (min-width:768px) {
  .t4s-account-nav {
    position: sticky;
    top: 20px
  }
}

#recover,
#recover:target~#login {
  display: none
}

#recover:target {
  display: block
}

#guest_login,
#login,
#recover {
  width: 100%;
  -webkit-animation: 1.25s t4s-ani-fadeIn;
  animation: 1.25s t4s-ani-fadeIn
}

.t4s-customer.is--activate,
.t4s-customer.is--login,
.t4s-customer.is--register,
.t4s-customer.is--reset-password {
  max-width: 410px;
  margin: 40px auto;
  display: flex;
  align-items: center;
  text-align: center;
  min-height: 55vh;
  padding: 0;
  flex-direction: column;
  justify-content: center
}

#guest_login hr {
  width: 100%;
  max-width: 100%;
  margin: 30px 0
}

.order-history td {
  color: var(--heading-color)
}

@media (min-width:641px) {

  .t4s-customer.is--activate,
  .t4s-customer.is--login,
  .t4s-customer.is--register,
  .t4s-customer.is--reset-password {
    margin: 80px auto
  }

  #guest_login hr {
    margin: 60px 0 50px
  }
}

.is--addresses [aria-expanded]~div[id] {
  margin-top: 20px;
  padding: 0 20px 5px;
  border: 2px solid var(--border-color)
}

.is--addresses [aria-expanded=false]~div[id] {
  display: none
}

.is--addresses [aria-expanded=true]~div[id] {
  display: block;
  -webkit-animation: 1.25s t4s-ani-fadeIn;
  animation: 1.25s t4s-ani-fadeIn
}

.is--addresses form {
  display: flex;
  flex-flow: row wrap
}

.is--addresses form>div {
  width: 100%;
  text-align: left
}

.is--addresses h2.t4s_title_addresses {
  margin: 30px 0 20px;
  font-size: 18px
}

.is--addresses ul {
  list-style: none;
  padding-left: 0;
  text-align: center
}

.is--addresses .t4s_field {
  margin: 2rem 0 0
}

.is--addresses form>div:nth-of-type(7),
.is--addresses form>div:nth-of-type(7)+div[id] {
  margin-top: 1.5rem
}

.is--addresses input[type=checkbox] {
  margin-top: 2rem;
  margin-left: 0
}

.is--addresses button {
  margin: 4rem 0 1.5rem
}

.is--addresses form button:first-of-type {
  margin-right: 1rem
}

.is--addresses ul p {
  margin-bottom: 0
}

li[data-address] {
  margin-top: 5rem
}

li[data-address]>h2 {
  font-size: 16px;
  margin-top: 30px
}

.is--addresses form button+button,
.is--addresses li>button+button {
  margin-top: 0
}

.is--addresses li>button {
  margin-left: .5rem;
  margin-right: .5rem
}

.is--order .t4s-account-content h2 {
  font-size: 20px
}

.is--order .t4s-account-content h2.is--first {
  margin-bottom: 0
}

.is--order tfoot tr:last-of-type td,
.is--order tfoot tr:last-of-type th {
  font-size: 14px;
  padding-top: 1.5rem;
  padding-bottom: 4rem;
  color: var(--link-color);
  font-weight: 500
}

.is--order tfoot tr:last-of-type .money {
  font-size: 20px;
}

.is--order .lis__discount,
.is--order tfoot tr:last-of-type td::before {
  color: var(--link-color)
}

.is--order tbody ul {
  list-style: none;
  font-size: 1.2rem;
  text-align: right;
  padding-left: 0;
  margin-top: 1rem;
  margin-bottom: 0
}

.is--order .t4s-account-content svg {
  width: 1.1rem;
  color: var(--sale-badge-background);
  margin-right: .5rem
}

.is--order .cart-discount {
  display: block;
  margin-top: 1rem;
  margin-bottom: .5rem;
  font-size: 14px;
}

.is--order td:first-of-type {
  align-items: initial
}

@media screen and (min-width:750px) {
  .is--order td .cart-discount {
    display: none
  }

  .is--addresses [aria-expanded]~div[id] {
    padding: 10px 40px 20px
  }
}

.rtl_true .t4s-customer ul {
  padding-left: 0;
  padding-right: 4.4rem
}

.rtl_true .t4s_field label {
  left: auto;
  right: 14px
}

.rtl_true .is--addresses form>div,
.rtl_true .t4s-customer ul,
.rtl_true .t4s-customer-account,
.rtl_true .t4s_field,
.rtl_true .t4s_field+.form__message {
  text-align: right
}

.rtl_true .t4s-account-nav svg {
  margin-right: 0;
  margin-left: 5px
}

.rtl_true .t4s_mr_10 {
  margin-right: 0;
  margin-left: 10px
}

.rtl_true .is--addresses input[type=checkbox] {
  margin-left: auto;
  margin-right: 0
}

.rtl_true .is--addresses form button:first-of-type {
  margin-right: 0;
  margin-left: 1rem
}

.rtl_true .is--order tbody ul {
  text-align: left
}

.rtl_true .is--order svg {
  margin-right: 0;
  margin-left: .5rem
}

@media only screen and (min-width:750px) {
  .is--addresses form>div:nth-of-type(1) {
    margin-right: 2rem
  }

  .is--addresses form>div:nth-of-type(1),
  .is--addresses form>div:nth-of-type(2) {
    box-sizing: border-box;
    flex-basis: calc(50% - 1rem)
  }

  .is--addresses li>button:first-of-type {
    margin-top: 3rem
  }

  .is--order tfoot tr:last-of-type td,
  .is--order tfoot tr:last-of-type th {
    padding-bottom: 2.4rem
  }

  .is--order tbody ul {
    text-align: left
  }

  .rtl_true .is--order tbody ul {
    text-align: right
  }
}

.t4s-start_a_return_btn {
  display: block !important;
  margin: 0 auto;
  padding: 8px 32px !important;
}

/* m端样式 */
div.t4s-customer-account {
  margin-top: 30px;
  margin-bottom: 46px;
}

.order-back {
  text-decoration: underline;
  font-size: 13px;
  line-height: 120%;
  margin-bottom: 20px;
  cursor: pointer;
}

.t4s-customer .t4s-account-content h2.orderNum {
  font-family: 'EBGaramond-Regular';
  font-size: 16px;
  color: #0b0b0b;
  margin-right: 34px;
}

.preInfo,
.highlight {
  color: #764b39;
}

.t4s_mb_30 p {
  margin-bottom: 0px;
  line-height: 1.25;
}

.t4s-table-res-df {
  margin-top: 30px;
}

.order-details .product-info {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.order-details .product-info img {
  margin-right: 15px;
  height: 100%;
  max-height: 120px;
}

/* m 端的样式 */
@media screen and (max-width: 767px) {
  div.t4s_mb_30 {
    margin-bottom: 0px;
  }

  div.address-item>p {
    margin-bottom: 15px;
  }

  .t4s-table-res-df {
    margin-top: 20px;
  }

  .t4s-table-res-df tbody ul.lis__discount {
    margin-top: 5px;
    margin-bottom: 0;
  }

  .t4s-customer .t4s-account-content .order-header h2.orderNum {
    margin-bottom: 20px;
  }

  .order-header>p {
    margin-bottom: 10px;
  }

  .order-header>p:last-child {
    margin-bottom: 0;
  }

  .t4s-responsive-table tbody tr {
    border-bottom: 1px solid rgba(118, 75, 57, 0.5);
  }

  .t4s-responsive-table tbody td:last-of-type {
    padding-bottom: 15px;
  }

  .t4s-responsive-table tr:first-child {
    border-color: rgba(118, 75, 57, 0.5);
  }

  .t4s-responsive-table td:first-of-type {
    padding-top: 20px;
  }

  .t4s-responsive-table td:first-of-type p,
  .t4s-responsive-table td:first-of-type a {
    color: #764b39;
    text-decoration: underline;
  }

  .t4s-responsive-table td {
    padding: 10px 0;
  }

  table.t4s-responsive-table td::before {
    color: #764b39 !important;
  }

  table.t4s-responsive-table td[headers=ColumnProduct]::before {
    display: none;
  }

  .t4s-responsive-table {
    border-bottom: 1px solid rgba(118, 75, 57, 0.5);
  }

  .lis__discount li {
    display: inline-flex;
    background: #f6ecdc;
    color: #764b38;
    padding: 3px 8px;
    border-radius: 3px;
  }

  .lis__discount li .discount-text {
    display: inline-block;
    height: 14px;
    line-height: 14px;
    font-size: 14px;
  }

  .lis__discount li svg {
    color: #764b39 !important;
  }

  .t4s-responsive-table tr.firstTr {
    margin-top: 10px;
  }

  tfoot span.money {
    font-size: 14px;
    color: #000;
  }

  div.addressInfo h2 {
    font-family: 'EBGaramond-Regular';
    font-size: 16px !important;
    color: #0b0b0b;
  }

  div.addressInfo strong {
    color: #764b39;
    font-weight: normal;
  }

  .address-item {
    line-height: 20px;
    margin-top: 20px;
  }

  .address-item::after {
    content: '';
    height: 1px;
    width: 100%;
    background: rgba(118, 75, 57, 0.5);
    display: block;
  }

  .address-item:last-child::after {
    display: none;
  }

  .order-details tbody td {
    padding-bottom: 5px;
    padding-top: 10px;
  }

  .order-details .fulfillment {
    line-height: 14px;
    margin-top: 15px;
  }

  .order-details tfoot td {
    padding-top: 15px;
    padding-bottom: 0;
  }

  .order-details .money {
    line-height: 20px;
  }

  .order-details .discount-text .money {
    line-height: unset;
  }

  .order-details .lis__discount {
    margin-top: 5px;
  }

  .order-details tfoot tr:last-child td:last-child {
    padding-top: 15px;
    padding-bottom: 20px;
  }
}

/* pc 端的样式 */
@media (min-width: 768px) {
  .t4s-account-content {
    width: 100%;
    max-width: 900px;
  }

  .order-header {
    display: flex;
    gap: 38px;
    margin: 0 15px;
  }

  .order-header h2 {
    white-space: nowrap;
  }

  .order-header .preInfo {
    display: block;
    line-height: 1.25;
    margin-bottom: 5px;
  }

  /* 表格样式 */
  .order-details,
  .order-details th,
  .order-details td {
    border: none;
    padding: 15px;
  }

  .order-details th {
    background: #eadbc6;
  }

  .order-details th:first-child {
    border-radius: 10px 0 0 10px;
  }

  .order-details th:last-child {
    border-radius: 0 10px 10px 0;
  }

  .order-details a {
    color: #764b39;
  }

  .order-details tr {
    position: relative;
  }

  /* thead */
  .order-details thead th {
    padding: 10px 15px;
    line-height: 1;
    font-weight: normal;
  }

  .order-details thead th span {
    display: block;
    height: 20px;
    line-height: 22px;
    color: #764b39;
  }

  /* tbody */
  .order-details tbody tr::after,
  .order-details tfoot tr::after {
    content: '';
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    height: 1px;
    background: rgba(118, 75, 57, 0.25);
  }

  .order-details tbody tr:last-child::after {
    background: #764b39;
  }

  .order-details tbody ul {
    margin-top: 5px;
    margin-bottom: 15px;
  }

  .order-details tbody td {
    vertical-align: top;
  }

  /* tfoot */
  .order-details tfoot tr:last-child::after {
    display: none;
  }

  .order-details tfoot tr:nth-last-child(2)::after {
    display: none;
  }

  .order-details tfoot tr:last-child td {
    background: #f6ecdc;
    line-height: 1;
    padding: 10px 15px !important;
    font-size: 20px !important;
    color: #000 !important;
  }

  .order-details tfoot tr:last-child td span {
    font-size: 20px;
    display: block;
    height: 20px;
    line-height: 24px;
  }

  .order-details tfoot tr:last-child td:first-child span {
    font-size: 14px;
  }

  .order-details tfoot tr:last-child td:first-child {
    border-radius: 10px 0 0 10px;
  }

  .order-details tfoot tr:last-child td:last-child {
    border-radius: 0 10px 10px 0;
  }

  .order-details .lis__discount {
    margin-top: 10px;
  }

  .order-details .lis__discount li {
    display: inline-flex;
    background: #f6ecdc;
    color: #764b38;
    padding: 3px 8px;
    border-radius: 3px;
  }

  .order-details .fulfillment {
    margin-top: 15px;
  }

  .discount-text {
    display: inline-block;
    height: 14px;
    line-height: 14px;
    font-size: 12px;
  }

  /* address */
  div.addressInfo .address-item h2 {
    font-size: 16px;
    font-family: 'EBGaramond-Regular';
    color: #0b0b0b;
  }

  div.address-item p strong {
    color: #764b39;
    font-weight: normal;
  }

  div.address-item {
    padding-left: 30px;
    padding-right: 30px;
  }

  div.address-item>p {
    margin-bottom: 15px;
  }
}