﻿
@media all and (max-width: 1000px) {
  .home-page-category-grid, .sub-category-grid, .manufacturer-grid, .vendor-grid {
    margin: 20px;
  }

  .product-item .buttons {
    opacity: 0.9;
    bottom: 0;
  }
  .flyout-cart {
    display: none;
  }
  .store-search-box {
    top: 48px;
  }

  .cart {
    display: block;
  }

    .cart colgroup,
    .cart thead {
      display: none;
    }

    .cart tbody {
      display: block;
      overflow: hidden;
    }

    .cart tr {
      display: block;
      float: right;
      width: 100%;
    }

    .cart td {
      display: block;
      border: none;
      padding: 10px;
    }

      .cart td.remove-from-cart {
        border-bottom: 1px solid #ddd;
        padding: 10px;
      }

      .cart td.product-picture {
        border-top: 1px solid #ddd;
        padding: 0;
      }

      .cart td.product {
        min-width: 0;
        border-bottom: 1px solid #ddd;
        padding: 6px 8px;
        text-align: right;
      }

      .cart td.quantity {
        display: inline-block;
        vertical-align: middle;
      }

      .cart td.unit-price,
      .cart td.subtotal {
        display: inline-block;
        padding: 0px 10px;
        vertical-align: middle;
      }

  .order-details-page .data-table {
    display: block;
  }

    .order-details-page .data-table colgroup,
    .order-details-page .data-table thead {
      display: none;
    }

    .order-details-page .data-table tbody {
      display: block;
      overflow: hidden;
    }

    .order-details-page .data-table tr {
      display: block;
      float: right;
      width: 100%;
      margin: 40px 0 0;
      border: 1px solid #ddd;
    }

    .order-details-page .data-table td {
      display: block;
      border: none;
      padding: 10px;
    }

      .order-details-page .data-table td.product,
      .order-details-page .data-table td.tracking-number {
        min-width: 0;
        border-bottom: 1px solid #ddd;
        padding: 5px 10px 15px;
        text-align: center;
      }

  .registration-page .fieldset .form-fields .inputs.half-width {
    width: 100%;
  }
  /*** MOBILE NAVIGATION ***/


  .header-menu {
    position: fixed;
    top: 48px;
    right: -400px;
    height: 100%;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 5px 8px rgba(153,153,153,.3);
    width: 286px;
    transition: all .3s;
  }

  .smart-megamenu-active .header-menu.show {
    right: 0;
    top: 48px;
  }

  .header-menu-middle {
    min-width: unset;
  }

  .header-upper:after {
    display: none;
  }

  .menu-toggle {
    background: var(--primary-color) url('../images/menu-icon.png') left center no-repeat;
    padding: 15px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
  }

  .top-menu {
    display: none;
  }

    .top-menu > li {
      position: relative;
      margin: 1px 0;
      background-color: #f6f6f6;
    }

      .top-menu > li > a {
        display: block;
        min-height: 55px;
        padding: 18px;
        font-size: 15px;
        color: #555;
      }

        .top-menu > li > a:focus {
          position: relative;
          z-index: 1;
        }

    .top-menu .sublist {
      display: none;
      background-color: #fff;
      padding: 5px 0;
    }

      .top-menu .sublist li {
        position: relative;
        margin: 1px 20px 1px 0;
      }

        .top-menu .sublist li a {
          display: block;
          padding: 15px 18px;
          font-size: 15px;
        }

  .sublist-toggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 55px;
    height: 55px;
    border-right: 1px solid #fff;
    padding: 15px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
  }

  .sublist .sublist-toggle {
    height: 49px;
  }

  .sublist .sublist li {
    background-color: #f6f6f6;
  }

  .sublist .sublist .sublist li {
    background-color: #fff;
  }

  .block-category-navigation {
    display: none;
  }

  .block-account-navigation {
    float: none;
    margin: auto !important;
  }

  .write-review .review-rating {
    text-align: center;
  }

    .write-review .review-rating div.name-description {
      width: 100%;
      margin: 0 0 0 5px;
      text-align: center;
    }


  .center-2 .product-selectors {
    display: flex;
    justify-content: space-between;
  }

    .center-2 .product-selectors .product-sorting {
    }

      .center-2 .product-selectors .product-sorting > span {
        display: none;
      }

      .center-2 .product-selectors .product-sorting #products-orderby {
        padding-right: 0;
        margin-right: 0;
      }

    .center-2 .product-selectors .product-page-size {
      margin-left: 0;
    }

      .center-2 .product-selectors .product-page-size span:last-child {
        display: none;
      }

      .center-2 .product-selectors .product-page-size #products-pagesize {
        margin-left: 0;
        background: none;
      }

  .side-2 {
    position: fixed;
    top: 0;
    right: -120%;
    transition: all 0.3s;
    width: clamp(270px, 3vw, 320px);
    z-index: 1;
    box-shadow: -2px 3px 3px rgba(119, 118, 121, 0.25);
    padding: 0;
    height: 100%;
  }

    .side-2:before {
      content: "";
      background: var(--black);
      position: fixed;
      height: 100%;
      width: 100%;
      z-index: 100;
      opacity: 0.6;
      right: 0;
      top: 0;
      display: none;
    }

    .side-2.open {
      right: 0;
      z-index: 100;
    }

      .side-2.open:before {
        display: block;
      }

    .side-2 .side-2-container {
      width: 100%;
      height: 100%;
      padding: 15px;
      overflow-y: auto;
      overflow-x: visible;
      position: relative;
      z-index: 1000;
      background: var(--white);
    }

  .product-details-page {
    padding: 0 0 0;
  }

    .product-details-page .product-essential .gallery {
      margin: 0 auto 10px;
    }

      .product-details-page .product-essential .gallery .picture-gallery .swiper-buttons {
        display: block;
      }

      .product-details-page .product-essential .gallery .picture-gallery .picture {
        display: flex;
        overflow: visible;
        gap: 0;
      }

      .product-details-page .product-essential .gallery .picture-gallery #show-more {
        display: none !important;
      }

    .product-details-page .tab-wrapper {
      flex-direction: column;
    }

      .product-details-page .tab-wrapper .new-product-in-details-page {
        width: 100%;
      }

  .carousel-grid .swiper-button-prev:before {
    right: 103%;
  }





  .shopping-cart-page .order-summary-content .table-wrapper .cart tbody tr {
    background: #fff;
    width: 100%;
  }

  table.cart colgroup {
    display: none;
  }

  table.cart > tbody {
    display: flex;
  }

    table.cart > tbody tr {
      display: flex;
    }

  .order-summary table tbody tr:nth-child(even) td {
    background: transparent;
  }


  .shipping-types-wrapper .container .shipping-types {
    display: flex;
    padding-block: 20px;
    gap: 30px;
    text-align: center;
    flex-wrap: wrap;
  }

    .shipping-types-wrapper .container .shipping-types .col-md-3 {
      width: calc(50% - 20px);
    }

  .shipping-types-wrapper .shipping-type {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-direction: column;
  }

  .shipping-type--icon img {
    min-width: 38px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .listt, .footer-logo {
    padding-inline: 15px;
    padding-bottom: 20px;
  }

  .wishlist-content .table-wrapper {
    box-shadow: none;
  }

    .wishlist-content .table-wrapper tr {
      margin-top: 0;
    }

    .wishlist-content .table-wrapper table.cart tbody td label {
      display: inline-block;
      font-size: 14px !important;
      font-weight: 600;
    }

  .wishlist-content .add-to-cart label:before {
    right: 0 !important;
    top: 0 !important;
    transform: none;
  }

  .wishlist-content .add-to-cart input[type=checkbox]:checked + label:after {
    right: 0 !important;
    top: 0 !important;
    transform: none;
  }

  .wishlist-content .table-wrapper tbody {
    display: block;
  }

    .wishlist-content .table-wrapper tbody tr {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      text-align: center;
      margin-bottom: 20px;
    }

  .wishlist-content .table-wrapper table.cart > tbody td {
    text-align: center;
    padding-block: 8px;
    border-bottom: 1px solid #E5EAED;
  }

  .wishlist-content .table-wrapper .cart td.product-picture {
    border-top: none;
  }

  .wishlist-content .table-wrapper table.cart tbody td.product .product-name {
    text-align: center;
  }

  .wishlist-content .table-wrapper tbody tr td.add-to-cart {
    -ms-grid-row: 1/2;
    grid-column: span 3;
  }

  .wishlist-content .table-wrapper tbody tr td.sku {
    grid-column: span 3;
  }

  .wishlist-content .table-wrapper tbody tr td.product-picture {
    grid-column: span 3;
  }

  .wishlist-content .table-wrapper tbody tr td.product {
    grid-column: span 3;
    max-width: 100%;
  }

  .wishlist-content .table-wrapper tbody tr td.quantity {
    margin-right: 0;
  }

    .wishlist-content .table-wrapper tbody tr td.quantity .qty-input {
      height: auto;
      padding: 0;
    }

  .wishlist-content .table-wrapper tbody tr td.remove-from-cart {
    grid-column: span 3;
  }

  .wishlist-content .buttons {
    display: block;
  }
}
