body .woocommerce-MyAccount-navigation ul {
  padding-left: 0;
}

.woocommerce-MyAccount-navigation-link.is-active a {
  color: #bf0d3e;
}

.order-title {
  margin-bottom: 1em;
}

.woocommerce-MyAccount-content {
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
  gap: 10px;
}

.woocommerce-MyAccount-content p {
  font-family: "Gilroy";
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  body .woocommerce-MyAccount-content p {
    font-size: 14px;
  }

  body .woocommerce-Address-title h3 {
    font-size: 22px !important;
  }
}

body .woocommerce .woocommerce-MyAccount-content input.input-text {
  line-height: 120%;
  padding: 16px 20px;
  border-radius: 4px;
  border: 1px solid #eeeeee;
  width: 100%;
  font-family: "Gilroy";
  font-size: 14px;
  font-weight: 400;
  color: #181413;
}

body input[name="account_display_name"] + span em {
  font-size: 12px;
  font-style: normal;
  color: #bf0d3e;
  margin-top: 5px;
}

.password-change {
  margin-top: 50px;
}

body .woocommerce form .form-row {
  padding: 0;
  margin: 0;
}

body .woocommerce .woocommerce-Button {
  margin: 0 !important;
}

.woocommerce-EditAccountForm,
.password-change {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.woocommerce {
  margin-bottom: 100px;
  margin-top: 100px;
}

body .woocommerce-EditAccountForm .woocommerce-form-row {
  width: 100% !important;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  #respond
  input#submit,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  input.button {
  align-items: center;
  justify-content: center;
  background: #bf0d3e;
  display: flex;
  gap: 10px;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  min-height: 50px;
  color: #fff !important;
  border: 1px solid #bf0d3e;
  transition: all 0.5s;
}

body .woocommerce-Button:hover,
body .woocommerce-button:hover,
body .woocommerce-EditAccountForm .button:hover,
body .woocommerce-address-fields .button:hover,
body .woocommerce-button.pay:hover,
body .woocommerce-button.view:hover,
body .woocommerce-button.cancel:hover {
  color: #bf0d3e !important;
  background: transparent !important;
}

body .woocommerce-EditAccountForm label {
  margin-bottom: 15px !important;
  line-height: 1.2 !important;
}

@media screen and (max-width: 1200px) {
  body .woocommerce-MyAccount-navigation ul {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  body .woocommerce-EditAccountForm,
  body .password-change {
    gap: 10px;
  }

  body .woocommerce-EditAccountForm label {
    font-size: 16px !important;
  }

  .woocommerce {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  body .woocommerce-MyAccount-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

@media screen and (max-width: 500px) {
  .woocommerce-Button {
    width: 100%;
  }
}

.woocommerce-Address,
.woocommerce-Address-title {
  display: flex;
  flex-direction: column;
}

body .woocommerce-MyAccount-content a.edit {
  max-width: fit-content;
  background: #bf0d3e;
  border: 1px solid transparent;
}

body .woocommerce-MyAccount-content a.edit:hover {
  background: transparent;
  border-color: #bf0d3e;
  color: #bf0d3e !important;
}

.woocommerce-Address address {
  gap: 10px;
  font-style: normal;
  display: flex;
  flex-direction: column;
}

body .woocommerce-info::before,
body .woocommerce-info::after {
  display: none;
}

body .woocommerce-info {
  background-color: transparent;
  color: #000;
  border: 0;
  padding-left: 0;
}

.woocommerce-address-fields__field-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.woocommerce-address-fields__field-wrapper .form-row {
  width: 100% !important;
}

.woocommerce form .form-row label {
  line-height: 120%;
  margin-bottom: 10px;
}

#billing_address_2_field,
#shipping_address_2_field {
  display: none !important;
}

.address-field strong {
  width: 100%;
  display: block;
  padding: 16px 20px;
  border-radius: 4px;
  border: 1px solid #eeeeee;
  font-family: "Gilroy";
  font-size: 14px;
  font-weight: 400;
  color: #181413;
}

body .woocommerce-EditAccountForm .button,
body .woocommerce-address-fields .button {
  margin-top: 40px !important;
}

.woocommerce-input-wrapper strong,
body
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  font-weight: 400;
  font-family: "Gilroy";
  font-size: 14px;
  color: #000;
}

.select2-container .select2-selection--single {
  height: 50.8px;
}

.select2-container--default .select2-selection--single {
  border-color: #eee;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 50.8px;
  padding: 0;
  padding-left: 15px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: calc(50% + 2px);
  transform: translateY(-50%);
}

body .select2-container .select2-dropdown,
body .select2-container .select2-selection {
  border-color: #eeeeee;
  overflow: hidden;
}

body
  .select2-container--default
  .select2-results__option[data-selected="true"] {
  background: #bf0d3e;
  color: #fff;
}

body
  .select2-container--default
  .select2-results__option--highlighted[aria-selected],
body
  .select2-container--default
  .select2-results__option--highlighted[data-selected] {
  background: #bf0d3e;
  color: #fff;
}

body .shop_table {
  border-spacing: 0;
}

.woocommerce-orders-table__row .woocommerce-button.button.view {
  padding: 0;
}

.woocommerce table.my_account_orders {
  font-size: 16px;
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
  font-weight: 500;
}

.woocommerce-order-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.woocommerce-order-details__title {
  flex-basis: 100%;
  order: 1;
}

.custom-checkout-wrapper {
  flex-basis: calc(50% - 15px);
  order: 2;
}

.woocommerce-table {
  flex-basis: calc(50% - 15px);
  order: 3;
}

.shop_table.order_details tfoot:not(:last-of-type) {
  display: none;
}

.woocommerce-order-details .shop_table tbody {
  display: none;
}

.addresses .woocommerce-column {
  width: calc(50% - 15px) !important;
}

.addresses p {
  display: flex;
  align-items: center;
}

.woocommerce-column--shipping-address address,
.woocommerce-column--billing-address address {
  display: flex;
  flex-direction: column;
  padding: 20px !important;
  gap: 15px;
}

.checkout-item {
  display: flex;
}

.checkout-items .checkout-item {
  justify-content: space-between;
}

.checkout-item-image-wrap {
  display: flex;
}

.checkout-item-image {
  display: flex;
  align-items: center;
  max-width: 100px;
}

.checkout-item-content {
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-item-title {
  font-family: "Gilroy";
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  max-width: 135px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}

.checkout-item-inside-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.checkout-item-content-line {
  font-family: "Gilroy";
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: #909090;
}

.checkout-item-content-line span,
.checkout-item-content-line {
  line-height: 1.2;
}

.checkout-item-content-line span {
  color: #181413;
}

.custom-checkout-left {
  overflow: hidden;
  position: relative;
  max-height: fit-content;
  display: flex;
  flex-direction: column;
  padding: 30px;
  padding-bottom: 42px;
  border: 1px solid #eeeeee;
  border-radius: 4px;
}

.custom-checkout-left::after {
  content: "";
  background: #bf0d3e;
  height: 12px;
  left: 0;
  bottom: 0;
  display: block;
  position: absolute;
  width: 100%;
}

.checkout-item-price-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #181413;
  font-weight: 400;
  font-family: "Gilroy";
}

.checkout-item-price-info p {
  font-size: 14px;
}

.checkout-item-price-info span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.woocommerce-Price-amount {
  font-size: 22px;
}

.checkout-item-total-price {
  display: flex;
  align-items: center;
  font-family: "Kanit";
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: #bf0d3e;
}

.woocommerce-MyAccount-content mark {
  background: transparent;
  font-weight: 700;
  color: #bf0d3e;
}

@media screen and (max-width: 1200px) {
  .woocommerce-order-details {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  .addresses .woocommerce-column {
    width: 100% !important;
  }

  .woocommerce-Price-amount {
    font-size: 18px;
  }

  body .checkout-item-image-wrap {
    flex-basis: 100%;
  }

  .checkout-item {
    flex-wrap: wrap;
    gap: 20px;
  }

  .woocommerce .woocommerce-order-details {
    margin-bottom: 0;
  }

  body .custom-checkout-left,
  body .combined-total-payment {
    padding: 15px;
    padding-bottom: 21px;
  }

  .woocommerce .woocommerce-customer-details .woocommerce-column__title {
    font-size: 20px;
  }

  .woocommerce-column--shipping-address {
    margin-top: 20px;
  }
}

.payment-method .button.delete:hover {
  background: transparent !important;
  color: #bf0d3e !important;
}

.payment-method .button.delete {
  max-width: 200px;
}

.payment-method-actions {
  display: flex;
  justify-content: flex-end;
}

.woocommerce-pagination {
  justify-content: center;
  display: flex;
}
