.am_search_popup {
  font: 12px Arial, Helvetica, sans-serif;
  margin-top: 10px;
  position: absolute;
  right: 0;
  text-align: left;
  z-index: 1000;
}

.am_search_popup .am_element {
  float: none;
  font-size: 10px;
  padding: 10px;
}

@media only screen and (width <= 770px) {
  #am_search_container .am_search_popup {
    margin-bottom: 20px;
    width: 100%;
  }

  .price_footer {
    width: 100%;
  }

  .price_footer div.price_cell {
    display: inline-block;
    min-width: 99%;
    text-align: left;
  }

  .am_search_popup {
    background-color: white !important;
    border-radius: 0 !important;
    border-width: 0 !important;
    height: 100%;
  }

  .more_results {
    font-size: 14pt;
  }

  .am_search_popup .am_search_popup_inner .am-categories {
    width: 100%;
  }

  .am_search_popup .am_search_popup_inner .am-products {
    display: block;
    width: 100%;
  }
}

.am_search_popup_inner {
  border: 1px solid;
  display: flexbox;
  display: flex;
  display: flex;
  flex-wrap: wrap;
  font-family: var(--default-font);
  overflow: hidden;
}

.am_search_popup div.am_element,
div.am-categories,
div.am-products {
  float: none;
  width: 100%;
}

.am_search_popup_inner .am-categories {
  padding: 5px 15px 10px;
  width: 30%;
}

.am_search_popup_inner .am-categories.am-fullwidth,
.am_search_popup_inner .am-products.am-fullwidth,
.am-products .am-product-link.am-fullwidth {
  width: 100%;
}

.am-categories .am-container-title {
  border-bottom: 1px solid #dadada;
  padding-bottom: 5px;
}

.am_search_popup .am-categories .category-name {
  font-weight: 400;
}

.am_search_popup_inner .am-products {
  display: flexbox;
  display: flex;
  display: flex;
  flex-wrap: wrap;
  padding: 10px 15px;
}

.am-products > .am-container-title {
  border-bottom: 1px solid #dadada;
  padding-bottom: 5px;
  width: 100%;
}

.am-more-results {
  background-color: #fff;
  width: 100%;
}

.am_image > img {
  border: 1px solid #ebebeb;
  max-width: 100%;
}

.am_search_popup .price-box {
  margin: 0;
}

.am_search_popup .price_footer {
  margin-top: 10px;
}

.price_footer .add2cart {
  display: inline-block;
}

.am_search_popup .price_cell {
  display: inline-block;
  vertical-align: middle;
}

.am_search_popup .regular-price .price,
.am_search_popup .am_title {
  float: none;
  font-size: 12px;
  font-weight: normal;
}

.am_search_popup .am_image {
  display: inline-block;
  max-width: 100px;
  min-height: 100%;
  width: 100%;
}

.am_search_popup .am_right {
  display: inline-block;
  max-width: 365px;
  min-width: 35%;
  padding-left: 15px;
  vertical-align: top;
  width: 100%;
}

.am_search_popup a {
  text-decoration: none !important;
}

#search_mini_form .search-button {
  z-index: 10;
}

.am_search_popup .ratings {
  margin: 0 0 3px;
}

.am_search_popup .rating-box {
  background: url('../../images/am_xsearch_bkg_rating.png') 0 0 repeat-x;
}

.am_search_popup .rating {
  background: url('../../images/am_xsearch_bkg_rating.png') 0 100% repeat-x;
}

.am_search_popup div.am_element:hover .rating-box {
  background: url('../../images/am_xsearch_bkg_rating_white.png') 0 0 repeat-x;
}

.am_search_popup div.am_element:hover .rating {
  background: url('../../images/am_xsearch_bkg_rating_white.png') 0 100% repeat-x;
}

.am_search_popup .am_title,
.am_search_popup .am-category a {
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 0;
}

#am_search_container {
  clear: both;
  position: relative;
  z-index: 40000;
}

.am_search_popup .more_results {
  display: block;
  font-weight: bold;
  padding: 10px 0;
  text-align: center;
}

.button.btn-cart {
  white-space: inherit;
}

.am_search_popup .am-category {
  cursor: pointer;
  font-size: 14px;
  padding: 5px 0 5px 15px;
}

.am_search_popup .price-box {
  text-align: left;
}

.am_search_popup .price-box .o-tax-included {
  color: hsl(0 0% 19.6%);
}

.am_search_popup_inner .am-products.am-fullwidth .price-box.bundle p.price-from {
  display: none;
}

/* PIX PRIO */

.am_search_popup .price_cell .c-price-box {
  color: #323232;
  font-size: 0.75rem;
}

.am_search_popup .price_cell .c-price-box .c-price__value,
.am_search_popup .price_cell .c-price-box .c-price__symbol {
  font-size: 0.875rem;
  font-weight: bold;
}

.am_search_popup .price_cell .c-price-box .c-price.c-price--regular {
  display: initial;
}

.am_search_popup .price_cell .c-price-box .c-price.c-price--regular .c-price__value {
  color: #888;
  font-size: 0.75rem;
  font-weight: 300;
  text-decoration: line-through;
}

.am_search_popup .price_cell .c-price-box .c-price__discount-infos {
  display: block;
}

.am_search_popup .price_cell .c-price-box .c-price.c-price--regular .c-price__discount-percent {
  color: #40971a;
  font-weight: bold;
  letter-spacing: -0.5px;
  margin-left: 0.25rem;
}

.am_search_popup .price_cell .c-price-box .c-price.c-price--regular .c-price__discount-percent i {
  font-size: 0.75rem;
}

.am_search_popup .price_cell .c-price-box .c-installments :is(.c-installments__full-price, .c-installments__value) {
  font-weight: 600;
}

.am_search_popup {
  width: 100%;
}

.am_search_popup_inner {
  background-color: #fff;
  border: 1px solid #f2f2f2;
  box-shadow: 0 0 2px #f7f7f7;
}

.am_search_popup div.am_element,
div.am-categories,
div.am-products {
  background: #fff;
  border-bottom: 1px solid #f2f2f2;
}

.am_search_popup a:last-child div.am_element,
a:last-child div.am-categories,
a:last-child div.am-products {
  border: none;
}

.am-products .am-product-link {
  transition: opacity 0.3s ease-in-out;
}

.am_search_popup .price-box span.label.configurable-price-from {
  color: #888;
  display: block;
  font-size: var(--size-12);
  margin: 0 0 3px;
}

.am_search_popup .price_cell .area-parcela-desconto {
  color: #444;
  font-size: var(--size-12);
  margin: 3px 0 0;
}

.am_search_popup .regular-price .price {
  font-size: var(--size-16) !important;
  font-weight: bold;
}

.am_search_popup .old-price {
  margin: 0 0 5px;
}

.am_search_popup .old-price .price {
  font-size: var(--size-12);
}

.am_search_popup .price-box .special-price {
  font-size: var(--size-16);
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.am_search_popup .more_results {
  font-size: var(--size-14);
  transition: opacity 0.3s ease-in-out;
}

.am_search_popup .price_cell .area-parcela-desconto.reverse-billet-parcel .block-full {
  display: flex;
  flex-wrap: wrap;
}

.am_search_popup .price_cell .area-parcela-desconto.reverse-billet-parcel .block-full .ticket-produto {
  order: 2;
}

.am_search_popup .price_cell .area-parcela-desconto.reverse-billet-parcel .block-full .parcela-produto {
  order: 1;
}

@media screen and (width <=1300px) {
  .am_search_popup .am_right {
    max-width: 325px;
  }
}

@media screen and (width <= 1199px) {
  .am_search_popup .am_right {
    max-width: 245px;
  }
}

@media screen and (width <=991px) {
  .am_search_popup_inner .am-categories.am-fullwidth,
  .am_search_popup_inner .am-products.am-fullwidth,
  .am-products .am-product-link.am-fullwidth {
    text-align: center;
  }

  .am_search_popup .am_right {
    padding: 10px 0 0;
  }

  .am_search_popup .price-box {
    text-align: center;
  }

  .am_search_popup .price_cell .area-parcela-desconto {
    text-align: center;
  }
}

@media screen and (width <=770px) {
  .am_search_popup .am_right {
    max-width: max-content;
  }

  .am_search_popup_inner .am-categories.am-fullwidth,
  .am_search_popup_inner .am-products.am-fullwidth,
  .am-products .am-product-link.am-fullwidth {
    text-align: left;
  }

  .am_search_popup .am_right {
    padding: 0 0 0 15px;
  }

  .am_search_popup .price-box {
    text-align: left;
  }

  .am_search_popup .price_cell .area-parcela-desconto {
    text-align: left;
  }
}

@media screen and (width <=500px) {
  .am_search_popup .am_right .am_title {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    font-size: var(--size-12);
    font-weight: 600;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

@media screen and (width <=440px) {
  .am_search_popup_inner .am-categories.am-fullwidth,
  .am_search_popup_inner .am-products.am-fullwidth,
  .am-products .am-product-link.am-fullwidth {
    text-align: center;
  }

  .am_search_popup .am_right {
    float: left;
    max-width: 230px;
    padding: 10px 0 0;
    text-align: left;
  }

  .am_search_popup .price_cell .area-parcela-desconto {
    text-align: center;
  }

  .am_search_popup div.am_element {
    float: left;
    padding: 10px 0;
  }

  .am_search_popup .am_image {
    float: left;
  }

  .am_search_popup .am_right .price-box p {
    font-weight: 600;
    text-align: left;
  }

  .am_search_popup_inner .am-products {
    max-height: 360px;
    overflow: auto;
  }
}

@media screen and (width <=390px) {
  #cartpopup_slidecontainer {
    width: 250px;
  }

  .am_search_popup .am_right {
    max-width: 150px;
  }
}

.am_search_popup .old-price .price {
  text-decoration: line-through;
}
