/*-----------------------------*/

@media (max-width: 767px) {
   
    #checkout {
        border:1px solid #ddd;
        margin: 0;
    }


    #content_div img {
        width: -webkit-fill-available;
        max-width: fit-content;
    }


    #header_submenu {
        padding-top: 20px;
    }

    #content_div #cart img {
        width: -webkit-fill-available;
        max-width: 100%;
    }
  
    product #image img{
        width: -webkit-fill-available;
    }

    .site-header nav, #grafic_icon, #phone_icon{
        display: none !important;
    }
    
    #cart_module {
        width: 100%;
    }
    #cart {
        padding: 15px;
    }

    #filter {
        display: none;
    }

    .bd-placeholder-img-lg {
        font-size: 3.5rem;
      }
    .add_to_cart_message {
        margin: auto;
        margin-top: 388px;
        opacity: 0.9;
    }

    #content_div{
        padding: 0;
        }

    #checkout, #checkout_fast {
        font-size: 14.2px;
    }
    #content_div h1{
        margin: 15px 0 0 15px;
    }
    #content_div .category_desc {
        padding: 5px 25px;
    }

    .mobile-cart-position-top #site-header .site-title {
        text-align: left;

    }
    #mobile_menu {
        display: block;
        background-color: #f5f5f5;
        padding-bottom: 8px;
        
    }

    #site-header .header-main {
        width: 100%;
    }

    .top-area-socials{
        display: none;
    }

    .wpb_wrapper img {
        width: 100%;
    }

    .portfolio.extended-products-grid .portfolio-item.product .caption .title a {
        font-weight: 400;
        font-size: 12px;
        color: #10976b;
        border-bottom: 1px solid #6fbba2;
    }
}

.tabs {
    display: inline-block;
    padding: 15px;
    width: 48.8%;
    text-align: center;
    background-color: #2d9155;
    margin: 0;
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
    border-radius: 6px;
}

#tabs_menu {
    text-align: center;
   
}

.tabs_content {
    display: none;
    padding: 25px 40px 5px 40px;
}
.show {
    display: block !important;
}

/* Cart */
#cart_dostavka {
    font-size: 15px;
}

#fast_order a {
    text-decoration: underline;
    color: green;
}

#product_oplata {
    padding: 4px 0 0 0;
    font-size: 14px;
    color: #5e98ab;
    font-family: system-ui;
    font-weight: 280;
}

#product_summary > div > b {
    font-weight: 280;
    font-size: 14px;
    color: #2c9d6e;
    font-family: system-ui;
}


.ui-state-highlight{
    background-color: #bf0101 !important;
    color: #fff! important;
}

#new_cart > div {
    border: 0px solid #ddd;
    margin: 0 0 0 -1px;
}


#product_image{
    grid-column: 1;
    grid-row: 1;
    padding: 20px 12px;
}

#product_summary {
    padding: 10px 0 20px 30px;
}

#product_name{

}
#product_attr{
    border: 0 !important;
}
#product_price, #product_qty, #product_itog{

}

fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}
/* Attr */
#feed_attr{
    margin: 45px 0 0 0;
    height: fit-content;
    display: grid;
    gap: 34px 10px;
    grid-template-columns: 50px 150px 200px;
    border: 1px solid #e5e5e5;
    padding: 34px 5px 24px 32px;
    grid-template-rows: 1fr 15px 0;
    border-radius: 8px;
    width: fit-content;
}
.attr_price_label {
    font-weight: 400;
    float: left;
    grid-column: 1;
    grid-row: 2;
}

.attr_razmer_label {
    font-weight: 400;
    float: left;
    grid-column: 1;
    grid-row: 1;
}
.attr_price {
    font-size: 36px;
    font-weight: 400;
    font-family: revert;
    margin: 0 15px 10px 0;
    float: left;
    grid-row: 2;
}

.attr_value {
    float: left;
    padding: 5px 15px;
    background-color: #168F66FF;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 500;
    margin: 0 0 0 15px;
    grid-row: 1;
    grid-column: 2;
    width: fit-content;
    text-align: center;
}

#attr_quantity {
    width: 60px;
    text-align: center;
    padding: 0;
    margin: 0 10px 0 0;
}

#attr_buy {
    grid-row: 2;
    grid-column: 3;
    position: relative;
    display: block;
    height: fit-content;
}

a.stp_href{
    grid-row: 1;
}




.validateTips {
    color: #bf0101;
}



#success {
    margin: 185px auto;
    width: fit-content;
    text-align: center;
    line-height: 34px;
}
.fonumber {
    font-size: 20px;
    font-weight: 600;
    font-family: system-ui;
    text-transform: uppercase;
}
/********/



.isotope-item {
    position:relative !important;
    padding: 0;
    margin: 0;
    height: 315px;
}

.gem_image_gallery_item {
    position: relative !important;
    top: 0px !important;
    left: 0px !important;
   /* height: 250px;
    width: 150px;*/
}

.gem_image_gallery_item img{
    max-width: 100% !important;
    /*height: 250px;
    width: 150px;*/
}

.portfolio-item-size-container {
    display: none;
}

.gem-gallery-grid:not(.hover-horizontal-sliding) .gallery-item .image-wrap img {
left: 0px !important;
}

.owl-carousel .owl-item img {
    border-radius: 20px;
}

h4.new {
    width: fit-content;
    padding: 6px 25px;
    background-color: #4867a1;
    color: #fff;
    border-radius: 6px;
}


/*----- General Fixes -----*/

.gem-counter .gem-counter-text {
    line-height: 32px;
    padding: 0;
    margin: 0;
    width: 210px;
    font-weight: 380;
}

#primary-navigation .menu-toggle {
    border: 2px solid #4ba56d;
    border-radius: 6px;
    width: 40px;
    height: 34px;
}



