.awdr_checkout_promotion_messages {
    margin-top: 40px;
}

/* List */

#section-notice ul li:before,
#section-notice-2 ul li:before {
    content: "✓ ";
}

/* Fix font issue */
[class^="icon-"],
[class*=" icon-"] {
  font-family: unset !important;
}

/*
.form-container>* {
    margin-right: -15px !important;
}
*/

/* Button Class Styling */

button,
.woo-slg-email-login-btn {
  width: 100%;
}

/* Input and Select Styling */

input, select {
  border: 0 !important;
  line-height: 42px;

}

  #place_order {
      font-size: 20px;
      padding: 10px;
      height: unset;
      text-transform: uppercase;
  }

@media (min-width: 550px) {

  #place_order {
    max-width: 700px !important;
  }
}

/* Input Form Styling */

.lws-referral-codes-cart-form-input,
input#billing_birth_date {
  width: 100%;
}

@media (min-width: 550px) {

  .lws-referral-codes-cart-form-input,
  input#billing_birth_date {
    width: 48% !important;
  }
}


.container ul li:before {
  content: '';
}

input[type=checkbox],
input[type=radio] {
  margin-right: 5px;
}

/* Max width of main content */

.main-content article {
  max-width: 1500px;
  margin: 0 auto;
}

/* Styling Checkout Section */

.form-container {
  border: 0 !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

.form-container>* {
  margin-right: 20px;
}

/*
#section-notice,
#checkout-section {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
*/

/* Styling Login Form & Checkout notices section */

.woocommerce-checkout .checkout-notices {
  width: 100%;
  margin: 0 0 16px;
  order: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
}

.woocommerce-checkout .checkout-secondary-options {
  margin: 25px 0 0;
  order: 2;
}

.woocommerce-checkout .checkout-notices > .woocommerce-error,
.woocommerce-checkout .checkout-notices > .woocommerce-message,
.woocommerce-checkout .checkout-notices > .woocommerce-info {
  position: static !important;
  float: none !important;
  clear: both;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 16px;
  box-sizing: border-box;
}

.woocommerce-checkout .checkout-notices .woocommerce-error li {
  width: 100%;
  margin: 0 0 8px;
}

.checkout-login-options {
  width: 100%;
  margin: 18px 0 14px;
  border: 0;
  background: transparent;
}

.checkout-login-options__heading {
  margin: 0;
}

.checkout-login-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: var(--default-color-green);
  cursor: pointer;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: capitalize;
  list-style: none;
}

.checkout-login-options__checkbox {
  appearance: auto;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--default-color-green);
}

.theanmarket_checkout_login_toggle:after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: "\f107";
  margin-left: 10px;
}

.checkout-login-modal[hidden] {
  display: none !important;
}

.checkout-login-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  min-height: 100vh;
  padding: 18px;
}

.checkout-login-modal__overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  min-height: 100vh;
  background: rgba(0, 0, 0, .45);
}

.checkout-login-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  border-radius: 5px;
  background: var(--default-color-white);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .25);
}

.checkout-login-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--default-color-charcoal-grey);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.checkout-login-modal__title {
  margin: 0 35px 14px 0;
  font-size: 26px;
  line-height: 1.2;
}

.checkout-login-modal-is-open {
  overflow: hidden;
}

.woocommerce-form-login {
  display: flex;
  flex-direction: column;
  margin: 0 0 20px;
}

.woocommerce-form-login p {
  text-align: left;
  width: 100%;
}

.woocommerce-form-login p:first-child {
  text-align: justify;
  width: 100%;
}

.woocommerce-form-login .form-row-last input,
.woocommerce-form-login .form-row-first input,
.woocommerce-form-login .woocommerce-form-login__submit {
  width: 100% !important;
}

#rememberme {
  width: unset !important;
}

/*-----------------------------*\
 Styling Coupon Box
\*-----------------------------*/

/* Coupon Form */

#checkout-section .checkout_coupon .clear {
  display: none;
}

/* Coupon Popup Password */

#b-password-popup-title {
  text-align: center;
}

#coupon-password {
  width: 100%;
  margin-bottom: 10px;
}

/* Coupon Popup */

#b-button-view-coupons {
  margin-top: 40px;
  background: var(--default-color-white);
  font-weight: 500;
  text-transform: capitalize;
  text-align: center;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid var(--default-color-charcoal-grey);
  color: var(--default-color-charcoal-grey);
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    position: relative;
    background-color: transparent;
    margin: 50px auto;
    padding: 10px;
    border-radius: 5px;
    max-width: 500px;
    background: var(--default-color-grey);
}
.popup-close {
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
}
#b-coupon-popup-close,
#b-coupon-popup-close-bottom {
    color: var(--default-color-charcoal-grey);
}
.popup-close:hover,
.popup-close:focus {
    color: var(--default-color-green);
    text-decoration: none;
    cursor: pointer;
}
.coupon-item {
    display: flex;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    align-items: center;
}
.coupon-item.apply-coupon {
  background: var(--default-color-green);
  cursor: pointer;
}
.coupon-item.non-apply-coupon {
  background: var(--default-color-charcoal-grey);
  color: var(--default-color-grey-2);
  cursor: not-allowed;
}

.coupon-left {
    flex: 1;
    text-align: center;
    color: var(--default-color-white);
    font-size: 14px;
}
.coupon-left .coupon-code {
    font-size: 24px;white;
    font-weight: bold;
    border-radius: 5px;
}
.apply-coupon .coupon-left .coupon-code {
    color: #d396fa;
    border: 2px dashed #d396fa;
}
.non-apply-coupon .coupon-left .coupon-code {
    color: var(--default-color-grey);
    text-decoration: line-through;
}

.coupon-right {
    flex: 2;
    padding-left: 20px;
    color: var(--default-color-white);
    font-size: 14px;
}
.coupon-value {
  font-size: 20px;
}
.coupon-description {
    font-size: 14px;
}


.woocommerce-form-coupon-toggle {
  display: none;
}

.checkout_coupon {
  margin: 20px auto 0;
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  order: 3;
  gap: 10px;
  border-top: 2px dotted var(--default-color-grey);
  padding-top: 20px;
  max-width: 760px;
}

.woocommerce-billing-fields .checkout-login-options--trigger {
  order: 20;
}

.checkout_coupon > p {
  float: unset;
}

.checkout_coupon > p,
#coupon_code {
  width: 250px !important;
}


.woo-slg-email-login-btn {
  border-radius: 5px;
  text-transform: capitalize !important;
}

/* Styling Toggle Boxes Titles */

.woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-form-coupon-toggle .woocommerce-info {
  font-size: 20px;
  font-weight: 400;
  font-family: 'Roboto Condensed';
  letter-spacing: 1px;
  padding-left: 20px;
  border-left: 5px solid var(--default-color-pink);
}

/* Styling content before login form */
.login-notice,
.zalo_login,
.woo-slg-email-login-wrap,
.login-separator {
    text-align: center;   
}

.login-notice {
  width: 100%;
  font-size: 15px;
  margin: 0 0 14px;
}

/*--------------------------*\
  ZALO LOGIN
\*--------------------------*/

.zalo_login a {
  border-radius: 5px !important;
  background: var(--default-color-grey-2) url(https://theanmarket.com/wp-content/plugins/devvn-zalo-oa/assets/images/zalo.png) no-repeat left 10px center !important;
  background-size: 40px 40px !important;
  padding: 10px 30px 10px 70px !important;
  box-shadow: var(--default-box-shadow-1);
  text-align: center;
}

/*--------------------------*\
  CHECKOUT FORM SECTION
\*--------------------------*/

/* Styling Checkout Form Section */

form.woocommerce-checkout {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  order: 1;
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

@media (min-width: 768px) {
  form.woocommerce-checkout > .cm-6 {
    width: 50%;
  }
}

.woocommerce-billing-fields {
  display: flex;
  flex-direction: column;
}

.lws-referral-codes-cart-form-wrapper {
  order: 1;
}

#billing_address_2_field>label,
#shipping_address_2_field>label,
.woocommerce-billing-fields__field-wrapper label,
.woocommerce-shipping-fields__field-wrapper label {
  display: none !important;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout #billing_last_name_field,
.woocommerce-checkout #billing_first_name_field {
  width: 100%;
  padding-right: unset;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
}

.woocommerce-input-wrapper,
  .woocommerce-billing-fields__field-wrapper p.form-row-wide,
  .woocommerce-billing-fields__field-wrapper p.form-row-first,
  .woocommerce-billing-fields__field-wrapper p.form-row-last {
     width: 100%;
}

@media (min-width: 550px) {

  .billing_birth_date_field,
  .woocommerce-billing-fields__field-wrapper p.form-row-wide,
  .woocommerce-billing-fields__field-wrapper p.form-row-first,
  .woocommerce-billing-fields__field-wrapper p.form-row-last,
  /* .woocommerce-form-login .form-row */ {
    width: 48% !important;
  }

  p.form-row-last {
    float: unset;
  }

  .shipping_address .woocommerce-shipping-fields__field-wrapper>p {
    order: 1;
  }

  #shipping_address_1_field {
    order: 0;
  }

  #billing_address_1_field,
  #shipping_address_1_field,
  #thmaf_billing_alt_field,
  #thmaf_shipping_alt_field,
  .mailchimp-newsletter {
    width: 100% !important;
  }
}

/* Styling Form Title */

.woocommerce-checkout h3 {
  font-size: 30px;
  font-weight: 500;
  color: var(--default-color-green);
}

.woocommerce-shipping-fields {
  margin-top: 40px;
}

/* Hide Privacy Policy Text */
.woocommerce-privacy-policy-text {
  display: none;
}

/* Hide error English line in Shipping */

#order_review tr.shipping td p {
  display: none;
}

/* Hide Ship to different address section

#ship-to-different-address {
display: none;
}

/* hide all "optional" text on labels */

label .optional {
  display: none;
}

/* Display checkbox on Create a new account */

.woocommerce-checkout #createaccount {
  display: unset !important;
}

.woocommerce-checkout .create-account,
.woocommerce-checkout #createaccount,
.woocommerce-checkout label[for="createaccount"] {
  display: none !important;
}

/* Hide checkbox on email subsribe */

.woocommerce-page input[type="checkbox"]+label:before,
.woocommerce-page input[type="checkbox"]:checked+label:before {
  display: none;
}

/* Styling Email Subscribe Field */

.mailchimp-newsletter {
  display: flex;
  align-items: baseline;
}

.mailchimp-newsletter input {
  margin-right: 5px;
}

/* Display & Styling state input field

#billing_state_field,
#billing_state_field .woocommerce-input-wrapper input {
display: unset !important;
} */

/* Styling postcode label */

#billing_postcode_field label {
  font-weight: 400;
  clear: both;
}

.woocommerce-checkout #order_comments {
  border: 0;
  border-radius: 5px;
  background: #f9f9f9;
}

/* CHECKOUT PAGE - ORDER RECEIVED: Sizing

.woocommerce-checkout .form-container {
max-width: 960px !important;
} */

/* Sizing first name (họ tên) field */

.woocommerce-checkout #billing_first_name_field {
  float: unset;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

/*-----------------------*\
AN AMIGO
\*-----------------------*/
/*
.lws-referral-codes-cart-form-input {
height: 45px;
}

Styling Order Details

.woocommerce-checkout .shop_table tfoot th,
.woocommerce-checkout .shop_table tfoot td,
.woocommerce-checkout .shop_table thead th,
.woocommerce-checkout .shop_table .order-total th,
.woocommerce-checkout .shop_table .order-total td {
  border-top: 1px dotted var(--default-color-grey);
}

.woocommerce-checkout .shop_table thead th,
.woocommerce-checkout .shop_table .order-total th,
.woocommerce-checkout .shop_table .order-total td {
  border-bottom: 1px dotted var(--default-color-grey);
}

.woocommerce-checkout .form-row label,
.woocommerce-checkout .shop_table thead th,
.woocommerce-checkout .shop_table tfoot th,
.woocommerce-checkout .shop_table .cart-subtotal .amount {
  font-weight: 500;
}

.woocommerce-checkout .shop_table .order-total .amount {
  color: var(--default-color-pink);
}
*/

/*---------------------------*\
  POINTS ON CART WOOREWARDS
\*---------------------------*/

.lws-wr-pointsoncart.order-pointsoncart {
  margin-top: 30px;
  margin-bottom: 30px;
}

/*--------------------*\
  SKIP LOGIN FORM
\*--------------------*/
.skip-login-form {
  width: 100%;
  font-size: 20px;
  font-weight: 400;
  font-family: 'Roboto Condensed';
  letter-spacing: 1px;
  padding-left: 20px;
  border-left: 5px solid var(--default-color-green);
  margin-bottom: 20px;
}

#customer_details,
#order_review_heading {
  padding-top: 50px;
}

/* ORDER RECEIVED PAGE */
.woocommerce-order-overview.woocommerce-thankyou-order-details {
    border: 1px solid var(--default-color-green);
    padding: 10px 15px;
    border-radius: 5px;
    margin: 0 auto;
}

/* CART PAGE */
.woocommerce-cart form.woocommerce-cart-form.thean-cart {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 18px 40px;
  border: 0 !important;
  box-shadow: none !important;
}

.woocommerce-cart .thean-cart__layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 28px !important;
  align-items: flex-start !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.woocommerce-cart .thean-cart .cart-table,
.woocommerce-cart .thean-cart .cart-collaterals {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin-bottom: 24px !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.woocommerce-cart .thean-cart .cart-table {
  grid-column: 1 !important;
}

.woocommerce-cart .thean-cart .cart-collaterals {
  grid-column: 2 !important;
}

.woocommerce-cart .thean-cart .shop_table.cart {
  width: 100%;
  margin: 0;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.woocommerce-cart .thean-cart .shop_table.cart th {
  padding: 0 14px 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.woocommerce-cart .thean-cart .shop_table.cart td {
  padding: 14px;
  vertical-align: middle;
}

.woocommerce-cart .thean-cart .shop_table.cart .product-thumbnail {
  width: 112px;
  padding-left: 0;
}

.woocommerce-cart .thean-cart .shop_table.cart .product-price,
.woocommerce-cart .thean-cart .shop_table.cart .product-quantity,
.woocommerce-cart .thean-cart .shop_table.cart .product-subtotal {
  width: 130px;
}

.woocommerce-cart .thean-cart .shop_table.cart .product-remove {
  width: 42px;
  padding-right: 0;
  text-align: right;
}

.woocommerce-cart .thean-cart .product-thumbnail img {
  width: 86px;
  max-width: 86px;
  border-radius: 5px;
}

.woocommerce-cart .thean-cart .product-name a {
  color: var(--default-color-charcoal-grey);
  font-weight: 500;
  line-height: 1.35;
}

.woocommerce-cart .thean-cart .product-price,
.woocommerce-cart .thean-cart .product-subtotal {
  white-space: nowrap;
}

.woocommerce-cart .thean-cart .actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 0;
  border: 0;
}

.woocommerce-cart .thean-cart .actions .wc-backward,
.woocommerce-cart .thean-cart .actions .button {
  width: auto;
  min-width: 150px;
  margin: 4px 8px 4px 0;
}

.woocommerce-cart .thean-cart .actions .button[name="update_cart"] {
  margin-left: auto;
}

.woocommerce-cart .thean-cart .coupon-section {
  position: sticky;
  top: 18px;
  padding-top: 0;
}

.woocommerce-cart .thean-cart .coupon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border: 0 !important;
}

.woocommerce-cart .thean-cart .coupon .input-text {
  width: 100%;
  min-width: 0;
}

.woocommerce-cart .thean-cart .coupon .wr-btn {
  width: auto;
  min-width: 105px;
  margin: 0;
}

.woocommerce-cart .thean-cart .coupon-section .heading-1 {
  margin: 0 0 14px;
  color: var(--default-color-green);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

.woocommerce-cart .thean-cart .cart_totals {
  width: 100%;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.woocommerce-cart .thean-cart .cart_totals table {
  width: 100%;
  margin-bottom: 18px;
  background: transparent !important;
  border-collapse: collapse;
}

.woocommerce-cart .thean-cart .cart_totals th,
.woocommerce-cart .thean-cart .cart_totals td {
  padding: 13px 0;
  background: transparent !important;
  vertical-align: top;
}

.woocommerce-cart .thean-cart .cart_totals th {
  width: 34%;
}

.woocommerce-cart .thean-cart .cart_totals td {
  text-align: right;
}

.woocommerce-cart .thean-cart .cart_totals .shipping td {
  text-align: left;
}

.woocommerce-cart .thean-cart .cart_totals .order-total th,
.woocommerce-cart .thean-cart .cart_totals .order-total td {
  border-top: 2px dotted var(--default-color-grey);
  font-size: 20px;
}

.woocommerce-cart .thean-cart .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .woocommerce-cart .thean-cart__layout {
    grid-template-columns: 1fr !important;
  }

  .woocommerce-cart .thean-cart .cart-table,
  .woocommerce-cart .thean-cart .cart-collaterals {
    grid-column: auto !important;
  }

  .woocommerce-cart .thean-cart .coupon-section {
    position: static;
  }
}

@media (max-width: 767px) {
  .woocommerce-cart form.woocommerce-cart-form.thean-cart {
    padding: 12px 12px 118px;
  }

  .woocommerce-cart .thean-cart .cart-table,
  .woocommerce-cart .thean-cart .cart-collaterals {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .woocommerce-cart .thean-cart .shop_table.cart thead {
    display: none;
  }

  .woocommerce-cart .thean-cart .shop_table.cart,
  .woocommerce-cart .thean-cart .shop_table.cart tbody,
  .woocommerce-cart .thean-cart .shop_table.cart tr,
  .woocommerce-cart .thean-cart .shop_table.cart td {
    display: block;
    width: 100%;
  }

  .woocommerce-cart .thean-cart .shop_table.cart tr.cart_item {
    position: relative;
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 6px 12px;
    padding: 14px 34px 14px 0;
    border-top: 2px dotted var(--default-color-grey);
  }

  .woocommerce-cart .thean-cart .shop_table.cart tr.cart_item:first-child {
    border-top: 0;
  }

  .woocommerce-cart .thean-cart .shop_table.cart tr.cart_item td {
    padding: 0;
    border: 0;
  }

  .woocommerce-cart .thean-cart .shop_table.cart tr.cart_item .product-thumbnail {
    grid-row: span 4;
  }

  .woocommerce-cart .thean-cart .product-thumbnail img {
    width: 82px;
    max-width: 82px;
  }

  .woocommerce-cart .thean-cart .shop_table.cart tr.cart_item .product-remove {
    position: absolute;
    top: 10px;
    right: 0;
    width: auto;
  }

  .woocommerce-cart .thean-cart .shop_table.cart tr.cart_item .product-price:before,
  .woocommerce-cart .thean-cart .shop_table.cart tr.cart_item .product-quantity:before,
  .woocommerce-cart .thean-cart .shop_table.cart tr.cart_item .product-subtotal:before {
    content: attr(data-title) ": ";
    display: inline-block;
    min-width: 78px;
    color: var(--default-color-charcoal-grey);
    font-weight: 500;
  }

  .woocommerce-cart .thean-cart .shop_table.cart .actions {
    display: block;
    padding-top: 16px;
  }

  .woocommerce-cart .thean-cart .actions .wc-backward,
  .woocommerce-cart .thean-cart .actions .button {
    width: 100%;
    margin: 6px 0;
  }

  .woocommerce-cart .thean-cart .coupon-section {
    padding-top: 12px;
    border-top: 2px dotted var(--default-color-grey);
  }

  .woocommerce-cart .thean-cart .coupon {
    grid-template-columns: 1fr;
  }

  .woocommerce-cart .thean-cart .coupon .wr-btn {
    width: 100%;
  }

  .woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout {
    position: fixed;
    right: 0;
    bottom: 55px;
    left: 0;
    z-index: 99;
    margin: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
  }

  .woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout .checkout-button {
    font-size: 18px;
  }
}

.woocommerce-NoticeGroup {
  width: 100%;
}
