@media (min-width: 768px) {
  .md-hidden {
    display: none !important;
  }

  .md-show {
    display: block;
  }
}

@media (min-width: 992px) {
  .lg-hidden {
    display: none;
  }

  .lg-show {
    display: block;
  }
}

@media (max-width: 1399px) {
  .category-list-dropdown {
    width: 215%;
  }
}

@media (max-width: 1199px) {
  /* Global variables */
  :root {
    /* Special font sizes */
    --font-size-sec-heading: 34px;
    --font-size-page-heading: 22px;

    /* General font sizes */
    --font-size-xs: 13px;
    --font-size-sm: 15px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 22px;
    --font-size-xxl: 28px;

    /* Category font sizes */
    --font-size-box-lg: 30px;
    --font-size-box-md: 22px;
    --font-size-box-sm: 18px;
  }

  /* Header */
  .search-box input {
    padding: 0 15px;
    height: 46px;
  }

  .search-icon {
    left: calc(100% - 25px);
  }

  .search-icon i {
    font-size: 20px;
  }

  .header-info img {
    width: 32px;
  }

  /* Category */
  .category-list-dropdown {
    width: 218%;
  }

  /* Slider */
  #home-slider {
    overflow-x: hidden;
  }

  /* Category */
  .category-box.box-md h3 {
    top: 28px;
  }

  /* Footer */
  #subscribe-form .form-control {
    height: 46px;
  }

  /* Catalog */
  .category-filter-count,
  .category-filter-price,
  .order-filter-date,
  .order-filter-status {
    justify-content: center;
  }

  .category-filter-count span,
  .category-filter-price span,
  .order-filter-date span,
  .order-filter-status span {
    width: 36%;
  }

  .category-filter-count {
    margin-bottom: 10px;
  }
}

@media (max-width: 991px) {
     .footer-main-title{
        text-align: center;
    }
    .footer-center{
        display: flex!important;
        justify-content: center!important;
        text-align: center;
    }
    .footer-main-cats,
    .footer-main-menues{
        display: flex;
        justify-content: center;
        height: 100%;
        margin-top: 25px;

    }
    .footer-main-cats li,
    .footer-main-menues li {
        width: 100%;
        display: flex!important;
        justify-content: center!important;
        text-align: center;
    }
    .header-on-scroll{
        display: none!important;
    }
  :root {
    /* Special font sizes */
    --font-size-sec-heading: 32px;
    --font-size-page-heading: 20px;

    /* General font sizes */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 15px;
    --font-size-lg: 16px;
    --font-size-xl: 20px;
    --font-size-xxl: 24px;

    /* Category font sizes */
    --font-size-box-lg: 26px;
    --font-size-box-md: 22px;
    --font-size-box-sm: 16px;
  }

  /* Basic */
  .xs-lg-hidden {
    display: none;
  }

  .xs-lg-show {
    display: block;
  }

  .btn-general {
    height: 50px;
    width: 170px;
  }

  /* Header */
  .search-box input {
    height: 40px;
  }

  .header-info img {
    width: 30px;
  }

  .user-image i {
    font-size: 32px;
  }

  .header-info .shopping-cart,
  .header-info .whish-list {
    margin-left: 25px;
  }

  .category,
  .nav,
  .nav-item-container {
    height: 60px;
  }

  .nav-item-container {
    margin: 0 10px;
  }

  .dropdown-container .category-dropdown-item {
    display: flex;
    width: 48%;
    margin: 1%;
    margin-bottom: 20px;
  }

  .category-dropdown-heading {
    padding: 8px 0 !important;
  }

  .category-list-dropdown {
    width: 225%;
  }

  /* Category */
  .space-between-2 {
    flex-direction: row;
    margin-top: 24px;
  }

  #category-2 {
    padding: 50px 0 26px;
  }

  #category-2 .container {
    transform: translate(0);
    -webkit-transform: translate(0);
    -moz-transform: translate(0);
    -ms-transform: translate(0);
    -o-transform: translate(0);
  }

  #category-2 .category-box {
    margin-bottom: 24px;
  }

  .category-head img {
    margin: 0 10px;
  }

  .category-list-item img {
    margin-right: 10px;
    margin-left: 8px;
  }

  .category-list-item a img {
    margin: 0 10px;
  }

  /* Footer */
  .custom-flex-logo {
    align-items: center !important;
  }

  .custom-flex-info {
    justify-content: center !important;
  }

  #footer-general {
    padding: 60px 0 30px;
  }

  .footer-social {
    width: 100%;
    margin: 25px 0;
  }

  .footer-info {
    margin-top: 25px;
    align-items: center !important;
  }

  #subscribe-form {
    width: 80%;
  }

  /* Catalog */
  /* Pagination */
  .pagination .page-item {
    width: 40px;
    height: 40px;
    margin: 0 6px;
  }

  /* About */
  #about-info img {
    padding: 0;
  }

  #about-info h2,
  #about-info p {
    margin-bottom: 25px;
  }

  /* Contact */
  .map-responsive {
    margin: 15px 0;
  }

  .contact-form-wrapper {
    margin-top: 0;
  }

  .contact-form {
    margin-top: 30px;
  }

  .contact-form form {
    margin-bottom: 0;
  }

  .contact-box {
    margin-bottom: 30px;
    border: none !important;
  }

  /* Product */
  .product-count {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 50px;
  }

  .product-count .counter {
    margin: 0;
    margin-bottom: 20px;
  }

  /* Order */
  .order-info-wrapper,
  .form-wrapper {
    margin: 0;
    margin-bottom: 40px;
  }

  .order-heading {
    text-align: center;
  }

  #order-form input {
    margin-bottom: 18px;
    height: 50px;
  }

  #btn-confirm {
    height: 50px;
  }

  /* Shopping cart */
  .shopping-cart-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

  .shopping-cart-table thead {
    display: none;
  }

  .shopping-cart-table tbody {
    padding: 20px;
    width: 60%;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
  }

  .shopping-cart-table td,
  .shopping-cart-table tr {
    display: flex;
    flex-direction: column;
    text-align: center !important;
    border: none;
    width: 100% !important;
  }

  .shopping-cart-table td {
    margin-bottom: 10px;
  }

  .shopping-cart-table td:first-child {
    margin-bottom: 30px;
  }

  .shopping-cart-table img {
    width: 250px;
    margin: 0 auto;
  }

  .shopping-cart-table button {
    margin: 0 auto;
  }

  .cart-info {
    margin-bottom: 30px;
  }

  .item-key {
    font-weight: 400;
    margin-bottom: 5px;
  }

  .item-value {
    font-weight: 500;
  }

  /* Category */
  .category-sidebar {
    margin-bottom: 30px;
    display: none;
  }

  /* My orders */
  .order-item {
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    width: 376px;
    margin: 0 auto 30px;
    text-align: center;
  }

  .order-item .row {
    border: none;
  }

  .order-item div[class^="col"] {
    border-right: none!important;
    flex-direction: column;
  }

  .order-item img {
    margin: 0;
  }

  .order-item p {
    font-weight: 500;
  }

  .order-item span {
    margin-bottom: 5px;
  }

  .order-item .btn-general {
    margin: 18px 0 0;
  }

  .order-filter-date {
    margin-bottom: 10px;
  }

  /* Register */
  #register .register-right {
    box-shadow: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
  }

  .signin .register-form,
  .reset-pass .register-form {
    width: 100%;
  }
  
  /* Orders Tab */
  .multi-order-outer .order-expand i, .multi-order-outer .order-image i {
    margin: 0;
  }
}

@media (max-width: 767px) {
  :root {
    /* Special font sizes */
    --font-size-sec-heading: 28px;
    --font-size-page-heading: 20px;

    /* General font sizes */
    --font-size-xs: 11px;
    --font-size-sm: 12px;
    --font-size-md: 14px;
    --font-size-lg: 15px;
    --font-size-xl: 18px;
    --font-size-xxl: 22px;

    /* Category font sizes */
    --font-size-box-lg: 26px;
    --font-size-box-md: 22px;
    --font-size-box-sm: 16px;
  }

  /* Basic */
  .xs-md-show {
    display: block;
  }

  .xs-md-hidden {
    display: none !important;
  }

  .inner-sec-heading h2 {
    text-align: center;
  }

  .inner-sec-heading h2:after {
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
  }

  .btn-general {
    height: 45px;
    width: 160px;
  }
  
  #btn-scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
.header-social {
        align-items: flex-end !important;
    }
    .header-social .btn-signup,
    .header-social .btn-signin {
        border: 0;
        background-color: transparent !important;
        color: #fff;
        position: relative;
        padding:2px 0;
        margin:0 8px!important;
    }
    .header-social .btn-signup::before,
    .header-social .btn-signin::before {
        content: "";
        display: block;
        position: absolute;
        width: 0px;
        height: 1px;
        bottom: 0;
        left: 0;
        background-color: #fff;
        transition: all 250ms linear;
        opacity: 0;
        visibility: hidden;
    }

    .header-social .btn-signup:hover::before,
    .header-social .btn-signin:hover::before {
        width: 100%;
        opacity: 1;
        visibility: visible;
    }
  /* Header */
  .header-social {
    flex-direction: column;
  }

  .header-social .right {
    flex-direction: column;
  }

  .header-social .page-list .page-item {
    margin: 0 10px;
  }

  .header-social .btn {
    margin: 5px;
  }

  .header-logo {
    justify-content: center;
  }

  .header-logo img {
    width: 100px;
  }

  .header-top .header-social ul {
    justify-content: center;
  }

  .header-bottom {
    margin-top: 0;
  }

  .header-bottom:after {
    display: none;
  }

  #home-slider {
    padding: 12px;
  }

  .shopping-cart span {
    top: -5%;
    left: 65%;
  }

  .nav {
    height: 50px;
  }

  .mobile-nav-list .nav-item {
    margin-bottom: 5px;
  }

  .mobile-category-heading a {
    justify-content: center;
  }


  /* Tools */
  .tool-box {
    width: 350px;
  }

  /* Category */
  .space-between-1 {
    flex-direction: row;
    margin-top: 24px;
  }

  /* Footer */
  #subscribe-form {
    width: 90%;
  }

  #btn-subscribe {
    width: 150px;
  }

  #subscribe-form .form-control {
    height: 40px;
  }

  .footer-logo img {
    width: 140px;
  }

  /* Pagination */
  .pagination .page-item {
    width: 35px;
    height: 35px;
    margin: 0 5px;
  }

  .contact-form-wrapper {
    margin-top: 0;
  }

  /* Product */
  .show img {
    width: 65% !important;
  }

  .small-container {
    width: 280px;
  }

  .small-container .show-small-img {
    width: 60px;
  }

  .product-info-data {
    margin-top: 40px;
    text-align: center;
  }

  .product-count {
    margin-top: 30px;
    align-items: center;
  }

  .product-pic {
    width: 350px;
  }

  .product-path {
    text-align: center;
  }

  .product-info-data strong {
    margin-left: 10px;
  }

  .product-info-data h5 {
    font-size: 18px;
  }

  /* Cart */
  .shopping-cart-table tbody {
    width: 80%;
  }

  .shopping-cart-table td {
    margin-bottom: 6px;
  }

  .shopping-cart-table img {
    width: 200px;
  }

  .shopping-cart-table td:first-child {
    margin-bottom: 20px;
  }

  .cart-heading {
    font-size: 20px;
  }

  /* Register */
  #register {
    padding: 0;
  }

  .welcome-user {
    justify-content: center !important;
  }
}

@media (max-width: 575px) {
  :root {
    --font-size-box-lg: 22px;
    --font-size-box-md: 22px;
    --font-size-box-sm: 17px;
  }

  /* Header */
  .header-social .page-list .page-item {
    margin: 0 6px;
  }

  .header-social .btn {
    margin: 3px 5px;
  }

  .mobile-nav {
    padding: 20px;
  }

  .mobile-nav-wrapper {
    flex-direction: column;
  }

  .mobile-nav-info {
    padding-top: 10px;
  }

  .mobile-nav-info .shopping-cart {
    margin-right: 15px !important;
  }

  .mobile-nav-info .wp-info {
    padding-left: 15px;
  }

  .mobile-category-body.active {
    min-width: 260px;
    padding: 15px 5px;
  }

  /* Footer */
  .footer-logo img {
    width: 100px;
  }

  /* Ctegory */
  .space-between-1,
  .space-between-2 {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 0;
  }

  .category-box {
    margin-bottom: 24px;
  }

  #category .category-box h3 {
    font-size: 20px;
  }

  #category .category-box.box-large h3 {
    top: 15px;
    left: 15px;
  }

  #subscribe-form {
    width: 100%;
  }

  #btn-subscribe {
    width: 125px;
  }

  /* Product */
  .show img {
    width: 250px !important;
  }

  .small-container {
    width: 185px;
  }

  .small-container .show-small-img {
    width: 55px;
    margin: 0 3px;
  }

  .small-img .icon-left,
  .small-img .icon-right {
    height: 18px;
  }

  /* Cart */
  .shopping-cart-table tbody {
    width: 100%;
  }

  /* Category */
  #register .register-form {
    padding: 60px 0px;
  }
  
  .order-tabs {
        flex-direction: column;
    }

    .order-tabs .tab {
        width: 100%;
        font-size: 15px;
    }
}

@media (max-width: 400px) {
  .tool-box {
    width: 100%;
  }

  .tool-box:hover {
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
  }

  /* Category - page */
  .category-filter-count,
  .category-filter-price,
  .order-filter-date,
  .order-filter-status {
    flex-direction: column;
  }

  .category-filter-count select,
  .category-filter-price select,
  .order-filter-date select,
  .order-filter-status select {
    margin: 0;
    width: 100%;
  }

  .category-filter-count span,
  .category-filter-price span,
  .order-filter-date span,
  .order-filter-status span {
    width: auto;
  }

  .order-item {
    width: 100%;
  }

  /* Registration */
  .signin .form-bottom {
    flex-direction: column;
  }

  .profile-form .button-group {
    flex-direction: column-reverse;
  }

  .profile-form .btn-general {
    width: 100%;
  }

  .profile-form .btn-general:first-child {
    margin-top: 14px;
  }
}


@media only screen and (min-width: 992px) and (max-width: 1400px) {
    .cart-info form{
        flex-direction:column !important;
    }
}
