/* global */
#ppshoppingcart .pp-1 svg+svg,
#ppshoppingcart .cart-products-count/*,#ppshoppingcart .active .pp-1 svg:first-child */
{
  display: none;
}
#ppshoppingcart .blockcart-a {
  display: flex;
}

#ppshoppingcart .active .pp-1 svg+svg,
#ppshoppingcart .active .cart-products-count {
  display: flex;
}
#ppshoppingcart .cart-products-count {
  position: absolute;
  top: 0;
  /*	left: 50%;*/
  right: -100%;
  transform: translate(-50%, -50%);
  color: #fff;
  width: 1.2em;
  height: 1.2em;
  background: var(--color-red);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2%;
  font-size: 1.1rem;
  font-weight: 600;
}
.sticky #ppshoppingcart .cart-products-count {
  top: 0.4rem;
}
/*#ppshoppingcart .cart-products-count:after {
	content: '';
	width: 0;
	height: 0;
	border-left: .4rem solid transparent;
	border-right: .4rem solid transparent;
	border-top: .4rem solid var(--color-red);
	position: absolute;
	top: calc(100% - 1px);
	left: 50%;
	transform: translate(-50%, 0);
}*/

#ppshoppingcart .inactive .cart-products-count {
  display: none;
}
#ppshoppingcart .cart-summary {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  line-height: 1;
}

/* 1200px */
@media(min-width: 1200px) {
  #ppshoppingcart .pp-cart-title {
    padding-top: 2px;
    /*	text-transform: uppercase;*/
    font-size: 1.8rem;
    font-weight: 600;
  }

  #ppshoppingcart .cart-summary .pp-cart-totals {
    font-size: 1.8rem;
    font-weight: 600;
  }
}


/* 3 =======================
=pp SIDEBAR */
#ppSidebarCart {
  padding: 0;
  max-height: 100vh;
  overflow: visible;
}

#ppSidebarCart:is(.ppSidebarBox, .ppSidebarHeading) {
  position: relative;
  display: flex;
  flex-direction: column;
}


/* content */
#ppSidebarCart .ppSidebarContent {
  padding-left: 0;
  padding-right: 0;
}
#ppSidebarCart p {
  line-height: 1.1;
  margin: 0;
}
.ppSidebarWrap button[class] {
  padding: 0;
  border:none;
  background: transparent;
  margin: 0;
  display: inline-flex;
}

.pp-asc-title {
  font-weight: 700;
}

#ppSidebarCart .pp-cart-products {
  display: flex;
  flex-direction: column;
}

#ppSidebarCart .pp-cart-product-line {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 2.4rem;
  max-width: 100%;
}
#ppSidebarCart .pp-cart-product-line:nth-child(odd) {
  background: var(--color-gray6);
}

#ppSidebarCart .pp-cart-product-thumbnail {
  max-width: 32%;
  flex: 32%;
}


/* details */
#ppSidebarCart .pp-cart-product-details {
  flex: 1;
  display: flex;
  gap: .8rem 1.2rem;
  flex-wrap: wrap;
  align-items: center;
}
#ppSidebarCart .pp-cart-product-name {
  flex: 100%;
}
#ppSidebarCart .pp-cart-product-name em {
  opacity: .7;
  font-size: 0.9em;
}
#ppSidebarCart .pp-cart-product-qty {
  display: flex;
  align-items: center;
  /*gap: .3rem;*/
}
#ppSidebarCart .pp-cart-product-qty button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: 2.2rem;
  text-transform: uppercase;
}

#ppSidebarCart .ppsc-qty-input {
  width: 4.4rem;
  height: 3.3rem;
  padding: 0.2em;
  text-align: center;
}


#ppSidebarCart .pp-cart-product-price {}

/* remove */
#ppSidebarCart .pp-cart-product-remove button {
font-size: inherit;
}
#ppSidebarCart .pp-cart-product-remove {
  max-width: 2.4rem;
  flex: 2.4rem;
  font-size: 2.4rem;
  line-height: 1;
  margin-right: -0.4rem;
}


#ppSidebarCart:is(.pp-cart-asc, .pp-qty-alert) {
  flex: 100%;
  max-width: 100%;
}

#ppSidebarCart .pp-qty-alert {
  margin-bottom: 0.5rem;
}


/* pp-cart-asc */
#ppSidebarCart .pp-acs-title {}


#ppSidebarCart .pp-cart-acs {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  max-width: 100%;
  width: 100%;
}
#ppSidebarCart .pp-acs-carousel {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
#ppSidebarCart .pp-acs-line {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
#ppSidebarCart .pp-acs-line .pp-1 {
  position: relative;
}

#ppSidebarCart .pp-acs-thumb {
  display: block;
}
#ppSidebarCart .ajax-add-to-cart {
  position: absolute;
  right: 0.3rem;
  top: 0.3rem;
  font-size: 2.2rem;
  background: #ffffffdd;
  border-radius: 50%;
  width: 1.8em;
  height: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue2);
  box-shadow: var(--shadow-2);
  border: 1px solid var(--color-B3);
}
#ppSidebarCart .ajax-add-to-cart:hover {
  color: var(--color-H);
}
#ppSidebarCart .slick-arrow {
  font-size: 2.4rem;
}
#ppSidebarCart .pp-acs-line .pp-2 {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  height: 100%;
  flex: 1;
}
#ppSidebarCart .pp-acs-name {
  display: flex;
  font-size: 1.3rem;
  line-height: 1.1;
}
#ppSidebarCart .pp-acs-price {
  
  /*margin-top: auto;*/
}


/* summary */
#ppSidebarCart .ppSidebarFooter {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -1rem 1rem #00000011;
  padding: 2.4rem;
}
#ppSidebarCart .pp-summary-line {
  display: flex;
  justify-content: space-between;
}
#ppSidebarCart .total {
  font-size: 1.1em;
  font-weight: 600;
  border-top: 1px solid var(--color-B);
  padding-top: .8rem;
  /*margin-top: .2em;*/
}

/* pp-checkout */
#ppSidebarCart .pp-checkout {
  padding-top: 0.6em;
}


/* 3 =======================
=pp cupon */
#ppsc-coupon-form {
  display: flex;
  gap: .8rem;
}
.ppsc-toggle-coupon-form {
  display: inline-flex;
  gap: .3rem;
  align-items: center;
}
.ppsc-toggle-coupon-form::after {
  font-family: var(--font-mi);
  line-height: .8;
  font-size: 2.4rem;
}
.ppsc-toggle-coupon-form[aria-expanded="true"]::after {
  content: "expand_more";
}
.ppsc-toggle-coupon-form[aria-expanded="false"]::after {
  content: "expand_less";
}

#ppsc-coupon-form button[type=submit] {
  padding: 0.5em;
  border: 1px solid var(--color-B);
}

#ppsc-coupon-form input[type=text] {
  flex: 1;
}
#ppSidebarCart .pp-remove-voucher {
  font-size: 2.2rem;
  margin-left: 0.3em;
  max-height: 0.87em;
  line-height: 0.87em;
  display: inline-block;
}

#ppSidebarCart .ppsc-coupon-toggle-wrapper {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding-top: 0.3em;
}


/* alert */
#ppSidebarCart .alert {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}


/* ──────────────────────── */
/* #4 =pp carousel */
/* ──────────────────────── */
[ppcarousel-group] [ppc-nav] {
  font-size: 1.6rem;
}