#header .my-account,
#header .my-wishlist,
#header .yith-woocompare-open {
  color: var(--porto-header-link-color-regular, #999);
}

#header .my-account:hover,
#header .my-wishlist:hover,
#header .yith-woocompare-open:hover {
  color: var(--porto-header-link-color-hover, #999);
}

#mini-cart .cart-subtotal,
#mini-cart .minicart-icon,
#mini-cart.minicart-arrow-alt .cart-head:after {
  color: var(--porto-minicart-icon-color, #999);
}

.yith-woocompare-open .compare-icon {
  position: relative;
  margin-left: 5px;
}
.yith-woocompare-open .hicon-label {
  font-size: 0.54em;
}
.yith-woocompare-open span {
  display: inline-block;
  vertical-align: middle;
}
.yith-woocompare-open > :last-child {
  margin-left: 0;
}

#mini-cart .cart-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* Mini Cart */
#mini-cart {
  display: inline-block;
  position: relative;
  white-space: normal;
  vertical-align: middle;
}
#mini-cart .cart-head {
  position: relative;
  cursor: pointer;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 26px;
}
#mini-cart .cart-head:before {
  content: "";
  position: absolute;
  top: 100%;
  height: 15px;
  right: 0;
  width: 100%;
  z-index: 1;
}
#mini-cart .cart-icon {
  position: relative;
}
#mini-cart .cart-icon:after, #mini-cart.minicart-text .cart-head:after {
  content: "";
  border-width: 1px 1px 0 0;
  border-color: var(--porto-title-bgc);
  border-style: solid;
  background: var(--porto-normal-bg);
  width: 14px;
  height: 14px;
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  margin-left: -7px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  z-index: 1006;
  display: none;
  -webkit-animation: arrowFadeInDown 0.2s ease-out;
          animation: arrowFadeInDown 0.2s ease-out;
}
#mini-cart.minicart-text .cart-icon:after {
  content: none;
}
#mini-cart .minicart-icon {
  display: block;
  font-style: normal;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}
#mini-cart .cart-popup {
  position: absolute;
  width: 320px;
  -webkit-backface-visibility: hidden;
  z-index: 1005;
  top: 100%;
  margin-top: 8px;
  left: 0;
  padding: 0;
  -webkit-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);
          box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);
  text-align: right;
  display: none;
  -webkit-animation: menuFadeInDown 0.2s ease-out;
          animation: menuFadeInDown 0.2s ease-out;
}
@media (max-width: 767px) {
  #mini-cart .cart-popup {
    width: 300px;
  }
}
#mini-cart .widget_shopping_cart_content {
  padding: 10px 15px 5px;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.5;
  border-radius: 0;
  background: var(--porto-normal-bg);
}
#mini-cart .widget_shopping_cart li.empty {
  text-align: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: 400;
}
#mini-cart .widget_shopping_cart .buttons {
  padding: 0 10px 10px;
}
#mini-cart .widget_shopping_cart .total {
  padding: 15px 10px 25px;
  text-align: right;
  text-transform: uppercase;
}
#mini-cart .widget_shopping_cart .total .amount {
  float: left;
  font-size: 15px;
  font-weight: 700;
  color: inherit;
}
#mini-cart .cart-loading {
  height: 64px;
  width: 100%;
  background: transparent url(../../images/ajax-loader@2x.gif) no-repeat scroll center center/16px 16px;
  opacity: 0.6;
}
#mini-cart li {
  -webkit-box-align: normal;
      -ms-flex-align: normal;
          align-items: normal;
}
#mini-cart li:not(.empty) {
  padding: 15px 10px;
  border-bottom: 1px solid var(--porto-gray-2);
}

#mini-cart .product-details, .wishlist-popup .product-details {
  position: static;
  padding-top: 0;
}
#mini-cart .product-details a, .wishlist-popup .product-details a {
  overflow: visible;
  white-space: normal;
  overflow-wrap: break-word;
  font-weight: 500;
}
#mini-cart .product-image, .wishlist-popup .product-image {
  margin-left: 0 !important;
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}

#mini-cart .product-image, .wishlist-popup .wishlist-item .product-image {
  width: 80px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 80px;
          flex: 0 0 80px;
  border-width: 0;
}
#mini-cart .product-details, .wishlist-popup .wishlist-item .product-details {
  width: calc(100% - 80px);
  max-width: calc(100% - 80px);
}

.wishlist-popup > h3 {
  text-transform: uppercase;
  border-bottom: solid 1px var(--porto-gray-2);
  font-size: inherit;
  line-height: 1.5;
  padding: 12px 10px;
  margin-bottom: 0;
}

#mini-cart .cart_list {
  min-height: 45px;
  max-height: 300px;
  margin: 0;
}
#mini-cart .cart_list.scroll-scrolly_visible li {
  padding-left: 20px;
}
#mini-cart .total-count {
  padding: 12px 10px;
  border-bottom: solid 1px var(--porto-gray-2);
}
#mini-cart .total-count a {
  color: var(--porto-heading-color);
}
#mini-cart .total-count a:hover {
  text-decoration: underline;
}
#mini-cart .remove-product {
  top: -10px;
  left: -7px;
}
#mini-cart .product-image .inner {
  overflow: unset;
}
#mini-cart .quantity, #mini-cart .quantity .amount {
  font-weight: 400;
  font-size: 0.8125rem;
}
#mini-cart .quantity + span.quantity {
  margin-right: 5px;
}
#mini-cart .buttons a {
  font: 600 0.75rem/1.5 var(--porto-add-to-cart-ff, var(--porto-body-ff)), sans-serif;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  padding: 0.875rem 1.5rem;
  border-radius: 2px;
  float: none;
  width: 100%;
  margin-bottom: 10px;
}
#mini-cart .cart-items-text {
  font-size: var(--porto-body-fs, 14px);
}
#mini-cart {
  /* mini cart types */
}
#mini-cart.minicart-arrow-alt .cart-head:after {
  content: "\e81c";
  font-family: "porto";
  font-size: 0.654em;
  margin-right: 0.706em;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}
#mini-cart.minicart-arrow-alt .cart-items-text {
  display: none;
}
#mini-cart.simple .cart-items-text {
  display: none;
}
#mini-cart .cart-subtotal {
  font-size: 0.54em;
  font-weight: 600;
  text-align: right;
  line-height: 1.2;
}
#mini-cart.minicart-inline .cart-head {
  white-space: nowrap;
}
.main-menu-wrap #mini-cart.minicart-inline {
  margin-top: 3px;
  margin-right: 5px;
}
@media (min-width: 992px) {
  #mini-cart.minicart-inline .minicart-icon, #mini-cart.minicart-inline .cart-items {
    display: none;
  }
  #mini-cart.minicart-inline .cart-icon {
    position: static;
  }
}
@media (max-width: 991px) {
  #mini-cart.minicart-inline {
    margin-right: 0;
  }
  #mini-cart.minicart-inline .cart-subtotal {
    display: none;
  }
}
#mini-cart.minicart-text .cart-price {
  display: block;
}
#mini-cart.minicart-offcanvas .cart-icon:after, #mini-cart.minicart-offcanvas.minicart-text .cart-head:after {
  content: none;
}
#mini-cart.minicart-offcanvas .cart-popup {
  position: fixed;
  top: 0;
  height: 100%;
  bottom: 0;
  display: block;
  margin-top: 0;
  -webkit-animation: none;
          animation: none;
}
#mini-cart.minicart-offcanvas .widget_shopping_cart_content {
  padding: 1.75rem 1.25rem 0.5rem;
}
#mini-cart.minicart-offcanvas .widget_shopping_cart_content .buttons {
  padding-left: 0;
  padding-right: 0;
}
#mini-cart.minicart-offcanvas .widget_shopping_cart_content .total {
  padding: 1.5rem 0;
}
#mini-cart.minicart-offcanvas .cart-loading {
  height: 100%;
}
#mini-cart.minicart-offcanvas li:not(.empty) {
  padding: 1.25rem 0;
}
#mini-cart:not(.minicart-offcanvas) .buttons > a:first-child {
  display: none;
}

.minicart-text .cart-icon {
  margin-left: 0.35em;
}

#mini-cart.simple .cart-items {
  -webkit-box-shadow: -1px 1px 2px 0 rgba(0, 0, 0, 0.3);
          box-shadow: -1px 1px 2px 0 rgba(0, 0, 0, 0.3);
}

#mini-cart .cart_list,
.wishlist-offcanvas .product_list_widget,
.wishlist-offcanvas .wishlist-popup,
.minicart-offcanvas .widget_shopping_cart_content {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#mini-cart .cart_list::-webkit-scrollbar,
.wishlist-offcanvas .product_list_widget::-webkit-scrollbar,
.wishlist-offcanvas .wishlist-popup::-webkit-scrollbar,
.minicart-offcanvas .widget_shopping_cart_content::-webkit-scrollbar {
  width: 6px;
}

.wishlist-offcanvas .wishlist-popup,
.minicart-offcanvas .widget_shopping_cart_content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.wishlist-offcanvas .wishlist-popup .product_list_widget,
#mini-cart.minicart-offcanvas .widget_shopping_cart_content .cart_list {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding-left: 15px;
  max-height: unset;
}
.wishlist-offcanvas .wishlist-popup .product_list_widget::-webkit-scrollbar-thumb,
#mini-cart.minicart-offcanvas .widget_shopping_cart_content .cart_list::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: var(--porto-gray-2);
}

.minicart-offcanvas h3 {
  font-size: 1.25rem;
}
.minicart-offcanvas .widget_shopping_cart_content {
  font-family: var(--porto-h3-ff, var(--porto-body-ff)), sans-serif;
  height: 100%;
}
.minicart-offcanvas .cart-popup {
  -webkit-transform: translateX(-105%);
          transform: translateX(-105%);
  -webkit-transition: -webkit-transform 0.35s;
  transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  transition: transform 0.35s, -webkit-transform 0.35s;
}
.minicart-offcanvas.minicart-opened .cart-popup {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
.minicart-offcanvas .button {
  background: #e7e7e7;
  color: #222529;
}
.minicart-offcanvas .button:hover, .minicart-offcanvas .button:focus {
  background: #f1f1f1;
  color: #222529;
}

.minicart-overlay {
  position: fixed;
  z-index: 1004;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
}
.minicart-overlay svg {
  position: absolute;
  top: 1.25rem;
  left: 340px;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
}
@media (max-width: 767px) {
  .minicart-overlay svg {
    left: 320px;
  }
}
.minicart-opened .minicart-overlay {
  display: block;
}

@-webkit-keyframes topDown {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes topDown {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
#mini-cart .cart-items,
.my-wishlist .wishlist-count,
header .compare-count,
.gutenberg-hb .compare-count {
  --porto-badge-size: 1.6em;
  position: absolute;
  left: calc(-1 * var(--porto-badge-size) / 2 + 0.2em);
  top: -0.5em;
  font-size: 0.385em;
  font-weight: 600;
  text-align: center;
  width: var(--porto-badge-size);
  height: var(--porto-badge-size);
  line-height: var(--porto-badge-size);
  border-radius: 50%;
  overflow: hidden;
  color: #fff;
  background-color: #ff5b5b;
}
#mini-cart .cart-items.count-updating,
.my-wishlist .wishlist-count.count-updating,
header .compare-count.count-updating,
.gutenberg-hb .compare-count.count-updating {
  -webkit-animation: topDown 0.6s ease-in;
          animation: topDown 0.6s ease-in;
}
#mini-cart .cart-items .items-loading,
.my-wishlist .wishlist-count .items-loading,
header .compare-count .items-loading,
.gutenberg-hb .compare-count .items-loading {
  width: 16px;
  height: 16px;
  display: inline-block;
  background: transparent url(../../images/ajax-loader@2x.gif) no-repeat scroll center center/16px 16px;
  margin-top: -4px;
  vertical-align: middle;
}
#mini-cart .cart-items i,
.my-wishlist .wishlist-count i,
header .compare-count i,
.gutenberg-hb .compare-count i {
  line-height: inherit;
}

html.touch #mini-cart.open .cart-icon:after, html.touch #mini-cart.open .cart-popup, html.touch #mini-cart.open .cart-head:after,
html.no-touch #mini-cart:hover .cart-icon:after,
html.no-touch #mini-cart:hover .cart-popup,
html.no-touch #mini-cart:hover .cart-head:after,
html:not(.touch):not(.no-touch) #mini-cart:hover .cart-icon:after,
html:not(.touch):not(.no-touch) #mini-cart:hover .cart-popup,
html:not(.touch):not(.no-touch) #mini-cart:hover .cart-head:after {
  display: block;
}

.woocommerce-cart #mini-cart:hover .cart-icon:after, .woocommerce-cart #mini-cart:hover .cart-popup,
.woocommerce-checkout #mini-cart:hover .cart-icon:after,
.woocommerce-checkout #mini-cart:hover .cart-popup {
  display: none !important;
}
.woocommerce-cart #mini-cart:hover.minicart-text .cart-head:after,
.woocommerce-checkout #mini-cart:hover.minicart-text .cart-head:after {
  display: none !important;
}

#menu-main-menu #mini-cart {
  left: auto;
}
#menu-main-menu #mini-cart.minicart-arrow-alt, #header.sticky-header #menu-main-menu #mini-cart.minicart-arrow-alt {
  margin: 0 !important;
}