@charset 'utf-8';



.checkout_left {

  width: 48%;

}



.checkout_right {

  width: 49%;

}



.check_register {

  background-color: #EFEFEF;

  padding: 15px 15px;

  margin: 0 auto 30px;

}



.check_register p {

  font-size: 14px;

}



.check_register a {

  color: #E10101;

  text-decoration: underline;

}



.two-column-form {

  display: -ms-grid;

  display: grid;

  -ms-grid-columns: 1fr 20px 1fr;

  grid-template-columns: 1fr 1fr;

  /* Two equal-width columns */

  gap: 20px;



}



.form_login {

  margin: 20px auto;

  padding: 20px;

  border: 1px solid #ddd;

  /* border-radius: 8px; */

  background-color: #f9f9f9;

}



/* Style for form rows */

.form-row {

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;

  -webkit-box-orient: vertical;

  -webkit-box-direction: normal;

  -ms-flex-direction: column;

  flex-direction: column;

  position: relative;

}

.form-in input,

.form-row textarea,

.form-row input {

  display: block;

  width: 100%;

  padding: 8px;

  font-size: 1.6rem;

  line-height: 1.5;

  color: #495057;

  background-color: #fff;

  background-clip: padding-box;

  border: 1px solid #ced4da;

  border-radius: .25rem;

  -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;

  transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;

  -o-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;

  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;

  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;

}



.btn_login,

.btn_register,

.address_details,

.form_login .login {

  margin-top: 15px;

  background-color: #C90000;

  font-size: 16px;

  color: #fff;

  text-align: center;

  display: block;

  border: 0;

  cursor: pointer;

  padding: 8px 19px;

}



.btn_login:hover,

.address_details:hover,

.form_login .login:hover {

  opacity: 0.7;

}



.placeholder {

  position: absolute;

  pointer-events: none;

  top: 11px;

  bottom: 2px;

  left: 10px;

  margin: auto;

  color: #495057;

  font-size: 14px;

}



.placeholder span {

  color: #C90000;

}



.form-row input:focus+.placeholder,

.form-row input:valid+.placeholder {

  display: none;

}



.checkout_information h3 {

  font-size: 22px;



  margin-bottom: 12px;

}



.form_maps_wrap {

  margin: 20px auto;

  padding: 20px 0;

  border: 1px solid #ddd;

  border-radius: 8px;

  background-color: #f9f9f9;

}



.form_address {

  font-size: 16px;

  margin-bottom: 10px;

}



.col_map {

  padding: 0 20px;

  margin-bottom: 20px;

}



#searchInput {

  background-image: url(../../../assets/images/i_search.png);

  background-position: left 10px center;

  background-repeat: no-repeat;

  background-size: 19px;

  padding-left: 40px;

}



#card_number {

  background-image: url(../../../assets/images/payment.png);

  background-position: right 12px center;

  background-repeat: no-repeat;

  background-size: 170px;

}



.address_details {

  margin: 20px auto 0;

}



.payment_form .form-row {

  margin-bottom: 20px;

}



.payment_title {

  margin-top: 20px;

}



.check_row {

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;

  -webkit-box-align: center;

  -ms-flex-align: center;

  align-items: center;
  cursor: pointer;

}





#check_card {

  margin-right: 7px;

}



.khqr_icon {

  margin-right: 18px;

}



span.khqr {
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}



span.scan_txt {

  font-size: 18px;

  color: rgba(105, 115, 134, 1);

}



.khqr_txt p {

  line-height: 15px;

}



.chk {

  accent-color: #C90000;

}



.radio_row {

  margin: 10px auto;

  padding: 20px;

  background-color: #fff;

  border-radius: 20px;

  box-shadow: 0px 4px 10px rgba(183, 190, 203, 0.36);

}



.table_cart.cart_order {

  /* min-width: auto; */

}



.discount_code {

  margin: 10px 0 20px 0;

}



.btn_register {

  display: inline-block;

  height: 34px;

  line-height: 34px;

  padding: 0 19px;

}



.btn_register a {

  color: #fff;

}



.login_title {

  font-size: 2.4rem;

  margin-bottom: 10px;

}



.login_form .form-row {

  margin-bottom: 20px;

}



.remember_col {

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;

  -webkit-box-pack: justify;

  -ms-flex-pack: justify;

  justify-content: space-between;

  -webkit-box-align: center;

  -ms-flex-align: center;

  align-items: center;

}



.link_forgot a {

  color: #C90000;

  text-decoration: underline;

}



.login_pass {

  position: relative;

}



.password_icon {

  position: absolute;

  right: 13px;

  top: 10px;

}



.check_row a {

  color: #C90000;

}



.khqr_icon img {

  width: 70px;

  height: auto;

  border-radius: 6px;

}



.btn_a {

  position: relative;

}



.btn_a::before {

  content: '';

  position: absolute;

  right: 20px;

  top: 50%;

  background-image: url(../../images/i_right.png);

  background-repeat: no-repeat;

  background-position: center;

  background-size: 41px;

  padding: 25px;

  transform: translateY(-50%);

  border-radius: 3px;

}



.detail_address {

  margin: 25px auto 20px;

}



.detail_address_in {

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;

  width: auto;

  justify-content: start;

  align-items: center;

  /* -ms-flex-wrap: wrap;

    flex-wrap: wrap; */

  margin: 10px auto;

  padding: 20px;

  border: 1px solid #ddd;

  background-color: #fff;

  position: relative;

}



.detail_address_in .detail_address_col:first-child {

  width: 135px;

  border-radius: 6px;

  margin-right: 25px;

}



.detail_address_in .detail_address_col:last-child {

  padding-right: 50px;

}



.detail_address_in .detail_address_col img,

.detail_address_in .detail_address_col iframe {

  border-radius: 6px;

}



.btn_map {

  display: block;

  margin: 5px 0 0 0;

}



.btn_map a {

  color: #C90000;

  text-decoration: underline;

  font-size: 1.4rem;

  display: inline;

}



.detail_address_in::before {

  /* content: ''; */

  position: absolute;

  right: 20px;

  top: 50%;

  background-image: url(../../images/i_right.png);

  background-repeat: no-repeat;

  background-position: center;

  background-size: 33px;

  padding: 18px;

  transform: translateY(-50%);

}



.btn_new {

  background-color: #C90000;

  font-size: 16px;

  text-align: center;

  display: block;

  width: 250px;

  margin: 0 auto;

}



.btn_new a {

  color: #fff;

  padding: 6px 13px 5px 13px;

  display: block;

}



.order_top.top_address {

  justify-content: space-between;

  margin: 0;

}



.my_address {

  margin: 20px auto 20px;

}



.address_pop {

  margin: 30px auto 25px;

}



.address_details a {

  color: #fff;

  display: block;

  padding: 8px 19px;

}



.input_map {

  margin: 0 auto 20px;

}



.add_map {

  margin: 20px auto 0;

  background-color: #C90000;

  font-size: 18px;

  color: #fff;

  text-align: center;

  display: block;

  padding: 11px 19px;

  border: 0;

  cursor: pointer;

  width: 400px;

  font-weight: 600;

}



.add_map:hover {

  opacity: 0.7;

}



.address_top {

  display: flex;

  align-items: center;

  justify-content: space-between;

}



.address_top h3 {

  margin-bottom: 0;

}



.address_top .btn_map {

  margin: 0;

}







.address-list {

  width: 100%;

  /* max-width: 600px; */

  /* background: white; */

  padding: 10px;

  margin: 0 auto;

  /* border-radius: 5px; */

  /* box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); */

  max-height: 250px;

  /* Adjust height as needed */

  overflow-y: auto;

}



.address-list ul {

  list-style: none;

  padding: 0;

  margin: 0;

}



.address-list li {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 12px 0;

  /* border-bottom: 1px solid #ddd; */

  font-size: 16px;

}



.address-list li:last-child {

  border-bottom: none;

}



.address-list .icons {

  display: flex;

  gap: 12px;

}



.address-list .edit-icon {

  color: #555;

  cursor: pointer;

  font-size: 14px;

  transition: color 0.3s ease;

}



.address-list .delete-icon {

  color: #C90000;

  cursor: pointer;

  font-size: 16px;

  transition: color 0.3s ease;

}



.address-list .edit-icon:hover {

  color: #000;

}



.address-list .delete-icon:hover {

  color: #ff0000;

}



.address_wrap {

  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);

  background-color: #ffffff;

  padding: 20px 20px 96px 20px;

  margin: 0 auto 30px;

}













.delivery-address {

  width: 100%;

  margin: 20px auto;

}







.address-box {

  background: white;

  /* border-radius: 8px; */

  padding: 30px 20px;

  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */

  border: 1px solid #ddd;

}







.address-lists {

  list-style: none;

  padding: 0 12px 0 0;

  margin: 0;

  max-height: 200px;

  overflow-y: auto;

}



.delivery-address h3 {

  font-size: 24px;

  margin-bottom: 12px;

}



.address-box h4 {

  font-size: 16px;

  margin: 0 0 15px 0;

}



.address-item {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 10px 0;

  border-bottom: 1px solid #ddd;

}



.address-item:last-child {

  border-bottom: none;

}



.address-label {

  display: flex;

  align-items: center;

  gap: 8px;

  cursor: pointer;

}



.address-label input[type="radio"] {

  margin-right: 8px;

  accent-color: #C90000;

}



.address-text {

  line-height: 1.2;

  font-weight: normal;

}



.address-text strong {

  font-weight: 600;

}



.icons {

  display: flex;

  gap: 12px;

}



.edit-icon, .delete-icon {

  color: #C90000;

  cursor: pointer;

  font-size: 16px;

  transition: color 0.3s ease;

}



.edit-icon:hover, .delete-icon:hover {

  color: #a00000;

}



.add-new-address {

  margin-top: 10px;

  color: #C90000;

  font-size: 16px;

  font-weight: normal;

  cursor: pointer;

  display: flex;

  align-items: center;

  gap: 6px;

}



.add-new-address:hover {

  text-decoration: underline;

}



/* Custom Scrollbar */

.address-lists::-webkit-scrollbar {

  width: 8px;

}



.address-lists::-webkit-scrollbar-track {

  background: #f1f1f1;

}



.address-lists::-webkit-scrollbar-thumb {

  background: #ddd;

  border-radius: 5px;

}



.address-lists::-webkit-scrollbar-thumb:hover {

  background: #868686;

}



/* Custom Scrollbar */

.address-list::-webkit-scrollbar {

  width: 8px;

}



.address-list::-webkit-scrollbar-track {

  background: #f1f1f1;

  border-radius: 5px;

}



.address-list::-webkit-scrollbar-thumb {

  background: #ddd;

  border-radius: 5px;

}



.address-list::-webkit-scrollbar-thumb:hover {

  background: #868686;

}







.transaction-summary {

  width: 100%;

  margin: 20px auto 0;

  background-color: white;

}



.transaction-summary table {

  width: 100%;

  border-collapse: collapse;

}



.transaction-summary tr {

  line-height: 1.8;

}



.transaction-summary .label {

  text-align: left;

  font-size: 14px;

  color: #333;

}



.transaction-summary .value {

  text-align: right;

  font-size: 14px;

  color: #333;

}



.total-label {

  font-weight: bold;

  font-size: 16px;

}



.total-amount {

  font-weight: bold;

  font-size: 20px;

}



.transaction-summary hr {

  border: none;

  border-top: 1px solid #ddd;

  margin: 10px 0;

}



.add_address {

  padding: 0;

}

.apply_box{

  display: flex;

  align-items: center;

  justify-content: space-between;

}

.wrap_apply{

  margin: 20px auto 20px;

}

.applys,

.cannel{

  background-color: #Fff;

  font-size: 14px;

  color: #333;

  text-align: center;

  border: 1px solid #ddd;

  width: 159px;

  padding: 8px 7px;

}

.applys{

  color: #fff;

  background-color: #C90000;

}

.new_address a{

  display: block;

  text-align: center;

  width: 100%;

  padding: 8px 19px;

  color: #424242;

  font-size: 18px;

  border: 1px solid #424242;

  position: relative;

}

.wrap_address{

  display: flex;

  align-items: center;

  justify-content: flex-start;

  margin: 20px auto 0;

}

.form-in {

  width: 90%;

}

.btn_bak {

  margin-right: 25px;

  width: 40px;

}

.not_map{

  margin: 30px auto 0px;

  text-align: center;

  display: block;

}

.not_map p{

  font-size: 12px;

  margin: 15px 0 15px 0;

}

.current_local a{

  color: #C90000;

  font-size: 14px;

}





.location-list {

  margin: 20px 0;

  display: flex;

  flex-direction: column;

  position: relative;

}



.location {

  display: flex;

  align-items: center;

  margin: 0 0 10px 0;

}



.icon {

  margin-right: 10px;

  font-size: 18px;

}





@media only screen and (max-width: 991px) {}



@media only screen and (max-width: 767px) {

  .checkout_left {

    width: 100%;

    margin: 0 auto 25px;

  }



  .checkout_right {

    width: 100%;

  }



  .table_cart tbody td,

  .table_cart thead th {

    font-size: 14px;

  }



  .cart_title img {

    width: 40px !important;

  }



  .two-column-form {

    display: block;

  }



  .form-row {

    margin: 0 auto 15px;

  }



  .form-row textarea, .form-row input {

    font-size: 1.4rem;

  }



  .checkout_information h3 {

    font-size: 1.8rem;

  }



  .login_title {

    font-size: 2rem;

  }



  .detail_address_in {

    padding: 10px;

    align-items: flex-start;

  }



  .detail_address_in .detail_address_col:first-child {

    margin-right: 10px;

  }



  .detail_address_in::before {

    right: 10px;

  }



  .detail_address_in .detail_address_col:last-child {

    padding-right: 28px;

  }



  .detail_address_in::before {

    padding: 12px;

    background-size: 100%;

  }



  .btn_map {

    display: block;

    margin: 0;

  }



  .radio_row {

    padding: 10px 30px 10px 10px;

  }

  .saveaddress_wrap{

    padding: 0px;

  }

  .delivery-address{

    margin: auto;

  }

  .add_map{

    width: 100%;

  }

  .sp_checkout{

    margin: 25px 0 0 0;

  }

}