.woocommerce > form.woocommerce-checkout {
  display: block;
}

.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout li {
  color: #892f31;
}
.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
  display: block;
  width: 100%;
  margin-bottom: 30px;
}

.heckout-block {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

ul.woocommerce-error {
  display: block;
}

.woocommerce-billing-fields__field-wrapper p#shipping_postcode_field,
p#billing_city_field,
p#billing_postcode_field,
p#shipping_country_field,
p#shipping_last_name_field,
p#shipping_address_3_field,
p#shipping_address_1_field,
p#shipping_first_name_field,
p#shipping_country_field,
p#billing_address_1_field,
p#billing_state_field,
p#billing_address_2_field,
p#billing_country_field {
  display: none !important;
}

.cart-wrapper .shop_table .fee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cart-wrapper .shop_table .fee th {
  width: 60%;
  text-align: left;
}

button#open_block_login {
  cursor: pointer;
  background: transparent;
  color: white;
  font-size: 13px;
  vertical-align: text-top;
}
.header__login {
  position: relative;
  width: 400px;
  flex-wrap: wrap;
  position: absolute;
  right: 15%;
  top: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 10px;
  z-index: 100;
  background: rgb(255 255 255);
  transition: 0.3s ease-in;
}
.header__login {
  display: none;
}
.header__login.active {
  display: block;
}
.header__login .close-login {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.header__login h3 {
  color: black;
}
.painted .header__login {
  background: rgb(255 255 255);
}
.painted #open_block_login {
  color: black;
}

.painted .header__login h3 {
  color: black;
}

input#billing_personal_data {
  display: none;
}

p#billing_personal_data_field label {
  position: relative;
  display: block;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  padding: 20px 20px 20px 55px;
  border: 1px solid var(--stroke);
  border-radius: 2px;
  line-height: 100%;
  color: var(--main-text-primary);
  cursor: pointer;
  transition: 0.3s ease-in;
}

p#billing_personal_data_field label::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  border: 3px solid var(--background);
  outline: 1px solid var(--primary);
  border-radius: 2px;
  width: 20px;
  height: 20px;
}

p#billing_personal_data_field
  label:has(> input#billing_personal_data:checked)::before {
  background: url("../images/check.svg") no-repeat center;
}

p#billing_personal_data_field
  label:has(> input#billing_personal_data:checked)
  > a,
p#billing_personal_data_field label:has(> input#billing_personal_data:checked) {
  color: var(--primary);
}

p#billing_personal_data_field label > span {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 22px;
}

/*ТОВАР*/
table.variations:first-child {
  width: 100%;
}
form.variations_form.cart {
  flex-wrap: wrap;
}
.variation-color-block {
  width: 100%;
}
.single_variation_wrap {
  width: auto !important;
}

.maininfo-product__top tbody,
.maininfo-product__top th.label,
.maininfo-product__top th.label label {
  text-align: left !important;
}
.variation-color-label {
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  color: var(--head-primary);
  margin-bottom: 0;
}

/*ТОВАР*/

/* Страница регистрации */
.um-form {
  width: 100%;
  margin: 0 auto;
  max-width: 600px;
}
input#um-submit-btn:hover {
  background: #b13320;
}

input#um-submit-btn {
  background: #bd4736;
}
/* Страница регистрации */

/*Форма входа при оформлении заказа*/
div#checkout-choice-modal a.button.alt {
  text-decoration: underline;
  color: var(--primary);
  font-size: 20px;
}
div#checkout-choice-modal a.button.alt {
  text-decoration: underline;
  color: var(--primary);
}

div#checkout-choice-modal .um.um-login.um-err.um-2105.uimob500 {
  margin-bottom: 10px !important;
}

div#checkout-choice-modal .um-login-form {
  margin-bottom: 0px;
}
div#checkout-choice-modal .um-col-alt-b {
  padding-top: 10px;
}
#checkout-choice-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}
.modal-overlay {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.modal-content {
  position: relative;
  background: #fff;
  padding: 30px;
  margin: 2% auto;
  width: 550px;
  max-width: 90%;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.um-login-form {
  margin-bottom: 20px;
}
.guest-checkout .button {
  display: inline-block;
  margin-top: 10px;
}
@media (max-width: 480px) {
  .modal-content {
    width: 90%;
    padding: 20px;
  }
}
/*Форма входа при оформлении заказа*/

@media (min-width: 768px) and (max-width: 991px) {
  ul.wc_payment_methods.payment_methods.methods,
  ul#shipping_method {
    grid-template-columns: auto !important;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .heckout-block {
    flex-wrap: wrap;
  }
}
@media (max-width: 575px) {
  .heckout-block {
    flex-wrap: wrap;
  }
}
