/*header*/
@media (any-hover: hover) {
    .pm-menu-nav__main-item:hover svg path, .pm-menu-nav__main-item:hover svg rect {
        fill: var(--content-sentiment-accent);
    }
}

/*footer*/
.pm-footer .pm-footer-feedback .pm-input-wrapper.active .pm-input  {
	color: #9ca3af;
} 
.pm-footer .pm-btn.pm-btn--primary {
	background: #5369e0;
}

/*modals*/
.pm-lightbox__close {
	display: flex;
	align-items: center;
	justify-content: center;
}
.pm-lightbox__close svg {
	width: 24px;
	height: 24px;
}

/*main index*/
.pm-main-block {
	position: relative;
	background: unset;
}
.pm-main-block .pm-container {
	z-index: 5;
}
.pm-main-block__video-container {
	position: absolute;
	z-index: 2;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.pm-main-block__video-container::before {
	content: "";
	position: absolute;
	z-index: 2;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.6);
}
.pm-main-block__video {
	position: relative;
	z-index: 1;
	overflow: hidden;
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: unset;
	top: unset;
	right: unset;
	mask-image: unset;
}

.pm-catalog-menu__nav {
	min-height: 100%;
}

.pm-menu-nav__main-list {
	height: 100%;
}

.pm-news-column:not(.pm-news-column--reverse) .pm-new__logo-wrapper {
	padding: 2rem;
}
@media (max-width:767.98px) {
	.pm-news-column:not(.pm-news-column--reverse) .pm-new__logo-wrapper {
		padding: 1.5rem;
	}
}
@media (max-width:479.98px) { 
	.pm-main-block__btn-container {
		width: 100%;
	}
	.pm-main-block__btn-container .pm-btn.pm-btn--outline {
		width: 100%;
		font-size: 18px;
	}
}

.pm-new__logo-link {
	overflow: hidden;
	display: block;
	width: 100%;
	height: 100%;
}
.pm-new__logo-link	img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.pm-benefit__thumb-item svg {
	position: absolute;
	z-index: 5;
	width: 15px;
	height: 18px;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
#goUpBtn {
	z-index: 11;
	display: flex;
	align-items: center;
	justify-content: center;
}
#goUpBtn svg {
	width: 24px;
	height: 24px;
}
#goUpBtn.up-position {
	bottom: 80px;
}

/*catalog*/
.pm-range-input {
	border-radius: 4px;
	height: 2px;
	background: rgba(52, 52, 52, 0.16);
}
.pm-container .mini-profitability-widget-shell[data-v-d081fe73] {
	padding: 72px 0;
}
@media (max-width: 1280px) {
    .mini-profitability__metric-value {
    	font-size: 30px;
    }
}
@media (max-width: 1140px) {
    .pm-product-main {
    	position: relative;
    	z-index: 10;
    }
    .pm-container.calculator-container {
    	z-index: 5;
    }
}
@media (max-width:767.98px) { 
	.pm-product-main__wrapper {
		padding-bottom: 25px;
	}
	.pm-container .mini-profitability-widget-shell[data-v-d081fe73] {
		padding: 34px 0;
	}
    .pm-product__stats-table .pm-benefit__stat-value {
    	text-align: left;
    	white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .b24-widget-button-wrapper {
        bottom: 15px !important;
        right: 10px !important;
    }
}

/* События */
.events-section .swiper-pagination,
.events-section .swiper-button-prev,
.events-section .swiper-button-next {
    display: none !important;
}

/* Награды */
.rewards-section .swiper-pagination,
.rewards-section .swiper-button-prev,
.rewards-section .swiper-button-next {
    display: none !important;
}


/* ==========================
   Main card
========================== */

.pm-main-card {
    position: relative;
}

.pm-main-card__status {
    position: absolute;
    top: 18px;
    left: 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 28px;
    padding: 0 12px;

    border-radius: 12px;
    background: rgba(34, 197, 94, 0.16);

    color: #22C55E;
    font: 600 14px/18px Gilroy;

    white-space: nowrap;
    z-index: 2;
}

@media (max-width: 1100px) {
    .pm-main-card__status {
        top: 50%;
        left: auto;
        right: 56px;
        transform: translateY(-50%);

        height: 24px;
        padding: 0 10px;

        font-size: 12px;
        line-height: 16px;
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .pm-main-card__status {
        right: 60px;

        height: 28px;
        padding: 0 12px;

        font-size: 14px;
        line-height: 18px;
        border-radius: 12px;
    }
}

/* ==========================
   Feature card
========================== */

.pm-feature__info-card {
    position: relative;
}

.pm-info-card__status {
    position: absolute;
    top: 28px;
    left: 80px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 32px;
    padding: 0 12px;

    border-radius: 12px;
    background: rgba(34, 197, 94, 0.16);

    color: #22C55E;
    font: 600 14px/18px Gilroy;

    white-space: nowrap;
}

@media (max-width: 768px) {
    .pm-info-card__status {
        left: 74px;

        height: 28px;

        font-size: 12px;
        line-height: 16px;
        border-radius: 10px;
    }
}
.pm-top-menu__image-container{
    position: relative;
    overflow: hidden;
}

.pm-top-menu__image{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-btn-spinner{
    width:16px;
    height:16px;
    border:2px solid rgba(255,255,255,.35);
    border-top-color:#fff;
    border-radius:50%;
    display:inline-block;
    margin-right:8px;
    animation:pmSpin .8s linear infinite;
    vertical-align:middle;
}

.pm-btn:disabled{
    opacity:.8;
    cursor:not-allowed;
}

@keyframes pmSpin{
    to{
        transform:rotate(360deg);
    }
}
.pm-product__status-wrapper{
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:6px;
}

.pm-product__status-wrapper .pm-btn-icon{
    width:22px;
    height:22px;
    min-width:22px;
    display:block;
}

.pm-product__status-name{
    margin:0;
    line-height:1;
}
@media (min-width: 769px){

    .pm-product__card-btns{
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:wrap !important;
        gap:12px !important;
    }

.pm-product__card-btns > .pm-cart-wrap{
    width:calc(50% - 6px) !important;
    max-width:calc(50% - 6px) !important;
    flex:0 0 calc(50% - 6px) !important;
}

.pm-cart-wrap > .pm-add-cart,
.pm-cart-wrap > .pm-card-counter{
    width:100%;
}

.pm-product__card-btns > .js-open-popup:not(.pm-btn--primary--subtle){
    width:calc(50% - 6px) !important;
    max-width:calc(50% - 6px) !important;
    flex:0 0 calc(50% - 6px) !important;

    white-space:nowrap;
}
/* Если кнопка одна ("Узнать цену") */
.pm-product__card-btns > .pm-btn--primary--subtle{
    width:100% !important;
    max-width:100% !important;
    flex:0 0 100% !important;
}
    .pm-product__card-btns > .pm-product__status-wrapper{
        width:100% !important;
        flex:0 0 100% !important;
        order:999 !important;

        display:flex !important;
        justify-content:center !important;
        align-items:center !important;

        margin-top:12px !important;
    }

}
.pm-cart-wrap{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.pm-card-counter__minus,
.pm-card-counter__plus{

    width:24px;
    height:24px;

    flex:0 0 24px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:none;
    background:none;

    cursor:pointer;

    padding:0;

    color:#7086FC;

    font-size:26px;
    font-weight:500;
    line-height:1;

    transition:.2s;

}
.pm-card-counter__minus:hover,
.pm-card-counter__plus:hover{

    color:#5369E0;

}

.pm-card-counter__value{

    width:48px;
    min-width:48px;

    text-align:center;

    font-family:Gilroy,sans-serif;
    font-size:16px;
    font-weight:600;
    line-height:20px;

    color:#7086FC;

    user-select:none;

}
.pm-card-counter{

    display:flex;
    align-items:center;
    justify-content:space-between;

    width:100%;
    height:48px;

    padding:0 16px;

    background:rgba(112,134,252,.12);

    border-radius:16px;

    box-sizing:border-box;

}

.pm-add-cart.pm-btn--disabled{

    background:#E5E7EB !important;
    color:#6B7280 !important;
    border-color:#E5E7EB !important;
    cursor:default !important;
    pointer-events:none;

}

.pm-add-cart.pm-btn--disabled .pm-btn-icon{

    display:none !important;

}