.product-line-wrap {
    display: flex;
    border: #E5E5E5 1px solid;
    border-radius: 24px;
    padding: 14px 16px;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}
.product-line-wrap.has-prikaz {
    padding-top: 30px;
}

.product-line-wrap.in-proccess::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    opacity: .7;
}
.line-product-image {
    flex: none;
    width: 68px;
    height: 52px;
    overflow: hidden;
}
.line-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.line-product-text {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 34px;
}
.line-product-text a {
    font-size: 18px;
}
.line-product-text__name p {
    color: #666;
    font-size: 16px;
    padding: 0;
    margin: 0 0 5px;
}
.line-product-text__name a {
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-product-text__name a:hover,
.line-product-text__name a:visited,
.line-product-text__name a:active {
    color: #333;
}
.in-cart:not(.catalogDetail) {
    position: static !important;
}
.line-product-text__name {
    flex: 1;
    max-width: 430px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.line-product-text__data {
    display: grid;
    grid-template-columns: 1fr auto;
    flex: 1;
    gap: 34px;
    align-items: center;
    justify-content: space-between;
}
.line-product-text__data-left {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-around;
}
.line-product-price {
    font-weight: 600;
    font-size: 20px;
    color: #000;
    min-width: 145px;
    padding: 0 10px 0 0;
}
.product-count {
    display: flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
    border: #d1d1d1 1px solid;
    border-radius: 30px;
    margin: 0 34px 0 0;
}
.product-count__btn {
    flex: none;
    padding: 0 5px 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
}
.product-count__plus {
    padding: 2px 16px 0 5px;
}
.product-count__value {
    flex: 1;
    width: auto;
    min-width: 0;
    border: none;
    text-align: center;
    font-size: 18px;
}
.product-count__value:focus {
    border: none;
    outline: none;
}
.add-to-cart:not(.no-show) {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: #235E45 1px solid;
    background: #235E45;;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}
.add-to-cart:not(.no-show):hover {
    background: #2f7557;
    text-decoration: none;
}
.add-to-cart.added:hover {
    background: #E9EFEC;
    text-decoration: none;
}
.add-to-cart.added {
    background: #fff;
    text-decoration: none !important;
}
.add-to-cart path {
    fill: #fff;
    stroke: #fff;
}
.add-to-cart.added path {
    fill: #235E45;
    stroke: #235E45;
}
.add-to-cart input {
    display: none;
}
.add-to-cart svg {
    position: relative;
    top: 1px;
    pointer-events: none;
}
.all-count-price {
    min-width: 117px;
}
.all-count-price.empty {
    visibility: hidden;
}
.all-count-price p {
    padding: 0;
    color: #666;
    font-size: 16px;
}
.all-count-price span {
    color: #295e45;
    font-size: 16px;
    font-weight: bold;
    line-height: normal;
}
.all-count-price .empty p {
    display: none;
}
/* --- Рейтинг в карточке каталога --- */
.catalog-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}
.catalog-card__rating-star {
    color: #F5A623;
    font-size: 16px;
    line-height: 1;
}
.catalog-card__rating-value {
    color: #333;
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
}
.plate-place .plate-place__catalog-id .catalog-card__rating {
    margin-left: auto;
}
.line-product-btn {
    display: flex;
    gap: 8px;
}
.to-fav {
    width: 40px;
    height: 40px;
    border: #d1d1d1 1px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.to-fav svg {
    position: relative;
    top: 2px;
    pointer-events: none;
}
.to-fav.fav-added svg {
    fill: #235E45;
}
.catalog-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1em;
}
.content:has(.block-section-new-catalog) .catalog-title h1.title-main-pagess {
    margin: 0 !important;
}
.download-catalog {
    display: flex;
    align-items: center;
    justify-content: center;
    border: #235E45 1px solid;
    border-radius: 30px;
    padding: 5px 20px;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    min-height: 32px;
    color: #235E45;
    white-space: nowrap;
    cursor: pointer;
}

.download-catalog:hover, .download-catalog:focus {
    text-decoration: none;
    color: #235E45;
    background: #E9EFEC;
}

@media (max-width: 1023px) {
    .line-product-text__data {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .line-product-text__data-left {
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: start;
        gap: 5px;
    }
}
@media (max-width: 740px) {
    .line-product-image {
        width: 85px;
        height: 90px;
    }
    .line-product-text {
    flex-direction: column;
    align-items: flex-start;
    }
    .line-product-text__data-left {
    align-items: center;
    }
    .line-product-text__name {
        white-space: normal;
    }
}
@media (max-width: 650px) {
    .line-product-price {
        min-width: 110px;
    }
    .product-count {
        margin: 0 20px 0 0;
    }
    .all-count-price {
        display: flex;
        gap: 5px;
    }
    .catalog-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
}
body .mfp-bg {
    z-index: 1042000;
}
body .mfp-wrap {
    z-index: 10430000;
}


.bx-system-auth-form {
	width: 100%;
	max-width: 440px;
	transition: all 0.2s ease;
	margin: 0 auto;
}

.bx-system-auth-form form {
	display: flex;
	flex-direction: column;
}

.bx-system-auth-form table {
	width: 100%;
	border-collapse: separate;
}

.bx-system-auth-form form tbody tr{
	margin: 0;
}

.bx-system-auth-form td {
	padding: 4px 0;
}

.bx-system-auth-form td:first-child {
	font-size: 0.85rem;
	font-weight: 500;
	color: #2c3e3b;
	width: 120px;
	vertical-align: middle;
}

.bx-system-auth-form input[type="text"],
.bx-system-auth-form input[type="password"] {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #cfdfd9;
	border-radius: 24px;
	font-size: 0.95rem;
	font-family: inherit;
	background-color: #fff;
	transition: all 0.2s linear;
	box-sizing: border-box;
	outline: none;
}

.bx-system-auth-form input[type="text"]:focus,
.bx-system-auth-form input[type="password"]:focus {
	box-shadow: 0px 0px 4px 0px #235e45;
	outline: none;
	border-color: #235e45;
}

.bx-system-auth-form input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-right: 8px;
	accent-color: #235e45;
	cursor: pointer;
	vertical-align: middle;
}
.bx-system-auth-form #USER_REMEMBER_frm{
	margin: 0 10px;
}
.bx-system-auth-form label[for="USER_REMEMBER_frm"] {
	font-size: 0.85rem;
	color: #3c5a4f;
	cursor: pointer;
	user-select: none;
}

.bx-system-auth-form .captcha {
	padding-top: 8px;
}

.bx-system-auth-form .captcha img {
	margin-bottom: 10px;
	border: 1px solid #e2e8e6;
	background: #f9fbfa;
}

.bx-system-auth-form .captcha input {
	margin-top: 6px;
}

.bx-system-auth-form form tbody input[type="submit"]{
	background-color: #235e45;
	border: none;
	border-radius: 24px;
	height: 48px;
	font-size: 1rem;
	font-weight: 600;
	color: white;
	cursor: pointer;
	width: 100%;
	transition: background 0.2s, transform 0.05s linear;
	font-family: inherit;
	letter-spacing: 0.3px;
	box-shadow: 0 2px 6px rgba(35, 94, 69, 0.2);
}

.bx-system-auth-form input[name="Login"]:hover {
	background-color: #1a4f3a;
	box-shadow: 0 4px 10px rgba(35, 94, 69, 0.25);
}

.bx-system-auth-form input[name="Login"]:active {
	transform: scale(0.98);
}
.bx-system-auth-form input[name="captcha_word"] {
	width: 180px;
}

.bx-system-auth-form a[rel="nofollow"] {
	color: #235e45;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 500;
	transition: opacity 0.2s;
	display: inline-block;
	margin-top: 8px;
}

.bx-system-auth-form a[rel="nofollow"]:hover {
	text-decoration: underline;
	opacity: 0.8;
}

.bx-system-auth-form table tr:last-child td {
	padding-top: 8px;
	border-top: 1px solid #edf2f0;
}

.bx-system-auth-form input::placeholder {
	color: #b9cdc3;
	font-weight: 400;
}