#recerr {

	color: red;

	font-size: 12px;

	padding-top: 15px;

}



#err2r,

#err6r,

#err1,

#err2 {

	font-size: 10px;

	padding-left: 5px;

	padding-bottom: 5px;

	color: red;

}



.ered {

	color: red;

}


.var1 {

	background-image: url("../img/icons/status_1.svg");
	opacity: initial !important;

}



.var2 {

	background-image: url("../img/icons/status_2.svg");


}



.var3 {

	background-image: url("../img/icons/status_3.svg");


}



.var4 {

	background-image: url("../img/icons/status_4.svg");


}



.product-user__ava._stage-2 .icon-reward::before {

	color: #fff;

}



.adv-item__ava._stage-2 .icon-reward::before {

	color: #fff;

}



.adv-item__icon i::before {

	font-size: 12px;

}



.catn {

	padding: 5px;

	font-size: 12px;

	display: inline-block;

	padding-bottom: 15px;

	color: #267ded;
	padding-top: 5px;
	padding-left: 27px;
}

.catn:hover {

	text-decoration: underline;

}



.aa1 {

	cursor: pointer;

	color: blue;

}



.ratact::before {

	color: #267ded;

}



.current-day {

	position: relative;

	z-index: 1;

	color: white;

}



.current-day::after {

	content: '';

	background: #267ded;

	width: 25px;

	height: 25px;

	display: block;

	position: absolute;

	border-radius: 50%;

	z-index: -1;

	top: 50%;

	left: 50%;

	transform: translate(-50%, -50%);

}



.rent-table__line tr:first-child {

	background: #e5f0ff;

	height: 40px;

	font-size: 16px;
	z-index: 90;


}



.rent__select {

	font-size: 20px;

	color: #267ded;

}



.rent-table__line tbody {


	border-collapse: collapse;

}

.rent-table__line tr td:first-child {

	text-align: left;

}

.rent-table td {

	border: 1px solid #cfcfcf;

	min-width: 23px;

	max-height: 23px;

}







.rent-table__line select {

	font-weight: 700;

	background: transparent;

	margin-right: 20px;

	appearance: none;

	-webkit-appearance: none;

	-moz-appearance: none;

}



.topLeftTD {

	width: max-content;

	display: block;

	border: none !important;

	margin: 8px 20px 8px 0;

}



.topLeftTD span {

	position: relative;

}



.topLeftTD span::after {

	content: url('../img/dropdown-icon.svg');

	position: absolute;

	top: -2px;

	right: 13px;

	cursor: pointer;

}



.topLeftTD span:last-of-type::after {

	right: 9px;

}



.filledCell {

	background: #267ded !important;

	cursor: pointer;

	position: relative;

}



.item-name:hover {

	background: #e5f0ff;

	position: relative;

}



.item-amount {

	color: #9d9d9d;

	font-size: 0.85em;

}



.item-tooltip,

.cell-tooltip {

	opacity: 0;

	transition: all 0.5s;

	position: absolute;

	display: flex;

	width: min-content;

	height: auto;

	background: white;

	border-radius: 8px 8px 8px 0px;

	top: -53px;

	left: calc(100% - 30px);

	padding: 10px;

	gap: 10px;

	color: black;

	border: 1px solid rgba(0, 0, 0, 0.05);

}

@media only screen and (max-width: 1100px) {

	.item-tooltip,
	.cell-tooltipltip {
		position: fixed;
		top: 45%;
		left: 60%;
	}
}

@media only screen and (max-width: 850px) {

	.item-tooltip,
	.cell-tooltipltip {
		top: 38%;
		left: 45%;
	}
}


.cell-tooltip {

	top: -80px;

	z-index: 2;

	left: calc(100% - 13px);

	font-size: 14px;

}



.item-name:hover {

	color: var(--swiper-theme-color);

}



.item-name:hover .item-tooltip,

.filledCell:hover .cell-tooltip {

	opacity: 1;
	z-index: 9999;

}



.item-image {

	width: 100px;

}



.item-wrapper,

.cell-wrapper {

	display: flex;

	flex-direction: column;

	justify-content: center;

	gap: 8px;

	width: 130px;

	text-align: left;

}



.item-info {

	font-size: 1.15em;

}



.item-price {

	font-size: 1.15em;

	font-weight: 700;

	width: fit-content;

	color: var(--swiper-theme-color);

}



.item-link {

	background: #e5f0ff;

	padding: 5px 10px;

	border-radius: 6px;

	width: fit-content;

	font-weight: 500;

	color: var(--swiper-theme-color);

}



.cell-link {

	text-decoration: underline;

	margin-top: 10px;

}



.blue {

	color: var(--swiper-theme-color);

}



.hidden {

	display: none;

}



.ya_map {

	font-family: arial;

	font-size: 12px;

	color: #454545;

}



#mappop {

	width: 100%;

	height: 700px;

}



.map-sidebar-filter__btn1 {

	display: none;

	cursor: pointer;

}










.rent-table tr {

	height: 23px;

}



.rent-table tr:first-of-type td {

	border-top: none;

}



.rent-out .tabs-block__item {

	color: #3199f8;

}



.rent-table tr td:first-of-type {

	border-left: none;

}



#ppv textarea {

	display: none;

}

#ask-message {

	padding: 14px 14px 10px;
	line-height: 1.35;
	box-sizing: border-box;

}

#ask-message::placeholder {

	line-height: 1.35;

}



.header__logo {

	cursor: pointer;

}



.top-block__about {

	color: black;

}



@media (max-width: 168px) {

	.footer {

		display: none;

	}

}



#map1x {

	display: none;

}



/***************************************/

.bonuses {

	flex: 1;

}



adv-item__title p {

	height: auto;

}



@media (min-width: 800px) {

	.sidebar-subscr .spollers-block .spollers-block__block span {

		white-space: nowrap;

		overflow: hidden;

		text-overflow: ellipsis;

		width: 80%;

	}

}



.header-cat__block {

	height: auto;

}



.footer {

	margin: 50px 0px 0px 0px;

}



.highlight-date {

	color: #fff;

}

.rent-table__line tr :first-child {
	margin-left: 20px;
}

/* fix: product-user__head as <a> */
a.product-user__head { text-decoration: none; color: inherit; display: flex; align-items: center; margin: 0 0 20px 0; }

/* fix: top-user__ava img */
.top-user__ava img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; display: block; }

/* ===== Блок блокировки пользователя в модалке входа ===== */
.auth-blocked-notice {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px 24px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
    border: 1.5px solid #ffd0d0;
    border-radius: 16px;
    margin-bottom: 20px;
    animation: authBlockedFadeIn 0.35s ease;
}

@keyframes authBlockedFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-blocked-notice__icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 14px;
    filter: drop-shadow(0 2px 6px rgba(220,50,50,0.18));
}

.auth-blocked-notice__title {
    font-size: 18px;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.auth-blocked-notice__text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
}

.auth-blocked-notice__contact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: #fff;
    border: 1.5px solid #e74c3c;
    border-radius: 30px;
    color: #e74c3c;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(231,76,60,0.10);
    word-break: break-all;
}

.auth-blocked-notice__contact:hover {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 4px 16px rgba(231,76,60,0.22);
    text-decoration: none;
}

.auth-blocked-notice__contact-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* Сообщение об ошибке входа */
.auth-login-error-msg {
    display: none;
    color: #c0392b;
    background: #fff5f5;
    border: 1px solid #ffd0d0;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Адаптив для мобильных */
@media (max-width: 767px) {
    .auth-blocked-notice {
        padding: 22px 14px 18px;
        border-radius: 12px;
    }
    .auth-blocked-notice__icon {
        font-size: 40px;
        margin-bottom: 10px;
    }
    .auth-blocked-notice__title {
        font-size: 16px;
    }
    .auth-blocked-notice__text {
        font-size: 13px;
    }
    .auth-blocked-notice__contact {
        font-size: 13px;
        padding: 9px 16px;
    }
}

/* ===== Страница объявления (product/show) — исправления ===== */

/* Описание: сбрасываем жёсткий max-height из style.css */
.desc_text {
    max-height: none !important;
    overflow: visible !important;
}

/* Collapsed state */
.desc_text--collapsed {
    max-height: 120px !important;
    overflow: hidden !important;
    -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

/* Кнопка «Показать всё» */
.show-more--button {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--blue, #267ded);
    cursor: pointer;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
}
.show-more--button:hover { opacity: 0.75; }

/* Галерея: кнопки навигации Swiper */
.product-slider__container .swiper-button-prev,
.product-slider__container .swiper-button-next {
    color: #fff !important;
    background: rgba(0,0,0,0.35);
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.2s;
}
.product-slider__container .swiper-button-prev:hover,
.product-slider__container .swiper-button-next:hover {
    background: rgba(0,0,0,0.6);
}
.product-slider__container .swiper-button-prev::after,
.product-slider__container .swiper-button-next::after {
    font-size: 14px !important;
}

/* Пагинация Swiper */
.product-slider__container .swiper-pagination {
    bottom: 8px;
}
.product-slider__container .swiper-pagination-bullet-active {
    background: #fff !important;
}

/* LightGallery: оставляем только полупрозрачный фон, без первого чёрного слоя */
.lg-backdrop,
.lg-backdrop.in {
    background: rgba(0, 0, 0, 0.52) !important;
    opacity: 1 !important;
}

.lg-outer,
.lg-outer.lg-visible,
.lg-outer .lg-content,
.lg-outer .lg-inner,
.lg-outer .lg-item,
.lg-outer .lg-img-wrap {
    background: transparent !important;
}

/* Таблица заказа — строки всегда видны, кроме служебных */
.order-table .order-table__line {
    display: flex !important;
}
.order-table .order-table__line--error,
.order-table .order-table__line--hidden {
    display: none !important;
}

/* Блок «Информация об аренде» */
.rent-info-block .spollers-block__body {
    padding: 8px 0 4px;
}
.rent-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--grey, #888);
    margin-bottom: 6px;
    line-height: 1.4;
}
.rent-info-item .price {
    font-weight: 600;
    color: var(--dark, #333);
    margin-left: auto;
}
.rent-info-item_without {
    color: var(--blue, #267ded);
    font-weight: 500;
}

/* Адаптивность страницы объявления */
@media (max-width: 768px) {
    .product__row {
        flex-direction: column;
        gap: 16px;
    }
    .product__sliders__wrap {
        width: 100% !important;
        max-width: 100% !important;
    }
    .product__sliders {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 12px 0 !important;
    }
    .product-slider .swiper-slide {
        height: 260px !important;
    }
    .product-thumbs-slider {
        max-width: 100% !important;
        bottom: 10px !important;
    }
    .product__desc {
        max-width: 100% !important;
    }
    .product_order_wrapper {
        width: 100% !important;
        flex-direction: column !important;
    }
    .product-order {
        width: 100% !important;
    }
    .product__user {
        width: 100% !important;
    }
    .options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .options__item {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .product-slider .swiper-slide {
        height: 220px !important;
    }
    .product-slider__container .swiper-button-prev,
    .product-slider__container .swiper-button-next {
        width: 32px !important;
        height: 32px !important;
    }
    .product-slider__container .swiper-button-prev::after,
    .product-slider__container .swiper-button-next::after {
        font-size: 11px !important;
    }
}

