* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 40px;
    width: 100%;
    height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

h2, p {
    padding: 0;
    margin: 0;
}

.card-1, .card-2 {
    width: 400px;
    height: auto;
    padding: 16px;
    display: flex;
    flex-direction: row;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 3px 2px rgba(2, 2, 2, 0.205);
    gap: 15px;
}
.card-2 {
    width: 300px;
    flex-direction: column;
}
.left {
    display: flex;
    justify-content: center;
    align-items: center;
}
.left img {
    width: 80px;
}
.right {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.details, .details-2 {
    /* padding-left: 20px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}
.details-2 {
    border-top: 1px solid rgba(165, 164, 164, 0.322);
}
.details h2, .details-2 h2 {
    font-size: 20px;
    padding: 5px 0;
}
.details p, .details-2 p{
    font-size: 15px;
    color: rgb(87, 87, 87);
}
.amount-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}
.right h2 span {
    font-size: 15px; font-weight: 600;
    color: rgb(87, 87, 87);
}

.amount {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #fff;
    /* gap: 5px; */
}
.amount button {
    font-size: 18px;
    background-color: transparent;
    background-color: #333;
    border: none;
    color: #fff;
}
.amount button:active {
    transform: scale(0.95);
}
.amount button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.btn-1 {
    border-radius: 6px 0 0 6px;
}
.btn-2 {
    border-radius: 0 6px 6px 0;
}
.amount span {
    padding: 0 5px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    background-color: #333;
}