/*Web-element Style*/
.quantity-input::-webkit-inner-spin-button, .quantity-input::-webkit-outer-spin-button, {-webkit-appearance: none;}
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {-webkit-appearance: none; margin: 0;}
input[type=number] { -moz-appearance:textfield;}

.product-nav-thumbs {display: flex;	flex-flow: row wrap;}
.product-nav-thumbs a {color: #464646; background: #fff; text-align: center; padding: 5px 5px; margin: 5px 5px; height:  auto; min-width: 55px; float: left; border:1px solid #464646}
.product-nav-thumbs a.active {color: #fff; background: #464646; text-align: center; padding: 5px 5px; margin: 5px 5px; height:  auto; min-width: 55px; float: left; border:1px solid #464646}
.btn-secondary { color: #fff; background-color: #6c757d; border-color: #6c757d; border-radius:0px}
.tpl-block-variants h4 {float:left; margin:22px 5px 0 0;}
.go-to-cart{font-size: 1.4rem; color: inherit; text-transform: uppercase; box-shadow: none; transition: box-shadow 0.35s ease, color #60c060 ease; background: #60c060; color:#fff!important;}
.hide {display:none;}
#add_to_cart_succes {
	max-width: 400px;
	margin: auto;
}
#add_to_cart_succes .modal-content{
    background-color: transparent;
	border: 0px solid rgba(0,0,0,.2);
}
#add_to_cart_succes .alert-arrow {background-color: #fff;}
/*Alerts*/
        .alert-arrow {
            border: 1px solid #60c060;
            color: #54a754;
			font-size: 20px;
			font-weight: bold;
        }

        .alert-arrow .alert-icon {
            position: relative;
            width: 3rem;
            background-color: #60c060;
        }

        .alert-arrow .alert-icon::after {
            content: "";
            position: absolute;
            width: 0;
            height: 0;
            border-top: .75rem solid transparent;
            border-bottom: .75rem solid transparent;
            border-left: .75rem solid #60c060;
            right: -.75rem;
            top: 50%;
            transform: translateY(-50%);
        }

        .alert-arrow .close {
            font-size: 1rem;
            color: #cacaca;
        }

        /* primary */
        .alert-arrow-primary {
            border: 1px solid #4d90fd;
            color: #3a8ace;
        }

        .alert-arrow-primary .alert-icon {
            background-color: #4d90fd;
        }

        .alert-arrow-primary .alert-icon::after {
            border-left: .75rem solid #4d90fd;
        }

        /* warning */
        .alert-arrow-warning {
            border: 1px solid #fc9700;
            color: #d68000;
        }

        .alert-arrow-warning .alert-icon {
            background-color: #fc9700;
        }

        .alert-arrow-warning .alert-icon::after {
            border-left: .75rem solid #fc9700;
        }

        /* danger */
        .alert-arrow-danger {
            border: 1px solid #da4932;
            color: #ca452e;
        }

        .alert-arrow-danger .alert-icon {
            background-color: #da4932;
        }

        .alert-arrow-danger .alert-icon::after {
            border-left: .75rem solid #da4932;
        }
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}
.product-details-quantity { margin-right:5px;}	
.article {margin-left:10px;}

.sin-aditional-info:nth-child(odd) {
    background: #edebec;
}
.info-wrap {
	display: block;
}

.info-wrap .sin-aditional-info {
    width: 100%;
    overflow: hidden;
}
.info-wrap .sin-aditional-info .first {
    width: 30%;
    float: left;
    border-right: 1px solid #d6d4d3;
    border-left: 1px solid #d6d4d3;
    padding: 11px 24px;
    color: #636363;
}
.info-wrap .sin-aditional-info .secound {
    padding: 11px 24px;
    width: 70%;
    overflow: hidden;
}
/* Product_Properties_table */
.product-properties .product-params__table {
    font-size: 14px;
    line-height: 20px;
    width: 100%;
}
.product-properties caption.product-params__caption {
    font-weight: 500;
    text-align: left;
    margin-bottom: 4px;
	caption-side: top;
	margin-top:30px;
	font-size: 2rem;
}
.product-properties tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}
@media (min-width: 1024px){
.product-properties .product-page__details-section .product-params__table th {
    width: 56.75%;
}
}
.product-properties .product-params__table th {
    width: 50%;
    color: #868695;
    font-weight: 400;
    text-align: left;
    vertical-align: top;
    padding: 4px 0;
}
.product-properties .product-params__cell-decor {
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    width: 100%;
}
.product-properties .product-params__cell-decor span {
    padding-right: 12px;
    position: relative;
    z-index: 1;
    background-color: #fff;
}
.product-properties .product-params__cell-decor::after {
    content: "";
    display: block;
    width: 100%;
    height: 20px;
    position: absolute;
    left: 0;
    bottom: 5px;
    border-bottom: 1px dashed #d3d4dd;
}
@media (min-width: 1024px){
.product-properties .product-page__details-section .product-params__table td {
    width: 39%;
}
}
.product-properties .product-params__table td {
    width: 50%;
    text-align: left;
    vertical-align: bottom;
    padding: 4px 0 4px 12px;
}
.product-properties table caption {
	margin-top:20px;
	font-weight: 500;
    text-align: left;
    margin-bottom: 4px;
    caption-side: top;
	font-size: 2rem;
}
#product-accessories-tab .product-action button.btn-product, #product-accessories-tab .product-action .add-to-cart {
	border: none;
	width: 100%;
}
.item_itog {
	font-weight:bold;
	font-size:2rem;
}
#item_itog {
	font-size:2.5rem;
}
.shop-area .product-details .variant-selector a.btn-sm {
	min-width: 55px;
	padding: 0;
	margin: 0;

	background: #fff;
	color:#6c757d;
	padding:0px 3px;
	margin-top:5px;
}

.shop-area .product-details .variant-selector a.btn-outline-success {
	color:#6c757d;
	border:2px solid #c96;
	background: #fff;

}
.shop-area .product-details .variant-selector a.btn-outline-secondary:hover {
	background-color: #fff;
	border:2px solid #c96;/*-color:*/
	color:#6c757d;
}
.shop-area .product-details .variant-selector a.unactive {
	border-color: #dbdddf;
	border:1px solid #dbdddf;/*-color:*/
	color: #dbdddf;
}
.shop-area .product-details .variant-selector a.link_img {
	border:none;
}
.shop-area .product-details .variant-selector a img, .shop-area .product-details .variant-selector a.unactive img{
	cursor: pointer;
    background-color: #fff;
    border-radius: 12px;
	
    overflow: hidden;
    block-size: 50px !important;
    inline-size: 50px !important;
	scale:0.9;
}
.shop-area .product-details .variant-selector a.active_link img {
	cursor: pointer;
    background-color: #fff;
	border:2px solid #c96;
	padding: 3px;
    border-radius: 12px;
    overflow: hidden;
    block-size: 57px !important;
    inline-size: 57px !important;
}
.shop-area .product-details .variant-selector a.unactive img, [data-role="variant-selector"] .form-check.unactive {
    opacity: .3;
}
span.variant_caption {
	font-weight:normal!important;
	margin-left:10px;
	
}
.tpl-property-item-price {
	/*font-weight:bold;*/
	font-size: 2rem;

}
.item-actions {
	max-width: 131px;
}
/* =========================
   Главное меню Molla-style
========================= */

/* Сброс базовых стилей */
.menu,
.menu ul,
.menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Первый уровень */
.menu > li {
    position: relative;
    display: inline-block;
}

.menu > li > a {
    display: block;
    padding: 12px 18px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.menu > li.active > a,
.menu > li > a.active,
.menu > li:hover > a {
    color: #cc9966; /* цвет подсветки активного/hover */
}

/* Стрелка для выпадающих */
.menu > li > a.sf-with-ul::after {
    content: "\25BE";
    display: inline-block;
    margin-left: 5px;
    font-size: 0.7em;
}

/* Второй уровень обычного dropdown */
.menu ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #eee;
    z-index: 999;
}

.menu ul.dropdown li {
    display: block;
}

.menu ul.dropdown li a {
    padding: 8px 15px;
    color: #555;
    font-weight: 400;
    text-decoration: none;
    display: block;
    transition: background 0.3s, color 0.3s;
}

.menu ul.dropdown li a.active,
.menu ul.dropdown li:hover > a {
    background: #fff;
    color: #cc9966;
}

/* Третий уровень dropdown */
.menu ul.dropdown ul {
    top: 0;
    left: 100%;
    position: absolute;
}

/* Показываем dropdown при hover */
.menu li:hover > ul.dropdown {
    display: block;
}

/* Megamenu */
.megamenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: #fff;
    padding: 20px 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
}

/* Показываем megamenu при hover на первом уровне */
.menu > li:hover > .megamenu {
    display: block;
}

/* Структура колонок megamenu */
.megamenu .row {
    display: flex;
    flex-wrap: wrap;
}

/* Колонка меню */
.megamenu .menu-col {
    margin-bottom: 20px;
}

.megamenu .menu-col .menu-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.megamenu .menu-col .menu-title a {
    color: #333;
    text-decoration: none;
}

.megamenu .menu-col .menu-title a.active,
.megamenu .menu-col .menu-title a:hover {
    color: #cc9966;
}

/* Список третьего уровня в megamenu */
.megamenu .menu-col ul {
    list-style: none;
    padding-left: 0;
}

.megamenu .menu-col ul li a {
    font-weight: 400;
    color: #555;
    display: block;
    padding: 3px 0;
    text-decoration: none;
    transition: color 0.3s;
}

.megamenu .menu-col ul li a.active,
.megamenu .menu-col ul li:hover > a {
    color: #cc9966;
}

/* Баннер справа в megamenu */
.megamenu .banner {
    position: relative;
    overflow: hidden;
    margin-left: 15px;
}

.megamenu .banner img {
    display: block;
    width: 100%;
    height: auto;
}

.megamenu .banner-content {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.megamenu .banner-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

/* Адаптивность */
@media (max-width: 991px) {
    .menu > li {
        display: block;
    }
    .megamenu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 10px 0;
    }
    .megamenu .row {
        flex-direction: column;
    }
    .megamenu .col-lg-4,
    .megamenu .col-lg-3,
    .megamenu .col-6 {
        width: 100%;
    }
}

/* Мобильное меню - Основной стиль для активного пункта */
.mobile-menu li.active > a,
.mobile-menu li.active > a.active {
    color: #cc9966!important;
    font-weight: bold;
}

.mobile-menu ul {
    padding-left: 15px;
}

.mobile-menu .submenu li.active > a {
    color: #cc9966!important;
}

.mobile-menu .submenu .submenu li.active > a {
    color: #cc9966!important;
}
/* =========================
   PRODUCT BUY BLOCK FIXED
========================= */

/* контейнер */
.buy-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0; /* КЛЮЧ: позволяет сжиматься flex */
}

/* =========================
   КНОПКИ ОБЩИЕ
========================= */

.btn-product {
    color: #000;
    font-size: 1.5rem;
    height: 40px;

    /* УБИРАЕМ ЖЁСТКИЕ ШИРИНЫ */
    width: auto;
    min-width: 100%;

    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    transition: all 0.25s ease;
}
.btn-in-cart {
    color: #000;
    font-size: 1.1rem;
    height: 40px;

    /* УБИРАЕМ ЖЁСТКИЕ ШИРИНЫ */
    width: auto;
    min-width: 95px;

    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    transition: all 0.25s ease;
}

/* "В корзине" (серый режим) */
.btn-in-cart {
    background-color: #b7b7b7;
    border-color: #b7b7b7;
}

/* =========================
   ADD TO CART BUTTON
========================= */

.btn-cart {
    flex: 1 1 auto;
    transition: all 0.3s ease;
}

/* скрываем только визуально, не ломая layout */
.details-product-buy.in-cart .btn-cart {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

/* =========================
   QTY BLOCK (ОЧЕНЬ ВАЖНО)
========================= */

.product-details-quantity {
    display: flex;
    align-items: center;

    flex: 0 0 auto;
    max-width: 100%;
    min-width: 0;
}

/* сам контрол */
.mola-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dadada;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

/* кнопки + / - */
.mola-qty-btn {
    width: 25px;
    height: 34px;

    flex: 0 0 25px;

    border: none;
    background: #f8f8f8;
    cursor: pointer;

    font-size: 16px;

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

/* input */
.mola-qty-input {
    width: 34px;
    min-width: 34px;
    height: 34px;

    border: none;
    text-align: center;
    outline: none;

    flex: 0 0 34px;
}

/* =========================
   REMOVE BUTTON
========================= */

.btn-cart-remove {
    min-width: 15px;
    height: 15px;
    padding:0px!important;
    border:0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    flex: 0 0 auto;
    color:#b7b7b7;
    border-radius: 5px;

    transition: all 0.3s ease;
}
.btn-cart-remove:hover {
    background-color: transparent;
    color:#000;
    }
/* =========================
   IN-CART STATE VISIBILITY
========================= */

.mola-cart-qty,
.btn-cart-remove,
.btn-in-cart {
    opacity: 0;
    transform: translateX(-6px);
    pointer-events: none;
    transition: all 0.25s ease;
}

/* показываем только когда in-cart */
.details-product-buy.in-cart .mola-cart-qty,
.details-product-buy.in-cart .btn-cart-remove,
.details-product-buy.in-cart .btn-in-cart {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* =========================
   RESPONSIVE
========================= */

/* планшет */
@media (max-width: 768px) {

    .buy-inner {
       /* flex-wrap: wrap;*/
        gap: 6px;
    }

    .btn-product,
    .btn-in-cart {
        flex: 1 1 100%;
        font-size: 1rem;
    }

    .product-details-quantity {
        order: 2;
    }

    .btn-cart-remove {
        order: 3;
    }
}

/* телефон */
@media (max-width: 480px) {

    .buy-inner {
        flex-wrap: nowrap;
        gap: 6px;
    }

    /* КНОПКА СЖИМАЕТСЯ */
    .btn-in-cart {
            flex: 1 1 auto;
        font-size: 0.9rem;
        padding: 5px;
        min-width: auto;
    }
    .btn-product {
        flex: 1 1 auto;
        font-size: 0.95rem;
        padding: 0 8px;
        min-width: 100%!important;
    }

    /* qty ещё компактнее */
    .mola-qty-btn {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
    }

    .mola-qty-input {
        width: 30px;
        min-width: 30px;
        flex: 0 0 30px;
    }

    /*  УБИРАЕМ DELETE НА МОБИЛКЕ */
    .btn-cart-remove {
        display: none;
    }

    /* текст можно обрезать */
    .btn-in-cart {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/*Корзина*/
.product-quantity-inputs .input-group {
    width: 50%;
    border:1px solid #ccc;
    float:left;
}
.product-quantity-inputs .product-quantity-available {
    
}
/* =========================
   TOOLTIP
========================= */

.filter-item {
    position: relative;
}

/* сам tooltip */
.filter-tooltip {
    display: none;

    position: absolute;
    left: 0;
    top: 100%;

    margin-top: 6px;

    background: #1f1f1f;
    color: #fff;

    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;

    white-space: nowrap;
    z-index: 9999;

    opacity: 0;
    transform: translateY(5px);
    transition: all 0.15s ease;
}

/* показываем только при hover */
.filter-item:hover .filter-tooltip {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* стрелочка */
.filter-tooltip::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 12px;

    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent #1f1f1f transparent;
}
/* =========================
   FILTER: unavailable
========================= */

.filter-item .unavailable {
    opacity: 0.35;
    color: #999 !important;
    cursor: not-allowed;
    transition: all 0.2s ease;
}

.filter-item .unavailable:hover {
    opacity: 0.6;
}

   /*DEMO-14 категории товаров*/  
   .banner-list-content {
    padding-left: 4rem;
    padding-top: 1rem;
}
   .cat-banner-list ul {
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.5;
}
   .cat-banner-list ul li:not(:last-child) {
    margin-bottom: .8rem;
}
     
     
     #catalog-wrapper.loading {
    opacity: 0.5;
    pointer-events: none;
}
.cat-banner-list ul {
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.5;
}
.cat-banner-list a {
    color: #333;
}
.cat-banner-list ul li a:before {
    content: '•';
    margin-right: .8rem;
}
.cat-banner-list .list-all-link a {
    color: #fcb941;
}
.cat-banner .banner {
    margin-bottom: 0;
}
.banner, .banner img {
    border-radius: .2rem;
}
.banner {
    overflow: hidden;
    background-color: #f1f1f1;
}
.cat-banner .banner-content {
    display: flex;
    flex-direction: column;
    padding-top: 0;
    top: 4.5rem;
    left: 4.5rem;
    bottom: 5rem;
    transform: translateY(0);
}
.banner-subtitle.text-white {
    color: #ebebeb !important;
}
.banner-subtitle {
    font-weight: 300;
    font-size: 1.4rem;
    letter-spacing: -.01em;
    margin-bottom: 1.1rem;
}
.cat-banner .banner-title {
    flex-grow: 1;
}
.banner-title {
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.3;
    letter-spacing: -.025em;
    margin-bottom: 1.4rem;
}
.cat-banner .banner-link {
    align-self: flex-start;
}
.banner-link {
    width: auto;
    min-width: 150px;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.4;
    letter-spacing: -.01em;
    border-radius: .3rem;
    padding: .7rem 1rem .6rem;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all .35s;
}
.banner-link:hover, .banner-link:focus {
    color:#333;
    text-decoration: none !important;
    background-color:#fcb941;
}
.cat-banner-list a:hover, .cat-banner-list a:focus {
    color:#fcb941;
    }

.banner-link-anim {
    background-color: transparent;
}




/* /// DEMO-14*/
   .cat-banner-row .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }
/* ===================== */
/* контейнер миникорзины */
.mini-cart {
    width: 320px;
    max-height: 500px;

    display: flex;
    flex-direction: column;
    padding: 0; /* важно, чтобы не ломал высоту */
}

/* ===================== */
/* блок со списком */
.dropdown-cart-products {
    flex: 1;
    overflow-y: auto;
    min-height: 0; /* ❗ КЛЮЧЕВОЕ */
}
.category_list .banner-cat::before {
    background: rgba(0,0,0,.5);
}

.category_list .banner-content {
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(255,255,255,.5);
    backdrop-filter: blur(4px);

    padding: 18px;
}
.category_list .banner-content h4.banner-subtitle {
    display: inline-block;
    background: var(--primary-color, #cc9966);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 5px 0 10px;
    line-height: 1.2;
}
.category_list .banner-content .banner-link {
    display: block;
    margin-top: 10px;
}
.category_list .banner-content a {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    color: inherit;
}
/* ===================== */
/* сами товары */
.mini-cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

/* ===================== */
/* фиксированный футер */
.dropdown-cart-footer {
    flex-shrink: 0;
    padding: 12px;
    border-top: 1px solid #eee;
    background: #fff;
}
.dropdown-menu.mini-cart {
    width: 320px;
    max-height: 500px; /* 🔥 ВАЖНО */
    overflow: hidden;  /* 🔥 обрезает лишнее */

    display: flex;
    flex-direction: column;
    padding: 0;
}
.dropdown-cart-products {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}
.dropdown-cart-footer {
    flex-shrink: 0;
    padding: 12px;
    border-top: 1px solid #eee;
    background: #fff;
}
.mini-cart-items {
    padding: 10px;
}
.product-price {
    font-size:2rem;
}
.product-sticky-bar .product-price span {
    font-size:2rem;
    margin-top:10px;
}
.product-sticky-bar .btn-product {
    min-width: 200px!important;
}

.w-35 {
    width: 35% !important;
    }
.w-40 {
    width: 40% !important;
    }
.sidebar-product .product-price {
    font-size:3.2rem;
}
.product .product-price span.item-list{
    font-size: 1.5rem;
    margin-top: 3.2rem;
    color: #000;
    font-weight: normal;
    position: absolute;
}
.acessuary .product-price  span{
    margin-top: 0rem;
    position:auto;
    
 }
.list_object_item .product-body {
    height:115px;
}
.list_object_item {
    will-change: transform, opacity;
}
.product-body {
    position: relative;
    padding: 1rem 0.5rem 0rem 0.5rem;
    transition: all 0.35s ease;
    background-color: #fff;
}


/*Таблица технических характериатик*/
.properties_table table {

    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
    vertical-align: top;
}

.properties_table table th,
.properties_table table td {
   /* padding: 0.75rem 0.1rem;*/
    border: 1px solid #dee2e6;
        margin-bottom: 0;
    font-size: 1.4rem;
    font-weight: 300;
    font-family: "Golos Text", sans-serif;
    letter-spacing: 0;
    color: #777;
    text-align:center;
}

.properties_table table thead th {
    vertical-align: bottom;
    border: 2px solid #dee2e6;
}

.properties_table table tbody + tbody {
    border: 2px solid #dee2e6;
}

.properties_table table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}
.properties_table table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.properties_table table th {
    text-align: inherit;
}
.properties_table table th {
    background-color: #212529;
    color: #fff;
}

.product-properties .properties_table table  th {
    border-color: #32383e;
}

#ajax-container .row {
    transition: opacity 0.3s ease;
}


//Попау "по запросу"
/* =====================
   MAGNIFIC FIX
===================== */

/* затемнение фона (сделаем мягче) */
.mfp-bg {
    background: rgba(0, 0, 0, 0.5);
}

/* контейнер popup */
/* =====================
   CORRECT CENTERING
===================== */

.mfp-container {
    text-align: center;
}

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-content {
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    width: 100%;
    max-width: 420px;
}

/* убираем лишние отступы */
.mfp-container {
    padding: 20px !important;
    box-sizing: border-box;
}

/* =====================
   REQUEST POPUP STYLE
===================== */

.white-popup-block {
    background: #fff;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    position: relative;
}

/* Заголовок */
.white-popup-block h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

/* Поля */
.white-popup-block .form-control {
    height: 42px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.2s;
    width: 100%;
}

/* Фокус */
.white-popup-block .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13,110,253,0.15);
}

/* Отступы */
.white-popup-block .mb-2 {
    margin-bottom: 12px !important;
}

/* Кнопка */
.white-popup-block button[type="submit"] {
    height: 44px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
}

/* Название товара */
#request-product-name {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

/* Крестик */
.mfp-close {
    font-size: 26px;
    right: 10px;
    top: 10px;
    opacity: 0.6;
    color: #000;
    display: block !important;
}

.mfp-close:hover {
    opacity: 1;
}

/* =====================
   SWITCH
===================== */
.contact-switch {
    display: flex;
    gap: 15px;
    font-size: 14px;
}

.contact-switch input {
    margin-right: 5px;
}

/* =====================
   SUCCESS
===================== */
#request-success {
    text-align: center;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 480px) {
    .white-popup-block {
        padding: 20px 15px;
        border-radius: 10px;
    }
}
.request-qty-row input {
    flex: 0 1 120px; /* фиксированная адекватная ширина */
    width: auto;     /* перебивает width:100% */
}

.request-qty-row input {
    flex: 1!important;
}
.request-qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* сам spinner */
.request-qty-row .input-group {
    width: auto !important;
    flex: 0 0 auto;
}

/* input внутри spinner */
.request-qty-row .input-group .form-control {
    width: 150px !important;
    flex: 0 0 60px;
    text-align: center;
}

/* кнопки +/- */
.request-qty-row .btn-spinner {
    padding: 14px 8px;
}

/* единицы */
.request-units {
    white-space: nowrap;
    font-size: 14px;
    color: #555;
}
.input-spinner {
    width: auto !important;
}

/*toast*/

.custom-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 12px 16px;
    border-radius: 6px;
    color: #fff;
    background: #333;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
    z-index: 9999;
}

.custom-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-toast.success { background: #28a745; }
.custom-toast.error { background: #dc3545; }

/*Спинер*/
.btn-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

button.is-loading {
    pointer-events: none;
    opacity: 0.8;
}

/*Inline ошибки под полями*/
.field-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
}

.input-error {
    border-color: #dc3545 !important;
}
/*Фиксация информации о товаре в верху страницы*/
.product-sticky-bar {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    z-index: 999;

    opacity: 0;
    transform: translateY(-10px);
    transition: 0.25s ease;

    pointer-events: none;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding:10px;
}

.product-sticky-bar.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.block_hidden {
    display:none!important;
}

/* Показ/скрытие поля для загрузки реквизитов для оплаты счёта*/
#file-upload-block {
    max-height: 0;
    opacity: 0;
    overflow: hidden;

    transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        margin-top 0.35s ease;

    margin-top: 0;
}

#file-upload-block.is-visible {
    max-height: 200px; /* поставьте больше реальной высоты блока */
    opacity: 1;
    margin-top: 15px;
}


.custom-control-label::before, .custom-file-label, .custom-select {
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.custom-control-label::before {
    position: absolute;
    top: .25rem;
    left: -1.5rem;
    display: block;
  /*  width: 1rem;
    height: 1rem;*/
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #adb5bd solid 1px;
}
.custom-control-label::after {
    position: absolute;
  /*  top: 0rem;
    left: 0rem;*/
    display: block;
  /*  width: 1rem;
    height: 1rem;*/
    content: "";
    background: no-repeat 50% / 50% 50%;
}
*, ::after, ::before {
    box-sizing: border-box;
}
.custom-control-label {

    margin-bottom: 0;
    vertical-align: top;
}/*
a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}*/
*, ::after, ::before {
    box-sizing: border-box;
}
input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}
.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
button, input {
    overflow: visible;
}
button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.breadcrumb-item + .breadcrumb-item:before {
    color: #999999;
    content: "";
    font-family: "molla";
    padding-right: 0.7rem;
    font-size: 1.1rem;
    vertical-align: middle;
    margin-top: 0.3rem;
}
.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;

}
.small, small {
    font-size: 80%;
    font-weight: 400;
}
.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}
.custom-control-label::before {
    left: 0;
    top: 0.6rem;
    width: 1.6rem;
    height: 1.6rem;
    background-color: #f9f9f9;
    border: 1px solid #dadada;
    box-shadow: none !important;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}
.dropdown-menu-right {
    right: 0;
    left: auto;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/*Кнопка копирования*/
.nc-copy-btn {
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  border:none;
  background: transparent;
  width:auto;
}
.nc-copy-btn i {
  margin-right: 0px!important;
}
.nc-copy-btn.copied {
  transform: scale(1.1);
  background: #5f9e7a;
  color: #fff;

}

/* Toast */
#nc-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
}

.nc-toast-item {
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 10px 14px;
  margin-top: 8px;
  border-radius: 6px;
  font-size: 14px;
  animation: fadeToast 2s forwards;
}

@keyframes fadeToast {
  0% { opacity: 0; transform: translateY(10px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10px); }
}

.page-content ul {
    list-style: disc outside;
    padding-left: 2rem;
}

.page-content ul ul {
    list-style-type: circle;
}

.page-content ul ul ul {
    list-style-type: square;
}

.page-content ol {
    list-style: decimal outside;
    padding-left: 2rem;
}

.page-content ol ol {
    list-style-type: lower-alpha;
}

.page-content ol ol ol {
    list-style-type: lower-roman;
}
.page-content ul li::before,
.page-content ol li::before {
    content: none !important;
    display: none !important;
}
.page-content li {
    margin-bottom: 0.5rem;
}

.page-content ul li,
.page-content ol li {
    position: static;
}
.page-content .nav-tabs,
.page-content .nav-pills,
.page-content .nav {
    list-style: none !important;
    padding-left: 0 !important;
}

.page-content .nav-tabs li,
.page-content .nav-pills li,
.page-content .nav li, .page-item {
    list-style: none !important;
}
.list-group {
    --bs-list-group-active-bg: #c96;
    --bs-list-group-active-border-color: #c96;
    --bs-list-group-active-color: #000;
}
/*Многоуровневое TOP-меню*/
/* =====================================================
   INFO MENU - ACTIVE STATES
   ===================================================== */


/* ---------- Стрелки у пунктов с подразделами ---------- */

.header-dropdown.has-submenu > a::after,
.header-menu li.has-submenu > a::after {
    font-family: "molla";
    content: "\f110";
}


/* У пунктов без подразделов стрелки нет */

.header-dropdown:not(.has-submenu) > a::after,
.header-menu li:not(.has-submenu) > a::after {
    display: none;
}


/* =====================================================
   ACTIVE MENU ITEMS
   ===================================================== */


/* Родитель активного раздела */

.header-menu li.active-parent > a {
    font-weight: 600;
}


/* Текущий раздел */

.header-menu li.active-current > a {
    font-weight: 700;
}


/* Если текущий пункт выводится через span */

.header-menu li.active-current > span {
    font-weight: 700;
}


/* Цвет активных пунктов */

.header-menu li.active-parent > a,
.header-menu li.active-current > a,
.header-menu li.active-current > span {
    color: #c96;
}


/* Hover для активных пунктов */

.header-menu li.active-parent > a:hover,
.header-menu li.active-current > a:hover {
    color: #c96;
}


/* =====================================================
   РАСКРЫТИЕ АКТИВНОЙ ВЕТКИ
   ===================================================== */


/* Активные родители показываем раскрытыми */

.header-menu li.active-parent > ul {
    display: block;
}


/* Поворот стрелки активной ветки */

.header-menu li.active-parent > a::after {
    transform: rotate(90deg);
}


/* =====================================================
   DESKTOP - ВЛОЖЕННЫЕ УРОВНИ
   ===================================================== */


/* Второй и последующие уровни */

.header-menu li > ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;

    list-style: none;
    margin: 0;
    padding: 0;

    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,.15);

    z-index: 1000;
}


/* Первый уровень */

.header-dropdown > .header-menu > ul {
    top: 100%;
    left: 0;
}


/* Раскрытие по наведению на ПК */

.header-menu li:hover > ul {
    display: block;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 991px) {


    /* В мобильной версии все уровни вниз */

    .header-left .header-menu li > ul {
        position: static;

        display: none;

        width: 100%;
        min-width: 0;

        margin: 0;
        padding-left: 15px;

        background: transparent;
        box-shadow: none;
    }


    /* Раскрытие по клику */

    .header-left .header-menu li.opened > ul {
        display: block;
    }


    /* Активная ветка сразу раскрыта */

    .header-left .header-menu li.active-parent > ul {
        display: block;
    }


    /* На мобильных отключаем hover */

    .header-left .header-menu li:hover > ul {
        display: none;
    }


    .header-left .header-menu li.opened:hover > ul,
    .header-left .header-menu li.active-parent:hover > ul {
        display: block;
    }


    /* Отступы вложенных уровней */

    .header-left .header-menu li > ul > li {
        padding-left: 10px;
    }


    /* Стрелки мобильного меню */

    .header-left .header-menu li.has-submenu > a::after {
        float: right;
        transform: rotate(90deg);
    }


    /* Раскрытая ветка */

    .header-left .header-menu li.opened > a::after,
    .header-left .header-menu li.active-parent > a::after {
        transform: rotate(270deg);
    }


    /* Активный текущий пункт */

    .header-left .header-menu li.active-current > a {
        text-decoration: underline;
    }

}
}
/*  / Многоуровневое TOP-меню*/

#policyModal .modal-content {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2) !important;
}

.modal {
    z-index: 10000 !important;
    padding-top: 10px !important; /* вместо margin-top */
}

.modal-backdrop {
    z-index: 9999 !important;
}

.modal-dialog {
    margin-top: 0 !important; /* убираем старый сдвиг */
}

.modal-dialog.modal-xl {
    max-width: 1140px !important;
}


.modal-body {
    padding: 1rem !important;
}

.icon-boxes-container {
    background-color: #f7f7f7;
    padding-top: 2.8rem;
    padding-bottom: 2.8rem;
    margin-bottom: 0;
}
.icon-boxes-container {
    padding-top: .5rem;
    padding-bottom: 2.8rem;
}
.icon-boxes {
    display: flex;
    flex-wrap: wrap;
}
.icon-box-side {
    font-size: 1.4rem;
}
@media screen and (min-width: 768px) {
    .icon-box-side {
        margin-bottom: 0;
    }
}
.icon-box-side .icon-box-icon {
    color: #333;
    font-size: 3.4rem;
}
    .header-dropdown + .header-dropdown {
    margin-left: 2.0rem;
}

    :root {
      --tpl-color-accent: #c96; /* Объявляем переменную */
    }
