input.form-control {
  background-color: #fff;
  border: 0.0625rem solid rgba(0, 0, 0, 0.1);
  border-radius: 0.375rem;
  color: #1e1e1e;
  overflow: hidden;
  padding: 0.5625rem 0.875rem;
  transition: border-color 0.3s;
}

/* Скидання стилізації автозаповнення */
input.form-control:-webkit-autofill,
input.form-control:-webkit-autofill:hover,
input.form-control:-webkit-autofill:focus,
input.form-control:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #1e1e1e !important;
  border: 0.0625rem solid rgba(0, 0, 0, 0.1) !important;
  transition: background-color 5000s ease-in-out 0s;
}

input.form-control:not(:read-only):hover {
  border-color: #cfd56b !important;
}

.simplecheckout-block:not(#simplecheckout_comment):not(
    #simplecheckout_payment_form
  ):not(#simplecheckout_payment):not(#simplecheckout_shipping_address):not(
    #simplecheckout_login
  ) {
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 0.0625rem solid #e6e6e6;
}

.simplecheckout-block:not(#simplecheckout_customer):not(#simplecheckout_login)
  .simplecheckout-block-content
  fieldset {
  max-width: 25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9375rem !important;
}

.simplecheckout-block-content {
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
  padding: 0 !important;
}
.simple-content .checkout-heading {
  padding: 0 !important;
  background-color: unset !important;
}

/* .checkout-heading.panel-heading span {
  margin-bottom: 0 !important;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
} */

.form-horizontal .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
}

.form-horizontal .form-group label,
.row-shipping_address_city label {
  color: rgba(30, 30, 30, 0.6) !important;
  font-size: 0.875rem !important;
  line-height: 1.3 !important;
}

.simplecheckout-cart-total:after {
  display: none !important;
}

.simplecheckout-cart-total {
  padding: 0 !important;
  border: unset !important;
}

#simplecheckout_comment {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
}

textarea {
  border-radius: 0;
  min-height: 7.5rem;
  overflow: auto;
  resize: vertical;
  background-color: #fff;
  border: 0.0625rem solid rgba(0, 0, 0, 0.1);
  color: #1e1e1e;
  overflow: hidden;
  padding: 0.5625rem 0.875rem;
  transition: border-color 0.3s;
}

#simplecheckout_comment .panel-heading {
  color: rgba(30, 30, 30, 0.6);
  font-size: 0.875rem;
  line-height: 1.3;
}

.radio label {
  align-items: center;
  cursor: pointer;
  gap: 0.75rem;
  flex-direction: row-reverse !important;
  display: flex !important;
  width: 100%;
}

.radio label input {
  width: fit-content;
}

.radio.checkout__radiobox.check-input label {
  display: flex !important;
  flex-direction: row !important;
  width: fit-content;
}

.checkout-heading.panel-heading {
  font-family: Lato;
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: 0%;
}

.select2.select2-container .select2-selection.select2-selection--single {
  align-items: center;
  background-color: #fff;
  border: 0.0625rem solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 0.375rem !important;
  color: #1e1e1e;
  box-shadow: unset !important;
  display: flex;
  gap: 0.625rem;
  line-height: 1.2;
  min-width: 0;
  height: 35px;
  padding: 0.5625rem 0.875rem !important;
}

.select2-dropdown.select2-dropdown--below {
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: -0.1875rem 0.1875rem 0.75rem 0 rgba(0, 0, 0, 0.2);
  color: #000;
  min-width: 0;
  border: 0px;
  overflow: hidden;
}
.select2-results__options .select2-results__option {
  transition: all 0.3s ease-in-out;
}

.select2-results__options .select2-results__option {
  border-bottom: 0.0625rem solid #d9d9d9;
  font-size: 0.875rem !important;
  padding: 0.625rem !important;
  color: #000 !important;
}

.select2-container--bootstrap
  .select2-results__option--highlighted[aria-selected],
.select2-container--bootstrap .select2-results__option--highlighted,
.select2-results__options .select2-results__option:hover {
  background-color: #d9d9d9 !important;
  color: #000 !important;
}

#agreement_checkbox label.checked .check-input__icon,
.checkout__checkbox--custom.checked .check-input__icon {
  background-color: #6c6f38;
  border-color: #6c6f38;
}

#agreement_checkbox label input {
  display: none;
}

#agreement_checkbox label .check-input__icon {
  order: -1;
}

#agreement_checkbox label.checked .check-input__icon::after,
.checkout__checkbox--custom.checked .check-input__icon::after {
  content: "";
  display: block;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -2px;
  margin-top: -6px;
}

.checkout__checkbox--custom .check-input__icon {
  transition: all 0.2s ease;
}

label.checkout__checkbox--custom {
  cursor: pointer;
  user-select: none;
}

.checkout__checkbox--custom .checkbox-content {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0.75rem;
}

.checkout__checkbox--custom .checkbox-text {
  flex: 1;
}

.localization_vars {
  display: none;
}

.grid-block {
  /* display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; */
}

#simplecheckout_payment {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.simplecheckout-block {
  /* margin-bottom: 0px !important; */
}

.simplecheckout-block-content:after {
  display: none !important ;
}

#simplecheckout_shipping:has(
    input[type="radio"][name="shipping_method"][value="pickup.pickup"][checked]
  )
  #simplecheckout_shipping_address {
  order: 3;
}

.simplecheckout-left-column,
.row-shipping_address_city,
.row-shipping_address_address_1 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-heading-button:has(.openLoginBox) {
  display: none !important;
}

.simplecheckout_comment {
  padding-top: 10px;
}

.simplecheckout-button-block:has(#simplecheckout_button_confirm) {
  margin-bottom: 0px !important;
}

.simplecheckout-button-right:has(#simplecheckout_button_confirm) {
  width: 100% !important;
}

#agreement_checkbox .checkbox label {
  display: flex !important;
  flex-direction: row;
  gap: 5px;
  width: fit-content;
  flex-wrap: wrap;
  text-wrap: nowrap;
  align-items: center;
}

#agreement_checkbox .checkbox {
  width: fit-content;
}

.simplecheckout-button-left {
  width: fit-content;
}

#simplecheckout_comment,
#agreement_checkbox,
.simplecheckout-button-left {
  padding-top: 10px;
}

#simplecheckout_customer fieldset {
  display: flex;
  gap: 15px;
  flex-direction: column;
}

legend {
  display: flex !important;
  justify-content: center !important;
  padding: 0.375rem 0.625rem !important;
  border-radius: 0.25rem;
  border: 0.0625rem dashed #ffa900;
  background-color: rgba(255, 169, 0, 0.2);
  font-size: 0.875rem !important;
  text-align: center;
  text-wrap: nowrap;
  flex-wrap: wrap;
  gap: 5px;
}

.login-checkout__radiobox.check-input {
  display: flex !important;
  flex-direction: row !important;
}

.simplecheckout-block.logged input {
  background-color: #e3e3e3;
  color: rgba(30, 30, 30, 0.6);
  pointer-events: none !important;
}

.simplecheckout-button-block.buttons #simplecheckout_button_confirm {
  display: none !important;
}

.simplecheckout-left-column {
  width: 70%;
}

.simplecheckout-right-column {
  width: 30%;
}

.simplecheckout-step {
  /* display: flex; */
  /* flex-direction: row; */
  gap: 20px;
}

.simplecheckout-left-column,
.simplecheckout-right-column {
  /* float: unset !important; */
  min-width: unset !important;
  max-width: unset !important;
}
/* 

.simplecheckout-left-column {
  width: 100% !important;
}

.simplecheckout-right-column {
  width: fit-content !important;
  min-width: 363px !important;
} */

.checkout__radiobox:has(input[name="selfpickup_street_custom"][checked]) {
  color: #6c6f38;
}

.checkout__radiobox:has(input[name="selfpickup_street_custom"]) {
  transition: all 0.3s ease-in-out;
}

.simplecheckout-warning-block {
  padding: 0;
  border: none;
}


#simplecheckout_shipping .simplecheckout-block-content:not(:has(input[checked])) {
  gap: 0px !important;
}
