/* =========================
   RESPONSIVE FIXES
   MOTZ MOBILE FRIENDLY
========================= */

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
  .tab-pane .col-sm-3,
  .features_items .col-sm-4 {
    width: 50%;
    float: left;
  }

  .shop-menu {
    width: 100%;
    text-align: center;
  }

  .shop-menu ul {
    float: none;
    display: inline-block;
  }

  .search_box {
    width: 100%;
    margin-top: 15px;
  }

  .search_box input {
    width: 100%;
  }

  .footer-widget .col-sm-2 {
    width: 33.33%;
    float: left;
    margin-bottom: 30px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Header top */
  .header_top {
    text-align: center;
  }

  .header_top .col-sm-6,
  .header_top .pull-left,
  .header_top .pull-right {
    float: none !important;
    width: 100%;
    text-align: center;
  }

  .contactinfo ul,
  .social-icons ul {
    display: inline-block;
    padding-left: 0;
  }

  .contactinfo ul li,
  .social-icons ul li {
    display: inline-block;
    float: none;
  }

  /* Logo */
  .logo {
    text-align: center;
    width: 100%;
    margin-bottom: 12px;
  }

  .logo img {
    max-width: 170px;
    height: auto;
  }

  /* Account / cart menu */
  .shop-menu {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .shop-menu.pull-right {
    float: none !important;
  }

  .shop-menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-left: 0;
    margin: 0;
  }

  .shop-menu ul li {
    float: none;
    padding: 4px 8px;
  }

  .shop-menu ul li a {
    font-size: 13px;
    padding: 6px 4px;
  }

  /* Search box */
  .search_box {
    width: 100%;
    margin: 15px 0;
  }

  .search_box input {
    width: 100%;
    height: 42px;
    border-radius: 25px;
    padding: 0 15px;
    border: 1px solid #ddd;
  }

  /* Mobile menu */
  .header-bottom {
    position: relative;
  }

  .navbar-toggle {
    float: right;
    margin-right: 0;
    border-radius: 6px;
  }

  .mainmenu {
    width: 100%;
  }

  .mainmenu.pull-left {
    float: none !important;
  }

  .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
  }

  .navbar-collapse.in {
    overflow: visible;
  }

  .mainmenu ul.navbar-nav {
    margin: 0;
    width: 100%;
  }

  .mainmenu ul li {
    width: 100%;
    background: #111;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 0;
  }

  .mainmenu ul li a {
    color: #fff;
    padding: 13px 18px;
    font-size: 14px;
  }

  .mainmenu ul li a:hover,
  .mainmenu ul li a.active {
    background: #B71C2B;
    color: #fff;
    padding-left: 22px;
  }

  /* Dropdown should not overflow */
  ul.sub-menu {
    position: static;
    display: block;
    width: 100%;
    background: #222;
    box-shadow: none;
    padding-left: 0;
  }

  .mainmenu .navbar-nav li ul.sub-menu li {
    background: #222;
  }

  .mainmenu .navbar-nav li ul.sub-menu li a {
    padding-left: 35px;
    font-size: 13px;
  }

  .dropdown .fa-angle-down {
    display: none;
  }

  /* Slider */
  #slider-carousel .item,
  .item {
    padding-left: 0;
    text-align: center;
  }

  .item h1 {
    font-size: 30px;
  }

  .item h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  .item p {
    font-size: 14px;
  }

  .girl {
    margin-left: 0;
    max-width: 100%;
  }

  .pricing {
    width: 75px;
  }

  /* Product grid */
  .features_items .col-sm-4,
  .tab-pane .col-sm-3 {
    width: 100%;
    float: none;
  }

  .product-image-wrapper {
    margin-bottom: 22px;
    border-radius: 14px;
    overflow: hidden;
  }

  .single-products {
    text-align: center;
  }

  .productinfo img {
    width: 100%;
    height: auto;
  }

  .productinfo h2 {
    font-size: 20px;
  }

  .productinfo p {
    font-size: 14px;
  }

  .add-to-cart {
    border-radius: 25px;
    padding: 9px 18px;
  }

  /* Category sidebar */
  .left-sidebar {
    margin-bottom: 25px;
  }

  .category-products,
  .brands_products,
  .price-range {
    margin-bottom: 20px;
  }

  /* Cart table */
  #cart_items .cart_info {
    overflow-x: auto;
    width: 100%;
  }

  #cart_items .cart_info table {
    min-width: 650px;
  }

  #cart_items .cart_info .cart_description h4 a {
    font-size: 14px;
  }

  #cart_items .cart_info .cart_description p {
    font-size: 12px;
  }

  /* Forms */
  #form {
    margin-top: 15px;
  }

  .form-one,
  .form-two,
  .bill-to {
    width: 100%;
    margin-left: 0;
    margin-top: 15px;
  }

  input,
  select,
  textarea {
    max-width: 100%;
  }

  .order-message {
    width: 100%;
    display: block;
  }

  /* Product details */
  .product-information {
    margin-top: 25px;
    padding-left: 0;
    text-align: center;
  }

  .product-information span {
    display: block;
  }

  .product-information span span {
    float: none;
    width: 100%;
  }

  .product-information .cart {
    margin-left: 0;
    margin-top: 15px;
  }

  /* Footer */
  .footer-widget {
    text-align: center;
  }

  .footer-widget .col-sm-2,
  .footer-widget .col-sm-3 {
    width: 100%;
    float: none;
    display: block;
    margin: 0 0 25px 0;
    padding: 0 15px;
  }

  .single-widget {
    padding-left: 0;
  }

  .footer-bottom .pull-left,
  .footer-bottom .pull-right {
    float: none !important;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 13px;
    text-align: center;
    margin-bottom: 8px;
  }

  .social-icons.pull-right {
    float: none !important;
    text-align: center;
  }

  .social-icons ul li a i {
    padding: 8px 10px;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .logo img {
    max-width: 145px;
  }

  .shop-menu ul li a {
    font-size: 12px;
  }

  .mainmenu ul li a {
    font-size: 13px;
    padding: 12px 15px;
  }

  .item h1 {
    font-size: 26px;
  }

  .item h2 {
    font-size: 18px;
  }

  .title {
    font-size: 18px;
  }

  .features_items {
    margin-top: 25px;
  }

  .productinfo h2 {
    font-size: 18px;
  }

  .productinfo p {
    font-size: 13px;
  }

  .category-tab ul li {
    width: 100%;
    float: none;
  }

  .category-tab ul li a {
    font-size: 13px;
    text-align: center;
  }

  #reviews form span input {
    width: 100%;
    margin-bottom: 15px;
  }

  #reviews form span input:last-child {
    margin-left: 0;
  }

  .content-404 h1 {
    font-size: 28px;
  }

  .content-404 h2 a {
    font-size: 18px;
  }
}