  .buttons-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  .modal-button {
    padding: 12px 24px;
    background-color: #F39B2B;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #000;
  }


  .remodal {
    position: relative;
    max-width: 672px;
    background: #fff;
    color: #040000;
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
  }

  .remodal-close {
    z-index: 1;
    left: auto;
    right: 5px;
    top: 5px;
    color: #040000;
  }

  .modal-content {
    display: flex;
    align-items: stretch;
    flex-direction: unset;
    min-height: 421px;
  }

  .modal-content__cover {
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    width: 227px;
    min-width: 227px;
    background-color: #F39B2B;
    border-radius: 15px 0 0 15px;
  }

  @media (max-width: 610px) {
    .modal-content__cover {
      display: none;
    }
  }



  .modal-content__cover::before {
    content: ' ';
    width: 179px;
    height: 43px;
    position: absolute;
    left: 24px;
    top: 35px;
    background: no-repeat 0 0 url(img/support-logo.png);
    z-index: 1;
	background-size: 100%;
  }


  .modal-content__item {
    width: 100%;
    padding: 15px;
    text-align: left;
  }

  .modal__header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 0 17px 0;
    flex-wrap: wrap;
  }

  .modal__footer {
    display: flex;
    align-items: center;
    padding: 20px 0 0;
    margin-top: auto;
  }

  .modal-title {
    font-weight: 700;
    font-size: 20px;
  }

  .modal-content__item,
  .modal__section {
    display: flex;
    flex-direction: column;
  }

  .modal__section {
    gap: 10px;
    width: 100%;
  }

  .modal__section-row {
    display: flex;
    align-items: center;
    gap: 21px;
  }

  @media (max-width: 420px) {
    .modal__section-row {
      flex-direction: column;
    }
  }

  .modal__section .product__title {
    margin: 0;
    padding: 0;
    font-weight: 500;
  }

  .modal__section-dscr {
    font-size: 12px;
    color: #878787;
  }

  .modal__section-first {
    margin-bottom: 6px;
  }

  .modal__form-check {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 400;
    font-size: 12px;
    flex: 1 0;
  }

  .form-check-input:focus,
  .modal__check-input {
    box-shadow: none;
    border-color: #B4BCC4;
  }

  .modal__check-input {
    margin: 0;
    width: 19px;
    height: 19px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #B4BCC4;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    position: relative;
  }

  .modal__check-input:checked {
    background-color: #F6F8FA;
    border-color: #B4BCC4;
  }

  .modal__check-input:checked::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 3px;
    width: 12px;
    height: 12px;
    background-image: url('img/icon/modal-checkbox.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .modal__footer-price {
    display: flex;
    align-items: flex-end;
    gap: 9px;
  }

  .modal__price-icon {
    display: none !important;
    background-image: url(img/icon/ruble-icon.svg);
    width: 11px;
    height: 12px;
  }

  .modal__footer-price span {
    font-weight: 700;
    font-size: 24px;
  }

  .modal__footer-btn {
    margin-left: auto;
  }


  .modal__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .modal-content__cover-logo {

    width: 100%;
    max-width: 227px;
    height: auto;
  }

  .modal-content__cover-logo img {
    width: 100%;
    object-fit: contain;
    vertical-align: top;
  }

  .modal__body-value {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: flex-end;
    gap: 7px;
  }

  .text-start {
    justify-content: flex-start;
    text-align: left;
  }

  .text-center {
    justify-content: center;
    text-align: center;
  }

  .text-end {
    justify-content: end;
    text-align: right;
  }

  .modal__payment-link {
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0;
    text-decoration-skip-ink: auto;
    color: #0A51F5;
  }

  .modal__instruction {
    padding: 13px 40px 13px 16px;
    width: 100%;
    border-radius: 15px;
    background-color: #FFEFDA;
    font-size: 12px;
    color: #020714;
  }

  .modal__footer-dashed {
    border-top: 1px dashed #D2DAE2;
    margin-top: 20px;
  }


  .modal__body-product {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 15px 31px 15px 15px;
    border-radius: 15px;
    background-color: #F5F5F5;
    position: relative;
    justify-content: space-between;
    min-height: 107px;
  }

  .modal__body-product-name {
    font-weight: 500;
    height: 44px;
  }

  .modal__body-product-info {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 35px;
    font-size: 12px;
    color: #878787;
  }

  .modal__body-product-value span {
    font-weight: 600;
  }

  .modal__body-basket {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  .modal__body-product-close {
    width: 11px;
    height: 11px;
    position: absolute;
    right: 10px;
    top: 4px;
    z-index: 1;
  }

  .modal__body-basket {
    max-height: 339px;
    overflow-y: auto;
    padding-right: 6px;
  }


  .modal__body-basket::-webkit-scrollbar {
    width: 4px;
  }

  .modal__body-basket::-webkit-scrollbar-track {
    background: transparent;
  }

  .modal__body-basket::-webkit-scrollbar-thumb {
    background-color: #F39B2B;
    border-radius: 15px;
    opacity: 1;
  }

  .modal__body-basket::-webkit-scrollbar-thumb:hover {
    background-color: #e08a25;
  }

  .modal__body-basket {
    scrollbar-width: thin;
    scrollbar-color: #F39B2B transparent;
  }

  .basket-btn {
    position: fixed;
    display: flex;
    align-items: center;
    width: 57px;
    height: 57px;
    border-top-left-radius: 35px;
    border-top-right-radius: 23px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 41px;
    background-color: #000000;
    right: 27px;
    bottom: 54px;
    z-index: 1;
  }

  .basket-icon {
    position: absolute;
    top: 13px;
    left: 13px;
  }

  .basket-value {
    position: absolute;
    top: -7px;
    right: -7px;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 40px;
    background-color: #E4BA85;
    border-top-left-radius: 35px;
    border-top-right-radius: 23px;
    border-bottom-right-radius: 41px;
    border-bottom-left-radius: 25px;
  }

  .modal__header-btn {
    padding: 4px 8px;
    font-size: 12px;
    background-color: #D9D9D9;
    border-radius: 3px;
    font-weight: 400;
  }


  .remodal-header-fly-cart {
    display: none;
  }
  .modal-body__payment-topic {
    display: none;
  }
  .remodal[data-modal-buy-method="product"] .remodal-header-fly-goods {
    display: block;
  }
  .remodal[data-modal-buy-method="product"] .modal-body__payment-topic {
    display: block;
  }
  .remodal[data-modal-buy-method="cart"] .remodal-header-fly-goods {
    display: none;
  }
  .remodal[data-modal-buy-method="cart"] .remodal-header-fly-cart {
    display: block;
  }
  .remodal[data-modal-buy-method="cart"] .form {
    margin-top: 0 !important;
  }






  /*
      Shop cart
   */
  #body .b-overlay {
    padding: 30px 20px;
    overflow: hidden;
    overflow-y: auto;
    z-index: 7777 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.5);
  }
  #body .b-popup {
    display: none;
  }
  #body .b-popup__edit {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 2rem;
    color: transparent;
    transition: opacity 0.3s ease;
  }
  #body .b-popup__edit::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    margin: 0 !important;
    color: #000;
    font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
    font-size: 25px;
    line-height: 35px;
    content: "\00d7" !important;
  }
  .theme-dark #body .b-popup__edit::before {
    color: #fff;
  }
  #body .b-popup__edit:hover {
    opacity: 0.6;
  }
  #body .b-overlay .b-popup {
    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 472px;
    padding: 15px;
    color: #212529;
    position: relative;
    margin: 0 !important;
    box-shadow: none;
    background-color: #fff;
    border-radius: 15px;
    transform: none !important;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
  .theme-dark #body .b-overlay .b-popup {
    background-color: #222222;
    color: #fff;
  }
  #body .b-overlay.modifications-cart .b-popup {
    width: 100%;
    max-width: 672px;
    height: 468px;
    padding: 15px 15px 15px 242px;
  }

  #body .b-overlay.modifications-cart .modal-content__cover {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
  }

  @media (max-width: 610px) {
    #body .b-overlay.modifications-cart .b-popup {
      padding: 15px;
    }
  }


  @media (max-width: 420px) {
    #body .b-overlay .b-popup {
      padding: 16px;
    }
  }
  #body .b-popup__head {
    flex: none;
    margin: -10px 0 0 0;
  }
  #body .b-popup__title {
    flex: 1 0;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 0 0 0;
    margin: 0 0 15px 0;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 100%;
    font-size: 20px!important;
    letter-spacing: 0;
    color: #020714;
    text-transform: none;
  }
  .theme-dark #body .b-popup__title {
    color: #fff;
  }

  #body .b-popup__body {
    flex: none;
    padding: 0;
    background: 0;
    border-radius: 0;
  }

  #body .b-basket {
    max-height: 238px;
    margin: 0;
    overflow: hidden;
    overflow-y: auto !important;
  }

  #body .b-popup-custom .b-basket-total {
    display: none;
  }

  #body .b-popup-custom .b-btn.itemcartpay {
    display: none;
  }

  /* Scrollbar */
  #body .b-overlay::-webkit-scrollbar {
    width: 10px;
  }
  #body .b-overlay::-webkit-scrollbar-track {
    background: #f1f4f8;
    border-radius: 34px;
  }
  #body .b-overlay::-webkit-scrollbar-track {
    background: #dedee5;
  }
  #body .b-overlay::-webkit-scrollbar-thumb {
    background-color: #404de8;
    border-radius: 34px;
    transition: background 0.3s ease;
  }
  #body .b-overlay::-webkit-scrollbar-thumb:hover {
    background: #5c67ee;
  }

  /*
  Shop cart add
   */
  .cart-prev-outer {
    flex: 1 0;
    display: flex;
    flex-direction: column;
  }


  .cart-prev-products::-webkit-scrollbar {
    width: 4px;
  }

  .cart-prev-products::-webkit-scrollbar-track {
    background: transparent;
  }

  .cart-prev-products::-webkit-scrollbar-thumb {
    background-color: #F39B2B;
    border-radius: 15px;
    opacity: 1;
  }

  .cart-prev-products::-webkit-scrollbar-thumb:hover {
    background-color: #e08a25;
  }

  .cart-prev-products {
    flex: 1 0;
    padding-right: 6px;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #F39B2B transparent;
  }

  .cart-prev-product-item-name {
    font-family: 'Montserrat', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #212529;
    overflow-wrap: break-word;
  }
  .theme-dark #body .cart-prev-product-item-name {
    color: #fff;
  }

  .cart-prev-product-item-right {
    display: flex;
    align-items: center;
    margin-top: 2px;
  }
  @media (max-width: 500px) {
    .cart-prev-product-item-right {
      flex-direction: column;
      align-items: flex-start;
      margin-top: 5px;
    }
  }
  .cart-prev-product-item-suminfo {
    flex: 1 0;
    display: flex;
    align-items: center;
    gap: 5px 30px;
    flex-wrap: wrap;
  }
  .cart-prev-product-item-qty,
  .cart-prev-product-item-price {
    display: flex;
    align-items: center;
    gap: 1px 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.24;
    color: #95A0AA;
  }
  .cart-prev-product-item-qty > span,
  .cart-prev-product-item-price > span {
    color: inherit;
  }

  .cart-prev-product-item-price-value {
    font-weight: 600;
  }

  .theme-dark #body .cart-prev-product-item-qty,
  .theme-dark #body .cart-prev-product-item-price {
    color: #fff;
  }

  .cart-prev-product-item-qty-input {
    width: 40px;
    height: 20px;
    display: inline-block;
    vertical-align: top;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
    color: #000;
    border: 1px solid #d9d8d8;
    background: #e5e5e5;
    border-radius: 6px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline:none;
    transition: border-color 0.3s ease;
  }
  .cart-prev-product-item-qty-input:hover,
  .cart-prev-product-item-qty-input:focus {
    border-color: #888;
  }
  .theme-dark #body .cart-prev-product-item-qty-input {
    color: #fff;
    border: 1px solid #525252;
    background: #414141;
  }
  .theme-dark #body .cart-prev-product-item-qty-input:hover,
  .theme-dark #body .cart-prev-product-item-qty-input:focus {
    border-color: #707070;
  }

  .cart-prev-product-item-remove-btn {
    width: 11px;
    height: 11px;
    padding: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    border: 0;
    outline: none;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    background: 0;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  .cart-prev-product-item-remove-btn::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    color: #000;
    font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
    font-size: 20px;
    line-height: 35px;
    content: "\00d7" !important;
    transition: color 0.3s ease;
  }

  .cart-prev-product-item-remove-btn:hover::before {
    color: #ff4e4e;
  }
  .theme-dark #body .cart-prev-product-item-remove-btn::before {
    color: #fff;
  }

  .cart-prev-product-item {
    min-height: 107px;
    position: relative;
    padding: 15px 34px 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 7px;
    background-color: #F5F5F5;
    border-radius: 15px;
  }
  .cart-prev-product-item + .cart-prev-product-item {
    margin-top: 10px;
  }
  .theme-dark #body .cart-prev-product-item {
    background-color: #2d2d2d;
  }


  .cart-prev-bottom {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 0 0;
  }
  .cart-prev-total {
    flex: 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
  }
  .cart-prev-total-label {

  }
  .cart-prev-total-value {
    font-size: 24px;
    font-weight: 700;
  }

  .b-popup .info-b-basket {
    height: auto;
    padding: 8px 10px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    font-weight: bold;
    color: #000;
    border-radius: 0 0 14px 18px;
    border-top: 2px solid #f39b2b;
    background-color: rgb(243 155 43 / 69%);
    box-shadow: none;
  }
  .theme-dark #body .b-popup .info-b-basket {
    background-color: rgba(45, 45, 45, 0.76);
    color: #fff;
  }

  .cart-prev-checkouts {
    width: 100%;
  }

  .cart-prev-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .cart-prev-box-btn {
    flex: none;
  }
  @media (max-width: 400px) {
    .cart-prev-bottom {
      gap: 10px;
      flex-direction: column;
      align-items: flex-start;
    }
    .cart-prev-box-btn {
      width: 100%;
    }
  }

  .modifications-cart .b-basket,
  .modifications-cart .b-basket-total,
  .modifications-cart .b-btn.itemcartpay {
    display: none !important;
  }

  .cart-prev-empty {
    padding: 5px 10px;
    font-weight: bold;
    font-size: 16px;
    color: #ccc;
    text-align: center;
  }

  span.counter_cartlequebutton:empty {
    display: none !important;
  }

  span.product-badge:empty {
    display: none;
  }





  /* Float cart */
  #body a.cartlequebutton {
    justify-content: center;
    padding: 0;
    border-radius: 40px;
    position: fixed;
    display: flex;
    align-items: center;
    width: 57px;
    height: 57px;
    border-top-left-radius: 35px;
    border-top-right-radius: 23px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 41px;
    right: 27px;
    bottom: 54px;
    z-index: 1000;
    background: #000;
    transition: all 0.3s ease;
  }

  @media (max-width: 492px) {
    #body a.cartlequebutton {
      width: 34px;
      height: 34px;
      border-top-left-radius: 25px;
      border-top-right-radius: 13px;
      border-bottom-left-radius: 15px;
      border-bottom-right-radius: 31px;
      right: 22px;
      bottom: 22px;
    }
  }

  .theme-dark #body a.cartlequebutton {
    background: #fff;
  }
  .theme-dark #body a.cartlequebutton::after {
    filter: invert(1);
  }
  #body a.cartlequebutton::after {
    width: 31px;
    height: 31px;
    content: ' ';
    display: block;
    background: no-repeat center center url(img/icon/btn-cart.svg);
    background-size: 100% 100%;
    filter: contrast(0) brightness(10);
  }
  @media (max-width: 492px) {
    #body a.cartlequebutton::after {
      width: 18px;
      height: 18px;
    }
  }
  #body a.cartlequebutton:hover {opacity: 0.8;}
  #body a.cartlequebutton:active {opacity: 0.8;}
  #body a.cartlequebutton span.counter_cartlequebutton {
    width: 20px;
    height: 20px;
    line-height: 20px;
    position: absolute;
    left: auto !important;
    margin: 0;
    font-weight: 700;
    font-size: 12px;
    color: #000;
    text-align: center;
    border-radius: 40px;
    top: -7px !important;
    right: -7px !important;
    padding: 0  !important;
    background-color: #E4BA85;
    border-top-left-radius: 35px;
    border-top-right-radius: 23px;
    border-bottom-right-radius: 41px;
    border-bottom-left-radius: 25px;
  }

  @media all and (max-width: 1500px){
    #body a.cartlequebutton {right: 20px; bottom: 40px;}
  }

  span.header__cart-count.customCartAmount:empty {
    display: none;
  }

