.cart-section {
  width: 640px;
  height: 80vh;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  position: fixed;
  z-index: -999;
  top: -50%;
  right: 0;
  transform: translate(50%, -50%) scale(1);
  display: block;
}
.cart-section.active {
  z-index: 999;
  top: 50%;
  right: 50%;
  animation: CartOpen 0.4s cubic-bezier(0.8, 0, 0, 0.8);
}
@keyframes CartOpen {
  0% {
    transform: translate(50%, -50%) scale(0);
    top: -50%;
    right: 0;
  }
  100% {
    transform: translate(50%, -50%) scale(1);
    top: 50%;
    right: 50%;
  }
}
.cart-section .cart-header .title-box {
  text-align: center;
  padding: 20px 0 0;
}
.cart-section .cart-header .title-box .cart-title {
  font-size: 24px;
  color: #FFF;
}
.cart-section .cart-header .title-box .cart-en {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}
.cart-section .cart-header .title-box .cart-en:before {
  content: "";
  display: inline-block;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-right: 10px;
}
.cart-section .cart-header .title-box .cart-en:after {
  content: "";
  display: inline-block;
  position: relative;
  top: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-left: 10px;
}
.cart-section .cart-header .closeicon {
  fill: #FFF;
  width: 18px;
  height: 18px;
  position: absolute;
  right: 30px;
  top: 30px;
  cursor: pointer;
}
.cart-section .cart-product::-webkit-scrollbar {
  width: 8px;
}
.cart-section .cart-product::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 100px;
}
.cart-section .cart-product::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 100px;
}
.cart-section .cart-product {
  padding: 0 40px;
  height: calc(80vh - 243px);
  overflow: auto;
  scroll-snap-type: y mandatory;
  position: relative;
}
.cart-section .cart-product .cart-product-goods {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 20px;
  padding: 0 30px;
  transition: all 0.2s;
  cursor: default;
  scroll-snap-align: start;
  margin-bottom: 10px;
  overflow: hidden;
  height: 160px;
}
.cart-section .cart-product .cart-product-goods .cart-info {
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  position: relative;
  z-index: 3;
}
.cart-section .cart-product .cart-product-goods .cart-info .product-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-section .cart-product .cart-product-goods .cart-info .cate-name {
  pointer-events: none;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  gap: 6px;
}
.cart-section .cart-product .cart-product-goods .cart-info .cate-name .tag {
  font-size: 13px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0 6px;
  border: 1.5px solid #FFF;
}
.cart-section .cart-product .cart-product-goods .cart-info .name-sec {
  pointer-events: none;
  display: flex;
  margin-top: 4px;
  align-items: center;
  white-space: nowrap;
}
.cart-section .cart-product .cart-product-goods .cart-info .name-sec .sku-name {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.cart-section .cart-product .cart-product-goods .cart-info .name-sec .nic-num {
  font-size: 29px;
  font-weight: 700;
  line-height: 0;
  margin-left: 10px;
  margin-top: 2px;
}
.cart-section .cart-product .cart-product-goods .cart-info .name-sec .nic {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  margin-left: 2px;
}
.cart-section .cart-product .cart-product-goods .cart-info .name-sec .nic span {
  font-size: 10px;
}
.cart-section .cart-product .cart-product-goods .cart-info .price {
  font-size: 16px;
  font-weight: 700;
  margin-top: 20px;
}
.cart-section .cart-product .cart-product-goods .cart-info .price .twd {
  font-size: 12px;
  font-weight: 700;
  margin-right: 4px;
}
.cart-section .cart-product .cart-product-goods .cart-info input {
  background-color: transparent;
  width: 100%;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 20px;
  cursor: unset;
  color: #FFF;
}
.cart-section .cart-product .cart-product-goods .cart-info .su-cart {
  width: 120px;
  height: 32px;
  position: relative;
  border-radius: 99px;
  overflow: hidden;
  transition: all 0.3s ease-out;
  background-color: rgba(0, 0, 0, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: grid;
  grid-template-columns: 37% 26% 37%;
  align-items: center;
  margin-top: 4px;
  transform: translateX(6px);
}
.cart-section .cart-product .cart-product-goods .cart-info .su-cart i {
  font-size: 14px;
  text-align: center;
  color: #ffffff;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  user-select: none;
  display: inline-flex;
  height: 100%;
  width: 100%;
  transition: all 0.1s;
  background-color: transparent;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.cart-section .cart-product .cart-product-goods .cart-info .su-cart i:active {
  font-size: 20px;
  background-color: rgba(255, 255, 255, 0.2);
}
.cart-section .cart-product .cart-product-goods .cart-info .su-cart i:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.cart-section .cart-product .cart-product-goods .cart-info .su-cart .cart-reduce {
  padding-left: 0.1rem;
}
.cart-section .cart-product .cart-product-goods .cart-info .su-cart .cart-disable {
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}
.cart-section .cart-product .cart-product-goods .cart-info .su-cart .cart-add {
  padding-right: 0.1rem;
}
.cart-section .cart-product .cart-product-goods .cart-info .su-cart input {
  background-color: transparent;
  width: 100%;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  cursor: unset;
  color: #FFF;
  pointer-events: none;
}
.cart-section .cart-product .cart-product-goods .del {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 194px;
  height: 44px;
  opacity: 0.8;
  transition: all 0.3s;
  z-index: 99;
  clip-path: polygon(0 0, 0% 0, 100% 100%, 100% 100%, 0 100%);
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  padding: 0 0 0 15px;
  align-items: center;
  cursor: pointer;
}
.cart-section .cart-product .cart-product-goods .del:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
.cart-section .cart-product .cart-product-goods .del svg {
  width: 24px !important;
  height: 24px !important;
}
.cart-section .cart-product .cart-product-goods .bg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 41% 100%, 0 67%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 41% 100%, 0 67%);
  z-index: 2;
}
.cart-section .cart-product .cart-product-goods .bg:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, var(--extent_color) 56%, transparent 75%);
  top: 0;
  left: 0;
  z-index: 2;
}
.cart-section .cart-product .cart-product-goods .bg .bg-img {
  position: relative;
  z-index: -1;
  height: 160px;
  width: auto;
}
.cart-section .cart-product .cart-product-goods .bg .bg-img .img-item {
  width: auto;
  display: block;
  height: 100%;
}
.cart-section .cart-product .cart-product-goods .bg .bg-img .video-item {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  display: block;
  height: 100%;
}
.cart-section .cart-footer {
  color: #FFF;
  padding: 10px 30px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  bottom: 0;
  width: 100%;
}
.cart-section .cart-footer .cart-count {
  display: flex;
  flex-direction: column;
  gap: 6px 0;
  font-size: 14px;
}
.cart-section .cart-footer .cart-count .count-num {
  font-size: 24px;
  text-decoration: 2px underline dashed rgba(255, 255, 255, 0.3);
  text-underline-offset: 5px;
  margin-right: 6px;
}
.cart-section .cart-footer .cart-count .tips {
  opacity: 0.3;
}
.cart-section .cart-footer .go-shopping {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-align: center;
  padding: 12px 60px;
  border-radius: 99px;
  letter-spacing: 4px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 0 10px;
  transition: all 0.3s;
  cursor: pointer;
  position: absolute;
  right: 30px;
  top: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.cart-section .cart-footer .go-shopping .pro .pro-icon {
  top: 50%;
}
.cart-section .cart-footer .go-shopping:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}
