.profile {
  margin-bottom: 10px;display: grid;gap: 20px 20px;
}

@media (min-width: 0px) {
  .profile {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (min-width: 570px) {
  .profile {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1150px) {
  .profile {
    grid-template-columns: repeat(4, 1fr);
  }
}

.profile_block {
  position: relative;
  transition: background 300ms, box-shadow 300ms, top 300ms;
  top: 0px; z-index: 9;background: white;padding: 25px;border-radius: 10px;box-shadow: 0 0 5px rgb(193, 193, 193);
}

@media (min-width: 0px) {
  .profile_block {
    margin-top: 10px;
  }
}
@media (min-width: 650px) {
  .profile_block {
/*    margin-top: 25px;*/
    margin-top: 0px;
  }
}

.profile_block:hover {
  top: -2px;
/*  box-shadow: 0 5px 15px rgba(0,0,0,.5);*/
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.24);
}

.title_profile_block {
  margin-left: 10px;
  margin-bottom: 15px;
  font-weight: 600;
/*  font-size: calc(0.9em + 0.8vw);*/
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 0px 15px;
  margin-right: 10px;
}



.profile_selected_pvz > :nth-child(1 of div) {
  font-weight: 600;
  font-size: 16px;
}
.profile_selected_pvz > :nth-child(2 of div) {
  font-size: 14px;
}

.profile_data_user {
  display: flex;
  justify-content: space-between;
}

.profile_data_user > :nth-child(1 of div) {
  display:flex; align-items: center;
}

.profile_data_user > :nth-child(1 of div) > :nth-child(1 of div) {
  width: 20px;height: 20px;margin-right: 5px;
}

.profile_data_user > :nth-child(1 of div) > :nth-child(1 of div) > svg {
  width: 20px;height: 20px;
}

.profile_data_user > :nth-child(1 of div) > :nth-child(2 of div) {
  display: flex;align-items: center;font-weight: 600;
}

.profile_data_user > :nth-child(2 of div) {
  background: #e8e8e8;padding-top: 2px;padding-bottom: 2px;padding-left: 5px;padding-right: 5px;border-radius: 5px;font-size: 14px;color: #868686;
}

.profile_d_cash {
  display: flex;justify-content: space-between;align-items: center;
}

.profile_d_cash > :nth-child(1 of div) {
  display: flex;background: #7cc440;border-radius: 20px 0px 20px 20px;color: white;fill: white;padding-left: 8px;padding-top: 4px;padding-bottom: 4px;padding-right: 8px;
}

.profile_d_cash > :nth-child(1 of div) > svg {
  width: 17px;height: 17px;margin-right: 3px;
}

.profile_block_btn {
  display: flex;justify-content: space-between;fill: #888;color: #888;align-items: center;padding-top: 10px;
  padding-bottom: 10px;
}

.profile_block_btn > svg {
  width: 13px; height: 13px;
}

.profile_btn_open_page {
  margin-bottom: 50px;
  width: fit-content;
  color: #fff;
  background: #7cc440;
  border-radius: 3px;
  font-size: 14px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  height: 30px;
  margin-top: 25px;
  padding-left: 10px;
  padding-right: 10px;
}

.text_profile_block {
  color: #888;width: calc(100% - 50px);position: absolute;bottom: 25px;font-size: 14px;font-style: italic;
}

.profile_block_btn:hover {
  text-decoration: underline;
}

@media (min-width: 0px) {
  .profile_green_block {
    background: #7cc440;width: 100%;height: 65px;margin-top: -11px;position: absolute;left: 0px;
  }
}
@media (min-width: 650px) {
  .profile_green_block {
    background: #7cc440;width: 100%;height: 65px;margin-top: -6px;position: absolute;left: 0px;
  }
}

.list_profile_my_promo {
  display: grid;
  gap: 20px;
}

.instructions_profile_section {
  font-size: 16px;
  margin-bottom: 20px;
  margin-left: 10px;
  background: #7cc440;
  color: white;
  padding: 20px;
  border-radius: 15px;
/*  letter-spacing: 0.06em;*/
  display: grid;
  gap: 10px;
}

.profile_ref_stats {
  display: grid;margin-top: 40px;gap: 20px;box-shadow: 0 2px 16px rgba(0,0,0,.08);padding: 20px;border-radius: 25px;
}

@media (min-width: 0px) {
  .profile_ref_stats {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (min-width: 350px) {
  .profile_ref_stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 550px) {
  .profile_ref_stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.profile_ref_stats_d {
  display: grid;gap: 10px;
}

.profile_ref_stats_d > :nth-child(1 of div) {
  display: flex;justify-content: center;font-weight: 600;
}

.profile_ref_stats_d > :nth-child(2 of div) {
  display: flex;justify-content: center;
}

.profile_content > .title_wrapper_main {
  margin-top: 40px;margin-bottom: 30px;
}

.list_profile_ref {
  display: grid;gap: 30px;padding-left: 10px;padding-right: 10px;
}

.list_profile_ref_el {
  display: grid;grid-template-columns: repeat(2, 1fr);
}
.list_profile_ref_el:first-child {
  font-size: 18px;font-weight: 600;
}

.ref_list_percent {
  display: grid;gap: 10px;max-width: 300px;margin-left: 10px;
}

.ref_list_percent > div {
  padding-top: 10px;padding-bottom: 10px;display: grid;gap: 30px;grid-template-columns: repeat(2, 1fr);
}

.ref_list_percent > div.active {
  background: #7cc440;color: white;border-radius: 3px;
}

.list_profile_my_orders {
  overflow: hidden;width: 100%;
}

[data-type=profile_my_orders_now], [data-type=profile_my_orders_history] {
  margin-left: 0px;
}

.product_orders {
  padding: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
  box-shadow: 0 0 1px rgb(213, 213, 213);
  padding-top: 25px;
  padding-bottom: 25px;
  padding-top: 15px;padding-bottom: 15px;padding-left: 0px;padding-right: 0px;
}

.product_orders_header {
  display: flex;justify-content: space-between;background: #E2FFB2;padding: 15px;
}
.product_orders_header > :nth-child(1 of div) {
  font-size: 18px;font-weight: 600;
}
.product_orders_header > :nth-child(2 of div) {
  color: #4c9a0a;font-size: 20px;font-weight: 600;
}

.product_orders_data_wrapper {
  justify-content: space-between;align-items: start;margin-top: 15px;margin-bottom: 10px;gap: 15px;
}
@media (min-width: 450px) {
  .product_orders_data_wrapper {
    display: flex;
  }
}
@media (min-width: 650px) {
  .product_orders_data_wrapper {
    display: block;
  }
}
@media (min-width: 800px) {
  .product_orders_data_wrapper {
    display: flex;
  }
}

.product_orders_data {
  display: flex;
}

.product_orders_data_photo > img {
  width: 80px;min-width: 80px;height: 100px;object-fit: cover;border-radius: 5px;margin-right: 15px;
}

.product_orders_data_title {
  font-weight: 600;font-size: 18px;margin-bottom: 10px;
}

.product_orders_data_other {
  color: #838383;
}

[for=cancel_product] {
  background: #fff;color: #878787;width: fit-content;font-weight: 600;font-size: 14px;
}
@media (min-width: 0px) {
  [for=cancel_product] {
    margin-top: 15px;
  }
}
@media (min-width: 900px) {
  [for=cancel_product] {
    margin-top: 0px;
    border-width: 2px;
    border-style: solid;
    border-color: #878787;
    border-radius: 3px;
    padding-left: 20px;padding-right: 20px;padding-top: 10px;padding-bottom: 10px;
  }
}

.product_orders_info_delivery_wrapper {
  justify-content: space-between;align-items: end;gap: 15px;
}
@media (min-width: 400px) {
  .product_orders_info_delivery_wrapper {
    display: flex;
  }
}

.product_orders_info_delivery > :nth-child(1 of div) {
  font-size: 14px;font-weight: 600;
}

.product_orders_info_delivery > :nth-child(2 of div) {
  font-size: 14px;
}

.product_orders_status {
  display: flex;align-items: center;gap: 5px;font-size: 15px;font-weight: 600;white-space: nowrap;
}

.product_orders_status > :nth-child(1 of div) {
  width: 11px;height: 11px;background: #66C437;border-radius: 50px;
}

@media (min-width: 0px) {
  .wrapper_profile_my_orders_now {
    display: block;
    gap: 50px;
  }
}
@media (min-width: 650px) {
  .wrapper_profile_my_orders_now {
    display: flex;
    gap: 50px;
  }
}








.wrapper_qr_delivery {
  height: fit-content;padding: 15px;box-sizing: border-box;border-radius: 10px;box-shadow: 0 2px 16px rgba(0,0,0,.08);top: 100px;display: grid;gap: 10px 0px;
}

.wrapper_qr_delivery > :nth-child(1 of div) {
  font-weight: 600;color: #2e2d2d;font-size: 18px;margin-bottom: 10px;
}

.wrapper_qr_delivery > :nth-child(2 of div) > img {
  max-width: 200px;
}

.wrapper_qr_delivery > :nth-child(3 of div) {
  font-style: italic;font-weight: 500;margin-top: 5px;color: #8f8f8f;
}

@media (min-width: 0px) {
  .wrapper_qr_delivery {
    position: block;min-width: 100%;
  }
}
@media (min-width: 650px) {
  .wrapper_qr_delivery {
    position: sticky;width: fit-content;min-width: fit-content;
  }
}

[for=del_click_h] {
  margin-left: auto;
  margin-right: auto;gap: 10px;background: #7cc440;color: white;display: flex;height: 40px;width: fit-content;justify-content: center;align-items: center;border-radius: 3px;box-shadow: 0 0px 5px rgba(0, 0, 0, 0.24);fill: white;padding-left: 20px;padding-right: 20px;
}

[for=del_click_h] > :nth-child(2 of div) {
  width: 20px;display: flex;height: 20px;
}

.wrapper_product_orders {
  display: flex;
  gap: 20px;
}

.wrapper_product_orders > img {
  width: 100px;
  min-width: 100px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 15px;
}



.wrapper_product_orders_data {
  justify-content: space-between;width: 100%;align-items: center;
}
@media (min-width: 0px) {
  .wrapper_product_orders_data {
    display: block;
  }
}
@media (min-width: 900px) {
  .wrapper_product_orders_data {
    display: flex;
  }
}




.list_pvz {
  max-height: 400px;display: grid;gap: 20px;
}

.el_pvz {
  align-items: center;gap: 15px;padding-bottom: 15px;border-color: gainsboro;border-bottom-width: 1px;border-bottom-style: solid;display: flex;justify-content: space-between;
}
.el_pvz.active {
  background: #effad7;padding-left: 15px;padding-right: 15px;padding-top: 15px;border-radius: 10px;
}

.el_pvz > :nth-child(1 of div) {
}
.el_pvz > a {
  display: flex;align-items: center;
}
.el_pvz > a > img {
  width: 50px;border-width: 2px;border-style: solid;border-radius: 5px;border-left-width: 2px;border-color: #71bc5c;
}

.el_pvz_name {
  font-size: 16px;font-weight: 600;
}

.el_pvz:last-child { 
  border-bottom-width: 0px;
}

