.review_cart-main {
  border: 1px solid var(--_gray-200);
  border-radius: 6px;
  margin: 24px;
  padding: 24px 24px 8px 24px;
  max-height: 550px;
  overflow-y: auto;
  .review_header {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--_gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    h2 {
      font-size: 16px;
      font-weight: 700;
      color: var(--_gray-900);
      line-height: 24px;
      span {
        margin-left: 6px;
      }
    }
    ul {
      display: flex;
      align-items: center;
      li {
        line-height: 20px;
        font-size: 14px;
        font-weight: 400;
        color: var(--_gray-600);
        display: flex;
        align-items: center;
        span {
          vertical-align: middle;
          margin-right: 6px;
        }
        &::after {
          content: "";
          width: 5px;
          height: 5px;
          border-radius: 50%;
          background: var(--_gray-300);
          display: inline-block;
          margin: 0 12px;
        }
        &:last-child::after {
          width: 0;
          margin: 0;
        }
      }
    }
  }
  .shipping_address {
    display: grid;
    grid-template-columns: auto auto auto;
    padding: 24px 0;
    border-bottom: 1px solid var(--_gray-200);

    .shipping {
      // min-width: 45%;
      margin-right: 16px;
      border-right: 1px solid var(--_gray-200);
      &:last-of-type {
        border-right: 0;
      }

      h6 {
        color: var(--_gray-500);
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
      }
      .shipping_details {
        font-size: 14px;
        font-weight: 600;
        color: var(--_gray-900);
        line-height: 20px;
      }
    }
    .cart_main {
      // width: 10%;
      display: flex;
      gap: 16px;
      align-items: center;
      .cart_icon {
        position: relative;
        .badge {
          position: absolute;
          top: -9px;
          background: #ffd700;
          border-radius: 4px;
          left: 15px;
          // Width bounds only; the existing padding is left as-is.
          min-width: 20px;
          max-width: 80px;
          box-sizing: border-box;
          padding: 12px 4px;
          line-height: normal;
          color: #1f1930;
          font-weight: 400;
          white-space: nowrap;
          overflow: hidden;
        }
      }
      .cart_content {
        display: flex;
        flex-direction: column;
        .cart_amount {
          color: var(--_gray-900);
          font-size: 14px;
          font-weight: 600;
          line-height: 20px;
        }
      }
    }
  }
}

.cart-items {
  padding-top: 24px;
  h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--_gray-900);
    margin: 24px 0;
    line-height: 20px;
  }
}
.cart_item-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  // padding-right: 12px;
  padding-top: 24px;
  .cart_item-card {
    display: flex;
    gap: 12px;
    img {
      width: 60px;
      height: 60px;
      object-fit: cover;
      border-radius: 4px;
    }
    .product_item-details {
      .product_item-name {
        font-size: 14px;
        font-weight: 700;
        line-height: 18px;
        color: var(--_gray-900);
      }
      .delivery-date {
        color: var(--_gray-900);
        font-weight: 700;
        font-size: 14px;
      }
      .product_item-specs {
        display: flex;
        li {
          color: var(--_gray-600);
          font-size: 14px;
          font-weight: 400;
          line-height: 18px;
          &::after {
            content: " / ";
            padding: 0 4px;
          }
          &:last-child::after {
            content: "";
            padding: 0;
          }
        }
      }
    }
  }
  .product_item-price {
    margin-left: auto;
    color: var(--_gray-900);
    font-size: 14px;
    font-weight: 700;
  }
}

.order_attributes {
  padding-block: 24px;
  border-top: 1px solid var(--_gray-200);

  .order_label {
    font-size: 14px;
    color: var(--_gray-600);
  }
  .order_description {
    font-size: 14px;
    color: var(--_gray-900);
  }
}

.show-more-wrapper {
  margin: 32px 16px 16px 0px;
  button {
    padding: 12px 16px;
    color: var(--_primary-400);
    font-weight: 600;
    border-radius: 6px;
    &:hover {
      background-color: var(--_primary-25);
    }
  }
}
