/* Cart Item */
.cart-item:not(:last-child) {
  margin-bottom: 16px;
}
.product-horizontal {
  border: 1px solid #efefef;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  align-items: stretch;
}
.product-image {
  overflow: hidden;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
  border: 1px solid #EFEFEF;
  padding: 9px;
}
.product-image img {
  width: 100px;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.product-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  margin-left: 16px;
}
.product-info-top {
  padding-right: 122px;
  position: relative;
}
.product-name {
  margin-bottom: 2px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 200px;
}
.product-company {
  margin-top: 6px;
}
.product-detail,
.product-detail p {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.product-detail p {
  gap: 6px;
}
.color-circle {
  border-radius: 100%;
  width: 18px;
  height: 18px;
}
.product-horizontal .price-wrapper {
  gap: 6px;
  position: absolute;
  top: 0;
  right: 0;
}
.product-horizontal .discounted-price {
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
}
.product-horizontal .original-price {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}
.product-info-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
}
.product-info-link {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.product-info-link li:last-child {
  padding-left: 32px;
  position: relative;
}
.product-info-link li:last-child::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 16px;
  width: 1px;
  height: 16px;
  background: #d3d3d3;
}
.product-info-link li.only-remove:last-child::before { 
  display: none;
}
.product-info-link .fav-button,
.product-info-link i {
  display: none;
}
/* Cart Item End */

/* Price Detail */
.price-detail-wrapper {
  position: sticky;
  top: 166px;
}
.price-detail {
  padding: 24px;
  background-color: #f6f6f6;
  border-radius: 6px;
}
.price-detail-listing {
  border-bottom: 1px solid #d3d3d3;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.price-detail-listing > li:not(:last-child) {
  margin-bottom: 4px;
}
.price-detail-listing > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
}
.add-tip-button i {
  display: none;
}
.add-tip-button.close {
  font-size: 0;
  line-height: 0;
}
.add-tip-button.close i {
  display: flex;
}
.add-tip-block {
  display: none;
}
.add-tip-block {
  width: 100%;
}
.size-radio {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.size-radio label {
  margin-bottom: 0;
}
.radio-button .product-size.add-tip-value {
  padding: 6px 0 5px;
  width: 59px;
}
.add-tip-block .radio-button input[type="radio"]:checked + .product-size {
  border: 1px solid #f59635;
}
.add-tip-block .form-group {
  margin-bottom: 8px;
}
.add-tip-block input {
  padding: 3px 15px;
}
.price-total > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-cancellation-policy {
  background-color: #f6f6f6;
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Price Detail End */

.cart-main-title h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  color: #17242A;
}
.cart-row {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #EFEFEF;
}
@media only screen and (max-width: 1199px) {
  /* Price Detail */
  .price-detail-wrapper {
    top: 112px;
  }
  /* Price Detail End */

  .cart-main-title h2 {
    font-size: 20px;
    line-height: 26px;
  }
}
@media only screen and (max-width: 991px) {
  /* Cart */
  .common-title .text-link.text-normal {
    font-size: 14px;
    line-height: 20px;
  }
  /* Cart End */
  /* Cart Item */
  .product-horizontal {
    padding: 12px;
  }
  .product-info {
    margin-left: 12px;
  }
  .product-horizontal .discounted-price {
    line-height: 24px;
  }
  .product-horizontal .original-price {
    font-size: 14px;
    line-height: 20px;
  }
  .product-info-link li:last-child {
    padding-left: 20px;
  }
  .product-info-link li:last-child::before {
    top: 5px;
    left: 10px;
  }
  /* Cart Item End */
  /* Price Detail */
  .price-detail-wrapper {
    top: 77px;
  }
  .price-detail {
    padding: 12px;
  }
  .radio-button .product-size.add-tip-value {
    padding: 4px 0 3px;
    width: 50px;
  }
  /* Price Detail End */

  .cart-main-title h2 {
    font-size: 18px;
    line-height: 24px;
  }
  .product-info-top {
    padding-right: 0;
  }
}
@media only screen and (max-width: 767px) {
  /* Cart Item */
  .product-name {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 4px;
  }
  .product-company {
    margin-bottom: 4px;
  }
  .product-detail {
    gap: 12px;
  }
  .product-detail p {
    font-size: 14px;
    line-height: 24px;
  }
  .color-circle {
    width: 16px;
    height: 16px;
  }
  .product-info-link .text-normal {
    font-size: 14px;
    line-height: 24px;
  }
  /* Cart Item End */
  /* Price Detail */
  .price-detail-wrapper {
    position: static;
    margin-top: 16px;
  }
  .price-detail-listing p,
  .price-detail-listing .text-link,
  .price-total p {
    font-size: 14px;
    line-height: 20px;
  }
  /* Price Detail End */

  .cart-main-title h2 {
    font-size: 16px;
    line-height: 22px;
  }
}
@media only screen and (max-width: 575px) {
  /* Cart Item */
  .product-name,
  .product-detail p,
  .product-info-link .text-normal {
    line-height: 20px;
  }
  .product-horizontal .discounted-price {
    font-size: 14px;
    line-height: 20px;
  }
  .product-horizontal .original-price {
    font-size: 12px;
    line-height: 18px;
  }
  .product-info-link li:last-child {
    padding-left: 16px;
  }
  .product-info-link li:last-child::before {
    top: 4px;
    left: 8px;
    height: 14px;
  }
  /* Cart Item End */
  /* Price Detail */
  .price-detail-listing {
    padding-bottom: 8px;
    margin-bottom: 8px;
  }
  /* Price Detail End */

  .cart-main-title h2 {
    font-size: 14px;
  }
}
@media only screen and (max-width: 480px) {
  /* Cart Item */
  .product-horizontal {
    flex-direction: column;
    row-gap: 8px;
    position: relative;
  }
  .product-image {
    width: max-content;
  }
  .product-info {
    margin-left: 0;
    row-gap: 8px;
  }
  .product-info-top {
    padding-right: 0;
    position: static;
  }
  .product-horizontal .price-wrapper {
    position: static;
    margin-top: 10px;
  }
  .product-info-bottom {
    justify-content: flex-end;
  }
  /* .product-info-bottom {
    gap: 8px;
    flex-wrap: wrap;
    } */
  .product-info-link {
    position: absolute;
    top: 12px;
    right: 12px;
  }
  .product-info-link .text-link {
    font-size: 0;
    line-height: 0;
  }
  .product-info-link li {
    display: block;
    line-height: 0;
  }
  .product-info-link li:last-child {
    position: relative;
  }
  .product-info-link button.text-link {
    display: none;
  }
  .product-info-link .fav-button {
    display: block;
    top: 0;
    left: inherit;
    right: 0;
    position: relative;
  }
  /* .product-info-link .favorite .fav-button {
    position: static;
  } */
  .product-info-link i {
    display: flex;
  }

  .product-info-link .icon-delete {
    background: #d12929;
}
  /* Cart Item End */

  .common-title .text-link.text-normal {
    font-size: 12px;
    line-height: 18px;
  }
}

.slider-list-wrapper {
    position: relative;
}
