.ilp-cart-dialog {
    box-sizing: border-box;
    width: min(460px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    border: 0;
    border-top: 4px solid #b82299;
    border-radius: 12px;
    background: #fff;
    color: #242424;
    box-shadow: 0 16px 54px rgb(0 0 0 / 22%);
}
.ilp-cart-dialog::backdrop { background: rgb(26 18 24 / 42%); }
.ilp-cart-panel { position: relative; padding: 22px; }
.ilp-cart-dialog h2 {
    margin: 0 38px 16px 0;
    color: #202020;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}
.ilp-cart-dialog h2 span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-right: 5px;
    border-radius: 50%;
    background: #e7f5e8;
    color: #236636;
    font-size: 17px;
}
.ilp-cart-dialog .ilp-cart-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f7f3f6;
    color: #373137;
    font: 24px/1 Arial, sans-serif;
    cursor: pointer;
}
.ilp-cart-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 12px;
    border: 1px solid #eee5eb;
    border-radius: 8px;
    background: #faf8fa;
}
.ilp-cart-summary img { flex: 0 0 68px; border-radius: 5px; background: #fff; object-fit: contain; }
.ilp-cart-summary img[hidden] { display: none; }
.ilp-cart-summary p { margin: 0; color: #333; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.ilp-cart-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.ilp-cart-dialog .ilp-cart-actions > * {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #a11b86;
    border-radius: 5px;
    font: inherit;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
}
.ilp-cart-dialog .ilp-cart-continue { background: #fff; color: #861670; }
.ilp-cart-dialog .ilp-cart-continue:hover { background: #faf0f7; }
.ilp-cart-dialog .ilp-cart-view { background: #a11b86; color: #fff; }
.ilp-cart-dialog .ilp-cart-view:hover { background: #861670; color: #fff; }
.ilp-cart-dialog :where(a, button):focus-visible { outline: 2px solid #861670; outline-offset: 3px; }
@media (max-width: 430px) {
    .ilp-cart-panel { padding: 16px; }
    .ilp-cart-actions > * { flex: 1 1 145px; }
}
