@media only screen and (max-width: 896px) {
    .header-button__label {
        right: 75px !important;
        position: absolute;
    }
}

/*скрытие кнопки "наверх" на всех страницах*/
.scrollup {
    display: none !important;
}

/*скрытие кнопки "наверх" на всех страницах*/


.cookies {
    /*font-family: "Montserrat", sans-serif;*/
    right: 0;
    position: fixed;
    z-index: 999;
    left: 0;
    bottom: 0;
    background: #fff;
    box-shadow: 0px 0.882rem 1.76rem rgba(0, 0, 0, 0.1);
    padding: 16px 90px;
}

@media only screen and (max-width: 1430px) {
    .cookies {
        padding: 16px 60px;
    }
}

@media only screen and (max-width: 1280px) {
    .cookies {
        padding: 1vw 4.5vw;
    }
}

@media only screen and (max-width: 600px) {
    .cookies {
        padding: 2vw;
    }
}

.cookies .wrap {
    max-width: 1440px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookies p a {
    color: #68cb1f;
}

@media (max-width: 1023px) {
    .cookies {

        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }
}

.cookies__content {
    margin-right: 2rem;
    font-size: 13px;
    line-height: 1.3;
    color: #000;
}

.cookies__content strong {
    font-weight: 700;
}

@media (max-width: 1400px) {
    .cookies__content {
        font-size: 12px;

    }
}

@media (max-width: 896px) {
    .cookies__content {
        font-size: 4vw;
        line-height: normal;
    }
}

.cookies__button {
    background: #68cb1f;


    transition: all 0.2s ease-in-out;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    width: 140px;
    height: 30px;
    padding-top: 3px;
}

@media (max-width: 1400px) {
    .cookies__button {
        font-size: 0.8791rem;
        padding-top: 0.12rem;
    }
}

@media (max-width: 896px) {
    .cookies__button {
        font-size: 4vw;
        line-height: 4.35vw;
        width: 23vw;
        min-width: 23vw;
        height: 8vw;
        padding-top: 0.2vw;
    }
}

.cookies__button:hover {
    color: #442C22;
    border: 1px solid #442C22;
}

.cookies a {
    color: #fff;
    text-decoration: underline;
}

.cookies a:hover {
    color: #442C22;
}


body.compensate-for-scrollbar {
    width: 100%;
    padding: 0;
}

/** */
.new-page, .updated-page {
    display: table;
    margin: 50px 0 50px;
}

.new-page > div,
.updated-page > div {
    display: inline-block;
    height: 100%;
}

.new-page p,
.updated-page p {
    line-height: 1.5em;
}

.new-page > div:first-child,
.updated-page > div:first-child {
    background-image: url("/local/templates/dikart-new/images/f.svg");
    width: 40%;
    float: right;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 400px;
    margin-top: -40px;
}

.new-page > div:last-child,
.updated-page > div:last-child {
    width: 60%;
}

@media (max-width: 1100px) {
    .new-page > div:first-child,
    .updated-page > div:first-child {
        width: 50%;
    }

    .new-page > div:last-child,
    .updated-page > div:last-child {
        width: 50%;
    }
}

@media (max-width: 900px) {
    .new-page > div:first-child,
    .updated-page > div:first-child {
        width: 100%;
        float: none;
        margin-bottom: 30px;
    }

    .new-page > div:last-child,
    .updated-page > div:last-child {
        width: 100%;
        float: none;
    }
}

#catalog ul.flexbox.list li div.top {
    text-shadow: 2px 1.5px 2px #4e4e4e;
}


#gallery .flexbox.table .text .title {
    font-size: 22px !important;
    line-height: 25px;
}

#gallery .flexbox.table .text {
    font-size: 16px;
    line-height: 18px;
}

/** */
.cat-li-a .icon,
.sect a .icon {
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: space-between;
    z-index: 2;
}

.cat-li-a .icon ul,
.sect a .icon ul {
    display: flex;
    margin: 12px;
}

@media (max-width: 896px) {
    .cat-li-a .icon ul,
    .sect a .icon ul {
        margin: 3vw;
    }
}

.cat-li-a .icon ul .ico-01,
.sect a .icon ul .ico-01 {
    font-size: 0.415rem !important;
    color: #442C22;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.6rem;
    line-height: 0 !important;
}

.cat-li-a .icon ul .ico-01:after,
.sect a .icon ul .ico-01:after {
    content: '';
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../images/prod-icon-after.svg);
    height: 1.45rem;
    width: 1.45rem;
    z-index: -1;
}

#catalog .icon {
    padding: 0 !important;
}

/** */
.custom-select__dropdown {
    z-index: 100 !important;
}

.chars .custom-select__dropdown {
    overflow: auto !important;
    display: block;
    max-height: 300px;
}

@media (max-width: 1024px) {
    .cat-li-a .icon ul .ico-01,
    .sect a .icon ul .ico-01 {
        font-size: 0.8rem !important;
        line-height: 0.8rem !important;
    }

    .cat-li-a .icon ul .ico-01:after,
    .sect a .icon ul .ico-01:after {
        height: 2.45rem;
        width: 2.45rem;
    }
}

@media (max-width: 500px) {
    .chars .custom-select__dropdown {
        max-height: 200px;
    }
}

.external {
/ / color: #FFCC47;
}

.js-price > span {
    display: inline-block !important;
}

.js-price.old > span {
    text-decoration: line-through;
}

.news-page img {
    width: 100%;
}

/** Пропускная способность решеток Дикарт */
.throughput-of-dikart-gratings,
.table-castom {
    width: auto !important;
    margin-top: 30px;
}

.throughput-of-dikart-gratings th,
.table-castom th {
    text-align: center;
}

.throughput-of-dikart-gratings td:last-child,
.table-castom td:last-child {
    text-align: right;
}

.throughput-of-dikart-gratings th,
.throughput-of-dikart-gratings td,
.table-castom th,
.table-castom td {
    color: #000 !important;
    font-size: 18px;
    padding: 10px;
    background-color: #fff;
    border: solid 1px #999 !important;
}

@media (max-width: 896px) {
    .throughput-of-dikart-gratings th,
    .throughput-of-dikart-gratings td,
    .table-castom th,
    .table-castom td {
        font-size: 5vw;
        padding: 2vw;
    }
}

/** */
.personal-text {
    margin-top: 50px;
}

.personal-text h2 {
    padding-bottom: 15px;
}

.personal-text a {
    color: #000;
    text-decoration: underline;
}

.personal-text a:hover {
    text-decoration: none;
}

/** */
.header-button__label-row > span {
    display: inline-block;
    line-height: 16px;
}

.header-button__label-row > span:hover {
    text-decoration: none !important;
}

.header-button__label-row a {
    font-weight: normal !important;
    text-decoration: underline !important;
}

.header-button__label-row a:hover {
    text-decoration: none !important;
}

/*button up in header*/
footer .scroll_top {
    opacity: 0;
    bottom: 75px;
    position: fixed;
    margin-left: -195px;
    transition: all .3s ease;
    z-index: -1;
}

@media (max-width: 1900px) {
    footer .scroll_top {
        right: unset;
        margin-left: 0;
        left: 5%;
        z-index: 0;
    }
}

@media (max-width: 1700px) {
    footer .scroll_top {
        left: 30px;
    }
}

@media (max-width: 1500px) {
    footer .scroll_top {
        left: 1vw;
    }
}

footer .scroll_top img {
    width: 65px;
    height: 65px;
}

@media (max-width: 700px) {
    footer .scroll_top img {
        width: 10vw;
        height: 10vw;
    }
}

/*.header._active ~ footer .scroll_top {
	opacity: 1;
}*/

footer .scroll_top._active {
    opacity: 1;
}

/*button up in header*/


/*custom table with jumpout */
@media (max-width: 600px) {
    .jo_qq {
        width: 60vw !important;
    }
}

/*custom table with jumpout end*/

.cript-form .reverse {
    max-width: 350px;
}

.cript-form .reverse > a + span,
.cript-form .reverse .check {
    font-size: 13px;
    line-height: 1.3;
    display: block;
}

@media (max-width: 1400px) {
    .cript-form .reverse > a + span,
    .cript-form .reverse .check {
        font-size: 12px;
    }
}

@media (max-width: 896px) {
    .cript-form .reverse > a + span,
    .cript-form .reverse check {
        font-size: 3.86vw;
        line-height: 1.3;
    }
}

#horizon-form-template-id33.cript-form .reverse .check,
#horizon-form-template-id33.cript-form .reverse > a + span,
#horizon-form-template-id36.cript-form .reverse .check,
#horizon-form-template-id36.cript-form .reverse > a + span,
#horizon-form-template-id35.cript-form .reverse .check,
#horizon-form-template-id35.cript-form .reverse > a + span {
    margin: 10px 0 0 -510px;
}

@media (max-width: 1400px) {
    #horizon-form-template-id33.cript-form .reverse .check,
    #horizon-form-template-id33.cript-form .reverse > a + span,
    #horizon-form-template-id36.cript-form .reverse .check,
    #horizon-form-template-id36.cript-form .reverse > a + span,
    #horizon-form-template-id35.cript-form .reverse .check,
    #horizon-form-template-id35.cript-form .reverse > a + span {
        margin: .8rem 0 0 -28.3rem;
    }
}

@media (max-width: 600px) {
    .cript-form .reverse > a + span {

    }
}


.cript-form .fz152,
.cript-form .consent_to_advertising {
    display: inline-block;
    float: left;
    margin-right: 10px;
    width: auto !important;
}

.cript-form .fz152 [type="checkbox"],
.cript-form .consent_to_advertising [type="checkbox"] {
    -webkit-appearance: auto !important;
    width: auto !important;
    height: auto !important;
    padding: 0;
    margin-right: 0;
}

.cript-form .fz152.error [type="checkbox"],
.cript-form .consent_to_advertising.error [type="checkbox"] {
    box-shadow: 0 1px 9px orangered;
}

.cript-form .reverse span a {
    color: #6FC727;
}

.form-addcart {
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
}

@media only screen and (max-width: 1400px) {
    .form-addcart {
        gap: 0.21vw;
    }
}

@media only screen and (max-width: 896px) {
    .form-addcart {
        gap: .8vw;
    }
}

.add-cart, .in-card {
    display: block;
    border: 2px solid #6FC727;
    width: 100%;
    height: 46px;
    background-color: #fff;
    cursor: pointer;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}

@media only screen and (max-width: 1400px) {
    .add-cart, .in-card {
        height: 3.29vw;
    }
}

@media only screen and (max-width: 896px) {
    .add-cart, .in-card {
        font-size: 5vw;
        height: 13vw;
    }
}

.none-card {
    display: block;
    border: 2px solid #6FC727;
    width: 100%;
    height: 46px;
    margin-top: 3px;
    background-color: #fff;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}

@media only screen and (max-width: 1400px) {
    .none-card {
        font-size: 1.0714vw;
        height: 3.2857vw;
        margin-top: .2143vw;
        border: .1429vw solid #6FC727;
    }
}

.cart-wrap {
    min-height: 46px;
    position: absolute;
    width: 100%;
}

@media only screen and (max-width: 1400px) {
    .cart-wrap {
        min-height: 3.29vw;

    }
}

@media only screen and (max-width: 896px) {

}

#product .parent .cart-wrap {
    position: relative;
}

.product-item-container .add-cart {
    opacity: 0;
    transition-delay: .025s;
    transition-duration: .175s;
    font-size: 15px;
}

@media only screen and (max-width: 1400px) {
    .product-item-container .add-cart {
        font-size: 1.0714vw;
    }
}

@media only screen and (max-width: 1024px) {
    .product-item-container .add-cart {
        font-size: 1.0714vw;
        opacity: 1;
    }
}

@media only screen and (max-width: 896px) {
    .product-item-container .add-cart {
        opacity: 1;
        font-size: 4vw;
    }
}

.product-item-container:hover .add-cart {
    opacity: 1;
}

.add-cart:after {
    background-image: url("../images/cart-plus.svg");
    background-repeat: no-repeat;
    content: '';
    width: 33px;
    height: 28px;
    margin-left: 11px;
    background-size: contain;
}

@media only screen and (max-width: 1400px) {
    .add-cart:after {
        width: 2.3571vw;
        height: 2vw;
        margin-left: .7857vw;
    }
}

@media only screen and (max-width: 1024px) {
    .add-cart:after {
        width: 2.3571vw;
        height: 2vw;
        margin-left: .7857vw;
    }
}

@media only screen and (max-width: 896px) {
    .add-cart:after {
        width: 6vw;
        height: 5vw;
        margin-left: 2.7857vw;
    }
}


.mini-cart {
    width: 1.7rem;
    height: 1.4rem;
}

@media only screen and (max-width: 896px) {
    .mini-cart {
        width: 7.5vw;
        height: 7.5vw;
    }
}

.mini-cart:before {
    background-image: url("../images/cart.svg");
    content: '';
    width: 1.7rem;
    height: 1.4rem;
}

@media only screen and (max-width: 896px) {
    .mini-cart:before {
        width: 7.5vw;
        height: 7.5vw;
    }
}

.mini-cart span {
    position: absolute;
    z-index: 1;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1rem;
    margin: auto;
    left: 0;
    right: .25rem;
    text-align: center;
    top: .175rem;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.9);
}

@media only screen and (max-width: 896px) {
    .mini-cart span {
        line-height: 1.1vw;
        font-size: 3.9vw;
        right: 1vw;
        top: 2.725vw;
    }
}

.mini-cart:hover:before {
    opacity: 1;
}

.header.opened .mini-cart {
    display: none;
}


.header-tg {
    margin: 4px 1rem 0 0;
}

.header-tg img {
    width: 1.4rem;
}

@media only screen and (max-width: 896px) {
    .header-tg img {
        width: 5rem;
    }

    .header-tg {
        margin: 4px 2rem 0 0;
    }
}

@media only screen and (max-width: 414px) {
    .header-tg img {
        width: 2rem;
    }

    .header-tg {
        margin: 4px 1.5rem 0 0;
    }
}

/*костыль*/
/*.top_message {
font-size: 12px;
    color: red;
    margin: -8px auto 10px;
} 
@media only screen and (max-width: 896px) {
  .header {
    height: 16.03rem;
  }
}*/
/*костыль*/

/*скрываем бейдж рекапчи*/
.grecaptcha-badge {
    display: none;
}