.popup{
	width: 350px;
	background: url(../img/bg-modal.png) center center/100% 100% no-repeat !important;
	padding: 82px 43px 43px !important;
	display: none;
	overflow: visible;
}
.fancybox-slide--html .fancybox-close-small{
	filter: invert(1);
}
.popup__box{
	position: relative;
}
.popup__catalog{
	position: absolute;
	width: 260px;
	left: 270px;
	top: 10px;
	z-index: 2;
}
.popup__form{
	width: 250px;
	position: relative;
	z-index: 3;
}
.popup__title{
	font-size: 20px;
	line-height: 1.2;
	color: #282828;
	text-align: center;
	margin-bottom: 6px;
}
.popup__subtitle{
	text-align: center;
	font-size: 14px;
	margin-bottom: 11px;
}
.popup__mess{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 10px;
}
.popup__label{
	width: 70px;
	margin: 0 3px;
	cursor: pointer;
}
.popup__label input{
	display: none;
}
.popup__label label{
	display: block;
	text-align: center;
	border-radius: 10px;
	padding: 6px;
	width: 100%;
}
.popup__label label img{
	display: block;
	width: 36px;
	margin: 0 auto 3px;
}
.popup__label label span{
	font-size: 12px;
}
.popup__label input:checked + label{
	box-shadow: 0 7px 27px rgb(40 40 40 / 10%);
	background: #fff;
}
.popup__label input:checked + label span{
	font-weight: 500;
}

.popup__input{
	width: 100%;
	margin-bottom: 12px;
}
.popup__input input{
	width: 100%;
	padding: 20px 28px;
	box-shadow: inset 0 3px 7px rgb(0 0 0 / 10%);
    border-radius: 53px;
    background-color: #f6f4f4;
    border: 0;
    font-size: 14px;
}
.popup__btn{
	width: 100%;
	border-radius: 53px;
	margin-bottom: 12px;
	padding: 18px 23px;
	border: 0;
	font-size: 14px;
	font-weight: 500;
	color: #000;
	text-transform: uppercase;
	background-image: radial-gradient(circle 1073px at 46.28% -46.25%,#51c2be 0,#51c2be 11%,#389b99 100%);
    box-shadow: 0 4px 0 #389795, inset 0 0 27px rgb(119 224 224 / 71%);

    box-shadow: 0 10px 18px rgb(0 0 0 / 25%);
    border-radius: 3px;
    background: #726658;
}
.btn-catalog{
	padding: 12px 20px;
	background: #726658;
	box-shadow: 0 10px 18px rgb(0 0 0 / 25%);
    border-radius: 3px;
    border: 0;
    font-weight: 600;
}
.popup__remark{
	display: flex;
	justify-content: center;
	align-items: center;
}
.popup__remark img{
	display: block;
	width: 13px;
	margin-right: 8px;
}
.popup__remark p{
	font-size: 12px;
}
.popup__remark p span{
	display: block;
	font-weight: 600;
}
.btn-text{
	color: #fff;
}
.one-otz {
	width: 46%;
    margin: 0 20px 0;
    text-align: center;
    display: block;
    float: left;
}
p.nazvotz {
    font-size: 20px;
    text-align: center;
    width: 100%;
    margin: 10px 0 0;
}
section.section.otzyv {
    display: inline-block;
    width: 100%;
}


/* Andrii from here*/

.nGY2 .nGY2GThumbnailCustomLayer {
	background: rgb(0,0,0);
	/* background: linear-gradient(0deg, rgba(0,0,0,1) 1%, rgba(255,255,255,0) 15%); */

	/* background: linear-gradient(to top, black ,transparent, transparent ,transparent,transparent); */

	background: linear-gradient(0deg,
			rgba(0, 0, 0, 1) 0%,
			rgba(255, 255, 255, 0) 19%);
	background-blend-mode: color-dodge;

	/* background: linear-gradient(0deg, #000000, #1717178c, #2e2e2e00, #46464600, #5d5d5d00, #74747400, #8b8b8b00, #a2a2a200, #b9b9b900, #d1d1d100, #e8e8e800, #ffffff00); */
}

.d-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 20px;
}

.packet {
    width: 100%;
    max-width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1.5px solid #ddd;
}

.packet:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.packet ul {
    list-style-type: none;
    padding-left: 10px;
	padding-right: 10px;
}

.packet h5 {
    font-size: 20px;
    font-weight: 700;
    background-color: #726658;
    color: white;
    padding: 12px 0;
    border-bottom: 2px solid #3e3730;
	border-radius: 3px;
    text-align: center;
	margin-bottom: 10px;;
}

.packet li {
    font-size: 11pt;
    color: #555;
    padding: 5px 0;
    position: relative;
    padding-left: 30px;
}

.packet li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 5px;
    color: gray; /* Синий цвет иконок */
}

/* Icons of packets at list */

:is(.packet_engineer, ) li:nth-child(1)::before { content: "\f5c3"; } /* Design project */
:is(.packet_engineer, ) li:nth-child(2)::before { content: "\f0e7"; } /* Электромонтаж */
:is(.packet_engineer, ) li:nth-child(3)::before { content: "\e58a"; } /* Штукатурка */
:is(.packet_engineer, ) li:nth-child(4)::before { content: "\e06d"; } /* Сантехника */

:is(.packet_base, .packet_base_plus, .packet_comfort) li:nth-child(1)::before { content: "\f5c3"; } /* Design project */
:is(.packet_base, .packet_base_plus, .packet_comfort) li:nth-child(2)::before { content: "\f0e7"; } /* Электромонтаж */
:is(.packet_base, .packet_base_plus, .packet_comfort) li:nth-child(3)::before { content: "\e58a"; } /* Штукатурка */
:is(.packet_base, .packet_base_plus, .packet_comfort) li:nth-child(4)::before { content: "\e06d"; } /* Сантехника */
:is(.packet_base, .packet_base_plus, .packet_comfort) li:nth-child(5)::before { content: "\f31e"; } /* Натяжна стеля */
:is(.packet_base, .packet_base_plus) li:nth-child(6)::before { content: "\f71e"; } /* Шпалери */
:is(.packet_base, .packet_base_plus) li:nth-child(7)::before { content: "\f009"; } /* Ламинат */
:is(.packet_base, .packet_base_plus) li:nth-child(8)::before { content: "\f0c8"; } /* Плитка */
:is(.packet_base, .packet_base_plus) li:nth-child(9)::before { content: "\f106"; } /* Плинтус */
:is(.packet_base, .packet_base_plus) li:nth-child(10)::before { content: "\f52b"; } /* Межкомнатные двери */
:is(.packet_base, .packet_base_plus) li:nth-child(11)::before { content: "\f0eb"; } /* Светильники и т.д. */
:is(.packet_base, .packet_base_plus) li:nth-child(12)::before { content: "\e005"; } /* Сантехнічне обладнання */
:is(.packet_base, .packet_base_plus) li:nth-child(13)::before { content: "\f185"; } /* Полотенцесушилка */
:is(.packet_base, .packet_base_plus) li:nth-child(14)::before { content: "\f773"; } /* Траса кондиционера */
:is(.packet_base, .packet_base_plus) li:nth-child(15)::before { content: "\f5fd"; } /* Теплый пол */

/* Comfort .ico from here */
:is(.packet_comfort) li:nth-child(6)::before { content: "\f55d"; } /* Фарбування стін */
:is(.packet_comfort) li:nth-child(7)::before { content: "\f0c8"; } /* Плитка */
:is(.packet_comfort) li:nth-child(8)::before { content: "\f00a"; } /* Кварц винил */
:is(.packet_comfort) li:nth-child(9)::before { content: "\f106"; } /* Плинтус */
:is(.packet_comfort) li:nth-child(10)::before { content: "\f52a"; } /* Двері прихованого монтажу */
:is(.packet_comfort) li:nth-child(11)::before { content: "\e55b"; } /* Світильники, розетки */
:is(.packet_comfort) li:nth-child(12)::before { content: "\e005"; } /* Сантехнічне обладнання */
:is(.packet_comfort) li:nth-child(13)::before { content: "\e2ca"; } /* Влаштування стельової підсвітки */
:is(.packet_comfort) li:nth-child(14)::before { content: "\f5fd"; } /* Теплый пол */
/* -------------------------------------------------------------------------- */

.packet {
	width: calc(25% - 24px);
}

@media (max-width: 1500px) {
	.compare-table .container {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
}

@media (max-width: 1200px) {
    .packet {
        width: calc(50% - 24px);
    }
}

@media (max-width: 600px) {
    .packet {
        width: 100%;
    }
}


/*Andrii until here*/



@media (max-width: 767px){
.one-otz {
    width: 100%;
	margin: 20px 0;
}
.one-otz video {
    height: 250px;
}
.table-compare tr th, .table-compare tr td {
    padding-right: 10px;
}
.table-compare {
    min-width: 350px;
}
}

@media (max-width: 600px){
	.compare-table {
		background-color: #f5f5f5;
		padding-top: 6rem;
		padding-bottom: 6rem;
		overflow-x: scroll;
	}
	.popup{
		background: #fff !important;
	}
	.popup{
		max-width: 95%;
		padding: 40px 26px !important;
		border-radius: 10px;
	}
	.popup__form{
		width: 100%;
	}
	.popup__catalog{
		display: block;
		position: static;
		width: 190px;
		margin: 0 auto;
	}
	.btn-catalog{
		margin-left: auto;
		margin-right: auto;
	}
}