@media only screen and (max-width: 991px) {
  header {
    border-bottom: var(--desktop-menu-bottom-border);
  }

  .step-label {
        font-size: 12px;
        line-height: 12px;
    }
  
  .fancybox-container {
    display: none !important;
  }

  .product-title > a {
    font-size:12px;
  }

  .product-card .manufacturer {
    font-size: 13px;
    line-height: 13px;
  }
  
  .add-to-cart-btn, .add-to-cart-btn button {
    min-width: auto;
    width: 100%;
  }

  .brand-logo {
    max-height: 32px;
  }

.product-card .card-body-hidden-mobile {
  position: absolute;
  opacity: 0 !important;
  visibility: hidden !important;
}

}

@media (min-width:992px) {
    .product-card:hover:not(.card-static) .card-body-hidden-desktop {
        opacity: 1;
        visibility: visible;
        box-shadow: 0px 20px 20px 0px rgb(0 0 0 / 10%);
    }

    .product-card:hover:not(.card-static) {
        box-shadow: 0 4.8px 24.4px -6px rgba(0,0,0,0.3);
        z-index: 10;
    }

  .product-card .card-body-hidden-desktop {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    margin-top: -12px;
    transition: all 0.15s ease-in-out;
    border-radius: 7px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
  }

  .header-icon svg:not(#cart svg) {
    width: 22px;
    height: 22px;
  }

}

@media (min-width: 768px) {
  #top-categories img {
    max-width: 120px;
    height: auto;
  }

  .js-custom-accordion .collapse.dont-collapse-sm {
    display: block;
    height: auto !important;
    visibility: visible;
  }
  
.accordion.js-custom-accordion  .accordion-button {
  border-radius: calc(.25rem - 1px);
}
  
.accordion.js-custom-accordion {
    --bs-gutter-x: 1.5rem;
}
  
.js-custom-accordion .card {
    border:1px solid rgba(0,0,0,.125);
  }
  
  .js-custom-accordion .accordion-item {
    border: 0px;
  }
}

@media (min-width: 375px) {
  .product-card {
    padding-bottom: 0;
  }
  .modal-dialog {
    max-width: 700px;
  }
}

@media only screen and (max-width: 376px) {
  span.p-prev, span.p-next {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .cart-popup-right-col {
    border-left: 0px !important;
  }

  .middle-banners img.banner-logo {
    max-width: 130px !important;
  }
  .middle-banners a.btn {
    font-size: 13px;
    padding: 2px 8px;
  }
  .middle-banners .banner-text {
    font-size: 13px !important;
    font-weight: 400 !important;
  }

  #top-categories img {
    max-width: 70px;
    height: auto;
  }
  #top-categories h4 {
    font-size: 11px;
  }
  
  .toolbar .sort {
    width: 50% !important;
  }
  
  button#button-cart {
    padding: 10px 0px;
  }

  .js-custom-accordion .fade:not(.show) {
    opacity: 1;
    display: block;
  }
  
  .js-custom-accordion.accordion-flush .accordion-item:last-child {
    border-bottom: 1px  solid rgba(0,0,0,.125);
  }
  
  .product-info-details h1 {
    display: inline;  
  }
  .product-info-details .manufacturer:not(.product-card .manufacturer) {
    font-size: 16px;
    display: inline-block;
    margin-bottom: 0px;
}
  
  .navbar .h-icons > div {
    width: 40px;
  }
  .navbar .h-icons .h-icon-text {
    font-size: 8px;
  }
  .navbar-classic .navbar-brand img {
    max-width: 110px;
    margin-right: 0px;
  }
  .step-label>span>svg {
    display: none;
  }
  
  .product-images {
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
  }
  
  .cart-table thead {
    display:none;
  }
  
  .cart-table td {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: center;
    padding: 8px 20px;
    border:none;
  }
  
  .cart-table tr {
    display: -ms-flexbox;
    display: flex;
/*     -ms-flex-direction: column !important; */
/*     flex-direction: column !important; */
    margin-bottom: 10px;
    border-top: 1px solid #ced4da;
    border-radius: 0px;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cart-table .remove-button {
    right: 5px;
    top: 0px;
    position: absolute;
  }
  
  .cart-table .img {
    flex: 80px;
    padding: 0px;
  }
  
  .cart-table .product {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    flex: calc(100% - 80px);
    padding: 30px 10px;
    align-items: start;
  }
  
  .cart-table .product br {
    display: none;
    visibility: hidden;
  }
  
  .cart-table .total {
    font-weight: 600 !important;
    font-size: 18px;
    flex: calc(100% - 150px);
    justify-content: end;
  }

  .js-module-header {
    font-size: var(--js-module-header-mobile-size);
    text-align: var(--js-module-header-mobile-text-align);
    padding: var(--js-module-header-mobile-padding);
}
  
}

