.pay-parts-card-icon {
    height: 25px;
}

.pay-parts-txt p {
	padding: 0px !important;
	line-height: 10px;
}

.pay-parts-card-label {
    font-size: 11px;
	color: #555;
	margin-bottom: 6px;
}

.pay-parts-card-text {
    font-size: 11px;
	font-weight: 700;
	margin-bottom: 0px;
}

/* скроллбар скрыт */
.pay-parts-cards::-webkit-scrollbar {
    display: none;
}

/* обёртка слайдера */
.pay-parts-slider-wrapper {
    position: relative;
    overflow: visible;
    margin-top: 10px;
}

/* лента карточек */
.pay-parts-cards {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    cursor: grab;
	max-width: 475px;
	-ms-overflow-style: none;
    scrollbar-width: none;
}

.pay-parts-cards.dragging {
    cursor: grabbing;
}

/* карточки */
.pay-parts-card {
    min-width: 170px;
    background: #f0f4f5;
    border-radius: 15px;
    padding: 13px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: relative;
    line-height: 52px;
    max-height: 52px;
    cursor: grab;
}

.pay-parts-cards.dragging .pay-parts-card {
    cursor: grabbing;
}

/* запрет выделения и кликов по картинке */
.pay-parts-card,
.pay-parts-card * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.pay-parts-card img {
    pointer-events: none;
}

.pay-parts-tooltip {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    font-size: 12px;
    width: 400px;
    z-index: 9999;
    transition: opacity 0.2s;
    pointer-events: none;
}

.pay-parts-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}

.pay-parts-card:hover .pay-parts-tooltip {
    visibility: visible;
    opacity: 1;
    left: -420px;
    top: 50%;
    transform: translateY(-50%);
}

.pay-parts-tooltip-label {
	padding-bottom: 16px;
    font-size: 16px;
	font-weight: 500;
}

@media (max-width: 768px) {
	.payment-reiting-container .payment-icons-container {
		max-width: 160px;
	}
  .pay-parts-tooltip {
    position: absolute;
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
    top: 60px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    display: block;
    box-shadow: none;
  }

  .pay-parts-tooltip::after {
    display: none;
  }

  .pay-parts-card.active .pay-parts-tooltip {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
      .pay-parts-card {
        min-width: 108px;
        width: 108px;
    }
}















/* Icons under the button */



/* Category pay parts */
/* .payment-reiting-container { */
    /* height: 36px; */
/* } */

/* .payment-reiting-container .payment-icons-container { */
    /* flex-wrap: nowrap; */
    /* flex-direction: row; */
    /* justify-content: center; */
    /* line-height: 35px; */
    /* display: flex; */
    /* gap: 3px; */
/* } */

/* .payment-reiting-container .payment-icon-group { */
    /* display: flex; */
    /* align-items: center; */
    /* gap: 5px; */
    /* background: rgba(255, 255, 255, 0.8); */
    /* padding: 5px 10px; */
    /* border-radius: 5px; */
    /* border: 1px solid #ddd; */
/* } */

/* .payment-reiting-container .payment-icon-wrapper { */
    /* display: flex; */
    /* flex-direction: row; */
    /* flex-wrap: nowrap; */
    /* align-items: center; */
    /* justify-content: center; */
    /* position: relative; */
    /* min-width: 40px; */
    /* border: 1px solid #eee; */
    /* margin: 3px 0; */
    /* height: 30px; */
    /* border-radius: 15px; */
    /* opacity: 0.5; */
/* } */

/* .payment-reiting-container .payment-icon-wrapper:hover { */
    /* opacity: 1; */
    /* cursor: default; */
/* } */

/* .payment-reiting-container .payment-icon { */
    /* width: 15px !important; */
    /* height: auto; */
    /* filter: grayscale(100%); */
/* } */

/* .payment-reiting-container .payment-icon-wrapper:hover .payment-icon { */
    /* filter: grayscale(0%); */
/* } */
.payment-reiting-container .payment-icons-container {
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: left;
    line-height: 35px;
    display: flex;
    gap: 3px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: none;
        }
body:is(.home) .payment-reiting-container .payment-icons-container {
    justify-content: space-around;
}
body:not(.home) .payment-reiting-container .payment-icons-container {
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: left;
    line-height: 35px;
    display: flex;
    gap: 3px;
}

        .payment-reiting-container .payment-icons-container::-webkit-scrollbar {
            display: none;
        }

        /* курсор: стрелка ↔ на всём контейнере и его детях */
        .payment-reiting-container .payment-icons-container,
        .payment-reiting-container .payment-icons-container * {
            cursor: ew-resize !important;
            user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;
            -webkit-user-drag: none;
        }

        /* во время перетаскивания — “grabbing” */
        .payment-reiting-container .payment-icons-container.is-dragging,
        .payment-reiting-container .payment-icons-container.is-dragging * {
            cursor: grabbing !important;
        }

        .payment-reiting-container .payment-icon-group {
            display: flex;
            align-items: center;
            gap: 5px;
            background: rgba(255, 255, 255, 0.8);
            padding: 5px 10px;
            border-radius: 5px;
            border: 1px solid #ddd;
        }

.payment-reiting-container .payment-icon-wrapper {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: center;
            position: relative;
            /* min-width: 40px; */
            /* border: 1px solid #eee; */
            /* margin: 3px 0; */
            height: 30px;
            border-radius: 15px;
            opacity: 0.5;
        }
body:not(.home) .payment-reiting-container .payment-icon-wrapper {
	        min-width: 40px;
            margin: 3px 0;
}
	
        .payment-reiting-container .payment-icon-wrapper:hover {
            opacity: 1;
        }

        .payment-reiting-container .payment-icon {
            width: 15px !important;
            height: auto;
            filter: grayscale(100%);
        }

        .payment-reiting-container .payment-icon-wrapper:hover .payment-icon {
            filter: grayscale(0%);
        }
.payment-reiting-container .after-number {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

/* .payment-reiting-container img { */
    /* display: block !important; */
/* } */
/* Category pay parts */



/* PopUp */
.credit-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    flex-wrap: nowrap;
}

.credit-item-left {
	display: flex;
    width: 57%;
	justify-content: space-between;
}

.credit-item-right {
    display: flex;
    margin-left: auto;
}

.credit-bank {
    display: flex;
}

.credit-bank-logo {
    width: 24px;
    height: 24px;
}
.credit-bank-title {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.bank-title {
	font-weight: 600;
    font-size: 14px;
	margin-top: -7px;
}

.bank-minprice {
	font-size: 13px;
}

.bank-payment {
	font-size: 13px;
}

.credit-select select {
    height: 40px;
    border-radius: 50px;
    padding: 0px 20px 0px 15px;
    background-size: 20px;
	min-width: 130px;
	border: 1px solid #eee;
    background: #eee;
}

.credit-select select:focus-visible {
    border: 1px solid #b2b0b0;
}

.credit-price {
    font-size: 18px;
    line-height: 40px;
    margin-right: 20px;
}

.credit-button button {
	padding: 0px 20px !important;
    line-height: 40px !important;
}

.credit-button button.credit-apply {
	background:#25809e;
	color: #fff;
    font-weight: 700;
    font-size: 1em;
}

.credit-button button.credit-apply:hover {
	background:#000;
}

.credit-popup {
	position: fixed;
	top: 0px;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	align-items: flex-start;
	justify-content: center;
	z-index: 1000;
	overflow-y: auto;
}

.credit-popup.open {
	display: flex;
}

.credit-popup-content {
	background: #fff;
	padding: 20px;
	border-radius: 35px;
	position: relative;
	min-width: 300px;
	width: 800px;
	overflow-y: auto;
	margin-top: 100px;
	margin-bottom: 100px;
}

.popup-title {
	font-size: 18px;
	font-weight: bold;
}

.close-popup-cpc {
	width: 20px;
	right: 40px;
	top: 32px;
	cursor: pointer;
}

.credit-list {
	margin-top: 15px;
	padding-bottom: 20px;
    border-bottom: 1px solid rgb(237, 239, 242);
}

.credit-item {
	display: flex;
	margin-top: 20px;
	/* padding-bottom: 20px; */
	/* border-bottom: 1px solid rgb(237, 239, 242); */
}

.credit-item:last-child {
	padding-bottom: 0px;
	border-bottom: none;
}

.credit-bank {
	display: flex;
}

.credit-price {
	font-weight: bold;
}

.credit-static-select {
    height: 40px;
    border-radius: 50px;
    padding: 0px 20px 0px 15px;
    background-size: 20px;
    min-width: 130px;
    border: 1px solid #eee;
    background: #eee;
	display: flex;
    align-items: center;
}

.credit-static-select p {
    color: initial;
    font-family: "Open Sans", HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	margin: 0px;
}

.credit-select select.disabled,
.credit-static-select.disabled,
.button.credit-apply.disabled {
    opacity: 0.5;
}

.custom-message-red,
.custom-message-yellow {
    text-align: center;
	margin-top: 5px;
}

.custom-message-red:before,
.custom-message-yellow:before {
    content: '\f071';
    font-family: 'FontAwesome';
	padding: 5px;
}

.custom-message-red {
	color: #ffffff;
    background: #ff000078;
    border-radius: 5px;
    padding: 5px;
}
.custom-message-red:before {
	color: #ffffff;
}

.custom-message-yellow {
    color: #000000;
    background: #ffff005e;
    border-radius: 5px;
    padding: 5px;
}
.custom-message-yellow:before {
    color: #000000;
}

.payment-select option[disabled] {
    color: #bebebe;
}



@media (max-width: 700px) {
    .credit-popup-content {
		width: 400px;
	}
	.credit-item {
		flex-direction: column;
	}
	.credit-item-left {
		width: 100%;
		flex-direction: column;
	}
	.credit-select {
		margin-top: 10px;
	}
	.credit-select select {
		width: 100%;
	}
	.credit-item-right {
		margin-left: inherit;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-around;
		margin-top: 10px;
	}
}
/* PopUp */



/* Checkout */

.dropdown-with-icon {
    position: relative;
    display: inline-block;
    width: 115px;
}

.dropdown-with-icon::before {
  content: '\25BC';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.8rem;
  color: #333;
}

.dropdown-with-icon .dropdown-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    pointer-events: none; /* чтобы клик проходил на select */
    max-width: 20px; /* задайте нужный размер иконки */
    max-height: 20px;
}

.dropdown-with-icon .checkout-payment-select {
	width: 100%;
    padding-left: 40px;
    height: 40px;
    background: #f5f5f5;
    border: 0px;
    border-left: 1px solid #25809e;
	padding-right: 2.5em;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}


.titleicon {
    padding: 10px 0px 10px 10px;
}

.checkout-payment-select:focus {
    outline: none;
}

li.disabled-method {
    pointer-events: none;
    opacity: 0.4;
}


li.wc_payment_method select {
	pointer-events: none;
	cursor: not-allowed;
    opacity: .65;
}

li.wc_payment_method.selected-method select {
	pointer-events: auto;
	cursor: auto;
    opacity: 1 !important;
}
.bank-icon.wayforpay1 {
    margin-right: 30px;
}

#payment {
	padding: 20px 0px;
}

li.wc_payment_method.payment_method_cod {
	border-width: 2px !important;
	border-radius: 8px;
	cursor: pointer;
	border: 1px solid;
}

#payment .payment_methods li.wc_payment_method {
	border: 1px solid #ddd !important;
	/* padding: 0px !important; */
	padding: 0px !important;
	overflow: hidden;
	height: 40px;
}

.payment_box.payment_method_cod {
	border-radius: 0 0 0 0;
	font-size: 13px;
}

.wc_payment_methods {
	list-style: none;
	padding: 0;
}

.custom_payment_wrapper {
	font-size: 14px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.titleicon {
    padding: 10px 0px 10px 10px;
}

.custom_payment_wrapper div {
	display: flex;
	align-items: center;
	height: 40px;
}

li.selected-method .custom_payment_wrapper span, 
#payment li:hover .custom_payment_wrapper span {
	color:#25809e !important;
}

li .custom_payment_wrapper span {
	line-height: 16px;
}


/* #payment .payment_methods li label { */
	/* margin-left: 10px; */
/* } */
#payment .payment_methods li div.titleicon img {
	margin-right: 20px;
	margin-left: 10px;
}

#payment .payment_methods li .payment_box {
	margin: 0px !important;
	border-top: 1px solid #25809e !important;
    border-radius: 0 0 0 0 !important;
}

.wc_payment_method {
	border: 2px solid #ddd;
	padding: 10px;
	border-radius: 10px;
	margin-bottom: 10px;
	transition: all 0.3s;
	cursor: pointer;
	background-color: #fff;
}

.wc_payment_method input[type="radio"] {
	display: none;
}

.wc_payment_method label {
	font-size: 16px;
	font-weight: 600;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.wc_payment_method .icon {
	margin-right: 10px;
	font-size: 18px;
}

.payment_box {
	display: none;
	padding: 10px;
	background: #f9f9f9;
	border-radius: 5px;
	margin-top: 10px;
}

.wc_payment_method.selected {
	border-color: #007bff;
	background: #f0f8ff;
}

#payment li .payment-icon {
	width: 24px;
	filter: grayscale(100%);
}

#payment li.selected-method .payment-icon, 
#payment li:hover .payment-icon {
	filter: grayscale(0%);
}

#payment .payment_methods li.selected-method {
	position: relative;
	border: 1px solid #25809e !important;
	height: auto;
}

.selected-method .payment-icon {
	opacity: 1;
}

.payment-icon-after {width: 15px;}
.payment_method_wayforpay1 .payment-icon-after {width: 50px;}
/* .check_no_call { */
	/* padding: 1.387em; */
/* } */
.check_no_call p {
    margin-bottom: 0px!important;
}
.befbutcont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.payment_methods li.selected-method:before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-right: 30px solid transparent;
	border-top: 30px solid #25809e;
	border-bottom-right-radius: 10px;
	left: -1px;
	top: 0px;
}

.payment_methods li.selected-method:after {
	content: "\2714";
	font-size: 16px;
	color: white;
	position: absolute;
	top: -3px;
	left: 3px;
}










li.wc_payment_method.selected-method {
    appearance: none;
    pointer-events: none;
    cursor: not-allowed;
}

li.wc_payment_method.payment_method_wayforpay.selected-method select {
    appearance: none;
    cursor: pointer;
    z-index: 1;
}

#payment .payment_methods li img {
    z-index: 5;
}

.dropdown-with-icon::before {
    z-index: 5;
}

#payment .payment_methods li.disabled-method.selected-method {
    border: 1px solid #f60000 !important;
}

.payment_methods li.disabled-method.selected-method:before {
    border-top: 30px solid #f60000;
}

#payment li.disabled-method.selected-method .payment-icon {
    filter: grayscale(100%) !important;
}

li.disabled-method.selected-method .custom_payment_wrapper span {
    color: #f60000 !important;
}


.payment_methods li.disabled-method.selected-method:after {
    content: "\1F6AB";
    font-size: 24px;
    top: 7px;
    left: 17px;
    z-index: 9;
}