@media(min-width:992px) and (max-width:1199px){
    .container {
        width: 1000px !important;
    }
    header .logo
    {
        width: 60px;
        margin-left: 31px;
        margin-right: 50px;
    }

    .main-head .main-menu li 
    {
        margin: 0 0 0 15px !important;
    }

    .main-menu .sub-menu .nav-prodect 
    {
        transform: translate(18%, 100%);
        width: 950px;
    }

    .f-top .f-item .form-group .form-control {
        padding: 0 45px 0 15px;
    }

    .main-head .main-menu li a 
    {
        font-size: 18px !important;
    }

    .main-head .sub-menu .hover-2 {
        margin: 0 !important;
    }

    .main-head .h-controls>ul>li>a 
    {
        font-size: 12px;
        padding: 35px 0;
    }

    .f-top .f-item .form-group .form-control {
        padding: 0 15px 0 15px;
    }
    
    .subnav-content .subnav-content-conter .box-b .frame {
    width: 280px;
    height: 300px;
    padding: 10px;
}

.subnav-content .subnav-content-conter {
    width: 550px;
}

.main-head .subnav-content li {
    margin: 0px !important;
}

.subnav-content .subnav-content-conter .box-b .frame img {
    min-height: 100%;
}

}
@media(min-width:767px) and (max-width:991px){
    .container {
        width: 100%;
    }

    /*------------------ start navbar ------------------*/
    .main-head .main-menu ul.sub-menu
    {
        /* visibility: hidden !important; */
        border:none;
    }

    .main-menu .sub-menu .nav-prodect {
        transform: translate(30%, 100%);
        width: 700px;
        padding: 0px;
    }


    .main-head .main-menu ul
    {
        opacity: 0;
        transition: all 0.2s ease-in-out;
    }

    .main-head .main-menu ul.active
    {
        opacity: 1;
    }

    .main-head .main-menu ul.sub-menu
    {
        height: 35px;
    }
    
    .main-head .main-menu .sub-menu li
    {
        padding: 0px 0 !important;
        background-color: white;
    }
    .menu-item-has-children .sub-menu li
    {
        height: 100%;
    }

    .menu-item-has-children .sub-menu li a.a
    {
        background-color: #ffffff03;
        height: 30px !important;
        line-height: 12px;
    }
    
    

    .menu-item-has-children .sub-menu li:hover>a {
        padding: 5px 15px !important;
    }

    .main-menu .sub-menu .nav-prodect .box {
        margin: 5px;
        border-radius: 5px;
    }

    .main-head .main-menu li 
    {
        /* margin: 0 0 0 30px !important; */
        display: block;
        width: 100%;
        text-align: center;
        padding: 4px 0 !important;
    }

    .main-head .main-menu li:first-of-type
    {
        padding-top: 0px !important;
    }


    .main-head .main-menu li a {
        padding: 30px 0;
        background-color: #ebaf3224;
    }

    .main-head .main-menu li .row a
    {
        background-color: #ffffff04;
    }



.main-head .icon-bar {
    cursor: pointer;
    margin-top: 28px !important;
    z-index: 9999;
    position: relative;
    float: right;
    transition: all 0.5s ease-in-out;
}

.main-head .icon-bar.active
{
    position: fixed;
}

.main-head .icon-bar .bar1, .bar2, .bar3 {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: 0.4s;
}

.main-head .h-controls>ul>li>a .badgo {
    left: -10px !important;
}

/* Rotate first bar */
.main-head .icon-bar.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-13px, 9px);
    transform: rotate(-45deg) translate(-8px, 4px);
}

/* Fade out the second bar */
.main-head .icon-bar.change .bar2 {
    opacity: 0;
}

/* Rotate last bar */
.main-head .icon-bar.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-12px, -8px);
    transform: rotate(45deg) translate(-10px, -6px);
}

/* The Overlay (background) */
.main-head .overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 9998; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

.main-head .overlay.active
{
    width: 100%;
}

/* Position the content inside the overlay */
.main-head .overlay-content {
    position: relative;
    top: 50%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
    transform: translatey(-50%);
    display: none
}

/* The navigation links inside the overlay */
.main-head .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.5s; /* Transition effects on hover (color) */
}

.main-head .overlay.active .overlay-content
{
    display: block;
    width: 50%;
    margin: auto;
}

/* When you mouse over the navigation links, change their color */
.main-head .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

/*-------- start nav in 8/3/2022 -----------*/
.subnav-content {
    height: 200px;
    width: 100%;
}

.subnav-content ul
{
    width: 100% !important;
}


.subnav-content ul li a
{
    width: 100%;
}

.subnav-content .subnav-content-conter {
    top: 0px;
    transform: translateY(-40%);
    z-index: 9;
    min-height: 500px;
    width: 102%;
    left: -5px;
    padding-top: 20px;
}

.subnav-content .subnav-content-conter .box-a {
    padding: 150px 5px 5px;
    overflow-x: hidden;
    overflow-y: auto;
}

.subnav-content .subnav-content-conter .box-a .box {
    padding: 0px;
    margin: 0px;
}

.subnav-content .subnav-content-conter .box-b .frame {
    width: 240px;
    height: 120px;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/*------------------- end navbar -------------------*/

    .main-head .h-controls>ul>li>a i {
        font-size: 20px;
    }

    .h-controls ul:first-of-type {
        width: 200px;
        display: flex;
        justify-content: space-around;
        margin-left: 49px;
    }

    .main-head .main-menu ul {
        /* display: none; */
        background-color: #afd3d369;
        width: 60%;
        top: 50%;
        right: 50%;
        position: absolute;
        transform: translate(50%,-50%);
        border: 2px solid #ebaf32;
        border-radius: 11px;
    }

    .main-head .h-controls>ul>li>a .badgo {
        margin-top: 20px;
        right: 7px;
    }

    .main-head .h-controls ul li.op-menu {
        display: inline-block;
        padding-right: 0;
    }

    .main-head .h-controls ul li.menu-item-has-children {
        display: none;
    }

    .main-head .main-menu {
        display: inline-block;
        text-align: right;
        padding: 0 10px;
    }

    .main-head .h-controls ul li:after {
        display: none !important;
    }

    .main-head .h-controls>ul>li {
        padding: 0 10px !important;
    }

    .main-head .h-controls>ul>li>a {
        position: relative;
        padding: 0;
        font-size: 50px;
    }

    .main-head .logo img {
        object-fit: scale-down;
        margin: 0px 25px 0px 20px;
    }

   

    .heros .item {
        height: 400px;
        padding: 150px 20px 20px;
    }

    .heros .item h3 {
        font-size: 22px;
    }

    .heros .item p {
        max-width: 100%;
        overflow: hidden;
        max-height: 46px;
        margin-bottom: 20px;
    }

    .heros .item .btn {
        height: 40px;
        line-height: 40px;
        font-size: 13px;
        padding: 0 20px;
    }

    .heros .owl-nav {
        display: none;
    }

    .post-img {
        padding: 50px 0 0;
    }

    .post-img .block .b-iner {
        height: 300px;
    }

    .post-img .block {
        margin-bottom: 20px;
    }



    .post-img .block:last-of-type {
        margin: 0;
    }

    .owl-carousel .owl-nav button.owl-next,
    .owl-carousel .owl-nav button.owl-prev,
    .prod-card .prod-img .p-actions a {
        width: 30px;
        line-height: 30px;
        height: 30px;
        font-size: 14px !important;
    }

    .post-img .owl-carousel .owl-nav button.owl-next,
    .post-img .owl-carousel .owl-nav button.owl-prev {
        top: 30%;
    }

    .products {
        padding: 50px 0;
    }

    .g-head {
        margin-bottom: 30px;
    }

    .g-head h3 {
        font-size: 25px;
    }

    .g-head h3:before {
        font-size: 33px;
        top: 15px;
    }



    .vidwrap .v-cap a {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
        box-shadow: 0 0 0 8px rgb(255 255 255 / 50%);
        margin-bottom: 15px;
    }

    .vidwrap .v-cap p {
        font-size: 15px;
    }

    .clients {
        padding: 10px 0;
    }

    .insta-shop .g-body a {
        width: 20%;
        height: 130px;
    }

    .insta-shop .g-body {
        flex-wrap: wrap;
        justify-content: normal;
    }

    .insta-shop {
        padding-bottom: 0;
    }

    .f-top {
        padding: 20px 0 0;
    }

    .f-top .f-item h4 {
        font-size: 18px;
    }

    .f-bottom p {
        font-size: 13px;
    }

    .f-bottom p img {
        width: 100px;
    }

    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11 {
        max-width: 100%;
        width: 100%;
        flex: none;
    }

    .products .cardo,
    .category-wrap .cardo {
        max-width: 50%;
    }

    .vidwrap {
        height: 350px;
    }

    .f-top .f-item .form-group .form-control {
        width: 95%;
    }

    .about-item {
        padding-top: 30px;
    }

    .about-item .ab-data {
        padding: 20px 0 0 !important;
    }

    .breado {
        height: auto;
        padding: 100px 20px 50px
    }

    .breado h4 {
        font-size: 24px;
        overflow: hidden;
        max-height: 67px;
        text-overflow: ellipsis;
    }

    .account-wrap {
        padding: 30px 0;
    }

    .account-wrap .auth-name h3 {
        font-size: 20px;
    }

    .account-wrap .tab-content {
        padding: 20px 0 0 !important;
    }

    .account-wrap .acc-dets li {
        padding: 20px;
    }

    .account-wrap .panel-group .panel .panel-body .col-md-3 {
        padding: 15px;
    }

    .account-wrap .nav-tabs li a {
        font-size: 13px;
    }

    .table-extra .discount-wrap {
        padding-top: 30px;
    }



    .category-wrap .filter-head div div {
        max-width: none;
    }

    .filter-box .f-item {
        width: 50%;
        padding: 15px;
    }

    .filter-box .filter-inner {
        flex-wrap: wrap;
    }

    .filter-box {
        padding: 10px 5px;
    }

    .co-map {
        height: 300px;
    }

    .co-blocks .block {
        max-width: 50%;
    }

    .co-blocks .row {
        justify-content: center;
    }

    .login-wrap .login-box,
    .login-msg {
        max-width: none;
        border-radius: 20px;
        padding: 20px;
    }

    .login-blocks .block .login-box {
        padding: 0;
    }

    .login-back {
        border-bottom: 1px solid #dfdfdf;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .login-blocks .block {
        border: 0;
        margin-bottom: 30px;
    }

    .login-blocks .block:last-of-type {
        background-color: #fafafa;
        margin: 0;
    }

    .product-wrap .slider-two .owl-item {
        width: 19.4% !important;
    }

    .product-wrap .slider-two .owl-item:nth-of-type(6n+6) {
        margin: 0 2px !important;
    }

    .product-wrap .single-data {
        padding: 20px 0 0 !important;
    }

    .product-wrap .single-data .d-item .form-control {
        width: 20%;
    }

    .single-related .owl-nav {
        text-align: center;
        margin-top: 20px;
    }

    .cart-wrap,
    .category-wrap,
    .contact-wrap,
    .login-wrap,
    .privacy-wrap,
    .product-wrap {
        padding: 50px 0;
    }

   

    #size_pop .modal-content {
        border-radius: 20px;
    }

    #size_pop .modal-dialog,
    #preview_pop .modal-dialog {
        margin: 100px 10px 50px;
    }
}
/*----------------------------------------------------------------------------------------------*/

@media ( min-width:425px ) and ( max-width : 766px ){

    

    /*------------------ start navbar ------------------*/
    .main-head .main-menu ul.sub-menu
    {
        /* visibility: hidden !important; */
        border:none;
    }

    .main-menu .sub-menu .nav-prodect {
        transform: translate(32%, 100%);
        width: 400px;
        padding: 0px;
    }

    .main-head .main-menu .hover-li a:hover:after,
    .main-head .main-menu .hover-li a:hover:before, 
    .main-head .main-menu li.active a:after,
     .main-head .main-menu li.active a:before {
        height: 20px;
    }

    .main-head .main-menu li {
        margin: 0 !important;
    }


    .main-head .main-menu ul
    {
        opacity: 0;
        transition: all 0.2s ease-in-out;
    }

    .main-head .h-controls>ul>li>a .badgo {
        left: -9px !important;
    }

    .main-head .main-menu ul.active
    {
        opacity: 1;
    }

    .main-head .main-menu ul.sub-menu
    {
        height: 45%;
    }
    
    .main-head .main-menu .sub-menu li
    {
        padding: 0px 0 !important;
        background-color: white;
    }
    .menu-item-has-children .sub-menu li
    {
        height: 100%;
    }

    .menu-item-has-children .sub-menu li a.a
    {
        background-color: #ffffff03;
        height: 30px !important;
        line-height: 12px;
    }
    
    

    .menu-item-has-children .sub-menu li:hover>a {
        padding: 5px 15px !important;
    }

    .main-menu .sub-menu .nav-prodect .box {
        margin: 5px;
        border-radius: 5px;
    }

    .main-head .main-menu li 
    {
        /* margin: 0 0 0 30px !important; */
        display: block;
        width: 100%;
        text-align: center;
        padding: 4px 0 !important;
    }

    .product-wrap .single-extra p
    {
        padding: 5px;
        text-align: justify !important;
    }

    .main-head .main-menu li:first-of-type
    {
        padding-top: 0px !important;
    }


    .main-head .main-menu li a {
        padding: 20px 0;
        background-color: #ebaf3224;
    }

    .main-head .main-menu li .row a
    {
        background-color: #ffffff04;
    }

.main-head .icon-bar {
    cursor: pointer;
    margin-top: 25px !important;
    z-index: 9999;
    position: relative;
    float: right;
    
    transition: all 0.5s ease-in-out;
}

.main-head .icon-bar.active
{
    position: fixed;
    left: 25px;
}

.main-head .icon-bar .bar1, .bar2, .bar3 {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: 0.4s;
}

/* Rotate first bar */
.main-head .icon-bar.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-13px, 9px);
    transform: rotate(-45deg) translate(-8px, 4px);
}

/* Fade out the second bar */
.main-head .icon-bar.change .bar2 {
    opacity: 0;
}

/* Rotate last bar */
.main-head .icon-bar.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-12px, -8px);
    transform: rotate(45deg) translate(-10px, -6px);
}

/* The Overlay (background) */
.main-head .overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 9998; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

.main-head .overlay.active
{
    width: 100%;
}

/* Position the content inside the overlay */
.main-head .overlay-content {
    position: relative;
    top: 50%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
    transform: translatey(-50%);
    display: none
}

/* The navigation links inside the overlay */
.main-head .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.5s; /* Transition effects on hover (color) */
}

.main-head .overlay.active .overlay-content
{
    display: block;
    width: 50%;
    margin: auto;
}

/* When you mouse over the navigation links, change their color */
.main-head .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

/*-------- start nav in 8/3/2022 -----------*/
.subnav-content {
    height: 190px;
    width:100%;
}

.subnav-content ul
{
    width: 100% !important;
}


.subnav-content ul li a
{
    width: 100%;
}

.subnav-content .subnav-content-conter {
    top: 0;
    transform: translateY(-35%);
    z-index: 9;
    min-height: 500px;
    width: 102%;
    left: -2px;
}

.subnav-content .subnav-content-conter .box-a {
    padding: 150px 15px 5px;
    overflow-x: hidden;
    overflow-y: auto;
}

.subnav-content .subnav-content-conter .box-a .box {
    padding: 10px;
}

.subnav-content .subnav-content-conter .box-b .frame {
    width: 240px;
    height: 120px;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/*------------------- end navbar -------------------*/

    .main-head .h-controls>ul>li>a i {
        font-size: 20px;
    }

    .h-controls ul:first-of-type {
        width: 150px;
        display: flex;
        justify-content: space-around;
        /* margin-left: 49px; */
    }

    .main-head .main-menu ul {
        /* display: none; */
        background-color: #afd3d369;
        width: 60%;
        top: 50%;
        right: 50%;
        position: absolute;
        transform: translate(50%,-50%);
        border: 2px solid #ebaf32;
        border-radius: 11px;
    }

    .main-head .h-controls>ul>li>a .badgo {
        margin-top: 20px;
        right: 7px;
    }

    .main-head .h-controls ul li.op-menu {
        display: inline-block;
        padding-right: 0;
    }

    .main-head .h-controls ul li.menu-item-has-children {
        display: none;
    }

    .main-head .main-menu {
        display: inline-block;
        text-align: right;
        padding: 0 10px;
    }

    .main-head .h-controls ul li:after {
        display: none !important;
    }

    .main-head .h-controls>ul>li {
        padding: 0px 10px !important;
    }

    .main-head .h-controls>ul>li>a {
        position: relative;
        padding: 0;
        font-size: 50px;
    }

    .main-head .logo img {
        object-fit: scale-down;
        margin: 0px 16px 0px;
        width: 50%;
    }

   

    .heros .item {
        height: 400px;
        padding: 150px 20px 20px;
    }

    .heros .item h3 {
        font-size: 22px;
    }

    .heros .item p {
        max-width: 100%;
        overflow: hidden;
        max-height: 46px;
        margin-bottom: 20px;
    }

    .heros .item .btn {
        height: 40px;
        line-height: 40px;
        font-size: 13px;
        padding: 0 20px;
    }

    .heros .owl-nav {
        display: none;
    }

    .post-img {
        padding: 50px 0 0;
    }

    .post-img .block .b-iner {
        height: 300px;
    }

    .post-img .block {
        margin-bottom: 20px;
    }



    .post-img .block:last-of-type {
        margin: 0;
    }

    .owl-carousel .owl-nav button.owl-next,
    .owl-carousel .owl-nav button.owl-prev,
    .prod-card .prod-img .p-actions a {
        width: 30px;
        line-height: 30px;
        height: 30px;
        font-size: 14px !important;
    }

    .post-img .owl-carousel .owl-nav button.owl-next,
    .post-img .owl-carousel .owl-nav button.owl-prev {
        top: 30%;
    }

    .products {
        padding: 50px 0;
    }

    .g-head {
        margin-bottom: 30px;
    }

    .g-head h3 {
        font-size: 25px;
    }

    .g-head h3:before {
        font-size: 33px;
        top: 15px;
    }



    .vidwrap .v-cap a {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
        box-shadow: 0 0 0 8px rgb(255 255 255 / 50%);
        margin-bottom: 15px;
    }

    .vidwrap .v-cap p {
        font-size: 15px;
    }

    .clients {
        padding: 10px 0;
    }

    .insta-shop .g-body a {
        width: 20%;
        height: 130px;
    }

    .insta-shop .g-body {
        flex-wrap: wrap;
        justify-content: normal;
    }

    .insta-shop {
        padding-bottom: 0;
    }

    .f-top {
        padding: 20px 0 0;
    }

    .f-top .f-item h4 {
        font-size: 18px;
    }

    .f-bottom p {
        font-size: 13px;
    }

    .f-bottom p img {
        width: 100px;
    }

    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11 {
        max-width: 100%;
        width: 100%;
        flex: none;
    }

    .products .cardo,
    .category-wrap .cardo 
    {
        /* max-width: 33.33%; */
    }

    .vidwrap
    {
        height: 350px;
    }

    .f-top .f-item .form-group .form-control {
        width: 95%;
    }

    .about-item {
        padding-top: 30px;
    }

    .about-item .ab-data {
        padding: 20px 0 0 !important;
    }

    .breado {
        height: auto;
        padding: 100px 20px 50px
    }

    .breado h4 {
        font-size: 24px;
        overflow: hidden;
        max-height: 67px;
        text-overflow: ellipsis;
    }

    .account-wrap {
        padding: 30px 0;
    }

    .account-wrap .auth-name h3 {
        font-size: 20px;
    }

    .account-wrap .tab-content {
        padding: 20px 0 0 !important;
    }

    .account-wrap .acc-dets li {
        padding: 20px;
    }

    .account-wrap .panel-group .panel .panel-body .col-md-3 {
        padding: 15px;
    }

    .account-wrap .nav-tabs li a {
        font-size: 13px;
    }

    .table-extra .discount-wrap {
        padding-top: 30px;
    }



    .category-wrap .filter-head div div {
        max-width: none;
    }

    .filter-box .f-item {
        width: 50%;
        padding: 15px;
    }

    .filter-box .filter-inner {
        flex-wrap: wrap;
    }

    .filter-box {
        padding: 10px 5px;
    }

    .co-map {
        height: 300px;
    }

    .co-blocks .block {
        max-width: 50%;
    }

    .co-blocks .row {
        justify-content: center;
    }

    .login-wrap .login-box,
    .login-msg {
        max-width: none;
        border-radius: 20px;
        padding: 20px;
    }

    .login-blocks .block .login-box {
        padding: 0;
    }

    .login-back {
        border-bottom: 1px solid #dfdfdf;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .login-blocks .block {
        border: 0;
        margin-bottom: 30px;
    }

    .login-blocks .block:last-of-type {
        background-color: #fafafa;
        margin: 0;
    }

    .product-wrap .slider-two .owl-item {
        width: 19.4% !important;
    }

    .product-wrap .slider-two .owl-item:nth-of-type(6n+6) {
        margin: 0 2px !important;
    }

    .product-wrap .single-data {
        padding: 20px 0 0 !important;
    }

    .product-wrap .single-data .d-item .form-control {
        width: 20%;
    }

    .single-related .owl-nav {
        text-align: center;
        margin-top: 20px;
    }

    .cart-wrap,
    .category-wrap,
    .contact-wrap,
    .login-wrap,
    .privacy-wrap,
    .product-wrap {
        padding: 50px 0;
    }

    .products .owl-nav
    {
        display: none;
    }

   

    #size_pop .modal-content {
        border-radius: 20px;
    }

    #size_pop .modal-dialog,
    #preview_pop .modal-dialog {
        margin: 100px 10px 50px;
    }

}

/*--------------------------------------------------------------------------------------------------------*/

@media(max-width:424px){

    /*------------------ start navbar ------------------*/
    .main-head .main-menu ul.sub-menu
    {
        /* visibility: hidden !important; */
        border:none;
    }

    .main-menu .sub-menu .nav-prodect {
        transform: translate(21%, 100%);
        width: 300px;
        padding: 0px;
    }

    .main-head .main-menu .hover-li a:hover:after,
    .main-head .main-menu .hover-li a:hover:before, 
    .main-head .main-menu li.active a:after,
     .main-head .main-menu li.active a:before {
        height: 20px;
    }

    .main-head .main-menu li {
        margin: 0 !important;
    }


    .main-head .main-menu ul
    {
        opacity: 0;
        transition: all 0.2s ease-in-out;
    }

    .main-head .main-menu ul.active
    {
        opacity: 1;
    }

    .main-head .main-menu ul.sub-menu
    {
        height: 45%;
    }
    
    .main-head .main-menu .sub-menu li
    {
        padding: 0px 0 !important;
        background-color: white;
    }
    .menu-item-has-children .sub-menu li
    {
        height: 100%;
    }

    .menu-item-has-children .sub-menu li a.a
    {
        background-color: #ffffff03;
        height: 30px !important;
        line-height: 12px;
    }
    
    

    .menu-item-has-children .sub-menu li:hover>a {
        padding: 5px 15px !important;
    }

    .main-menu .sub-menu .nav-prodect .box {
        margin: 5px;
        border-radius: 5px;
    }

    .main-head .main-menu li 
    {
        /* margin: 0 0 0 30px !important; */
        display: block;
        width: 100%;
        text-align: center;
        padding: 4px 0 !important;
    }

    .main-head .main-menu li:first-of-type
    {
        padding-top: 0px !important;
    }


    .main-head .main-menu li a {
        padding: 20px 0;
        background-color: #ebaf3224;
    }

    .main-head .main-menu li .row a
    {
        background-color: #ffffff04;
    }

.main-head .icon-bar {
    cursor: pointer;
    margin-top: 25px !important;
    z-index: 9999;
    position: relative;
    float: right;
    
    transition: all 0.5s ease-in-out;
}

.main-head .icon-bar.active
{
    position: fixed;
    left: 25px;
}

.main-head .icon-bar .bar1, .bar2, .bar3 {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: 0.4s;
}



/* Rotate first bar */
.main-head .icon-bar.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-13px, 9px);
    transform: rotate(-45deg) translate(-8px, 4px);
}

/* Fade out the second bar */
.main-head .icon-bar.change .bar2 {
    opacity: 0;
}

/* Rotate last bar */
.main-head .icon-bar.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-12px, -8px);
    transform: rotate(45deg) translate(-10px, -6px);
}

/* The Overlay (background) */
.main-head .overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 9998; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

.main-head .overlay.active
{
    width: 100%;
}

/* Position the content inside the overlay */
.main-head .overlay-content {
    position: relative;
    top: 50%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
    transform: translatey(-50%);
    display: none
}

/* The navigation links inside the overlay */
.main-head .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.5s; /* Transition effects on hover (color) */
}

.main-head .overlay.active .overlay-content
{
    display: block;
    width: 50%;
    margin: auto;
}

/* When you mouse over the navigation links, change their color */
.main-head .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

/*-------- start nav in 8/3/2022 -----------*/
.subnav-content {
    height: 190px;
    width: 100%;
}

.subnav-content ul
{
    width: 100% !important;
}

.subnav-content ul li
{
    
}

.subnav-content ul li a
{
    width: 100%;
}

.subnav-content .subnav-content-conter {
    top: 0;
    transform: translateY(-35%);
    z-index: 9;
    min-height: 500px;
    width: 102%;
    left: -2px;
}

.subnav-content .subnav-content-conter .box-a {
    padding: 150px 15px 5px;
    overflow-x: hidden;
    overflow-y: auto;
}

.subnav-content .subnav-content-conter .box-a .box {
    padding: 10px;
}

.subnav-content .subnav-content-conter .box-b .frame {
    width: 240px;
    height: 120px;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/*------------------- end navbar -------------------*/

    .main-head .h-controls>ul>li>a i {
        font-size: 20px;
    }

    .h-controls ul:first-of-type {
        width: 150px;
        display: flex;
        justify-content: space-around;
        /* margin-left: 49px; */
    }

    .main-head .main-menu ul {
        /* display: none; */
        background-color: #afd3d369;
        width: 75%;
        top: 50%;
        right: 50%;
        position: absolute;
        transform: translate(50%,-50%);
        border: 1px solid #ebaf32;
        border-radius: 5px;
    }

    .main-head .h-controls>ul>li>a .badgo {
        margin-top: 20px;
        right: 7px;
        left: -9px !important;
    }

    .main-head .h-controls ul li.op-menu {
        display: inline-block;
        padding-right: 0;
    }

    .main-head .h-controls ul li.menu-item-has-children {
        display: none;
    }

    .main-head .main-menu {
        display: inline-block;
        text-align: right;
        padding: 0 10px;
    }

    .main-head .h-controls ul li:after {
        display: none !important;
    }

    .main-head .h-controls>ul>li {
        padding: 0px 10px !important;
    }

    .main-head .h-controls>ul>li>a {
        position: relative;
        padding: 0;
        font-size: 50px;
    }

    .main-head .logo img {
        object-fit: scale-down;
        margin: 0px 16px 0px;
        width: 50%;
    }

   

    .heros .item {
        height: 400px;
        padding: 150px 20px 20px;
    }

    .heros .item h3 {
        font-size: 22px;
    }

    .heros .item p {
        max-width: 100%;
        overflow: hidden;
        max-height: 46px;
        margin-bottom: 20px;
    }

    .heros .item .btn {
        height: 40px;
        line-height: 40px;
        font-size: 13px;
        padding: 0 20px;
    }

    .heros .owl-nav {
        display: none;
    }

    .post-img {
        padding: 50px 0 0;
    }

    .post-img .block .b-iner {
        height: 300px;
    }

    .post-img .block {
        margin-bottom: 20px;
    }

.product-wrap .single-data .d-item .btn {

    padding: 0 15px;
}


    .post-img .block:last-of-type {
        margin: 0;
    }

    .owl-carousel .owl-nav button.owl-next,
    .owl-carousel .owl-nav button.owl-prev,
    .prod-card .prod-img .p-actions a {
        width: 30px;
        line-height: 30px;
        height: 30px;
        font-size: 14px !important;
    }

    .post-img .owl-carousel .owl-nav button.owl-next,
    .post-img .owl-carousel .owl-nav button.owl-prev {
        top: 30%;
    }

    .products {
        padding: 50px 0;
    }

    .g-head {
        margin-bottom: 30px;
    }

    .g-head h3 {
        font-size: 25px;
    }

    .g-head h3:before {
        font-size: 33px;
        top: 15px;
    }

    .product-wrap .single-data .d-item>a {
        /* right: 10px; */
        /* position: absolute; */
        /* bottom: 10px; */
        margin: 20px auto 0px;
    }

    .product-wrap .single-extra .tab-pane {
        padding: 5px;
    }

    .product-wrap .single-extra .size-wrap .table td, .product-wrap .single-extra .size-wrap .table th {
        padding: 5px;
    }

    .product-wrap .single-extra p
    {
        padding: 5px;
        text-align: justify !important;
    }

    .vidwrap .v-cap a {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
        box-shadow: 0 0 0 8px rgb(255 255 255 / 50%);
        margin-bottom: 15px;
    }

    .vidwrap .v-cap p {
        font-size: 15px;
    }

    .clients {
        padding: 10px 0;
    }

    .insta-shop .g-body a {
        width: 20%;
        height: 130px;
    }

    .insta-shop .g-body {
        flex-wrap: wrap;
        justify-content: normal;
    }

    .insta-shop {
        padding-bottom: 0;
    }

    .f-top {
        padding: 20px 0 0;
    }

    .f-top .f-item h4 {
        font-size: 18px;
    }

    .f-bottom p {
        font-size: 13px;
    }

    .f-bottom p img {
        width: 100px;
    }

    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11 {
        max-width: 100%;
        width: 100%;
        flex: none;
    }

    .products .cardo,
    .category-wrap .cardo 
    {
        /* max-width: 33.33%; */
    }

    .vidwrap
    {
        height: 350px;
    }

    .f-top .f-item .form-group .form-control {
        width: 95%;
    }

    .about-item {
        padding-top: 30px;
    }

    .about-item .ab-data {
        padding: 20px 0 0 !important;
    }

    .breado {
        height: auto;
        padding: 100px 20px 50px
    }

    .breado h4 {
        font-size: 24px;
        overflow: hidden;
        max-height: 67px;
        text-overflow: ellipsis;
    }

    .account-wrap {
        padding: 30px 0;
    }

    .account-wrap .auth-name h3 {
        font-size: 20px;
    }

    .account-wrap .tab-content {
        padding: 20px 0 0 !important;
    }

    .account-wrap .acc-dets li {
        padding: 20px;
    }

    .account-wrap .panel-group .panel .panel-body .col-md-3 {
        padding: 15px;
    }

    .account-wrap .nav-tabs li a {
        font-size: 13px;
    }

    .table-extra .discount-wrap {
        padding-top: 30px;
    }



    .category-wrap .filter-head div div {
        max-width: none;
    }

    .filter-box .f-item {
        width: 50%;
        padding: 15px;
    }

    .filter-box .filter-inner {
        flex-wrap: wrap;
    }

    .filter-box {
        padding: 10px 5px;
    }

    .co-map {
        height: 300px;
    }

    .co-blocks .block {
        max-width: 50%;
    }

    .co-blocks .row {
        justify-content: center;
    }

    .login-wrap .login-box,
    .login-msg {
        max-width: none;
        border-radius: 20px;
        padding: 20px;
    }

    .login-blocks .block .login-box {
        padding: 0;
    }

    .login-back {
        border-bottom: 1px solid #dfdfdf;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .login-blocks .block {
        border: 0;
        margin-bottom: 30px;
    }

    .login-blocks .block:last-of-type {
        background-color: #fafafa;
        margin: 0;
    }

    .product-wrap .slider-two .owl-item {
        width: 19.4% !important;
    }

    .product-wrap .slider-two .owl-item:nth-of-type(6n+6) {
        margin: 0 2px !important;
    }

    .product-wrap .single-data {
        padding: 20px 0 0 !important;
    }

    .product-wrap .single-data .d-item .form-control {
        width: 30%;
    }

    .single-related .owl-nav {
        text-align: center;
        margin-top: 20px;
    }

    .cart-wrap,
    .category-wrap,
    .contact-wrap,
    .login-wrap,
    .privacy-wrap,
    .product-wrap {
        padding: 50px 0;
    }

    .products .owl-nav
    {
        display: none;
    }

   

    #size_pop .modal-content {
        border-radius: 20px;
    }

    #size_pop .modal-dialog,
    #preview_pop .modal-dialog {
        margin: 100px 10px 50px;
    }

    .prod-slider .owl-nav
    {
        display: none;
    }

    .prod-card .prod-data 
    {
        padding: 20px 5px;
    }

    .heros .owl-carousel .owl-nav button.owl-prev,
    .heros .owl-carousel .owl-nav button.owl-next
    {
        top: 90%;
    }
}