@font-face {
    font-family: 'MyCustomFont';  /* Название шрифта */
    src: url('./Raleway/Raleway-VariableFont_wght.ttf') format('truetype');
    font-weight: 400;    /* 400, bold, 700 и т.д. */
    font-style: normal;     /* normal, italic, oblique */
    font-display: swap;     /* опционально: улучшает загрузку */
}
html { height: 100%; }
body {
    padding:0;
    margin:0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    justify-content: space-between;
    font-family: 'Raleway', sans-serif;
    color: #525557;
    background:#F1F1F1;
    font-size: 24px;
}


body.site.com_content.view-article.no-layout.no-task.itemid-101.no-sidebar-left.no-sidebar-right {}
*, :before, :after {
    box-sizing: border-box;
}
:root {
    --content_width: 1960px;
    --blue: #96b7cb;
    --width: 100%;
    --cian: #00afef;
    --shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    --drops: 2px 15px 15px 0px rgb(46 81 102 / 20%);
}

.clear { display:none}
.text-right {text-align: right;}
main a, main button {
    outline: none;
    text-decoration:none;
    color: var(--cian);
    font-size: inherit;
}
main.container {flex-grow: 2;padding-bottom: 80px;}
.com-contact { font-size:40px}
.com-contact dd a { color:inherit; font-weight:500; }
main p a:hover {
    text-decoration: underline;
}
img {max-width: 100%;}
.container {
        max-width:var(--content_width);
        width:var(--width);
        margin: 0 auto;
        background: #fff;
        padding: 1rem 4rem;
        }


header.container  {
        grid-gap: 0 1.5em;
        display: grid;
        padding: 2rem;
        align-items:center;
        grid-template-columns: minmax(auto, 220px) repeat(2, 1fr) minmax(auto, 120px);
        grid-template-areas:
                "icon contact search topbar"
                "ltext menu menu menu";
        position: relative;
        z-index: 10;
        background: #fff;
}
header .contact b { font-siz}

.logo {grid-area: logo;}
.logo-icon {grid-area: icon;text-align: center;}
.logo-text {grid-area: ltext;text-align: center;}
.search {grid-area: search;}
.topbar {grid-area: topbar;}
.menu {grid-area: menu;/* margin-top:20px; */flex-grow: 1;position: relative;}
header a {color: #363636;text-decoration: none;display: flex;align-items: center;font-weight: 500;}
header p {margin: 0.5rem 0 0 1rem;padding: 0;}
header .contact { grid-area: contact; display:flex; gap:30px }
.contact .fas {color: #D9D9D9;margin-right:5px;margin-top: 2px; font-size:130%; margin-right:12px}
header .fa-shopping-cart {font-size: 1.3em;z-index: 1;}

header .fa-shopping-cart::before{   content:'';  display:block;   width:53px;  height:45px;
    background-image: url('./cart.png');  background-size: contain;background-repeat: no-repeat;
                               }

header a:hover .fas { color: #00afef; }

header .contact a:hover {text-shadow: 1px 1px 4px #00afef66;}
header .contact a b {font-size: 29px;}
.logo-icon a, .logo-text a {display:block;height: 100%;/* padding: 7px; */border: none;outline: none;text-decoration: none;}

.bg-box {/* position: relative; *//* overflow: clip; *//* border-top: 1px solid #babbbd; *//* background: linear-gradient(180deg, #e4ecf5, transparent); */}
.shadow {}
.shadow::before {/* content:""; */position:absolute;top:0;left: -20px;bottom: -10px;right: -20px;box-shadow: inset 0 0 20px rgb(9 52 76 / 38%);}
.bannergroup { max-width:var(--content_width);  width:var(--width);margin:auto; }

h2 { font-size:60px; margin:0 }
h3 {margin: 1rem 0;font-weight: 400;letter-spacing: 0.05em;}

.mod-shop-search{/* border: 1px solid #e4e4e4; */padding: 1px;display: inline-flex;box-shadow: inset 0px 2px 2px #ccc;border-radius: 12px;overflow: clip;background: #FBFEFF;}    
.mod-shop-search button {background:none;border:none;padding: 0 12px;color: #D9D9D9;font-size: 130%;}
.mod-shop-search input {/* padding: 5px 12px; */border:none;width: 300px;/* max-width:90%; */background: transparent;box-shadow: none;}

#vmCartModule {position: relative;width: min-content;}
#vmCartModule .total_products {position: relative;top: -13px;left: -15px;border-radius: 50%;color: #00afef;width: 60px;height: 60px;line-height: 58px;text-align: center;box-shadow: inset 0px 2px 2px #021F4430;background: #FBFEFF;z-index: 0;}

.mod-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    /* position: relative; */
    gap: 12px;
}
header .mod-menu {/* border-top: 1px solid #eee; */}
header .mod-menu > .nav-item {
    /* border-bottom: 1px solid #fff; */
    /* border-top: 3px solid #fff; */
    padding: 5px;
    position: relative;
}

.mod-menu > .nav-item a, .selected {
    display: inline-block;
    font-size: 29px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 12px;
}
header .mod-menu > .nav-item > a, .selected {padding: .5rem 1rem;}

header .mod-menu > .nav-item > a:hover, header .nav-item.parent:hover > a, .selected {
    color: var(--cian);
    box-shadow:inset 0 2px 2px #01A0E266;
     background:#FBFEFF
}


header .nav-item a {display:block;padding: .5rem 1rem;}

header .mod-menu > .nav-item:last-child a::before {content:'';width: 20px;height: 20px;background: #01a0e263;padding:0;border-radius:50%;display: inline-block;margin: 0 1rem;vertical-align: middle;}
/* Подменю */
header .mod-menu__sub {
    position: absolute;
    top: 100%;
    left: 7px;
    min-width: 220px;
    background: #FBFEFF;
    box-shadow:inset 0 2px 2px #01A0E266;
    border-radius: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
    padding-bottom:10px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    /* overflow: hidden; */
    /* justify-content: center; */
    width: fit-content;
}
header .link_catalog-menu .mod-menu__sub {flex-direction:row;box-shadow: inset 0px 2px 2px #ccc;border-radius: 5px;padding: 1rem;}

/* Показываем подменю при наведении */
header .nav-item.parent:hover > .mod-menu__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
}
header .nav-item.parent:hover {/* border-bottom-color: #525557; */}

/* Элементы подменю */
.mod-menu__sub .nav-item {
    margin: 0;
    display: block;
    position:relative;
    white-space: nowrap;
}

header .link_catalog-menu .mod-menu__sub .nav-item a {
    padding: 10px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    font-size: 21px;
    height: 100%;
    font-weight: 300;
    /* width: 200px; */
}



header .mod-menu__sub .nav-item a:hover .image-title{

    
}


.image-title {display:block;text-align:center;padding: 0;}


footer .mod-menu * {padding: 5px 0;}
footer, footer .mod-menu > .nav-item a  { font-size:18px }
footer a { color:#525557; text-decoration:none }
/* Мобильная адаптация */
@media (max-width: 1100px) {
    .mod-menu {
        /* flex-direction: column; */
    }
    

    header:not(.active)  { height: 80px; overflow:clip}
    
    
    .mod-menu__sub {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid #0073aa;
        margin-left: 20px !important;
        display: none;
    }
    
    .nav-item.parent:hover > .mod-menu__sub,
    .nav-item.parent.active > .mod-menu__sub {
        display: block;
    }
}

@media (min-width: 1100px) {
.logo-icon a { padding-left: 0 }
header a.mmenu { display: none }
    
}



/* Минималистичные хлебные крошки без фона */
.mod-breadcrumbs__wrapper {
    /* padding: 2px 2rem; */
    /* background: #fff6; */
    /* border-bottom: 2px solid #7fafcd6b; */
    /* box-shadow: var(--drops); */
}

.mod-breadcrumbs, .d-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.mod-breadcrumbs .icon-location {
    display:none;
}

/* Текст "Вы здесь" */
.mod-breadcrumbs__here {display:none }

/* Разделители */
.mod-breadcrumbs__item {
    display: flex;
    align-items: center;
}

.mod-breadcrumbs__item:not(:last-child)::after {content: "/";margin: 0 20px;}
.mod-breadcrumbs__item a {text-decoration: none;color: #595757;}
.mod-breadcrumbs__item.active {font-weight: 300;color: #595757;font-size: 35px;}



/* Контейнер категорий */
.category-view {
    margin: 30px 0;
}

.row-fluid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 1rem;
    margin: 0;
    
}

.product_list.row-fluid {margin: 3rem;justify-content: space-between;grid-template-columns: repeat(3, minmax(280px, 480px));}

.mod-articles-home {display: grid;grid-template-columns: repeat(3, minmax(280px, 1fr));gap: 1rem;/* border-radius: 0 20px 0 20px; */overflow: clip;}
.mod-articles-home article {background-size: cover;background-position: center;/* padding: 1rem 2rem; */border-radius: 12px;overflow: clip;position:relative;/* box-shadow: -2px 3px 33px 0px rgb(40 107 146 / 41%); *//* box-shadow: inset 2px 2px 15px rgba(0, 0, 0, 0.6); *//* border-top: 1px solid #000; */display: flex;align-items: center;aspect-ratio: 5 / 2;}
.mod-articles-home a {display:block;color:#fff;text-decoration:none;/* font-weight: 600; */font-size: 160%;z-index: 2;/* text-shadow: 0px 0px 3px #000, 2px 2px 15px #061c3edb; */letter-spacing: 0.05em;position: sticky;border-bottom: 0;transition: 0.6s;transform: translateY(-30px);width: 100%;background: #00afef66;background-blend-mode: color-burn;padding: .5rem;text-align: center;}
.mod-articles-home article::before {content:'';background: #008cbf;position:absolute;z-index:0;top:0;left:0;right:0;bottom:0;opacity: 0.2;transition: 0.5s;}
.mod-articles-home article:hover::before { opacity:0.7;     box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);}
.mod-articles-home article:hover a {transform: translateY(0);}


@media (max-width: 769px){
.row-fluid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.mod-articles-home a {font-size: 140%;}
}


/* === СЛАЙДЕР (картинка справа, описание слева) === */

.mod-banners.container { padding: 1rem; }

.mod-banners.bannergroup {
    max-width: var(--content_width);
    width: 100%;
    margin: 50px auto;
    position: relative;
}

.mod-banners__item.banneritem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(150, 183, 203, 0.2);
}

.customer-reviews h4 {
    color: #96b7cb;
    margin-top: 40px;
}




/* Левая часть: описание */
.banner-desription {
    padding-right: 20px;
}

.banner-desription h1 {
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;

}

.banner-desription h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;

}

.banner-desription p {
    color: #5d6d7e;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.banner-image, .banneritem { background-size:cover; background-position: top center}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ КАТЕГОРИИ ТОВАРОВ ===== */

/* Заголовок категории */
main h1 {font-size: 62px;font-weight: 500;margin: 3rem 0 1rem;/* margin-bottom: -3px; */}


/* Навигация по подкатегориям */
.category-view.row-fluid, .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
.view-category .category-view{padding: 0;margin-bottom: 4rem;}

.category-view.row-fluid a {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #acbec9;
    position: relative;
    overflow: clip;
    gap: 1rem;
    z-index:1;
    border-radius: 20px 20px 0 20px;
}



.category-view.row-fluid a:hover {
    box-shadow: var(--shadow);
    
    z-index:2;
}





.category-view.row-fluid .catname {transition: all 0.3s ease;padding: .5rem;}
.category-view.row-fluid a:hover .catname {text-shadow: 1px 1px 1px #00b2f252;}







/* Блок сортировки и фильтров */
.orderby-displaynumber, .flex-bg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff8;
    padding: 0;
    border-radius: 12px;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.vm-order-list {
    display: flex;
    align-items: center;
    gap: 15px;
}

.orderlistcontainer {
    position: relative;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #e0e6ed;
    cursor: pointer;
    min-width: 200px;
}

.orderlistcontainer:hover .orderlist {
    display: block !important;
}

.activeOrder a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:10px
}



.orderlist {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    box-shadow: var(--drops);
    z-index: 100;
    min-width: 100%;
    padding: 10px 0;
    display: none;
}

.orderlist a {
    display: block;
    padding: 8px 15px;
    color: #5d6d7e;
    text-decoration: none;
    transition: all 0.2s ease;
}

.orderlist a:hover {
    background: #f8fafc;
    color: var(--blue);
    padding-left: 20px;
    box-shadow: var(--shadow);
}

.display-number {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #7b8a8b;
    font-size: 0.95rem;
}

#limit {
    padding: 8px 15px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    background: white;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.2s ease;
}

#limit:hover {
    border-color: var(--blue);
}

/* Сетка товаров */
.featured-view {
    margin-top: 40px;
}

.featured-view h4 {
    color: #2c3e50;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(150, 183, 203, 0.3);

}



.product-block {
    background: white;
    border-radius: 20px;
    /* overflow: hidden; */
    /* box-shadow: var(--drops); */
    transition: all 0.3s ease;
    /* border: 1px solid rgba(150, 183, 203, 0.2); */
    position: relative;
    z-index:0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 1 360px;
}

.product-block:hover {
    box-shadow: var(--shadow); z-index:1;
}


/* Изображение товара */
.vm-product-media-container {
    text-align: center;
    position: relative;
}
.productdetails .vm-product-media-container {
    padding: 2rem;
}
.vm-product-media-container a {
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
}


.browseProductImage {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-block .vm-product-descr-container-1 {margin: 0 10px }

/* Бейдж "Нет в наличии" */
.vmicon.vm2-nostock {
    background: #888;
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 2;
}

/* Название товара */
.product-block h2 {
    margin: 1rem  0 0;
    font-size: 26px;
}
.product-block p {margin: 0 .1rem;}
.product-block h2 a {
    font-weight: 500;
    transition: color 0.2s ease;
}

.product-block h2 a:hover {
    color: var(--cian);
}

.cartBlock {
    margin: 1rem 0 0;
    border-radius: 0 20px 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    overflow: clip;
}
.cartBlock * {height:100% }
.vm-customfields-wrap { display: none }
.product-price {
    border-bottom: 3px solid #9ba7af;
    margin-right: 5px;
}
.PricesalesPrice {
    font-size: 36px;
    font-weight: 600;
    color: #586e7c;
    display: block;
}
.vm-price-value{
    border-bottom: 3px solid #9ba7af;
    margin-bottom: 2px;
    height: calc(100% - 3px);
}



.vm-price-desc {
    display: block;
    font-size: 0.85rem;
    color: #7b8a8b;
    margin-bottom: 5px;
}

.PricebasePriceVariant {
    font-size: 0.9rem;
    color: #95a5a6;
    text-decoration: line-through;
}



.addtocart-bar {
    /* display: flex; */
    /* flex-wrap: wrap; */
}
.vm-btn, .button, [type="submit"] {border: none;padding: 0 3rem;border-radius: 16px;transition: all 0.3s ease;flex-grow: 1;cursor: pointer;font-size: inherit;display: inline-block;font-size: 35px;height: 70px;line-height: 70px;}
.addtocart-bar .addtocart-button {border-radius: 0 8px 0 0;width: 100%;}

button:hover {  transform: translateY(-1px); box-shadow: var(--shadow); }

[type="submit"] {color: white;background: linear-gradient(90deg, #01A0E2, #39C5FF);}
[type="submit"]:hover {
    }


.product-details {
    display: inline-block;
    padding: 10px 25px;
    color: var(--blue);
    text-decoration: none;
    border: 2px solid var(--blue);
    border-radius: 6px;
    font-weight: 400;
    transition: all 0.3s ease;
}



/* Пагинация */
.vm-pagination {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.vm-page-counter {
    color: #5d6d7e;
    font-size: 0.95rem;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .row, .row-fluid {
        grid-template-columns: repeat(2, 1fr);
    }

    
    .orderby-displaynumber {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    main h1 {
        font-size: 2rem;
        display: inline-block;
    }
    
    .row, .row-fluid {
        grid-template-columns: 1fr;
    }
    
    .addtocart-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quantity-box {
        justify-content: center;
    }
    
    .addtocart-button input[type="submit"] {
        width: 100%;
    }
    .category-view.row-fluid a { padding: 1rem 2rem}
}

@media (max-width: 480px) {
    .productdetails {
        padding: 15px;
    }

}

.orderlistcontainer .title { display:none }


.productdetails {/* width: 90%; */margin:auto;flex-grow: 1;}

.product-description {
    color: #2a4053;
    /* font-size: 1rem; */
    line-height: 1.5;
    border-bottom: 3px solid #94adbd;
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 0 20px 20px 20px;
    box-shadow: var(--drops);
    margin: .3rem 0rem 2rem;
}

.product-fields {margin: 1rem;}
.product-field {display:flex;margin: 1rem 0;border-bottom: 2px dotted #96b7cb;justify-content: space-between;padding: 0 7px;/* max-width: 350px; */}
.product-field:hover { border-bottom-color:#486c81 }


.productdetails h1 { padding-left: 0; }
.productdetails .cartBlock {margin: 3rem 0;}


.cart-info, .vm-product-media-container {flex: 1 0 45%;}

.cart-info { max-width: 450px; }

.cart-info .product-fields { margin-top: 30px }

.product-fields  strong {color: #486c81;}

.product-fields-title1-wrapper {padding-right: 50px;/* border-bottom: 2px dashed #dddd; */flex-grow: 1;}


/* Общее оформление модального окна facebox (подтверждение добавления товара) */
#facebox {
    position: fixed !important;           /* фиксируем относительно окна браузера */
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999;
    width: 480px;
    max-width: calc(100vw - 2rem);
    background: transparent;
    box-shadow: none;
    border: none;
}

/* Стиль самого попапа */
#facebox .popup {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: var(--shadow), var(--drops);
    overflow: hidden;
    position: relative;
    padding: 1.8rem 2rem 2rem 2rem;
    border: 1px solid rgba(42, 127, 170, 0.15);
}

#facebox .close {     position: absolute; display: none;}


/* Блок с контентом */
#facebox  .popup  .content {
    font-size: 1rem;
    color: #1a2c3e;
    display: flex;
    flex-direction: column-reverse;
    gap: 20px; width:auto
}

/* Заголовок "1 x Новый товар добавлен..." */
#facebox .content h4 {
    font-weight: 600;
    font-size: 1.15rem;
    /* margin: 0.5rem 0 1.5rem 0; */
    color: #0a2b3b;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#facebox .content h4::before {
    content: "✓";
    display: inline-block;
    background: #2a7faa;
    color: white;
    font-weight: bold;
    width: 30px;
    height: 24px;
    border-radius: 30px;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    margin-right: 8px;
}

/* Кнопки: «Продолжить покупки» и «Показать корзину» */
#facebox .vm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: inherit;
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
    border: none;
    background: none;
}

#facebox .vm-btn-secondary.continue_link {
    background: #f0f4f9;
    color: #2a7faa;
    border: 1px solid #dce5ec;
}
#facebox .vm-btn-secondary.continue_link:hover {
    background: #e6eef5;
    transform: translateY(-1px);
    border-color: #2a7faa;
}

#facebox .vm-btn-primary.showcart {
    background: #008cbf;
    color: white;
    box-shadow: var(--drops);
}
#facebox .vm-btn-primary.showcart:hover {
    background: #0f5572;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

#facebox .floatright {
    float: right;
}


/* ========== КОРЗИНА (СТИЛИ ДЛЯ СТРАНИЦЫ /katalog/cart) ========== */

/* Общие контейнеры */
.vm-cart-header-container {
    /* display: flex; */
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}
.vm-cart-header h1 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0a2b3b;
    margin: 0;
}
.vm-continue-shopping .continue_link {
    background: #f0f4f9;
    padding: 0.7rem 1.6rem;
    border-radius: 40px;
    color: #2a7faa;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    display: inline-block;
    border: 1px solid #dce5ec;
}
.vm-continue-shopping .continue_link:hover {
    background: #e6eef5;
    border-color: #2a7faa;
    transform: translateY(-1px);
}

/* Форма входа (для зарегистрированных пользователей) */
fieldset {
    /* background: #f9fbfe; */
    border-radius: 12px;
    /* padding: 1rem; */
    /* margin-bottom: 2rem; */
    border: none;
}
#com-form-login p {
    margin: 0;
    color: #525557;
    flex: 1 0 470px;
    font-size: 31px;
}
#com-form-login .width30 {
    margin-right: 1%;
    flex: 1 0 20%;
    white-space: nowrap;
}
.inputbox, textarea, .form-control, select, .formControls label, .rsform-input-box, .rsform-type-fileupload .formBody {
    padding: 0 1.5rem;
    border: 1px solid #E2E2E2;
    font-family: inherit;
    transition: 0.2s;
    font-size: inherit;
    width: 100%;
    box-shadow: inset 0px 2px 2px #021F4430;
    border-radius: 12px;
    overflow: clip;
    font-family: 'Raleway', sans-serif;
    color: #949292;
    line-height: 70px;
    height: 72px;
}
input[type="checkbox" i] { width:auto}
.inputbox:focus, textarea:focus, .form-control:focus {
    outline: none;
    border-color: #799aaf80;
    box-shadow: inset 1px 1px 3px 0px #5255574a, 2px 2px 2px 0px #43c4f34d;
}
.control-group {margin:2rem;width: 280px;}
label {
    color: #949292;
}

.rsformVerticalClear { overflow:unset}
.formControlLabel {
    display: block;
    /* flex-direction: row-reverse; */
    width: 100%;
    /* align-items: center; */
    margin: 1rem 0;
    color: var(--cian);
    } 

.formControlLabel::before {content:'';width: 25px;display:block;/* position: relative; */margin: 0 13px;/* filter: grayscale(90%); */font-size: 13px;color: #659fc7;}

.formControls label::before {/* content:''; */width: 26px;/* display:block; *//* position: relative; *//* right: -13px; */color: inherit;color: #009cd5;}
.formControls {width:fit-content;width: 100%;margin: 2rem 0; }
.formControls label {
    display: flex;
    padding: 0 2rem;
    justify-content: space-between;
    gap: 17px;
    margin: .5rem 0;
}
.formControls label input {float: left;position:relative;opacity: .7;accent-color: #0095dd;width: 20px;order: 2;}


#com-form-login fieldset{
    display:flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    padding: 5px 0;
    /* opacity: .7; */
}

.floatright {/* float: right; */}


/* Таблица товаров */
.cart-summary {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: #666;
    /* background: white; */
    /* border-radius: 24px; */
    overflow: hidden;
    /* box-shadow: var(--drops); */
}
.cart-summary th,
.cart-summary td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #eef2f8;
}
.cart-summary th {
    background: #f7fafd;
    font-weight: 400;
    color: #2a7faa;
    text-align: left;
}
.cart-summary tr:last-child td {
    border-bottom: none;
}

.cart-images {
    border-radius: 12px;

    border: 1px solid #eef2f8;
    background: #fff;
    padding: 5px 10px;
    display: inline-block;
}
.quantity-input {
    width: 70px;
    padding: 0.5rem;
    border-radius: 40px;
    border: 1px solid #dce5ec;
    text-align: center;
    font-family: inherit;

}
.quantity-input:focus {
    border-color: #2a7faa;
    outline: none;
}
.vmicon {
    width: 30px;
    /* height: 30px; */
    line-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0.5;
    background: #96b7cb;
}
.vm2-add_quantity_cart::before {
    content: "↻";
    font-size: 1.2rem;
}
.vm2-remove_from_cart::before {
    content: "✕";
    font-size: 1.2rem;
}
.vmicon:hover {
    transform: scale(1.05);
    opacity:1
}


/* Купон */
.coupon {
    padding: 0.5rem 1rem;
    border-radius: 60px;
    border: 1px solid #dce5ec;
    width: auto;
    /* min-width: 200px; */
}
.details-button input {
    background: #f0f4f9;
    border: 1px solid #dce5ec;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    color: #2a7faa;
    cursor: pointer;
    transition: 0.2s;
}


/* Методы доставки и оплаты */
fieldset.vm-payment-shipment-select  {
    border: none;
    padding: 0;
    margin: 0.5rem 0;
}

input[type="radio"] {
    accent-color: #1c6b8c;
}


/* Блоки "Детали оплаты" и "Сведения о доставке" */
.billto-shipto {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.billto-shipto .width50 {
    flex: 1;
    min-width: 250px;
    background: #f9fbfe;
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid #eef2f8;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.billto-shipto .vmicon {
    background: none;
    font-size: 1.2rem;
    /* margin-right: 0.5rem; */
}
.billto-shipto .values {
    display: inline-block;
    background: white;
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    font-size: 0.9rem;
    /* margin-top: 0.5rem; */
}

.output-shipto input[type="checkbox"] {
    margin-left: 0.5rem;
}



/* Условия обслуживания */
.vm-fieldset-tos {
    border: none;
    background: #fff7e8;
    border-radius: 24px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}
.vm-fieldset-tos.is-invalid {
    border: 1px solid #e07c7c;
    background: #fff5f5;
}




/* Адаптивность */
@media (max-width: 800px) {
    .vm-cart-header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .billto-shipto {
        flex-direction: column;
    }
    #com-form-login .width30 {
        width: 100%;
        margin-bottom: 0.8rem;
    }
    .cart-summary {
        display: block;
        overflow-x: auto;
    }
}

.columns2 {display: flex;margin: 1rem 0;flex-wrap: wrap;gap:2rem;align-items: stretch;}
.columns2 > * { flex: 1 1 calc( 50% - 1rem) }


#com-form-login {margin: 2rem 0;}
#com-form-login .floatright {/* margin: 3px 1rem; */display: inline-block;width: 22%;}
#com-form-login .floatright:first-of-type { margin-left:490px }
#com-form-login [type="submit"] { margin-left:2rem }
#com-form-login label {color:var(--cian)}
.chosen-container-active.chosen-with-drop .chosen-single { background:#fff}


#adminForm fieldset {/* margin: -1rem 0 1rem; *//* padding: 1rem 3rem 2rem; */flex: 1 0 30%;}
#adminForm legend {color: var(--cian);position: relative;top: -0px;padding: 20px 0;}

#adminForm table, #adminForm tbody, #adminForm td, #adminForm tr { display: block }

.borderblock {border: 2px solid #D9D9D9;min-height: 100%;padding: 2rem;border-radius:12px}

#adminForm tr {margin: 1.5rem 0;}
#adminForm tr.virtuemart_country_id { width:48%; float:left; margin-top:0 }
#adminForm tr.virtuemart_state_id {width: 48%;float: right; margin-top:0}



footer {
    background-color: #f7f8f8;
    color: var(--bwt-dark-blue);
    margin-top: 5px;
    padding: 80px 40px 30px;
}


.footer__bottom {
    border-top: 1px solid var(--blue);
    margin-top: 40px;
    padding-top: 24px
}

.footer__bottom_link {
    opacity: .5
}


@media screen and (max-width: 767px) {
    footer {
        margin-top:40px;
        padding: 42px 20px 16px
    }


    .footer__contacts {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin: 1rem;
    }

    .footer__bottom {
        margin-top: 32px;
        text-align: center
    }

    .footer__bottom_link {
        display: block;
        margin-bottom: 16px
    }
}

.footer__subscribe-bottom_policy, .popup-main__bottom .form__text, .form__bottom .form__text {
    font-size: 11px;
    max-width: 290px;
}

footer .mod-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0rem 1.5rem;        /* row-gap and column-gap */
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: start;      /* align items to the top of their grid cells */
    grid-template-areas:
        "b1 b2 b3"
        "b1 b2 b4"
        "b1 b2 b5"
        "b1 b2 b6";
}


/* 
 * Manual column assignment
 * :first-child  → column 1 (Каталог)
 * :nth-child(2) → column 2 (НАПРАВЛЕНИЯ)
 * All remaining items (n+3) → column 3
 */
footer .mod-menu > li:first-child {
    grid-area: b1;
}

footer .mod-menu > li:nth-child(2) {
    grid-area: b2;
}

footer .mod-menu > li:nth-child(3) {
    grid-area: b3;
}
footer .mod-menu > li:nth-child(4) {
    grid-area: b4;
}
footer .mod-menu > li:nth-child(4) {
    grid-area: b4;
}
footer .mod-menu > li:nth-child(5) {
    grid-area: b5;
}
footer .mod-menu > li:nth-child(6) {
    grid-area: b6;
}


.com-content-article__body {
    background:#fff;
    padding: 2rem 2.5rem;
    /* border: 1PX solid #69a7cd54; */
    border-radius: 0 16px 16px 16px;
    box-shadow:var(--drops);
    margin: 0 0rem 2rem;
    /* border-top: 3px solid #597d9380; */
}
.com_content  .com-content-article__body {margin: 0 1rem 2rem 1rem;min-height: 70%;}
.vm-search-custom-search-input { display: none }

.footer__top {grid-template-columns: 1fr 2fr;}

.before_content {padding-bottom: 10px;}

footer .container {background:none }
/* ========== АДАПТИВНОСТЬ ДЛЯ ПЛАНШЕТОВ (до 1024px) ========== */
@media (max-width: 1100px) {
  /* Шапка */
  header.container {
    grid-template-columns: 50px  1fr 80px !important;
    grid-template-areas:
      "icon ltext topbar"
      "contact contact contact"
      "search search search"
      "menu menu menu" !important;
    text-align: center;
    gap: 15px;
  }
    .mod-menu { justify-content: center; }

  .logo-icon, .logo-text, .contact, .search, .topbar {
    justify-self: center;
  }
    .topbar {
    display: flex;
    gap: 1rem;
}

  header .contact {
    justify-content: center;
    gap: 20px;
    margin: 0;
  }
  .mod-shop-search {
    display: flex;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .mod-shop-search input {
    width: 100%;
  }
  /* Меню */
  .mod-menu > .nav-item {
    text-align: center;
  }

  /* Слайдер */
  .mod-banners__item.banneritem {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px;
  }
  .banner-desription {
    padding-right: 0;
    text-align: center;
  }
  .banner-desription h1 {
    font-size: 1.8rem;
  }
  /* Сетка товаров / категорий */
  .row-fluid, .category-view.row-fluid, .mod-articles-home {
    grid-template-columns: repeat(2, 1fr);
    /* gap: 20px; */
  }
  /* Корзина: прокрутка таблицы */
    .vm-fieldset-pricelist { border:none; padding:0; }
  .cart-summary, .cart-summary tbody, .cart-summary td, .cart-summary th {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
      text-align:center
  }
    .cart-summary tr {
    display:grid;
    grid-template-columns: 1fr  1fr 1fr;
    grid-template-areas:
    "img name name"
    "price count total";
    border-bottom: 9px solid #eaf0f3;
    padding: 0 1rem;
    }
     .cart-summary td:first-child { grid-area: img; }
    .cart-summary .vm-cart-item-name { grid-area: name; text-align:left; }
    .cart-summary .vm-cart-item-basicprice { grid-area: price}
    .cart-summary .vm-cart-item-quantity { grid-area: count }
    .cart-summary .vm-cart-item-total { grid-area: total }

    .cart-summary tr.order-total {
        grid-template-columns: 2fr  0 1fr;
    }
    .cart-summary tr.order-total.order-coupon {grid-template-columns: 3fr;}
    .cart-summary tr.order-total td:first-child { text-align:left}

}

/* ========== МОБИЛЬНЫЕ планшеты (до 1100px) ========== */
@media (max-width: 768px) {
  /* Меню – полное раскрытие */
  .mod-menu {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
    header.container {
        position: fixed;
        }
  body {
    padding-top: 83px;
  }    
}
/* ========== МОБИЛЬНЫЕ ТЕЛЕФОНЫ (до 768px) ========== */
@media (max-width: 1100px) {
  .logo-icon a.logo-link {height: 50px;width: 50px;}
  .contact.container .page-header {text-align:center;}
    .contact.container { text-align:center }
    .logo-icon {display: flex;align-items: anchor-center;}

  /* Шапка */
  header.container {
        /* position: fixed; */
        top: 0px;
        right: 0;
        left: 0;
        z-index: 200;
        background: #fff;
        opacity: .95;
        transition: 0.3s;
        align-content: start;
        border-bottom: 1px solid #ddd;
  }
 header.active {box-shadow: var(--shadow);opacity:1;/* height: 90%; */padding-bottom: 1rem;}
  header .contact {
    flex-wrap: wrap;
    gap: 1.5rem;
    border-top: 1px solid #7fafcd;
    width: 90%;
    padding-top: 1rem;
  }
  header .contact span {
    display: block;
  }
header .fa-shopping-cart {
    font-size: 1.4em;
}
.mod-menu > .nav-item {border-top:1px solid #7fafcd40;padding-top: 1rem;/* width: 90%; */margin: auto;}
.before_content {/* background: #7fb8d1; */}
  /* Поиск */
  .mod-shop-search {
    width: 100%;
  }
  .mod-shop-search input {
    padding: 10px 12px;
  }
  .mod-shop-search button {
    padding: 0 15px;
  }

  .mod-articles-home article {height: 130px;aspect-ratio: auto;}
 .mod-articles-home article::before { opacity:.3 }

  /* Подменю – в столбик без всплытия */
  .mod-menu__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 15px !important;
    background: #f9f9f9;
    margin-top: 5px;
    display: none;
  }
  .nav-item.parent:hover > .mod-menu__sub {
    display: block;
  }
  /* Сетки товаров – 1 колонка */
  .row-fluid, .category-view.row-fluid, .mod-articles-home {
    grid-template-columns: 1fr;
  }
  /* Карточка товара */
  .product-block {
    padding: 15px;
  }
  .product-block h2 a {
    font-size: 1.2rem;
  }

  /* Сортировка и фильтры */
  .orderby-displaynumber {
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
  }
  .orderlistcontainer {
    width: 100%;
  }
  .display-number {
    justify-content: space-between;
    margin-top: 10px;
  }
  /* Хлебные крошки */
  .mod-breadcrumbs__item:not(:last-child)::after {
    margin: 0 5px;
  }

  /* Страница товара (детально) */
  .cart-info, .vm-product-media-container {
    flex: 1 0 100%;
    max-width: 100%;
  }
  .product-description {
    border-right: none;
    border-top: 3px solid #dce5ec;
    padding-top: 1rem;
    margin-top: 1rem;
  }
  /* Корзина */
  .vm-cart-header-container {
    flex-direction: column;
    align-items: stretch;
  }
  .vm-continue-shopping .continue_link {
    display: block;
    text-align: center;
  }
  #com-form-login fieldset {
    /* flex-direction: column; */
    gap: 1rem;
    flex-wrap: wrap;
  }
#com-form-login p {width: 100%;margin: 0;}
  #com-form-login .width30 {
    flex: 1 0 45%;
  }
  .coupon {
    /* width: 100%; */
    margin-bottom: 10px;
  }
  .vm-button-correct {
    width: 100%;
    text-align: center;
  }
  /* Футер */
  footer {
    padding: 30px 15px;
  }
  footer .mod-menu {
    grid-template-columns: 1fr !important;
    grid-template-areas: initial !important;
    gap: 20px;
  }
  footer .mod-menu > li {
    grid-area: auto !important;
  }
  .footer__top {
    grid-template-columns: 1fr !important;
  }



  /* Модальное окно (facebox) */
  #facebox {
    width: calc(100% - 30px);
  }
  #facebox .popup {
    padding: 1.2rem;
  }
  #facebox .vm-btn {
    width: 100%;
    margin-bottom: 8px;
    text-align: center;
  }

}
.vm-product-container {display:flex;/* gap:2rem; */box-shadow: var(--drops);flex-wrap: wrap;}

.order-shipment  td>small, .order-payment  td > small {
    color: #607D8B;
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

.pagination  .visually-hidden {
    display: block;
}

.pagenavigation .next {
    text-align: right;
}

.pagenavigation span[aria-hidden] {
    color: #555759;
}

.moduletable.home_direction {
    position: relative;
}



.moduletable.home_categories {

    margin-bottom: 2rem;
}

.home_categories h3 {
    padding-bottom: 10px;
    border-bottom: 2px solid #bad3e2;
    margin-bottom: 0;
    padding-top: 5px;
}

@media(min-width:1100px){

    header .mod-menu > .nav-item:last-child {flex-grow:1;text-align: right;}
    
}

.image-text .blog-item{
    display: flex;
    background: #f4f7fb;
    margin: 2rem 4rem 4rem;
    justify-content: space-between;
    /* padding: 0 2rem; */
    gap: 2rem;
    border-radius: 0 20px 0 20px;
    overflow: clip;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #7fafcd8c;
}

.image-text .blog-item:nth-child(odd) {
    flex-direction: row-reverse;
}



.item-content {
    flex-grow: 1;
    padding: 2rem 3rem;
}

figure.item-image {
    margin: 0;
    overflow: hidden;
    flex: 0 0 50%;
}

figure img {
    object-position: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vm-product-details-container {
    background: #f0f5fa;
    padding: 1rem 4rem 2rem;
    flex: 1 0 45%;
    background: linear-gradient(135deg, #f2fafd 1%, #fff6 55%, #f0f9ff82 57%);
    border-bottom: 1px solid #e5edf5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-short-description { padding: 1rem}


dl {margin:0 }
dt {margin-top:2rem;}
dd {margin: 0;font-size: 60px;}

.virtuemart_search {
    margin: 0;
}


.podbor .formSpan12 {display:flex;border-radius:12px;padding:2rem;gap:2REM;flex-wrap:wrap;border:3px solid #D9D9D9;justify-content: space-around;margin-top: 4rem;}
.podbor .formSpan12 > * { flex: 0 1 430px }
.rsform-block-submit { text-align:center }
.podbor .rsform-type-selectlist select {padding: 0 10px;width:min-content;box-shadow:none;border:1px solid var(--cian);border-radius:0;margin-bottom: 10px;height: auto;}

.rsform-type-fileupload .formBody { position: relative }
.formBody p { margin:0 }
.rsform-type-textbox label { display:none }
.rsform-type-textbox input { font-size:18px}
.mt { margin-top:2rem }
.text-center {text-align:center}
.page-header { margin-bottom: 4rem }
.fields-container {margin: -1rem;list-style: none;padding: 0;border-radius: 12px;overflow: clip;}

.menu-icon, .menu-icon::after { position:relative; display:block; width:80px; height:80px; background-size:contain; background-position:center center; background-repeat:no-repeat}
.menu-icon::after { content:''; position:absolute; top:0; left:0;right:0; bottom:0; opacity:.01; transition: all 0.3s ease;}

a:hover > .menu-icon::after {opacity:1}
.menu-icon.c1d::after {background-image: url(/images/virtuemart/category/c1d.png);}
.menu-icon.c2d::after {background-image: url(/images/virtuemart/category/c2d.png);}
.menu-icon.c3d::after {background-image: url(/images/virtuemart/category/c3d.png);}
.menu-icon.c4d::after {background-image: url(/images/virtuemart/category/c4d.png);}
.menu-icon.c5d::after {background-image: url(/images/virtuemart/category/c5d.png);}
.menu-icon.c6d::after {background-image: url(/images/virtuemart/category/c6d.png);}
input[type="file"] { font-size: 18px; color:var(--cian) }