﻿.cart-menu-relative {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cart-menu-relative>a {
}

body.dark_Header .cart-menu-relative>a .ezIcon {
  background: #fff;
  transition: 0.3s;
}

body.dark_Header .cart-menu-relative>a:hover .ezIcon {
  background: var(--Primary-P70);
}

.cart-menu-relative>a>i {
  font-size: 18px;
  vertical-align: middle;
}

.shopping-cart-holder {
  display: none;
  border-radius: 3px;
  padding: 14px 16px 40px 24px;
  width: 496px;
  margin: 24px 0;
  position: absolute;
  z-index: 7000;
  left: -26px;
  border-radius: 0 0 8px 8px;
  background: var(--Gray-G100, #FFF);
  box-shadow: 0 11px 16px 0 rgba(7, 14, 47, 0.10);
  top: 100%;
}

@media (max-width: 992px) {
  .shopping-cart-holder {
    width: 286px;
    left: -26px;
  }

  .shopping-cart:after,
  .shopping-cart:before {
    right: 94% !important;
  }
}

.check-out.add_To_Cart_Btn {
  padding: 6px 20px;
}

.shopping-cart {
  position: relative;
}

.shopping-cart .shopping-cart-header {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 12px;
  width: 100%;
  position: relative;
  margin-bottom: 22px;
}

.shopping-cart .shopping-cart-header::before {
  content: "";
  background-color: #F2F2F2;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 1px;
  z-index: 0;
}

.shopping-cart .shopping-cart-header span,
.shopping-cart .shopping-cart-header p {
  width: max-content;
  z-index: 1;

}

.shopping-cart .shopping-cart-header p {
  padding-left: 16px;
  background-color: #FFF;
}

.shopping-cart .shopping-cart-header:after {
  content: "";
  display: block;
  clear: both;
}

.shopping-cart-total {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shopping-cart .shopping-cart-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 38px;
}

.shopping-cart .shopping-cart-items li {
  list-style: none;
  display: flex;
  gap: 10px;
  position: relative;
}

.shopping-cart .shopping-cart-items img {
  object-fit: cover;
  height: 134px;
  width: 178px;
}

.shopping-cart .shopping-cart-items .item-name {
  display: block;
  padding-top: 5px;
  font-size: 14px;
}

.shopping-cart .shopping-cart-items .item-price {
  color: #6394f8;
  margin-left: 8px;
}

.shopping-cart .shopping-cart-items .item-quantity {
  color: #abb0be;
}

.shopping-cart .shopping-cart-items .delete-product-hover-cart {
  float: left;
  font-size: 12px;
  color: #ae0f0f;
  cursor: pointer;
}

.shopping-cart:after,
.shopping-cart:before {
  top: -41px;
  right: 95%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  display: none;
}

.shopping-cart:after {
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #fff;
  border-width: 10px;
  margin-right: -10px;
  top: -39px;
}

.shopping-cart:before {
  border-color: rgba(221, 221, 221, 0);
  border-bottom-color: #ddd;
  border-width: 11px;
  margin-right: -11px;
}

.shopping-cart-icon {
  -webkit-mask: url(icon/Basket.svg) no-repeat 100% 100%;
  mask: url(icon/Basket.svg) no-repeat 100% 100%;
  -webkit-mask-size: cover;
  mask-size: cover;
  background-color: #fff;
  display: inline-block;
  width: 24px;
  height: 24px;
}

.shopping-cart-icon.cart-icon {
  background-color: #515783;
}

.cart-icon {
  color: #515783;
  font-size: 24px;
  margin-left: 7px;
  float: right;
}

.shopping-cart-recyclebin {
  -webkit-mask: url(icon/RecycleBin.svg) no-repeat 100% 100%;
  mask: url(icon/RecycleBin.svg) no-repeat 100% 100%;
  -webkit-mask-size: cover;
  mask-size: cover;
  background-color: var(--mc1);
  display: inline-block;
  width: 18px;
  height: 18px;
  position: absolute;
  bottom: 30px;
  left: 10px;
}

.cart_Item_Data {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: start;
  justify-content: center;
}

.cart_Item_Price {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart_Bottom_Row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price_Row {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Static shell mode: template is rendered directly in CartMenu.ascx; only inner content is Handlebars-bound */
.persia-cart-toggle {
  position: relative;
  padding: 0.7rem 0.5rem;
}
.persia-cart-toggle:hover{
  background: var(--Gray-G99);
}
.persia-cart-badge {
  position: absolute;
  top: -10px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--mc1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.persia-cart-empty {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.persia-cart-empty .ezIcon {
  width: 32px;
  height: 32px;
}
