/* =========================================================
   PLUS MOBILE - CART / WARENKORB PAGE
========================================================= */

.pm-cart-page {
    padding: 70px 0 100px;
    background: linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
}

.pm-cart-head {
    margin-bottom: 34px;
}

.pm-cart-head h1 {
    margin: 0 0 12px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.07em;
}

.pm-cart-head p {
    margin: 0;
    color: var(--pm-muted);
    font-size: 18px;
}

/* =========================================================
   CART LAYOUT
========================================================= */

.pm-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: start;
}

.pm-cart-main,
.pm-cart-summary {
    border: 1px solid var(--pm-border);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(91, 33, 182, 0.08);
}

.pm-cart-main {
    padding: 26px;
}

.pm-cart-summary {
    position: sticky;
    top: 150px;
    padding: 28px;
}

.pm-cart-summary h2 {
    margin: 0 0 22px;
    font-size: 26px;
    letter-spacing: -0.04em;
}

/* =========================================================
   CART ITEMS
========================================================= */

.pm-cart-page-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 28px;
    padding: 26px 0;
    border-bottom: 1px solid var(--pm-border);
}

.pm-cart-page-item:first-child {
    padding-top: 0;
}

.pm-cart-page-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pm-cart-page-info {
    min-width: 0;
}

.pm-cart-page-info h3 {
    margin: 0 0 6px;
    color: var(--pm-text);
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.pm-cart-page-info p {
    margin: 0 0 8px;
    color: var(--pm-muted);
}

.pm-cart-page-info strong {
    color: var(--pm-primary);
    font-size: 18px;
    font-weight: 950;
}

/* =========================================================
   QUANTITY BUTTONS
========================================================= */

.pm-cart-page-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
}

.pm-cart-page-qty button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0 !important;
    border: 1px solid var(--pm-border) !important;
    border-radius: 12px;
    background: #fff !important;
    color: var(--pm-primary) !important;
    font-size: 17px;
    font-weight: 950;
    line-height: 1;
    cursor: pointer;
    transition: 0.18s ease;
}

.pm-cart-page-qty button:hover {
    background: var(--pm-primary-soft) !important;
    border-color: var(--pm-primary) !important;
}

.pm-cart-page-qty span {
    min-width: 22px;
    text-align: center;
    color: var(--pm-text);
    font-weight: 950;
}

/* =========================================================
   REMOVE BUTTON
========================================================= */

.pm-cart-page-remove {
    min-width: 110px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid var(--pm-border) !important;
    border-radius: 14px;
    background: #fff !important;
    color: var(--pm-primary) !important;
    font-weight: 900;
    cursor: pointer;
    transition: 0.18s ease;
}

.pm-cart-page-remove:hover {
    background: var(--pm-primary-soft) !important;
    border-color: var(--pm-primary) !important;
    color: var(--pm-primary-dark) !important;
}

/* =========================================================
   SUMMARY
========================================================= */

.pm-summary-row,
.pm-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eadff7;
}

.pm-summary-row span {
    color: var(--pm-muted);
}

.pm-summary-row strong,
.pm-summary-total strong {
    color: var(--pm-text);
}

.pm-summary-total {
    border-bottom: 0;
    font-size: 22px;
    font-weight: 950;
}

.pm-summary-total strong {
    color: var(--pm-primary);
}

/* =========================================================
   CART ACTIONS
========================================================= */

.pm-checkout-button {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    font-weight: 950;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--pm-primary), var(--pm-primary-dark)) !important;
    color: #fff !important;
    box-shadow: 0 16px 36px rgba(124, 58, 237, 0.24);
    transition: 0.2s ease;
}

.pm-checkout-button:hover {
    transform: translateY(-2px);
}

.pm-continue-shopping {
    display: flex;
    justify-content: center;
    margin-top: 14px;
    font-weight: 900;
    color: var(--pm-primary) !important;
}

/* =========================================================
   EMPTY CART
========================================================= */

.pm-cart-empty-page {
    padding: 46px;
    text-align: center;
    border-radius: 24px;
    background: var(--pm-primary-soft);
}

.pm-cart-empty-page h2 {
    margin: 0 0 10px;
    color: var(--pm-text);
}

.pm-cart-empty-page p {
    margin: 0;
    color: var(--pm-muted);
}

.pm-cart-empty-page a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--pm-primary);
    color: #fff !important;
    font-weight: 900;
}

/* =========================================================
   CART RESPONSIVE
========================================================= */

@media (max-width: 900px) {
    .pm-cart-layout {
        grid-template-columns: 1fr;
    }

    .pm-cart-summary {
        position: static;
    }

    .pm-cart-page-item {
        grid-template-columns: 1fr;
        gap: 18px;
        align-items: start;
    }

    .pm-cart-page-qty {
        justify-content: flex-start;
    }

    .pm-cart-page-remove {
        width: fit-content;
    }
}

@media (max-width: 560px) {
    .pm-cart-page {
        padding-block: 44px;
    }

    .pm-cart-main,
    .pm-cart-summary {
        padding: 20px;
        border-radius: 24px;
    }

    .pm-cart-page-item {
        padding: 22px 0;
    }

    .pm-cart-head h1 {
        font-size: clamp(34px, 11vw, 46px);
        letter-spacing: -0.055em;
    }

    .pm-cart-empty-page {
        padding: 30px 20px;
    }
}