@charset "UTF-8";
#cart_section {
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: -40px;
  background-color: #f5f5f7;
}
#cart_section .cart-title {
  display: block;
  font-size: 26px;
  font-weight: 800;
  max-height: 32px;
  margin-block: 15px;
  color: #002f75;
}
#cart_section .cart-subtitle {
  font-size: 15px;
  text-align: left;
  font-weight: 400;
  line-height: 24px;
  color: #6b7280;
}
#cart_section .cart-wrapper {
  gap: 30px;
  display: grid;
  margin-block: 20px;
  grid-template-columns: 1fr 400px;
}
@media screen and (max-width: 1024px) {
  #cart_section .cart-wrapper {
    grid-template-columns: 1fr;
  }
}
#cart_section .cart-product {
  padding: 15px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(10, 10, 10, 0.06);
}
#cart_section .cart-side {
  position: sticky;
  top: 50px;
  gap: 20px;
  display: flex;
  height: fit-content;
  flex-direction: column;
}
#cart_section .cart-button {
  padding-top: 10px;
  border-top: 1px dashed #ddd;
}
#cart_section .cart-button button.back {
  padding-block: 10px;
}
#cart_section .cart-button button.back span.back {
  flex-direction: row-reverse;
}
#cart_section .cart-button button.back span.back::after {
  content: "←";
}

#cart_product .product-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}
#cart_product .product-wrapper {
  gap: 15px;
}
#cart_product .product-item {
  gap: 10px;
  display: grid;
  padding-block: 12px;
  align-items: center;
  grid-template-columns: 90px 1fr 120px;
  border-bottom: 1px solid #ddd;
}
@media screen and (max-width: 768px) {
  #cart_product .product-item {
    grid-template-columns: 90px 1fr 90px;
  }
}
#cart_product .product-item.disabled {
  opacity: 0.5;
  user-select: none;
  pointer-events: none;
}
#cart_product .product-thumb {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}
#cart_product .product-content {
  width: 100%;
  height: 100%;
  max-height: 90px;
}
#cart_product .product-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}
#cart_product .product-title {
  height: 40px;
  font-size: 15px;
  font-weight: 600;
  max-height: 40px;
  line-height: 20px;
  color: #002f75;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
#cart_product .product-sku {
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  max-height: 20px;
  color: #6b7280;
}
#cart_product .product-unit {
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: #6b7280;
}
#cart_product .product-unit b {
  color: #dc2626;
}
#cart_product .product-control {
  max-height: 30px;
  max-width: max-content;
}
#cart_product .product-counter {
  height: 30px;
  width: max-content;
  border-radius: 2px;
  border: 1px solid #ddd;
}
#cart_product .product-counter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
#cart_product .product-counter input[type=number] {
  width: 40px;
  height: 30px;
  font-size: 14px;
  font-weight: 500;
  border-radius: unset;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}
#cart_product .product-counter input[type=number]::-webkit-inner-spin-button, #cart_product .product-counter input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#cart_product .product-counter button {
  width: 30px;
  border: none;
  height: 30px;
  cursor: pointer;
  font-weight: 600;
  background-color: transparent;
}
#cart_product .product-counter button span {
  display: block;
  line-height: 30px;
  text-align: center;
}
#cart_product .product-price {
  height: 100%;
}
#cart_product .product-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
#cart_product .product-price {
  gap: 10px;
}
#cart_product .product-total {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: right;
  color: #b22222;
  display: inline-block;
}
#cart_product .product-remove {
  border: none;
  outline: none;
  cursor: pointer;
  text-align: right;
  user-select: none;
  width: fit-content;
  display: inline-block;
  color: #374151;
  transition: all linear 0.2s;
  background-color: transparent;
}
#cart_product .product-remove:hover {
  color: #dc2626;
}
#cart_product .product-remove span {
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 26px;
  user-select: none;
}
#cart_product .product-remove i.fa {
  color: inherit;
  user-select: none;
  pointer-events: none;
}

#summary {
  margin-top: -12px;
}
#summary .summary-row {
  padding-block: 8px;
  border-top: 1px dashed #ddd;
}
#summary .summary-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
}
#summary .summary-row {
  gap: 15px;
}
#summary .summary-row:first-child {
  border-top: unset;
}
#summary .summary-row span:not([class]) {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}
#summary .summary-row p:not([class]) {
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
}
#summary .summary-label {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: #dc2626;
}
#summary .summary-note {
  max-width: max-content;
  line-height: 24px;
}
#summary .summary-note a {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: underline;
}

#cart_aside .side-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
#cart_aside .ship-box,
#cart_aside .action-box,
#cart_aside .voucher-box,
#cart_aside .trust-box {
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}
#cart_aside .action-box {
  gap: 12px;
  display: flex;
  flex-direction: column;
}
#cart_aside .action-total {
  display: flex;
  font-size: 15px;
  align-items: center;
  justify-content: space-between;
}
#cart_aside .action-total span {
  font-size: 18px;
  font-weight: 600;
  color: #b22222;
}
#cart_aside .action-total strong {
  font-size: 18px;
  font-weight: 700;
  color: #b22222;
}
#cart_aside .voucher-form {
  display: flex;
  gap: 8px;
}
#cart_aside .voucher-input {
  flex: 1;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}
#cart_aside .voucher-input:focus {
  outline: none;
  border-color: #999;
}
#cart_aside .voucher-btn {
  height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 6px;
  background: #333;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}
#cart_aside .voucher-btn:hover {
  background: #000;
}
#cart_aside .ship-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #444;
}
#cart_aside .trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#cart_aside .trust-list li {
  font-size: 14px;
  color: #444;
}

#checkout {
  padding-block: 10px;
}

#cart_noti {
  position: fixed;
  left: 50%;
  opacity: 0;
  z-index: 999;
  user-select: none;
  visibility: hidden;
  height: max-content;
  pointer-events: none;
  max-width: max-content;
  transform: translate(-50%, 0%);
}
#cart_noti.show {
  user-select: unset;
  pointer-events: unset;
  animation: fadeIn 0.3s ease both;
}
#cart_noti.hide {
  animation: fadeOut 0.3s ease both;
}
#cart_noti .cart-wrapper {
  width: 400px;
  padding: 24px 28px;
  text-align: center;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
#cart_noti .cart-heading {
  font-size: 18px;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 10px;
}
#cart_noti .cart-content {
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 20px;
  color: #333;
}
#cart_noti .cart-button {
  padding: 10px 20px;
  margin-left: auto;
  margin-right: auto;
}
@keyframes fadeIn {
  from {
    top: 10%;
    opacity: 0;
    visibility: hidden;
  }
  to {
    top: 30%;
    opacity: 1;
    visibility: visible;
  }
}
@keyframes fadeOut {
  from {
    top: 30%;
    opacity: 1;
    visibility: visible;
  }
  to {
    top: 10%;
    opacity: 0;
    visibility: hidden;
  }
}

/*# sourceMappingURL=cart.css.map */
