/*
 * Copyright © Amazon.com and Affiliates: This deliverable is considered Developed Content as defined in AWS Services Terms and the SOW between the parties dated October, 31. 2025.
 */

.new-cart {
  margin-bottom: 135px;
}
.cart-header {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  padding: 14px 15px;
  background-color: #eee;
}
.cart-remove-select-btn {
  border: none;
  background: none;
  color: #848284;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.35px;
}
.cart-section-items {
  margin: 0;
  border-bottom: 8px solid #eee;
  position: relative;
}
.cart-section-header {
  border-bottom: 1px solid #eee;
  padding: 10px 15px;
}
.cart-item {
  border-bottom: 1px solid #eee;
  display: flex;
  flex-flow: row nowrap;
  padding: 17px 15px;
  gap: 9px;
  position: relative;
}
.cart-item .checkbox-label {
  align-items: flex-start;
}
.cart-item-img {
  width: 80px;
  min-width: 80px;
  height: 80px;
}
.cart-item .item-info {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  width: 100%;
}
.item-title-info-area,
.item-price-info-area {
  display: flex;
  flex-flow: column nowrap;
  gap: 4px;
}
.cart-item-brand {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.cart-item-name {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-right: 20px;
}
.free-gift-card {
  border-radius: 2px;
  padding: 3px 5px;
  color: #66a2ff;
  font-size: 10px;
  letter-spacing: -0.188px;
  font-weight: 400;
  background: rgba(144, 185, 249, 0.2);
  display: inline-block;
}
.item-release-date {
  color: #fc123e;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: -0.3px;
}
.item-bottom-info-area {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 10px;
}
.item-origin-price-info-area {
  display: flex;
  flex-flow: row nowrap;
  gap: 16px;
  margin-bottom: 3px;
}
.origin-price {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: -0.3px;
  color: #767676;
  text-decoration-line: line-through;
}
.origin-sale-price {
  color: #767676;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.35px;
}
.coupon-use-text {
  color: #66a2ff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.coupon-use-text2 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.timer-title {
  color: tomato;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.timer-text {
  color: tomato;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.sale-price {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.35px;
}
.quantity-controller {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}
.quantity-decrease,
.quantity-increase {
  width: 28px;
  height: 28px;
  border: 1px solid #e5e5ec;
  background: #fff;
}
.quantity-input {
  height: 26px;
  width: 40px;
  border: 0;
  border-top: 1px solid #e5e5ec;
  border-bottom: 1px solid #e5e5ec;
  text-align: center;
  font-size: 13px;
  padding: 0;
  margin: 0;
  border-radius: unset;
}
.cart-item .remove-item-btn {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
}
.item-tooltip {
  position: absolute;
  background: linear-gradient(90deg, #d467f5 0%, #79b0fd 100%), #000;
  top: -9px;
  right: 16px;
  z-index: 10;
  display: flex;
  flex-flow: row nowrap;
  border-radius: 9.5px;
}

.tooltip-text {
  color: #fff;
  padding: 4px 5px 4px 10px;
  font-size: 12px;
  letter-spacing: -0.3px;
  font-weight: 300;
  white-space: nowrap;
  position: relative;
}

.tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 4px;
  border-width: 5px;
  border-style: solid;
  border-color: #81abfc transparent transparent transparent;
}
.close-tooltip-btn {
  border: none;
  background: none;
  color: #fff;
  font-size: 12px;
}
.free-quantity {
  margin-right: 13px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.3px;
}
.gift-area {
  padding: 13px 15px;
}
.gift-promo-message {
  color: #848284;
  font-weight: 400;
  letter-spacing: -0.35px;
  padding-bottom: 14px;
}
.gift-list {
  display: flex;
  flex-flow: column nowrap;
  gap: 10px;
}
.gift-item {
  border-radius: 6px;
  border: 1px solid #e5e5ec;
  background: #f9f9f9;
}
.gift-card {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}
.gift-image {
  width: 70px;
  border-radius: 6px;
}
.gift-info {
  padding: 0 14px;
  position: relative;
  width: 100%;
}
.gift-name {
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: -0.3px;
}
.gift-quantity {
  position: absolute;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: #848284;
  right: 15px;
}
.cart-section-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.35px;
  padding: 6px 0;
  border-bottom: 0;
}
.offer-list {
  display: flex;
  flex-flow: row;
  gap: 15px;
  padding: 4px 17px 16px;
}
.offer-card {
  width: 33.33%;
}
.offer-card img {
  width: 100%;
}
.offer-info-area {
  padding: 11px 0 10px;
}
.offer-name {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.offer-name strong {
  font-weight: 600;
  letter-spacing: -0.3px;
  font-size: 12px;
}
.offer-pricing {
  display: flex;
  flex-flow: row;
  gap: 4px;
  padding-bottom: 6px;
  padding-top: 9px;
  align-items: center;
}
.offer-discount {
  color: #fc123e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.325px;
}
.offer-original-price {
  font-size: 12px;
  font-weight: 400;
  text-decoration-line: line-through;
  color: #767676;
}
.offer-sale-price {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.35px;
}
.offer-add-to-cart-btn {
  border-radius: 2px;
  background: rgba(252, 18, 62, 0.1);
  text-align: center;
  color: #fc123e;
  border: none;
  font-size: 7.5px;
  letter-spacing: -0.188px;
  font-weight: 400;
  padding: 4px 0;
  width: 100%;
}
.cart-offer-title {
  padding: 14px 15px;
}
/* discount */
.cart-section-promotions-offers {
  padding: 15px 19px;
  display: flex;
  flex-flow: column nowrap;
  gap: 18px;
}
.cart-section-promotions-offers .form-group,
.cart-shipping-section .form-group {
  display: flex;
  flex-flow: column nowrap;
}
.cart-section-promotions-offers .form-label,
.cart-shipping-section .form-label {
  color: #848284;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.35px;
  margin-bottom: 13px;
}
.cart-section-promotions-offers .form-note {
  color: #fc123e;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin-top: 7px;
}
.custom-select-wrapper {
  position: relative;
  width: 100%;
}
.custom-select {
  width: 100%;
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: -0.25px;
  font-weight: 400;
  border-radius: 6px;
  border: 1px solid #e5e5ec;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
}
.custom-arrow {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
}

.custom-arrow-icon {
  width: 100%;
  height: 100%;
  stroke: #111;
}
.input-group {
  display: flex;
  flex-flow: row nowrap;
  gap: 15px;
  align-items: center;
}
.form-input {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: -0.25px;
  width: 65%;
  padding: 11.5px 15px;
  border-radius: 6px;
  border: 1px solid #e5e5ec;
}
.btn-apply {
  padding: 0 21px;
  height: 36px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.35px;
}
.point-use-group {
  display: flex;
  flex-flow: column nowrap;
  gap: 10px;
}
.point-input-group,
.point-apply-group {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 7px;
}
.point-input {
  text-align: end;
  border: none;
  border-bottom: 1px solid #e5e5ec;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: -0.25px;
}
.point-available,
.point {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: -0.25px;
  color: #848284;
}
.point-apply-group .checkbox-label .custom-check {
  min-width: 16px;
  width: 16px;
  height: 16px;
}
.point-apply-group .checkbox-label,
.max-use-point {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: -0.25px;
  color: #848284;
}
.point-apply-group .btn-apply {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: -0.25px;
  padding: 7px 10px;
  height: auto;
}

/* shipping */
.cart-shipping-section {
  padding: 15px 17px;
}
.shipping-weight {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin-top: 7px;
}
.shipping-method {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  padding: 11px 0;
}
.shipping-radio {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 10px;
}
.shipping-logo {
  height: 24px;
}
.shipping-logo img {
  height: 100%;
}
.shipping-price {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  margin-top: 7px;
  margin-left: 26px;
}
.shipping-duration {
  color: #848284;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: -0.25px;
}
.shipping-total-price {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.35px;
}
.shipping-price-summary {
  display: flex;
  flex-flow: column nowrap;
  text-align: end;
  gap: 7px;
}
.shipping-price-summary p {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.shipping-info-msg {
  border: 1px solid #dbdbdb;
  color: #848284;
  font-size: 10px;
  font-weight: 300;
  line-height: 16px;
  letter-spacing: -0.25px;
  padding: 10px 12px;
  margin-top: 13px;
}
.shipping-progress-area {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
}

.shipping-progress-text {
  margin-bottom: 8px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 5px;
  color: #848284;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.35px;
}
.shipping-progress-text .blue {
  color: #66a2ff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.35px;
}

.shipping-progress-bar {
  width: 100%;
  height: 4px;
  background-color: #e5e5ea;
  border-radius: 2px;
  overflow: hidden;
}

.shipping-progress-bar .fill {
  height: 100%;
  background-color: #66a2ff;
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}

/* total amount */
.summary-body {
  padding: 13px 17px 0;
}
.summary-item {
  margin-bottom: 20px;
  display: flex;
  flex-flow: column nowrap;
  gap: 16px;
}
.summary-discount {
  display: flex;
  flex-flow: column nowrap;
  gap: 12px;
}
.summary-discount-list {
  display: flex;
  flex-flow: column nowrap;
  gap: 12px;
}
.summary-row,
.summary-sub-row {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

.discount-section {
  margin-bottom: 3px;
}
.summary-title-label {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.35px;
  color: #000;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  position: relative;
}
.summary-title-label button {
  width: 12px;
  height: 12px;
  border: none;
  background: none;
  padding: 0;
  margin-left: 3px;
}
.summary-title-label button img {
  width: 100%;
}
.gst-tooltip-content {
  position: absolute;
  top: -90px;
  left: 140px;
  transform: translateX(-50%);
  background: #7c7c7c;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.3px;
  font-weight: 400;
  min-width: 240px;
  display: none;
  z-index: 100;
}
.vat-tooltip-content {
  top: -105px;
}
.gst-tooltip-content.active {
  display: block;
}
.gst-value {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.3px;
}
.summary-title-value {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.35px;
  color: #000;
}
.summary-sub-row .label,
.summary-sub-row .value {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: #848284;
}
.summary-sub-row .free {
  color: #66a2ff;
}
.discount-section .summary-title-value {
  color: #fc123e;
}
.summary-gst {
  margin: 22px 0;
}
.summary-row-total,
.summary-row-currency {
  padding: 12px 0;
  border-top: 1px solid #eee;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}
.summary-row-total .label,
.summary-row-currency .label {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.35px;
}
.summary-row-total .value,
.summary-row-currency .value {
  color: #fc123e;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.35px;
}

.summary-taxes {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  padding-top: 20px;
}

.summary-taxes-label {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.3px;
}

.summary-taxes-value {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.3px;
}

.taxes-text {
  display: none;
  margin-bottom: 16px;
  color: #848284;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: -0.3px;
}

/* 카트 비었을 때 */
.cart-empty {
  margin: 0 auto;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  padding: 88px 63px;
}
.empty-icon img {
  width: 116px;
}
.empty-message {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.35px;
  line-height: 24px;
  margin-top: 23px;
}
.go-shopping-btn {
  margin: 37px 0;
  background: #111;
  color: #fff !important;
  border-radius: 6px;
  padding: 19px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.35px;
}
.go-sign-in-btn {
  margin: 37px 0;
  border: 1px solid #000;
  border-radius: 6px;
  padding: 19px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.35px;
}
.discount-wrap {
  display: flex;
  flex-flow: column;
  gap: 12px;
}
/* 로딩 화면 */
.loading-img {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  top: 0;
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.loading-img img {
  width: 30px;
}
