/* Приховуємо іконку телефону всередині десктопного блоку */
.up-header-phones.visible-md.visible-lg .up-icon-phone-sound {
	display: none !important; /* Використовуємо !important для підвищення специфічності */
}
.up-header-phones__items {
	white-space: nowrap; !important;
}
.up-header-phones__dropdown li:first-child{
	text-align: center !important;
}

.price {
	line-height: 40px !important;
}

.product-payment__list {
	gap: 0px !important;
}

.quickorder-product-page {
	border-bottom: 1px solid var(--up-border-color);
	padding-bottom: 10px;
	margin-bottom: 10px;
	flex: 1;
}
.quickorder-product-page .contact-phone {
	height: 48px;
}
.quickorder-title {
	margin-bottom: 10px;
	text-align: center;
}
.fo-group-field-tel {
	display: flex;
	justify-content: center;
}

.price-group, .action-group, .info-product{
	padding-bottom: 10px !important;
	margin-bottom: 10px !important;
}
.product-delivery__item {
	margin-bottom: 10px !important;
}

.consult {
	width: auto;
	margin-left: auto;
	padding: 10px 15px 15px 15px;
	border-radius: 12px;
	background: var(--up-bg-gray);
}
.consult__title {
	font-size: 14px;
	text-align: center;
	margin-bottom: 10px;
}
.consult__buttons {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
}
.consult__button {
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border:0px;
	border-radius: 50%;
}
.consult__button--viber {
	background: #665CA7;
}
.consult__button--call {
	background: #F77B08;
}
.consult__button--telegram {
	background: #27A4E1;
}

.consult__button svg {
	width: 20px;
	height: 20px;
}


#product .action-group {
	gap:10px;
}
#quickorder-product-page .contact-phone {
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	min-width: 140px;
	width: 100%;
	background: #EAEAEA;
	color:#000;
}

#quickorder-product-page .chm-btn-outline-primary {
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
	background: #0A192F;
	border-color: #0A192F;
}
#quickorder-product-page .chm-btn-outline-primary .btn-text {
	margin-left: 0;
}
.checkout-payment-method .payment-method {
	overflow: hidden;
}


.fix_cart_price_footer #back-top {
	display: none !important;
}
.add-to-cart-footer.fm_b_1 {
	bottom: 114px;
}
.add-to-cart-footer .btn-general {
	width: 100%;
}

.viewed-products-title {
	font-weight: 600;
	margin-bottom: 10px;
	font-size: 16px;
	margin-top: 10px;
}

@media (max-width: 767px) {
	#modal-quickorder .modal-dialog {
		margin: 0 !important;
		max-width: 100% !important;
		height: 100% !important;
	}
	#modal-quickorder .modal-content {
		height: 100vh !important;
		height: 100dvh !important;
		max-height: 100vh !important;
		max-height: 100dvh !important;
		display: flex !important;
		flex-direction: column !important;
		border-radius: 0 !important;
		border: none !important;
	}
	#modal-quickorder .modal-body {
		flex: 1 1 auto !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		padding-bottom: 20px !important;
	}
	#modal-quickorder .modal-footer {
		flex-shrink: 0 !important;
		position: relative !important;
		bottom: -10px !important;
		width: 100% !important;
		background: transparent !important;
		padding: 0px !important;
		z-index: 10 !important;
	}
	#modal-quickorder .chm-modal .close-modal {
		top:-12px;
	}
	#modal-quickorder .modal-footer > div {
		padding-top: 0 !important;
		border-top: none !important;
		width: 100% !important;
	}
	#modal-quickorder .modal-footer .chm-btn-primary {
		position: static !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
	}
	#modal-quickorder .modal-footer .chm-btn-outline-primary {
		display: none !important;
	}
}
@media (max-width: 991px) {
	.related-products__name-model a {
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		font-size: 12px;
		line-height: 18px;
	}
	.related-products__item {
		padding: 12px;
	}
	.related-products__model {
		display: none;
	}
	.related-products__item + .related-products__item {
		margin-top: 10px;
	}
	.related-products__action .btn-general {
		width: 34px !important;
		height: 34px !important;
		min-width: 34px;
		border-radius: 12px;
	}
}

@media (max-width: 767px) {
	.product-payment + .product-delivery {
		margin-top: 10px;
	}
    .product-payment__title,
    .product-delivery__title {
        cursor: pointer;
        position: relative;
        padding-right: 25px;
        margin-bottom: 0;
        user-select: none;
    }
    .product-payment__item {
    	display: inline-flex;
    }
    .product-payment__item + .product-payment__item {
    	margin-top: 2px;
    }
    .product-payment__title::after,
    .product-delivery__title::after {
        content: '+';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        font-weight: 600;
        line-height: 1;
        color: var(--up-text-wd-color);
        transition: transform 0.2s ease;
    }

    .product-payment__title.is-active::after,
    .product-delivery__title.is-active::after {
        content: '−';
    }
    .product-payment__list,
    .product-delivery__list {
        display: none;
        margin-top: 15px;
    }
}