body {
  overflow: visible !important;
}

.cart-items {
  width: 680px;
  background-color: #fff;
  border-radius: 4px;
}

.cart-items-header {
  height: 91px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  margin-bottom: 20px;
  background-color: var(--color-box-gray);
}

.cart-select-all {
  margin-right: 8px;
  accent-color: var(--color-orange);
}

.cart-items-header label {
  flex: 1;
  font-size: 17px;
}

.cart-items-header label span[data-selected-count],
.cart-items-header label span[data-total-count],
.cart-items-header label span.cart-slash {
  color: red;
}

.cart-items-list {
  border: 1px solid var(--color-border-gray);
  border-radius: 4px;
  background-color: #fff;
  margin-top: 16px;
}

.cart-item {
  padding: 0 40px 40px 40px;
}

.cart-items-list>.cart-item:first-child {
  padding-top: 40px;
}

.cart-items-list>.cart-item:not(:first-child) {
  padding-top: 0;
}

.cart-item-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 20px;
}

.cart-item-checkbox {
  margin-right: 19px;
  accent-color: var(--color-orange);
}

.cart-item-image {
  width: 65px;
  height: 65px;
  overflow: hidden;
  background-color: #e0e0e0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-title {
  flex: 1;
  font-size: 17px;
  line-height: 1.4;
}

.cart-item-options {
  padding-left: 40px;
}

.cart-item-option {
  background-color: var(--color-box-gray);
  border-radius: 4px;
  padding: 20px 40px;
  margin-bottom: 16px;
}

.cart-option-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.cart-option-name {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.4;
  flex: 1;
}

.cart-option-control {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 32px;
}

.cart-quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border-gray);
  overflow: hidden;
}

.cart-quantity-btn {
  width: 25px;
  height: 27px;
  background-color: #fff;
  border: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart-quantity-input {
  width: 55px;
  height: 27px;
  border: none;
  border-left: 1px solid var(--color-border-gray);
  border-right: 1px solid var(--color-border-gray);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.cart-price-info {
  display: flex;
  text-align: left;
  gap: 10px;
}

.cart-price-main {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 5px;
}

.cart-price-point {
  font-size: 12px;
  color: var(--text-light-gray);
  display: flex;
  align-items: center;
}

.cart-item-total {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 16px;
}

.cart-total-label {
  font-size: 13px;
  font-weight: 400;
  margin-right: 10px;
}

.cart-total-price {
  font-size: 19px;
  font-weight: 700;
}

.cart-item-shipping {
  margin-top: 10px;
  text-align: right;
}

.cart-shipping-calc {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 7px;
}

.cart-shipping-label {
  font-size: 13px;
  font-weight: 400;
}

.cart-shipping-amount {
  font-size: 13px;
  font-weight: 400;
}

.cart-shipping-calc .cart-shipping-total {
  font-size: 19px;
  font-weight: 700;
}

.cart-shipping-notice {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: var(--text-light-gray);
  font-size: 13px;
  font-weight: 400;
  gap: 8px;
}

.cart-shipping-notice img {
  width: 24px;
  height: 24px;
}

.cart-summary {
  position: sticky;
  top: 140px;
  max-height: 100vh;
  width: 480px;
  border-radius: 4px;
}

.cart-address-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.cart-address-label {
  font-size: 15px;
  font-weight: 600;
  margin-right: 10px;
}

.cart-address {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

.cart-address-change-btn {
  font-size: 11px;
  padding: 5px 10px;
  white-space: nowrap;
}

.cart-shipping-info {
  margin-top: 15px;
  border-radius: 4px;
  padding: 15px 0;
  margin-left: 40px;
}

.cart-shipping-free-possible {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 500;
}

.cart-shipping-slide {
  text-align: left;
  overflow: hidden;
  padding-bottom: 0;
  position: relative;
}

.cart-shipping-slide .swiper-slide {
  width: 100px;
}

.cart-shipping-slide-item {
  width: 100%;
  flex-shrink: 0;
  cursor: pointer;
}

.cart-shipping-slide-image {
  width: 100px;
  height: 95px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
}

.cart-shipping-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cart-shipping-slide-title {
  display: flex;
  justify-content: flex-start;
  font-size: 13px;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.cart-shipping-slide-price {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-shipping-slide-discount {
  font-size: 12px;
}

.cart-shipping-slide-price-value {
  font-size: 12px;
  font-weight: bold;
}

.cart-item-price {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item-price-calculation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
}

.price-item,
.total-item {
  font-size: 19px;
  font-weight: 700;
}

.shipping-label,
.shipping-item,
.total-label {
  font-size: 14px;
}

.shipping-info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
}

.shipping-info span {
  font-size: 13px;
  color: var(--text-light-gray);
}

.product-section--compact {
  margin-top: 50px;
  transform: scale(0.8);
  transform-origin: top left;
  width: calc(100% / 0.83);
}

.cart-page .section-header {
  justify-content: flex-start;
  margin-bottom: 32px;
}

.cart-page .section-title {
  font-size: 22px;
}

.empty_message {
  text-align: center;
  padding: 0;
  border: 0 none !important;
  outline: 0 none;
  box-shadow: none;
  margin: 40px 0;
  font-size: 16px;
  color: var(--text-gray);
}

/* 자주 구매한 상품 영역  */
.cart-page .product-section--cart {
  --info-scale: .77;
  --icon-scale: .8;
   margin-top: 70px;
}

.cart-page .product-section--cart .product-list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cart-page .product-section--cart .product-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
}


.cart-page .product-section--cart .section-header {
  justify-content: space-between;
}

.cart-page .product-section--cart .section-title {
  font-size: 19px;
}

.cart-page .product-section--cart .more-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-page .product-section--cart .product-card-info {
  transform: scale(var(--info-scale));
  transform-origin: top left;
  width: calc(100% / var(--info-scale));
}

.cart-page .product-section--cart .product-card-actions {
  padding: 8px 0;
  right: 3px;
}

.cart-page .product-section--cart .product-card-actions .product-card-icon,
.cart-page .product-section--cart .product-card-actions .cart-icon {
  transform: scale(var(--icon-scale));
  transform-origin: bottom;
}