.m-show-both{
    display: block;
  }
   .m-show-desktop{
    display: block;
  }
  .m-show-mobile{
    display: none;
  }
  .m-container {
    width: 100%;
    margin: auto;
  }
  .m-sub-product-container {
    overflow-x: auto;
    display: flex;
    width: 100%;
    gap: 10px;
    padding-bottom: 10px;
  }
  .m-product-item-url {
    cursor: pointer;
    text-decoration: none;
    color: #000;
    width: 25%;
    flex-shrink: 0;
  }
  .m-sub-product-items img {
    width: 100%;
    height: 270px;
    object-fit: cover;
  }
  
  .m-sub-product-items{
    background: #fff;
    text-align: center;
  }
  
  .m-sub-product-content {
    font-size: 12px;
    background: #fff;
    text-align: left;
    margin-top: 10px;
  }
  
  .m-sub-product-content p {
    margin: 0;
    font-size: 13px;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-transform: capitalize;
  }
  .floatingBtnForDesktopFree {
    bottom: 20px;
    right: 20px;
  } 
  .m-btn{
    display: none;
    cursor: pointer;
  }
  .m-popup{
    width: 100%;
  }
  .m-close-btn{
    display: none;
  }
  .m-btn-size{
    position: relative;
    height: 50px;
    background: #24ade3;
    margin: auto;
    display: flex;
    width: 50px;
    border-radius: 50%;
    font-size: 25px;
    padding: 25px;
  }
  .m-scrollTo-sp {
    position: fixed;
    cursor: pointer;
    z-index: 99999;
    border-radius: 50px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 1px 1px 5px 2px #00000040;
    -webkit-transition: max-width 800ms cubic-bezier(0.65, 0.05, 0.36, 1);
    -moz-transition: max-width 800ms cubic-bezier(0.65, 0.05, 0.36, 1);
    transition: max-width 800ms cubic-bezier(0.65, 0.05, 0.36, 1);
  }
  .m-scrollTo-icon {
    display: flex;
  }    
  .m-hiddenTooltip, .m-hiddenTooltipMobile  {
    margin: 0; 
    font-size: 13px;
    font-weight: bold;
    padding-right: 5px;
    text-transform: uppercase;
    width: 100%;
  }
  .m-compare, .m-price {
    font-size: 13px;
  }
  .m-addToCart:hover {
    text-decoration: underline;
  }
  .m-addToCart {
    display: block;
    text-decoration: none;
    color: unset;
    font-size: 12px;
    margin: 0;
    padding: 12px;
    border-top: 1px solid #f0ebeb;
  }
  .merox-loader-sp {
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid black;
    width: 11px;
    height: 11px;
    display: block;
    text-align: center;
    margin: 0 auto;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
  }
  .m-main-popup {
    position: relative;
  }
  .m_similar_products_footer_mob { 
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    position: absolute;
    padding: 6px 0;
    bottom: 0;
    width: 100%;
    color: white;
    background: linear-gradient(rgb(243 243 243 / 44%) 0%, rgb(46 46 46 / 78%) 100%);
  }
  .m_similar_products_footer_des {
    text-align: right;
    width: 100%;
    margin: 10px 0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: inherit;
  } 
  .m_similar_products_footer img {
    width: auto;
    height: 22px;
    vertical-align: sub;
  } 
  .m_similar_products_footer a {
    text-decoration: none;
    color: white;
  } 
  .m_similar_products_footer a:hover {
    text-decoration: underline;
  }
  .m_view_similar_wrapper {
    display: none;
  }
  .m_view_similar_btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: inherit;
    font-size: 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    background: white;
    padding: 5px;
    border: 1px solid;
  }
  .m_view_similar_btn img {
    width: auto;
    height: 20px;
    display: block;
  }
  .m-heading-content {
    text-align: center;
    line-height: normal;
  }
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  .m-popup {
    position: fixed;
    width: 100%;
    /* height: 35vh; */
    display: none;
    justify-content: center;
    align-items: center;
    /* overflow: hidden; */
    bottom: 0;
    z-index: 999999;
  }
  .m-addToCart a {
    color: black;
    text-decoration: unset;
  } 
  .m-popup-overlay {
    top: 0;
    background-color: rgba(0, 0, 0, 0.575);
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 999;
    visibility: hidden;
  }
  .m-main-popup {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 20px 35px 20px;
    line-height: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translatey(100%);
  }
  .m-product-item-url {
    background: white;  
  }
  
  .m-scrollTo-sp:hover {
    max-width: 100%;
  }
  @keyframes slide-down {
    0% {
        transform: translatey(100%);
    }
    100% {
        transform: translatey(0);
    }
  }
  @keyframes slide-out {
    0% {
        transform: translatey(0);
    }
    100% {
        transform: translatey(100%);
    } 
  }
  @keyframes slide-down-desktop {
    0% {
        transform: translatex(100%);
    }
    100% {
        transform: translatex(0);
    }
  }
  @keyframes slide-out-desktop {
    0% {
        transform: translatex(0);
    }
    100% {
        transform: translatex(100%);
    } 
  }
  @media(max-width: 768px) {
  .m-close-btn {
    cursor: pointer;
    transition: .5s ease all;
    display: block;
    margin-top: 0;
  }
  .m-close-btn:hover {
    background: white;
  }
    .floatingBtnForDesktop {
      display: none;
    }
  .m-heading-content {
    text-align: left;
  }
    .m_similar_products_footer_des {
      display: none;
    }
    .m_popup_header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    .m-heading-content {
      margin-top: 10px;
    }
    .m-show-desktop {
      display: none;
    }
    .m-show-mobile {
      display: block;
    }
    .m-container {
      display: flex;
      width: 100%;
      justify-content: center;
    }
    
    .m-sub-product-content {
      font-size: 12px;
      font-weight: 500;
      background: #fff;
      margin: 10px;
      line-height: 1.3;
    }
    .m_sp_productTitle {
      padding: 0 0 10px 0;
    }
    .m-btn {
      display: inline-flex;
      z-index: 99;
      position: fixed;
      transition: .5s ease all;
    }
    .m-btn-bottom {
      bottom: -50px;
      left: 50%;
      transform: translateX(-50%);
    }
    #m-btn-effect {
      position: relative;
      height: 50px;
      margin: auto;
      display: flex;
      width: 50px;
      border-radius: 50%;
      font-size: 25px;
      padding: 40px;
      opacity: 1;
    }
    .m-btn-top {
      position: absolute;
      bottom: 50%;
      transform: translate(-50%, -50%);
      left: 50%;
    }
    .m-btn-scroll{
      display: none;
    }
    .m-compare, .m-price {
      font-size: 12px;
    }
    .m-sub-product-items img {
      height: 30vw;
    }
    .m-product-item-url {
      width: 33%;
      border: 1px solid #f0ebeb;
    }
    .m-sub-product-container::-webkit-scrollbar{
      display:none;
    } 
    .m-desktop-close-btn, .m-hiddenTooltipMobile  {
      display: none;
    }
  }
  
  @media (min-width:769px){
    .m-hiddenTooltip  {
      opacity: 0;
      position: absolute;
      overflow: hidden;
    }
    .m-scrollTo-sp:hover .m-hiddenTooltip {
      position: relative;
      opacity: 1;
      max-width: 100%;
    } 
    .m-main-popup::-webkit-scrollbar {
      width: 5px;
      height: 5px;
      margin-left: 0.5rem;
    }
    .m-main-popup::-webkit-scrollbar-track {
      background: transparent;
      border:1px solid #dfdfdf;
    }
  
    .m-main-popup::-webkit-scrollbar-thumb {
      background: #888;
      border-radius: 10rem;
    }
  
    .m-main-popup::-webkit-scrollbar-corner {
      display: none;
    }
  
    .m-main-popup::-webkit-scrollbar-thumb:hover {
      background: #555;
    }
    .m-desktop-close-btn {
      display: block;
      margin: 0;
      cursor: pointer;
      transition: .5s ease all;
    }
    .m-sub-product-container::-webkit-scrollbar {
      height: 3px;
    }
    .m-sub-product-container::-webkit-scrollbar-thumb {
      height: 3px;
      background-color: gray;
    }
    .m-sub-product-container::-webkit-scrollbar:vertical {
      display: none;
    }
    .m_similar_products_footer_mob, .m_view_similar_btn {
      display: none;
    }
    .merox-loader-sp {
      margin: 0 auto;
    }
    .floatingBtnForMobile {
      display: none;
    }
    .m-popup-overlay {
      left: 0;
      right:0;
    }
    .m-main-popup {
      right: 0;
      padding: 20px 30px !important;
      height: 100vh;
      width: 400px;
      display: block;
      overflow-y: auto;
      overflow-x: hidden;
    }
    .m-sub-product-container {
      flex-wrap:wrap;
      gap: 10px;
      overflow: hidden;
      justify-content: space-between;
    }
    .m-product-item-url {
      width: 48%;
      border: 1px solid #f0ebeb;
    }
    .m-popup {
      right: 0;
    }
    .m-heading-content {
      margin: 0;
    }
    .m_popup_header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
    } 
    .m-sub-product-items img {
      height: 200px;
    }
    .m-sub-product-content p {
      margin: 10px;
    }
    .m-sub-product-content p {
      /* white-space: unset; */
    }
    .m-sub-product-content p {
      line-height: normal;
      width: unset;
    }
}