/* T-FILTER: единая типографика и оформление разделов */
:root{
    --tf-orange:#ff9900;
    --tf-orange-2:#ff6a00;
    --tf-ink:#1f1f1f;
    --tf-text:#3d3d3d;
    --tf-muted:#777;
    --tf-line:#f0e7db;
    --tf-soft:#fff8ee;
    --tf-shadow:0 18px 48px rgba(45,32,15,.09);
}

/* ---------- один шрифт ---------- */
html,body{font-family:'Montserrat',Arial,Helvetica,sans-serif}
body,button,input,select,textarea,optgroup,.btn,.form-control,.tooltip,.dropdown-menu,.breadcrumb{font-family:'Montserrat',Arial,Helvetica,sans-serif}
[style*="font-family"],font[face]{font-family:'Montserrat',Arial,Helvetica,sans-serif !important}

/* ---------- заголовки страниц ---------- */
.breadcrumb-h1 .heading{
    position:relative;
    margin:0 0 22px;
    padding:0 0 14px;
    font-size:34px;
    line-height:1.18;
    font-weight:700;
    letter-spacing:-.02em;
    color:var(--tf-ink);
}
.breadcrumb-h1 .heading:after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:68px;
    height:4px;
    border-radius:4px;
    background:linear-gradient(90deg,var(--tf-orange),var(--tf-orange-2));
}
.breadcrumb.mobile,.breadcrumb{font-size:12.5px;color:#999}
.breadcrumb a{color:#777}
.breadcrumb a:hover{color:var(--tf-orange-2)}

/* ---------- информационные разделы ---------- */
.article_description{
    max-width:1080px;
    margin:0 auto 44px;
    padding:38px 44px 42px;
    background:#fff;
    border:1px solid var(--tf-line);
    border-radius:22px;
    box-shadow:var(--tf-shadow);
    font-size:15.5px;
    line-height:1.72;
    color:var(--tf-text);
}
.article_description>:first-child{margin-top:0}
.article_description>:last-child{margin-bottom:0}
.article_description h1,.article_description h2,.article_description h3,.article_description h4{
    color:var(--tf-ink);
    font-weight:700;
    line-height:1.3;
    letter-spacing:-.01em;
}
.article_description h2{font-size:27px;margin:34px 0 14px}
.article_description h3{font-size:21px;margin:28px 0 12px}
.article_description h4{font-size:18px;margin:22px 0 10px}
.article_description p{margin:0 0 14px}
.article_description ul,.article_description ol{margin:0 0 18px;padding-left:24px}
.article_description li{margin:0 0 8px}
.article_description li::marker{color:var(--tf-orange)}
.article_description a{color:#d97600;text-decoration:underline;text-underline-offset:2px}
.article_description a:hover{color:var(--tf-orange-2)}
.article_description b,.article_description strong{color:#242424}
.article_description img{max-width:100%;height:auto;border-radius:14px}
.article_description hr{border:0;border-top:1px solid var(--tf-line);margin:26px 0}
.article_description table{width:100%;max-width:100%;border-collapse:collapse;margin:0 0 20px;font-size:14.5px}
.article_description th,.article_description td{border:1px solid #eee6dc;padding:10px 12px;vertical-align:top;word-break:break-word}
.article_description th{background:var(--tf-soft);font-weight:700;text-align:left}
.article_description blockquote{margin:0 0 18px;padding:14px 18px;background:var(--tf-soft);border-left:4px solid var(--tf-orange);border-radius:10px;color:#5a4a33}
.article_description .article_description__cols{display:grid;grid-template-columns:1fr 1fr;gap:24px}

/* ---------- контакты ---------- */
.contacts{
    max-width:1080px;
    margin:0 auto 44px;
    padding:34px 38px;
    background:#fff;
    border:1px solid var(--tf-line);
    border-radius:22px;
    box-shadow:var(--tf-shadow);
    font-size:15px;
    line-height:1.65;
    color:var(--tf-text);
}
.contacts .heading{font-size:26px;font-weight:700;color:var(--tf-ink);margin:0 0 18px;position:relative;padding-bottom:12px}
.contacts .heading:after{content:"";position:absolute;left:0;bottom:0;width:54px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--tf-orange),var(--tf-orange-2))}
.contacts__heading{position:relative;margin:22px 0 8px;padding-left:13px;font-size:15px;font-weight:700;color:var(--tf-ink)}
.contacts__heading:before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:3px;border-radius:3px;background:var(--tf-orange)}
.contact-list__item{color:#4a4a4a}
.contacts .form-group{margin-bottom:16px}
.contacts .control-label{text-align:left;font-weight:600;color:#3a3a3a;padding-top:13px;font-size:14px}
.contacts .form-control,.account-login__wrapper .form-control,.uni-form .form-control{
    height:50px;
    padding:0 15px;
    border:1.5px solid #e7e0d7;
    border-radius:12px;
    background:#fbfaf8;
    box-shadow:none;
    font-size:15px;
    color:#222;
    transition:border-color .18s,box-shadow .18s,background .18s;
}
.contacts textarea.form-control{height:auto;min-height:120px;padding:13px 15px;resize:vertical}
.contacts .form-control:focus,.account-login__wrapper .form-control:focus,.uni-form .form-control:focus{
    border-color:var(--tf-orange);
    background:#fff;
    box-shadow:0 0 0 4px rgba(255,153,0,.14);
    outline:none;
}
.contacts .btn-primary,.account-login__btn,.uni-form .btn-primary{
    height:52px;
    padding:0 34px;
    border:0;
    border-radius:13px;
    background:linear-gradient(135deg,var(--tf-orange),var(--tf-orange-2));
    color:#fff;
    font-weight:700;
    font-size:15px;
    box-shadow:0 10px 24px rgba(255,120,0,.26);
    transition:transform .16s,box-shadow .16s;
}
.contacts .btn-primary:hover,.account-login__btn:hover,.uni-form .btn-primary:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(255,120,0,.34)}
.contacts .agree a,.contacts .input a{color:#d97600}

/* ---------- категория ---------- */
.category-page.category-info{
    display:flex;
    align-items:flex-start;
    gap:26px;
    margin:0 0 26px;
    padding:24px 28px;
    background:#fff;
    border:1px solid var(--tf-line);
    border-radius:20px;
    box-shadow:var(--tf-shadow);
}
.category-info__image{flex:0 0 auto}
.category-info__image img{border:0;border-radius:14px;box-shadow:0 8px 20px rgba(40,30,15,.10)}
.category-info__description h3{margin:0 0 10px;font-size:22px;font-weight:700;color:var(--tf-ink)}
.category-info__description p{margin:0 0 10px;color:#4d4d4d;line-height:1.65}
.category-info__description p:last-child{margin-bottom:0}

/* ---------- поиск ---------- */
.search-page__search-block{
    margin:0 0 26px;
    padding:22px 24px;
    background:#fff;
    border:1px solid var(--tf-line);
    border-radius:18px;
    box-shadow:var(--tf-shadow);
}

/* ---------- личный кабинет ---------- */
.account-login__wrapper{
    height:100%;
    padding:28px 30px;
    background:#fff;
    border:1px solid var(--tf-line);
    border-radius:20px;
    box-shadow:var(--tf-shadow);
}
.account-login__heading{font-size:20px;font-weight:700;color:var(--tf-ink);margin:0 0 18px}
.account-login__form-group{margin-bottom:14px}
.account-login__forgotten{color:#d97600;font-size:13.5px}

/* ---------- карточка товара ---------- */
.product-page-tabs{border-bottom:1px solid #eee;gap:4px}
.product-page-tabs>li>a{
    border:0 !important;
    border-radius:10px 10px 0 0;
    padding:12px 18px;
    color:#555;
    font-weight:600;
    background:transparent;
}
.product-page-tabs>li.active>a,.product-page-tabs>li>a:hover{color:var(--tf-ink);background:#fff}
.product-page-tabs>li.active>a{box-shadow:inset 0 -3px 0 var(--tf-orange)}
.product-page .heading{font-size:32px}

/* ---------- мелочи ---------- */
::selection{background:rgba(255,153,0,.25);color:#1f1f1f}
.article_description,.contacts,.category-page,.search-page,.account-login__wrapper{scroll-margin-top:90px}

@media (max-width:991px){
    .article_description{padding:28px 26px 32px;border-radius:18px}
    .contacts{padding:26px 22px;border-radius:18px}
    .category-page.category-info{padding:20px}
    .breadcrumb-h1 .heading{font-size:29px}
}
@media (max-width:767px){
    .article_description{padding:22px 18px 26px;font-size:15px;border-radius:16px}
    .article_description h2{font-size:23px}
    .article_description h3{font-size:19px}
    .contacts{padding:22px 16px;border-radius:16px}
    .contacts .control-label{padding-top:0;margin-bottom:6px}
    .category-page.category-info{flex-direction:column;gap:16px}
    .breadcrumb-h1 .heading{font-size:25px;padding-bottom:12px}
    .product-page-tabs>li>a{padding:10px 12px;font-size:14px}
}

/* ---------- форма на странице контактов ---------- */
.contact-page__form{
    margin:0 0 26px;
    padding:26px 28px;
    background:#fff;
    border:1px solid var(--tf-line);
    border-radius:20px;
    box-shadow:var(--tf-shadow);
}
.contact-page__form .form-group{margin-bottom:16px}
.contact-page__form .control-label{text-align:left;font-weight:600;color:#3a3a3a;padding-top:13px;font-size:14px}
.contact-page__form textarea.form-control{min-height:130px;height:auto;padding:13px 15px}
.contact-page__form .btn-primary{
    height:52px;padding:0 34px;border:0;border-radius:13px;
    background:linear-gradient(135deg,var(--tf-orange),var(--tf-orange-2));
    color:#fff;font-weight:700;font-size:15px;box-shadow:0 10px 24px rgba(255,120,0,.26);
}
.contact-page__form .btn-primary:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(255,120,0,.34)}

/* ---------- 404 и пустая корзина ---------- */
.error-not-found{
    max-width:700px;
    margin:36px auto 48px;
    padding:46px 34px 42px;
    background:#fff;
    border:1px solid var(--tf-line);
    border-radius:24px;
    box-shadow:var(--tf-shadow);
    text-align:center;
    color:#4a4a4a;
    font-size:16px;
    line-height:1.6;
}
.error-not-found__404{
    margin:0 0 14px;
    font-size:72px;
    line-height:1;
    font-weight:800;
    letter-spacing:-.03em;
    color:var(--tf-orange);
}
.error-not-found__404 .fa,.error-not-found__404 .fas{font-size:64px}
.error-not-found .btn-primary{
    margin-top:22px;height:50px;padding:0 30px;border:0;border-radius:12px;
    background:linear-gradient(135deg,var(--tf-orange),var(--tf-orange-2));
    color:#fff;font-weight:700;box-shadow:0 10px 24px rgba(255,120,0,.26);
}

@media (max-width:767px){
    .contact-page__form{padding:20px 16px;border-radius:16px}
    .contact-page__form .control-label{padding-top:0;margin-bottom:6px}
    .error-not-found{margin:20px auto 30px;padding:34px 18px;border-radius:18px}
    .error-not-found__404{font-size:56px}
}
/* ---------- главная и карточки каталога ---------- */
.home-page h2{
    position:relative;
    margin:34px 0 18px;
    padding:0 0 12px;
    font-size:28px;
    font-weight:700;
    color:var(--tf-ink);
    letter-spacing:-.01em;
}
.home-page h2:after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:52px;
    height:3px;
    border-radius:3px;
    background:linear-gradient(90deg,var(--tf-orange),var(--tf-orange-2));
}
.product-thumb.uni-item{
    border:1px solid #f0e7db;
    border-radius:16px;
    transition:box-shadow .18s,border-color .18s;
}
.product-thumb.uni-item:hover{
    border-color:#ffd7a3;
    box-shadow:0 16px 36px rgba(40,30,15,.12);
}
@media (max-width:767px){
    .home-page h2{font-size:23px;margin:26px 0 14px}
}
/* ---------- популярные категории ---------- */
.category-wall .category-wall__item.type2{
    display:flex;
    align-items:stretch;
    min-height:280px;
    padding:0;
    margin:0 0 20px !important;
    background:#fff;
    border:1px solid #f0e7db;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 16px 40px rgba(45,32,15,.09);
    transition:transform .2s,box-shadow .2s;
}
.category-wall .category-wall__item.type2:hover{transform:translateY(-2px);box-shadow:0 22px 48px rgba(45,32,15,.14)}
.category-wall__image.type2{flex:0 0 40%;position:relative;overflow:hidden;border:0;box-shadow:none}
.category-wall__image.type2 img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s}
.category-wall .category-wall__item.type2:hover .category-wall__image.type2 img{transform:scale(1.06)}
.category-wall__ul.type2{flex:1;width:auto;display:flex;flex-direction:column;justify-content:center;margin:0;padding:26px 28px}
.category-wall__title.type2{margin:0 0 14px;font-size:21px;line-height:1.3;font-weight:700;text-align:left}
.category-wall__title.type2 a{color:#1f1f1f}
.category-wall__title.type2 a:hover{color:#e07800}
.category-wall__li{margin:0 0 6px;font-size:14.5px;line-height:1.45}
.category-wall__li a{display:flex;color:#555}
.category-wall__li a:before{content:"\2022";margin:0 8px 0 0;color:#ff9900;font-weight:700}
.category-wall__li a:hover{color:#e07800}
.category-wall__more-li{margin-top:18px}
.category-wall__more.type2{
    position:static;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 20px;
    border-radius:11px;
    background:#fff3e2;
    color:#c46a00 !important;
    font-weight:700;
    font-size:14px;
    text-decoration:none;
    transition:background .18s,color .18s,box-shadow .18s;
}
.category-wall__more.type2 span{font-size:14px;text-decoration:none}
.category-wall__more.type2:hover{background:linear-gradient(135deg,#ff9900,#ff6a00);color:#fff !important;box-shadow:0 8px 18px rgba(255,120,0,.28)}
.category-wall__ul.child-empty.type2{align-items:center;justify-content:center;text-align:center;padding:30px}
.category-wall__title.child-empty.type2{margin:0 0 18px;text-align:center;font-size:22px}
.category-wall__ul.child-empty .category-wall__more-li{margin-top:0}
@media (max-width:767px){
    .category-wall .category-wall__item.type2{flex-direction:column;min-height:0}
    .category-wall__image.type2{flex:0 0 200px;width:100%}
    .category-wall__ul.type2{padding:20px}
    .category-wall__title.type2{font-size:19px}
    .category-wall__ul.child-empty.type2{padding:24px}
}
/* ---------- частые вопросы ---------- */
.tf-faq{
    max-width:1000px;
    margin:8px auto 46px;
    padding:32px 36px;
    background:#fff;
    border:1px solid var(--tf-line);
    border-radius:22px;
    box-shadow:var(--tf-shadow);
}
.tf-faq__title{position:relative;margin:0 0 20px;padding:0 0 12px;font-size:26px;font-weight:700;color:var(--tf-ink)}
.tf-faq__title:after{content:"";position:absolute;left:0;bottom:0;width:52px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--tf-orange),var(--tf-orange-2))}
.tf-faq__item{border-top:1px solid #f1e8dc;padding:17px 0}
.tf-faq__item:first-of-type{border-top:0;padding-top:0}
.tf-faq__q{font-size:16.5px;font-weight:700;line-height:1.4;color:#222;margin:0 0 8px}
.tf-faq__a{font-size:14.8px;line-height:1.65;color:#555}
@media (max-width:767px){
    .tf-faq{padding:22px 18px;border-radius:16px}
    .tf-faq__title{font-size:22px}
    .tf-faq__q{font-size:15.5px}
}
/* ---------- адаптивная таблица реквизитов (О компании) ---------- */
@media (max-width:767px){
    .article_description table{
        display:block;
        width:100% !important;
        border:0 !important;
        margin:0 0 18px;
        font-size:13.5px;
    }
    .article_description colgroup,
    .article_description col{display:none}
    .article_description tbody{display:block}
    .article_description tr{
        display:block;
        margin:0 0 12px;
        border:1px solid #efe6da;
        border-radius:12px;
        overflow:hidden;
        background:#fff;
    }
    .article_description td,
    .article_description th{
        display:block;
        width:100% !important;
        border:0 !important;
        padding:10px 14px !important;
        font-size:13.5px;
        line-height:1.5;
        word-break:break-word;
    }
    .article_description td:first-child{
        background:#fff8ee;
        font-weight:700;
        color:#1f1f1f;
        border-bottom:1px solid #f0e6d8 !important;
    }
    .article_description td p{margin:0}
}

/* ---------- выпадающее меню: планшет и телефон ---------- */
@media (max-width:991px){
    .menu-wrapper{
        width:100% !important;
        max-width:100vw;
        background:#fff;
        overflow-y:auto;
        overflow-x:hidden;
    }
    .menu-wrapper .menu__collapse{
        position:relative !important;
        top:auto !important;
        left:auto !important;
        width:100% !important;
        height:auto !important;
        max-height:none !important;
        display:block !important;
        overflow:visible !important;
        padding:0 !important;
    }
    .menu__level-1-li{
        display:flex !important;
        flex-wrap:wrap;
        align-items:center;
    }
    .menu__level-1-a{
        flex:1 1 auto !important;
        width:calc(100% - 46px);
        min-height:48px;
        white-space:normal;
    }
    .menu__level-1-li.has-children:after{display:none !important}
    .menu__pm{
        position:relative !important;
        right:auto !important;
        top:auto !important;
        flex:0 0 46px;
        width:46px;
        height:48px;
        line-height:48px;
        display:flex;
        align-items:center;
        justify-content:center;
        margin-left:auto;
    }
    .menu__level-2{
        position:static !important;
        left:auto !important;
        top:auto !important;
        z-index:auto !important;
        width:100% !important;
        max-height:none !important;
        display:none;
        flex:0 0 100%;
        flex-wrap:wrap !important;
        padding:0 !important;
        margin:0 !important;
        border-radius:0 !important;
        box-shadow:none !important;
        background:#fff8ee;
        overflow:visible !important;
    }
    .menu__level-2.in,
    .menu__level-2.open,
    .menu__level-2.collapse.in,
    .menu__level-2.collapsing{display:block !important;height:auto !important}
    .menu__level-2-ul,
    .menu__level-2-ul[class*="col-"]{
        width:100% !important;
        max-width:100% !important;
        flex:0 0 100% !important;
        float:none !important;
        padding:0 !important;
        margin:0 !important;
    }
    .menu__level-2-a{
        min-height:46px;
        padding:0 44px 0 34px !important;
        border-top:1px solid rgba(0,0,0,.07);
        font-weight:500 !important;
        font-size:14.5px;
        white-space:normal;
    }
    .menu__level-2 .menu__level-2-ul:first-child .menu__level-2-a{border-top:0}
    .menu__level-2-ul.has-image{padding-left:0 !important}
    .menu__level-2-img{display:none !important}
    .menu__level-3{padding:0 0 10px 34px !important}
    .menu__level-3-a{min-height:40px;padding:0 20px 0 0 !important;font-size:14px}
}

/* ---------- выпадающее меню: десктоп ---------- */
@media (min-width:992px){
    .menu1 .menu__level-2{
        z-index:950;
        background:#fff;
        max-height:70vh;
        overflow-y:auto;
        padding:8px 10px;
    }
    .menu1 .column-1{width:250px}
    .menu1 .menu__level-2-a{padding-right:14px}
}
@media (max-width:991px){
    html,body{overflow-x:hidden;max-width:100%}
}
/* ---------- мобильная типографика контента: без обрезки и горизонтального переполнения ---------- */
@media (max-width:767px){
    .article_description .row,
    #tab-description .row{
        margin-left:0 !important;
        margin-right:0 !important;
    }
    .article_description [class*="col-"],
    .article_description .col,
    #tab-description [class*="col-"],
    #tab-description .col{
        width:100% !important;
        max-width:100% !important;
        flex:0 0 100% !important;
        padding-left:0 !important;
        padding-right:0 !important;
        box-sizing:border-box;
    }
    .article_description [style*="width"],
    #tab-description [style*="width"]{
        width:100% !important;
        max-width:100% !important;
        box-sizing:border-box !important;
    }
    .article_description img,
    .article_description iframe,
    .article_description table,
    #tab-description img,
    #tab-description iframe,
    #tab-description table,
    .category-info__description img,
    .contacts img{
        max-width:100% !important;
        height:auto;
    }
    .article_description,
    .article_description p,
    .article_description li,
    .article_description div,
    .article_description span,
    #tab-description,
    #tab-description p,
    #tab-description li,
    #tab-description div,
    #tab-description span{
        overflow-wrap:anywhere;
        word-break:break-word;
    }
    .breadcrumb{
        display:flex;
        flex-wrap:wrap;
        align-items:center;
        gap:2px;
        white-space:normal !important;
        overflow:visible !important;
        font-size:12px;
        line-height:1.45;
    }
    .breadcrumb li{
        white-space:normal;
        max-width:100%;
        overflow-wrap:anywhere;
    }
    .breadcrumb li + li:before{margin:0 3px 0 0}
    .breadcrumb-h1 .heading{margin-top:4px}
}