/* Styles for reusable cart item component */

.cart-item {
    border-bottom: 1px dashed #dee2e6;
    padding: 16px 0;
}

.cart-item:last-of-type {
    border-bottom: none;
}

.cart-item.addon-item {
    border-bottom: none;
    padding-bottom: 0;
}

.item-row {
    display: grid;
    grid-template-columns: 1fr 190px 160px 102px 28px;
    align-items: center;
    gap: 8px;
    row-gap: 0;
}

.package-info {
    display: flex;
    align-items: center;
    align-self: start;
    gap: 15px;
}

.package-info span {
    color: #1F1F1F;
    font-variant-numeric: lining-nums tabular-nums;
    font-family: "Inter";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
}

.package-info a {
    color: #2563EB;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    gap: 5px;
    text-align: center;
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
}

.item-price, .item-total {
    text-align: right;
    font-weight: 500;
    color: #1F1F1F;
    text-align: right;
    font-variant-numeric: lining-nums tabular-nums;
    font-family: "Inter";
    font-size: 14px;
    font-style: normal;
    line-height: 20px; /* 142.857% */
}

.item-total {
    color: #089740;
}

.btn-delete {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    justify-self: center;
    margin-bottom: 3px;
}

.btn-delete img {
    width: 20px;
    height: 20px;
}

/* Placeholder for quantity input if it's part of the component */
.quantity-input {
    justify-self: start;
}

.package-details {
    grid-column: 2 / 3;
    grid-row: 2;
    justify-self: start;
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.package-details span {
    background-color: #f1f3f5;
    border-radius: 4px;
    padding: 4px;
    font-size: 12px;
    color: #1F1F1F;
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 150% */
}
