#content-wrapper #wpbest {margin-top: 2rem; margin-bottom: 3rem;}
#content-wrapper #wpbest p.h6 {font-weight: bold; font-size: 22px;}
#content-wrapper #wpbest ol {margin-bottom: 0; padding: 0; counter-reset: bestcount;
  /* -moz-transition: height 2s ease;
  -webkit-transition: height 2s ease;
  -o-transition: height 2s ease;
  transition: height 2s ease; */
}

#content-wrapper #wpbest li.product-item {display: flex; align-items: center; padding: 0.6rem 1rem; background: #fff;}

#content-wrapper #wpbest.wbsc-table li.product-item, #content-wrapper #wpbest.wbsc-border li.product-item { border-bottom: 1px solid #E1E9F4;}
#content-wrapper #wpbest.wbsc-table li.product-item:last-child {border-bottom: 0;}
#content-wrapper #wpbest.wbsc-table ol {border: 1px solid #E1E9F4}

#wpbest .wpbest-center-block .product-description {
    font-size: 13px;
}

#wpbest .wpbestcat-more {font-weight: 400;}
/* #wpbest .wpbestcat-more {text-decoration: underline; }
#wpbest .wpbestcat-more:hover {text-decoration: none;} */

#content-wrapper #wpbest .wpbest-left-block {padding-left: 12px; flex-grow: 0; flex-basis: 70px;}
#content-wrapper #wpbest .wpbest-left-block img {max-width: 48px; height: auto; margin-top: 4px; margin-right: 8px}
#content-wrapper #wpbest .wpbest-right-block {padding-left: 12px; flex-grow: 2; min-width: 160px; text-align: right; padding-right: 15px;}
#content-wrapper #wpbest .wpbest-right-block .product-price-and-shipping {text-align: right;  font-weight: 600;  display: flex; flex-flow: column;}
#content-wrapper #wpbest .wpbest-center-block {flex-grow: 10; text-align: left; display: flex; flex-flow: column wrap;}
#content-wrapper #wpbest .wpbest-center-block h2.product-title {text-align: left; margin-top: 0; margin-bottom: 0; min-height: auto;}
#content-wrapper #wpbest .wpbest-center-block h2.product-title a { font-size: 15px;}
#content-wrapper #wpbest .wpbest-center-block h2.product-title a:hover {color: #0D6FC2;}
#content-wrapper #wpbest .product-available {margin-left: 6px;}
#content-wrapper #wpbest #product-availability {margin-top: 0;}
#content-wrapper #wpbest .product-available > span {font-size: 15px; font-weight: 600; line-height: 25px; }
#content-wrapper #wpbest .product-available i {font-size: 12px; vertical-align: -1px;}
#content-wrapper #wpbest .product-description p {margin-bottom: 0; line-height: 18px;}
#content-wrapper #wpbest .product-available, #content-wrapper #wpbest .product-available + span {
    color: #0AB43F;
    font-size: 14px;
    font-weight: 400;
  }
  #content-wrapper #wpbest .product-unavailable {
    color: #FF8900;
    font-size: 15px;
  }
  #content-wrapper #wpbest .product-last-items {
    color: #E6002C;
    font-size: 15px;
  }
#content-wrapper #wpbest .discount-percentage.discount-product {background: #cd2026; color: #ffffff; padding: 1px 4px; display: none;}
/* .wpbest-right-block .product-price-and-shipping .reduction { font-size: 20px;} */
.wpbest-right-block .regular-price {color: #99AFCC; font-weight: 400; text-decoration: line-through; padding-bottom: 4px;}


#content-wrapper #wpbest li.product-item:before {
    counter-increment: bestcount;
    content: counter(bestcount);
    flex: 0 0 20px;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    background-color: #E1E9F4;
}

.wpbestcat-more-wrap {display:flex; justify-content: center;}
.wpbestcat-more {  cursor: pointer; margin-top: -1px; font-size: 13px; padding: 5px 7px; text-transform: none;}
#content-wrapper #wpbest li.product-item.wpbestcat-hide-me {display: none;}
#content-wrapper #wpbest li.product-item.wpbestcat-show-me {display: flex;}
svg.wp-best-expand {fill: #fff; margin-right: 4px;}

#wpbest.wpbest-opened svg.wp-best-expand {
-webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

@media (max-width: 576px) {    
    #content-wrapper #wpbest .wpbest-right-block {min-width: auto}    
}



@media  (max-width: 450px) { 
#content-wrapper #wpbest li.product-item {display: grid; grid-template-columns: 1fr 2fr 9fr 5fr; column-gap: 8px;}
#content-wrapper #wpbest li.product-item:before {grid-row: 1/1;}
#content-wrapper #wpbest .wpbest-left-block {padding-left:0px; grid-row: 1/2;}
#content-wrapper #wpbest .wpbest-center-block {grid-row: 1/3;}
#content-wrapper #wpbest .wpbest-right-block {grid-row: 1/3; padding-right: 0; padding-left: 0;}
#content-wrapper #wpbest .wpbest-center-block h2.product-title a {font-size: 13px}
#content-wrapper #wpbest .product-available, #content-wrapper #wpbest .product-available + span {font-size: 12px}
#content-wrapper #wpbest .wpbest-right-block .product-price-and-shipping {font-size: 14px}
#wpbest .wpbest-center-block .product-description {display: none;}
#content-wrapper #wpbest .product-available, #content-wrapper #wpbest .product-available + span {margin-left: 0;}

}

@media (max-width: 329px) { 
    #content-wrapper #wpbest li.product-item {display: grid; grid-template-columns: 5fr 3fr;}
    #content-wrapper #wpbest .wpbest-center-block {grid-row: 2/3;}
    #content-wrapper #wpbest .wpbest-right-block {grid-row: 2/3;}
    #content-wrapper #wpbest .wpbest-left-block {text-align: right;}
    #content-wrapper #wpbest .wpbest-left-block img { margin-top: 0; margin-right: 0;}
} 