/* ── Cart ── */
.cart-wrap { padding: 12px 16px 100px; }

.cart-item {
    background: var(--bg);
    border-radius: var(--r);
    margin-bottom: 8px;
    box-shadow: var(--sh);
    overflow: hidden;
}

.ci-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
}
.ci-img {
    width: 56px;
    height: 56px;
    border-radius: var(--r2);
    background: var(--sec);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-size: 14px; font-weight: 500; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-unit { font-size: 13px; color: var(--hint); }
.ci-rm {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--hint);
    font-size: 16px;
    padding: 4px;
    flex-shrink: 0;
}

.ci-bottom {
    display: flex;
    align-items: center;
    padding: 0 12px 12px;
    gap: 10px;
}
.ci-qty {
    display: flex;
    align-items: center;
    background: var(--sec);
    border-radius: var(--r2);
    overflow: hidden;
}
.cq-btn {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    color: var(--btn);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cq-val { font-size: 15px; font-weight: 600; min-width: 30px; text-align: center; }
.ci-total { margin-left: auto; font-size: 16px; font-weight: 700; color: var(--btn); }

.cart-summary {
    background: var(--bg);
    border-radius: var(--r);
    padding: 14px 16px;
    box-shadow: var(--sh);
    margin-top: 8px;
}
.cs-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    padding: 3px 0;
}
.cs-row.total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid var(--brd);
}
.cart-clear { margin-top: 12px; }

/* ── Empty cart ── */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 24px;
    text-align: center;
}
.empty-cart-ico { font-size: 64px; margin-bottom: 16px; }
.empty-cart-ttl { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.empty-cart-sub { font-size: 14px; color: var(--hint); margin-bottom: 24px; }
/* auto-sized — not full-width like the default positive button */
.empty-cart-btn { width: auto; height: auto; padding: 13px 28px; }
