.invisible {
  visibility: hidden;
}

.yc-cart {
  margin: 4rem 0 2rem;
}
.yc-cart .empty-cart ion-icon {
  --ionicon-stroke-width: 18px;
}
.yc-cart .cart-table .header-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.yc-cart .cart-table .header-block .header-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 60%;
}
@media screen and (max-width: 768px) {
  .yc-cart .cart-table .header-block .header-bar {
    width: 100%;
  }
}
.yc-cart .cart-table .header-block .header-bar h2 {
  font-weight: 700;
  font-size: 21px;
}
.yc-cart .cart-table .header-block .header-bar p {
  color: #9B9B9B;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
}
.yc-cart .cart-table .header-block .checkout_cta {
  max-width: 100%;
  width: 437px;
}
@media screen and (max-width: 768px) {
  .yc-cart .cart-table .header-block .checkout_cta {
    display: none;
  }
}
.yc-cart .cart-table .summary-box {
  max-width: 100%;
  border: 1px solid #EFEFEF;
  border-radius: 4px;
  width: 437px;
  float: left;
  margin-bottom: 40px;
}
.yc-cart .cart-table .summary-box .promo {
  font-weight: 400;
  margin-bottom: 17px;
  font-size: 15px;
}
.yc-cart .cart-table .summary-box input {
  border: 1px solid #BDBDBD;
  border-radius: 4px;
}
.yc-cart .cart-table .summary-box .price-box {
  margin: 25px auto 15px;
}
.yc-cart .cart-table .summary-box .price-box .box {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 20px;
  color: #A8A8A8;
}
.yc-cart .cart-table .summary-box .price-wrapper {
  padding: 0px 18px 18px;
}
.yc-cart .cart-table .summary-box .price-wrapper .capitalize {
  width: 80%;
}
.yc-cart .cart-table .summary-box .price-wrapper .item-price {
  width: 20%;
  text-align: end;
}
.yc-cart .cart-table .summary-box .total {
  font-weight: 700;
  font-size: 14px;
}
.yc-cart .cart-table .summary-box .total-price {
  color: rgb(var(--color-foreground));
  font-weight: 700;
  font-size: 16px;
}
.yc-cart .cart-table .summary-box .border-space {
  padding-bottom: 22px;
  padding: 0px 18px 18px;
}
.yc-cart .cart-table .summary-box .item-total-price {
  color: rgb(var(--color-foreground));
  font-weight: 700;
  font-size: 16px;
}
.yc-cart .cart-table .summary-box .discount-text {
  font-weight: 700;
  font-size: 14px;
}
.yc-cart .cart-table .summary-box .discount-price {
  font-size: 15px;
  font-weight: 500;
}
.yc-cart .cart-table .summary-box .coupon-applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  font-size: 14px;
}
.yc-cart .cart-table .summary-box .coupon-applied span {
  font-weight: 600;
}
.yc-cart .cart-table .summary-box #remove-coupon {
  cursor: pointer;
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  .yc-cart .cart-table .summary-box {
    width: 100%;
  }
}
.yc-cart .quantity-wrapper {
  width: fit-content;
  border: 1px solid #BDBDBD;
  border-radius: 4px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  background-color: white;
}
.yc-cart .quantity-wrapper button {
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  background-color: transparent;
  font-size: 18px;
  color: #B7B7B7;
}
.yc-cart .quantity-wrapper input {
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: white;
  display: flex;
  font-weight: 600 !important;
  font-size: 16px !important;
  border: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media screen and (max-width: 520px) {
  .yc-cart .quantity-wrapper button, .yc-cart .quantity-wrapper input {
    width: 26px !important;
    min-width: 25px !important;
    max-width: 25px !important;
    height: 27px !important;
    min-height: 27px !important;
    max-height: 27px !important;
  }
}

.table-container {
  display: flex;
  flex-direction: column;
  margin: 42px auto;
  overflow-x: auto;
}
.table-container .cart__item {
  background: #F5F5F5;
  border: 1px solid #EDEDED;
  border-radius: 0px 0px 4px 4px;
  position: relative;
  margin-bottom: 25px;
}
.table-container .header {
  border: 1px solid #EDEDED;
  border-radius: 4px 4px 0px 0px;
  border-bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.table-container .header .cell {
  flex-basis: 20%;
  text-align: start;
  padding: 10px;
  font-weight: 400;
  font-size: 14px;
}
.table-container .row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.table-container .row .cell {
  flex-basis: 20%;
  text-align: start;
  padding: 10px;
}
.table-container .row .cell .product-title {
  font-weight: 400;
  font-size: 16.5px;
  margin-bottom: 10px;
  width: 86%;
}
.table-container .row .cell .total-price-wrapper span {
  color: rgb(var(--color-foreground));
  font-weight: 700;
  font-size: 17px;
}
.table-container .row .cell .product-image img {
  width: 140px;
  height: 110px;
  object-fit: contain;
}
.table-container .row .adjust-space {
  flex-basis: 5%;
  padding: 0;
}

/* NURYA — premium cart page */
.yc-cart {
  margin: 0;
  padding: 72px 0 96px;
  min-height: 68vh;
  color: #f4efe4;
  background:
    radial-gradient(circle at 15% 10%, rgba(202, 160, 73, 0.10), transparent 34%),
    linear-gradient(180deg, #19191c 0%, #111114 100%);
}

.yc-cart .cart-table {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px 38px;
}

.yc-cart .cart-table .header-block {
  grid-column: 1 / -1;
  border-bottom: 1px solid rgba(208, 170, 88, 0.25);
  padding-bottom: 22px;
}

.yc-cart .cart-table .header-block .header-bar {
  width: 100%;
}

.yc-cart .cart-table .header-block .header-bar h1 {
  margin: 0;
  color: #f4efe4;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.yc-cart .table-container {
  grid-column: 1;
  margin: 0;
}

.yc-cart .table-container .header {
  color: rgba(244, 239, 228, 0.62);
  border-color: rgba(208, 170, 88, 0.20);
  background: rgba(255, 255, 255, 0.025);
}

.yc-cart .table-container .cart__item {
  color: #f4efe4;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(208, 170, 88, 0.20);
}

.yc-cart .table-container .row .cell .total-price-wrapper span,
.yc-cart .cart-table .summary-box .item-total-price,
.yc-cart .cart-table .summary-box .total-price {
  color: #d8b968;
}

.yc-cart .cart-table .summary-box {
  grid-column: 2;
  grid-row: 2;
  float: none;
  width: 100%;
  margin: 0;
  color: #f4efe4;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(208, 170, 88, 0.28);
  border-radius: 0;
}

.yc-cart .cart-table .summary-box .price-box .box {
  color: rgba(244, 239, 228, 0.64);
}

.yc-cart .border-t,
.yc-cart .border-b {
  border-color: rgba(208, 170, 88, 0.20) !important;
}

.yc-cart .nurya-cart-checkout,
.yc-cart .empty-cart .yc-btn {
  min-height: 52px;
  color: #121215 !important;
  background: linear-gradient(135deg, #e4c878, #b88936) !important;
  border: 1px solid #e4c878;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

@media screen and (max-width: 860px) {
  .yc-cart {
    padding: 48px 0 72px;
  }

  .yc-cart .cart-table {
    grid-template-columns: 1fr;
  }

  .yc-cart .table-container,
  .yc-cart .cart-table .summary-box {
    grid-column: 1;
    grid-row: auto;
  }
}
.table-container .row .close-btn {
  font-size: 25px;
  color: #4B5565;
}
@media screen and (max-width: 767px) {
  .table-container .header {
    display: none;
  }
  .table-container .row {
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
  }
  .table-container .row .cell .product-image img {
    width: 140px;
    height: 90px;
  }
  .table-container .close-btn button {
    position: absolute;
    left: 0;
    top: 0;
    margin: 10px;
  }
  .table-container .product-title {
    width: 87%;
  }
  .table-container .row .cell:first-child,
  .table-container .row .cell:nth-child(n+3) {
    flex-basis: 35%;
  }
  .table-container .row .cell:nth-child(2),
  .table-container .row .cell:nth-child(n+4) {
    flex-basis: 65%;
  }
}
