        /* ══════════════════════════════════════════════════════════════
           Shopping cart (2026 layout) - uses the PartyEdit theme variables
           (--coral accent, --plum text, --beige borders...) so it follows
           whichever colour theme is active.
           ══════════════════════════════════════════════════════════════ */
        .cart-page {
            max-width: 1180px;
            margin: 0 auto;
            padding: 28px 24px 56px;
        }

        .cart-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 34px;
            font-weight: 700;
            color: var(--plum);
            line-height: 1.1;
        }

        .cart-title__sparkle { font-size: 24px; }

        .cart-subtitle {
            margin-top: 6px;
            font-size: 14px;
            color: var(--grey);
        }

        .cart-card {
            background: var(--white);
            border: 1px solid var(--beige);
            border-radius: 16px;
        }

        /* ── Buttons ── */
        .cart-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px 24px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            border: 1.5px solid transparent;
            transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
        }

        .cart-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

        .cart-btn--primary { background: var(--coral); color: var(--white); }
        .cart-btn--primary:hover { filter: brightness(0.92); transform: translateY(-1px); }
        .cart-btn--outline { background: var(--white); color: var(--plum); border-color: var(--beige); }
        .cart-btn--outline:hover { border-color: var(--coral); color: var(--coral); }
        .cart-btn--block { width: 100%; }

        /* ── Heading + location ── */
        .cart-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 24px;
            margin-bottom: 24px;
        }

        .cart-location { text-align: right; position: relative; }

        .cart-location__label {
            display: block;
            font-size: 12px;
            color: var(--grey);
            margin-bottom: 4px;
        }

        .cart-location__row {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 6px;
            font-size: 14px;
            font-weight: 600;
            color: var(--plum);
        }

        .cart-location__pin { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

        .cart-location__change {
            margin-left: 10px;
            background: none;
            border: none;
            color: var(--coral);
            font: inherit;
            font-weight: 600;
            cursor: pointer;
        }

        .cart-location__form {
            display: flex;
            gap: 6px;
            margin-top: 8px;
            justify-content: flex-end;
        }

        .cart-location__form[hidden] { display: none; }

        .cart-location__form input {
            width: 140px;
            padding: 8px 12px;
            border: 1px solid var(--beige);
            border-radius: 8px;
            font: inherit;
            font-size: 14px;
            color: var(--plum);
        }

        .cart-location__form input:focus { outline: 2px solid var(--coral); outline-offset: -1px; }

        .cart-location__form button {
            padding: 8px 14px;
            border: none;
            border-radius: 8px;
            background: var(--coral);
            color: var(--white);
            font: inherit;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
        }

        .cart-location__error {
            margin-top: 6px;
            font-size: 12px;
            color: #c0392b;
        }

        .cart-location__error[hidden] { display: none; }

        /* ── Layout ── */
        .cart-layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 340px;
            gap: 24px;
            align-items: start;
        }

        .cart-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

        .cart-side {
            display: flex;
            flex-direction: column;
            gap: 16px;
            position: sticky;
            top: calc(var(--nav-h) + 76px);
        }

        /* ── Items table ── */
        .cart-items__head,
        .cart-item {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 90px 130px 90px 40px;
            align-items: center;
            gap: 12px;
            padding: 0 20px;
        }

        .cart-items__head {
            padding-top: 14px;
            padding-bottom: 14px;
            font-size: 12px;
            font-weight: 500;
            color: var(--grey);
            border-bottom: 1px solid var(--beige);
        }

        /* Header's first column spans image + name (same 1fr fill, same gap) */
        .cart-items__head span:nth-child(n+2) { text-align: center; }

        .cart-item {
            grid-template-columns: 96px minmax(0, 1fr) 90px 130px 90px 40px;
            padding-top: 18px;
            padding-bottom: 18px;
            border-bottom: 1px solid var(--beige);
            transition: opacity 0.2s;
        }

        .cart-item:last-child { border-bottom: none; }
        .cart-item.is-updating { opacity: 0.5; pointer-events: none; }

        .cart-item__img {
            width: 96px;
            height: 96px;
            border-radius: 10px;
            overflow: hidden;
            background: var(--bg);
        }

        .cart-item__img img { width: 100%; height: 100%; object-fit: cover; }

        .cart-item__info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }

        .cart-item__name {
            font-size: 14px;
            font-weight: 600;
            color: var(--plum);
            line-height: 1.35;
        }

        .cart-item__name:hover { color: var(--coral); }

        .cart-item__tag {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 6px;
            background: var(--accent-pink);
            color: var(--coral);
            font-size: 11px;
            font-weight: 500;
        }

        .cart-item__extra { font-size: 12px; color: var(--grey); }

        .cart-item__price-mobile { display: none; font-size: 13px; color: var(--grey); }

        .cart-item__price,
        .cart-item__total {
            text-align: center;
            font-size: 14px;
            font-weight: 600;
            color: var(--plum);
        }

        .cart-item__qty { display: flex; justify-content: center; }

        .qty-stepper {
            display: inline-flex;
            align-items: center;
            border: 1px solid var(--beige);
            border-radius: 10px;
            overflow: hidden;
            background: var(--white);
        }

        .qty-stepper button {
            width: 34px;
            height: 34px;
            border: none;
            background: var(--bg);
            color: var(--plum);
            font-size: 16px;
            cursor: pointer;
        }

        .qty-stepper button:hover:not(:disabled) { color: var(--coral); }
        .qty-stepper button:disabled { opacity: 0.4; cursor: default; }

        .qty-stepper__value {
            min-width: 36px;
            text-align: center;
            font-size: 14px;
            font-weight: 500;
        }

        .cart-item__actions {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 14px;
        }

        .cart-icon-btn {
            background: none;
            border: none;
            padding: 2px;
            cursor: pointer;
            color: var(--grey);
            line-height: 0;
        }

        .cart-icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
        .cart-icon-btn:hover { color: var(--coral); }
        .cart-wishlist.is-active { color: var(--coral); }
        .cart-wishlist.is-active svg { fill: currentColor; }

        /* ── Free shipping progress ── */
        .cart-freeship {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 18px 20px;
            background: var(--accent-pink);
            border-color: transparent;
        }

        .cart-freeship__icon { font-size: 26px; }
        .cart-freeship__body { flex: 1; min-width: 0; }

        .cart-freeship__text { font-size: 14px; color: var(--plum); margin-bottom: 10px; }

        .cart-freeship__bar {
            height: 8px;
            border-radius: 99px;
            background: var(--white);
            overflow: hidden;
        }

        .cart-freeship__bar span {
            display: block;
            height: 100%;
            border-radius: 99px;
            background: var(--coral);
            transition: width 0.4s ease;
        }

        .cart-freeship__amount { font-size: 12px; color: var(--grey); white-space: nowrap; align-self: flex-end; }

        /* ── Summary ── */
        .cart-summary { padding: 24px; }

        .cart-summary__title {
            font-size: 18px;
            font-weight: 600;
            color: var(--plum);
            margin-bottom: 20px;
        }

        .cart-summary__row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            color: var(--plum);
            margin-bottom: 14px;
        }

        .cart-summary__label-info { display: inline-flex; align-items: center; gap: 6px; }
        .cart-summary__muted { color: var(--grey); font-weight: 400; }
        .cart-summary__free { color: #1f9d55; }

        .cart-info {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 15px;
            height: 15px;
            border: 1.3px solid var(--grey);
            border-radius: 50%;
            font-size: 10px;
            font-weight: 600;
            color: var(--grey);
            cursor: help;
        }

        .cart-info__tip {
            display: none;
            position: absolute;
            left: 50%;
            bottom: calc(100% + 8px);
            transform: translateX(-50%);
            width: 220px;
            padding: 10px 12px;
            border-radius: 8px;
            background: var(--plum);
            color: var(--white);
            font-size: 12px;
            font-weight: 400;
            line-height: 1.45;
            z-index: 5;
        }

        .cart-info:hover .cart-info__tip,
        .cart-info:focus .cart-info__tip { display: block; }

        .cart-summary__total {
            display: flex;
            justify-content: space-between;
            padding-top: 16px;
            margin-top: 4px;
            border-top: 1px solid var(--beige);
            font-size: 17px;
            font-weight: 700;
            color: var(--plum);
        }

        .cart-summary__note { font-size: 12px; color: var(--grey); margin: 6px 0 16px; }

        .cart-delivery {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 18px;
        }

        .cart-delivery:empty { display: none; }

        .cart-delivery__row {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            padding: 10px 12px;
            border-radius: 10px;
            background: var(--bg);
            font-size: 13px;
            color: var(--plum);
        }

        .cart-delivery__row svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linejoin: round; }

        .cart-delivery__warn {
            padding: 10px 12px;
            border-radius: 10px;
            background: #fdecea;
            color: #a93226;
            font-size: 13px;
        }

        .cart-continue {
            display: block;
            margin-top: 12px;
            text-align: center;
            font-size: 13px;
            color: var(--grey);
            text-decoration: underline;
        }

        .cart-continue:hover { color: var(--coral); }

        /* ── Complete the party ── */
        .cart-upsell {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 18px 20px;
            background: var(--accent-pink);
            border-color: transparent;
            transition: transform 0.15s, box-shadow 0.2s;
        }

        .cart-upsell:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }

        .cart-upsell__body { flex: 1; min-width: 0; }

        .cart-upsell__title { font-size: 14px; font-weight: 600; color: var(--plum); margin-bottom: 6px; }
        .cart-upsell__text { font-size: 13px; color: var(--plum); opacity: 0.85; line-height: 1.45; margin-bottom: 10px; }
        .cart-upsell__link { font-size: 13px; font-weight: 600; color: var(--coral); }

        .cart-upsell__img {
            width: 84px;
            height: 104px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
        }

        /* ── Empty state ── */
        .cart-empty {
            text-align: center;
            padding: 72px 16px;
        }

        .cart-empty__icon { font-size: 48px; margin-bottom: 12px; }

        .cart-empty__actions {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 24px;
            flex-wrap: wrap;
        }

        /* ── Responsive ── */
        @media (max-width: 960px) {
            .cart-layout { grid-template-columns: 1fr; }
            .cart-side { position: static; }
        }

        @media (max-width: 700px) {
            .cart-page { padding: 20px 16px 40px; }
            .cart-title { font-size: 28px; }

            .cart-head { flex-direction: column; gap: 14px; }
            .cart-location { text-align: left; }
            .cart-location__row,
            .cart-location__form { justify-content: flex-start; }

            .cart-items__head { display: none; }

            .cart-item {
                grid-template-columns: 80px minmax(0, 1fr) auto;
                grid-template-areas:
                    "img info actions"
                    "img qty  total";
                row-gap: 10px;
                padding: 16px;
            }

            .cart-item__img { grid-area: img; width: 80px; height: 80px; align-self: start; }
            .cart-item__info { grid-area: info; }
            .cart-item__actions { grid-area: actions; align-self: start; flex-direction: row; justify-content: flex-end; }
            .cart-item__qty { grid-area: qty; justify-content: flex-start; }
            .cart-item__total { grid-area: total; text-align: right; }
            .cart-item__price { display: none; }
            .cart-item__price-mobile { display: block; }

            .cart-freeship { flex-wrap: wrap; }
            .cart-freeship__amount { width: 100%; text-align: right; }
        }
