.pp-public-cart-page {
    background: #f3f6fb;
    min-height: 80vh;
}

.pp-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
}

.pp-cart-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
}

.pp-cart-header h1 {
    margin: 4px 0 6px;
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
}

.pp-cart-header p {
    margin: 0;
    color: #64748b;
}

.pp-cart-clear {
    border: 1px solid #dbe3ef;
    background: #fff;
    border-radius: 16px;
    padding: 13px 18px;
    font-weight: 850;
    color: #ef4444;
}

.pp-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 20px;
    align-items: start;
}

.pp-cart-list {
    display: grid;
    gap: 12px;
}

.pp-cart-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 140px 140px 150px;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid #e1e7f0;
    border-radius: 24px;
    padding: 18px;
    min-height: 118px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.pp-cart-item__image {
    width: 82px;
    height: 82px;
    border-radius: 18px;
    background: #f8fafc;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 1px solid #eef2f7;
}

.pp-cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.pp-cart-item__main {
    min-width: 0;
}

.pp-cart-item__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.pp-cart-item__article {
    font-size: 14px;
    font-weight: 900;
    color: #2563eb;
}

.pp-cart-item__brand {
    margin-top: 3px;
    font-size: 12px;
    color: #64748b;
    font-weight: 750;
}

.pp-cart-item__name {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 850;
    text-decoration: none;
    line-height: 1.35;
    max-width: 620px;
}

.pp-cart-item__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pp-cart-item__meta span {
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 5px 10px;
}

.pp-cart-item__remove {
    border: 0;
    background: #fff1f2;
    color: #e11d48;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
}

.pp-cart-price {
    font-weight: 900;
    color: #0f172a;
    white-space: nowrap;
}

.pp-cart-item__price span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #94a3b8;
}

.pp-cart-counter {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    border: 1px solid #dbe3ef;
    border-radius: 15px;
    overflow: hidden;
    background: #f8fafc;
    height: 42px;
}

.pp-cart-counter button {
    border: 0;
    background: #fff;
    height: 42px;
    display: grid;
    place-items: center;
    color: #334155;
}

.pp-cart-counter div {
    text-align: center;
    font-weight: 900;
    color: #0f172a;
}

.pp-cart-item__sum {
    text-align: right;
    font-size: 16px;
    font-weight: 950;
    color: #0f172a;
    white-space: nowrap;
}

.pp-cart-summary__card {
    position: sticky;
    top: 20px;
    background: #0f172a;
    color: #fff;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 24px 55px rgba(15, 23, 42, .24);
}

.pp-cart-summary__card h2 {
    margin: 0 0 22px;
    font-size: 23px;
    font-weight: 950;
}

.pp-cart-summary__row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: #cbd5e1;
}

.pp-cart-summary__row strong {
    color: #fff;
}

.pp-cart-summary__total {
    margin: 22px 0;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
}

.pp-cart-summary__total span {
    display: block;
    color: #cbd5e1;
    font-size: 13px;
}

.pp-cart-summary__total strong {
    display: block;
    margin-top: 6px;
    font-size: 30px;
    font-weight: 950;
}

.pp-cart-checkout {
    width: 100%;
    border: 0;
    background: #2563eb;
    color: #fff;
    border-radius: 18px;
    padding: 16px 18px;
    font-weight: 950;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pp-cart-checkout--confirm {
    margin-top: 16px;
}

.pp-cart-order-form {
    margin-top: 18px;
}

.pp-cart-form-grid {
    display: grid;
    gap: 12px;
}

.pp-cart-form-grid label {
    display: grid;
    gap: 6px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
}

.pp-cart-form-grid em {
    color: #fb7185;
    font-style: normal;
}

.pp-cart-form-grid input {
    width: 100%;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    color: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
}

.pp-cart-form-grid input::placeholder {
    color: #94a3b8;
}

.pp-cart-legal {
    margin: 16px 0 0;
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.5;
}

.pp-cart-legal a {
    color: #fff;
}

.pp-cart-empty {
    max-width: 560px;
    margin: 60px auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 42px;
    text-align: center;
    box-shadow: 0 18px 48px rgba(15,23,42,.08);
}

.pp-cart-empty__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 24px;
    background: #eff6ff;
    color: #2563eb;
    display: grid;
    place-items: center;
}

.pp-cart-empty h1 {
    margin: 0 0 10px;
    font-weight: 900;
}

.pp-cart-empty p {
    color: #64748b;
}

.pp-cart-primary {
    display: inline-flex;
    margin-top: 18px;
    background: #0f172a;
    color: #fff;
    border-radius: 16px;
    padding: 14px 18px;
    text-decoration: none;
    font-weight: 900;
}

@media (max-width: 1300px) {
    .pp-cart-layout {
        grid-template-columns: 1fr;
    }

    .pp-cart-summary__card {
        position: static;
    }
}

@media (max-width: 900px) {
    .pp-cart-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pp-cart-item {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .pp-cart-item__price,
    .pp-cart-counter,
    .pp-cart-item__sum {
        grid-column: 2;
    }

    .pp-cart-item__sum {
        text-align: left;
    }
}