.payment_wrapper {
  width: 100%;
  min-width: 400px;
}

.payment-dashboard  {
  margin: 0;
  padding: 0;
}

.payment-dashboard {
  width: 100%;
}

.payment-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  padding: 24px;
}

.payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E7EB;
}

.payment-header h2 {
  font-size: 20px;
  font-weight: 600;
}

.total-amount {
  display: flex;
  align-items: baseline;
}

.total-amount .amount {
  font-size: 24px;
  font-weight: 700;
  margin-right: 4px;
}

.total-amount .currency {
  font-size: 18px;
  color: #6B7280;
}

/* Стили для карточки доставки */
.delivery-card {
  background: #F0F9E8;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.edit-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #7CC440;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.edit-btn:hover {
  background: rgba(124, 196, 64, 0.1);
}

.edit-btn svg {
  flex-shrink: 0;
}

.delivery-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.delivery-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.delivery-icon svg {
  width: 20px;
  height: 20px;
}

.delivery-text p {
  font-weight: 500;
  margin-bottom: 2px;
}

.delivery-address {
  font-size: 14px;
  color: #6B7280;
}



/* Стили для методов оплаты */
.payment-methods {
  margin-bottom: 24px;
}

.payment-methods h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.method-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.method-card {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.method-card:hover {
  border-color: #7CC440;
}

.method-card.active {
  border: 2px solid #7CC440;
  background: #F0F9E8;
}

.method-card.active::after {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: #7CC440 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") no-repeat center;
  background-size: 12px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.method-badge {
  position: absolute;
  top: -6px;
  left: 12px;
  background: #7CC440;
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 12px;
}

.method-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.method-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.method-icon svg {
  width: 24px;
  height: 24px;
}

.method-info {
  flex: 1;
}

.method-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.method-info p {
  font-size: 14px;
  color: #6B7280;
}

.method-balance, .method-cashback, .method-installments {
  font-size: 14px;
  font-weight: 500;
}

.method-balance {
  color: #6B7280;
}

.cashback-badge {
  background: #EFF6FF;
  color: #7CC440;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 13px;
}

.installments-badge {
  background: #ECFDF5;
  color: #10B981;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 13px;
}

.method-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #E5E7EB;
  font-size: 13px;
  color: #6B7280;
  display: none;
}

.method-card.active .method-details {
  display: block;
}

.balance-progress {
  height: 6px;
  background: #E5E7EB;
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: #7CC440;
  border-radius: 3px;
}

/* Кнопка оплаты */
.pay-now-btn {
  width: 100%;
  background: #7CC440;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  margin-bottom: 16px;
}

.pay-now-btn:hover {
  background: #5EA62B;
}

.pay-amount {
  font-weight: 700;
}

/* Футер */
.payment-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6B7280;
}

.payment-footer a {
  color: #7CC440;
  text-decoration: none;
}

.payment-footer a:hover {
  text-decoration: underline;
}

.payment-footer svg {
  flex-shrink: 0;
}

/* Анимации */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.method-card {
  animation: fadeIn 0.3s ease-out forwards;
}

.method-card:nth-child(1) { animation-delay: 0.1s; }
.method-card:nth-child(2) { animation-delay: 0.2s; }
.method-card:nth-child(3) { animation-delay: 0.3s; }
.method-card:nth-child(4) { animation-delay: 0.4s; }








.product_cart {
  display: flex;
  width: 100%;
  border-radius: 16px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin-bottom: 20px;
}

/* Чекбокс */
.checkbox_cart {
  position: absolute;
  top: 19px;
  left: 16px;
  z-index: 2;
}

.checkbox_location {
  width: 24px;
  height: 24px;
  border: 2px solid #ddd;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-width: 0px;
}

.checkbox_cart.active .checkbox_location {
  background: #7cc440;
  border-color: #7cc440;
  animation: pulse_checkbox 0.6s ease;
  border-radius: 2px;
  min-width: 20px;
  min-height: 20px;
  border-width: 0px;
}

.checkbox_mark svg {
  width: 16px;
  height: 16px;
}

.checkbox_mark path {
  fill: white;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.checkbox_cart.active .checkbox_mark path {
  opacity: 1;
}

@keyframes pulse_checkbox {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.product_image_cart::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 14px;
  width: 24px;
  height: 25px;
  background: #fff;
  border-radius: 3px;
  z-index: 1;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.63), 0px 3px 5px rgba(0,0,0,0.05);
  will-change: transform;
  transform: translateZ(0);
}

@media (max-width: 500px) {
  .product_image_cart::before {
    top: 40px;
  }
  .checkbox_cart {
    top: 43px;
  }
}


/* Изображение */
.product_image_cart {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 15px;
}

.product_image_cart img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  max-width: 120px;
  max-height: 140px;
  border-radius: 10px;
  min-width: 120px;
  min-height: 140px;
}

.quick_view {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  backdrop-filter: blur(4px);
  border: 1px solid #e0e0e0;
}

.product_image_cart:hover .quick_view {
  opacity: 1;
}

/* Контент */
.product_content {
  width: 100%;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.p_c_name {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
}

.p_c_size, .p_c_color {
  font-size: 14px;
  color: #777;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}

.p_c_size::before, .p_c_color::before {
  content: "•";
  margin-right: 8px;
  color: #7cc440;
}

/* Цена и количество */
.p_c_num_price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.p_c_price {
  font-size: 22px;
  font-weight: 700;
  color: #333;
}

.controls_cart {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quantity_controls_cart {
  display: flex;
  align-items: center;
  background: #e9f5df;
  border-radius: 50px;
  padding: 4px;
}

.quantity_button_cart {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.quantity_button_cart:hover {
  background: #7cc440;
}

.quantity_button_cart:hover svg path {
  fill: white;
}

.quantity_button_cart svg {
  width: 16px;
  height: 16px;
}

.quantity_button_cart svg path {
  fill: #7cc440;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.quantity_display {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  padding: 0 8px;
}

.delete_button_cart {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.delete_button_cart:hover {
  background: rgba(255, 82, 82, 0.1);
}

.delete_button_cart svg {
  width: 18px;
  height: 18px;
}

.delete_button_cart svg path {
  fill: #ff5252;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.delete_button_cart:hover svg path {
  fill: #e00000;
}

/* Адаптивность */
@media (max-width: 500px) {
  .product_cart {
    flex-direction: column;
    box-shadow: 0 0px 6px rgba(0,0,0,.08); margin-left: 10px; margin-right: 10px; width: calc(100% - 20px);
  }
            
  .product_image_cart, .product_content {
    width: 100%;
  }
            
  .product_image_cart {
    height: 220px;
  }
            
  .p_c_num_price {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: fit-content;
  }
            
  .controls_cart {
    width: 100%;
    justify-content: space-between;
  }

  .payment_wrapper {
    min-width: fit-content;
    width: calc(100% - 30px);
    max-width: none;
  }
}







.null_cart_wrapper {
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 3rem;
}

.null_cart_wrapper > svg {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: #7cc440;
  position: relative;
}

.null_cart_wrapper > h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.null_cart_wrapper > p {
  color: #718096;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.cta-group_null_cart {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button_null_cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.5rem;
  color: #7cc440;
  text-decoration: none;
  border: 1px solid #7cc440;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.cta-button_null_cart.fill {
  background: #7cc440;
  color: white;
}

.cta-button_null_cart:hover {
  background: rgba(124, 196, 64, 0.05);
  transform: translateY(-1px);
}

.cta-button_null_cart.fill:hover {
  background: #6bb036;
}

.divider {
  height: 1px;
  background: #E2E8F0;
  margin: 3rem 0;
}

.recommendations {
  text-align: left;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #718096;
  margin-bottom: 1.5rem;
}


@media (max-width: 640px) {
  h1 {
    font-size: 1.5rem;
  }
            
  .cta-group_null_cart {
    flex-direction: column;
  }
            
  .cta-button_null_cart {
    justify-content: center;
  }
}










.wrapper_data_cart {
  gap: 0em 4em;
}

@media (min-width: 0px) {
  .wrapper_data_cart {
    display: block;
  }
}
@media (min-width: 1000px) {
  .wrapper_data_cart {
    display: flex;
  }
}

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

/*.product_cart {
  display: flex;
  padding: 15px;
  box-shadow: 0 0 1px rgb(213, 213, 213);padding-top: 25px;
  padding-bottom: 25px;
}*/

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

.product_cart > div {
  width: 100%;
}*/


/*.p_c_num_price {
  display: flex;font-size: 14px;justify-content: space-between;align-items: center;margin-bottom: 5px;
  border-bottom-width: 1px;border-bottom-style: solid;padding-bottom: 10px;border-color: #d0cfcf00;
}*/

/*.p_c_price {
  color: #7cc440;font-weight: 600;font-size: 25px;
}*/

/*.p_c_num {
  gap: 15px;
  fill: #868686;
  display: flex;
  align-items: center;
}

@media (min-width: 0px) {
  .p_c_num {
    margin-top: 15px;
  }
}
@media (min-width: 420px) {
  .p_c_num {
    margin-top: 0px;
  }
}*/

/*[for=p_c_minus_product] {
  display: none;width: 23px;height: 23px;
}

[for=p_c_delete_product] {
  width: 23px;height: 23px;
}

[for=p_c_input_num] {
  display: flex;width: 20px;height: 20px;align-items: center;justify-content: center;
}

[for=p_c_plus_product] {
  width: 23px;height: 23px;
}*/







/*.p_c_pay_product {
  padding-top: 7px;padding-bottom: 7px;padding-left: 8px;padding-right: 8px;margin-top: 8px;background: #7cc440;width: fit-content;color: white;font-size: 14px;border-radius: 5px;
}*/

/*.p_c_no_product {
  background: #ec7c50;color: white;display: flex;align-items: center;border-radius: 5px;fill: #868686;padding-right: 8px;padding-left: 8px;padding-top: 5px;padding-bottom: 5px;
}*/

/*.p_c_search_similar {
  background: #4c8bce;display: flex;align-items: center;margin-top: 5px;width: fit-content;color: white;font-size: 14px;padding-left: 4px;padding-right: 4px;padding-top: 2px;padding-bottom: 2px;border-radius: 5px;
}*/

/*.cart_selected_pvz {
  margin-top: -54px;
  color: white;
  padding-left: 15px;
  margin-bottom: 10px;
}*/

/*.cart_selected_pvz > :nth-child(1 of div) {
  font-weight: 400;font-size: 14px;
}*/

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

/*.p_c_pay_all {
  margin-left: 15px;margin-right: 15px;width: calc(100% - 30px);bottom: 71px;border-radius: 40px;position: fixed;background: #7cc440;height: 40px;display: flex;align-items: center;justify-content: space-between;color: white;font-size: 14px;z-index: 1;padding: 15px;box-sizing: border-box;font-weight: 600;box-shadow: 0 0 4px rgb(94, 94, 94);
}*/

/*.p_c_list_pay {
  display: grid;gap: 10px;
}*/

/*.p_c_type_pay {
  color: #767676;
  padding: 10px;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  border-color: #aeaeae;
  font-size: 14px;
  font-weight: 600;
}*/

/*.p_c_type_pay.active {
  background: whitesmoke;
}

.p_c_type_pay > :nth-child(1 of div) {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p_c_type_pay > :nth-child(1 of div) > :nth-child(1 of div) {
  display: flex;gap: 10px;align-items: center;
}

.p_c_type_pay > :nth-child(1 of div) > :nth-child(2 of div) {
  background: #7cc440;color: white;padding: 4px;border-radius: 15px;padding-left: 7px;
  padding-right: 7px;
}

.p_c_type_pay > :nth-child(2 of div) {
  margin-top: 10px;font-weight: 400;font-size: 13px;
}*/



/*.p_c_pay_ok {
  margin-top: 20px;
  border-radius: 3px;
  background: #c9c9c9;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  padding: 15px;
  box-sizing: border-box;
  font-weight: 600;
}
.p_c_pay_ok.active {
  background: #7cc440;
}*/


/*.cart_sum {
  color: #7cc440;font-weight: 500;font-size: 23px;
}*/

.wrapper_product_list_cart_not_stock {
  margin-top: 30px;
}

.cart_num {
  color: #b1b1b1;font-size: 20px;
}

/*[for=p_c_delete_product_ok] {
  width: 100px;
  color: #fff;
  background: #7cc440;
  border-radius: 3px;
  padding: 10px;
    padding-right: 10px;
    padding-left: 10px;
  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;
  box-sizing: border-box;
  padding-left: 0px;
  padding-right: 0px;
}*/

/*.wrapper_pay_cart {
  margin-top: 15px; 
  display: none;
}*/

/*.title_pay_cart {
  margin-bottom: 15px;font-weight: 600;
}*/

/*.cart_discount {
  font-weight: 600;
}*/

/*.cart_total {
  font-weight: 600;font-size: 23px;
}*/



/*.res_pay_cart {
  margin-left: auto;margin-right: auto;max-width: 640px;
}*/

/*.res_pay_cart_data {
  font-size: 14px;
}

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

.res_pay_cart_data > :nth-child(3 of div) {
  margin-top: 10px;
}*/

/*.res_pay_cart_d_promo {
  margin-top: 40px;display: grid;gap: 15px;font-size: 14px;
}*/

/*.res_pay_cart_d_promo_title {
  font-size: 18px;font-weight: 600;display: flex;justify-content: center;
}*/

/*.res_pay_cart_promo {
  display: grid;gap: 25px;box-shadow: 0 2px 16px rgba(0,0,0,.08);padding: 15px;border-radius: 10px;
}
.res_pay_cart_promo.active {
  background: #f5ffee;
}*/













