
    .ct-page {
        --ct-ink: #14110f;
        --ct-ink-soft: #57534e;
        --ct-ink-faint: #a29c94;
        --ct-line: #e7e2db;
        --ct-surface: #ffffff;
        --ct-canvas: #faf8f5;
        --ct-accent: #b5442e;
        --ct-accent-soft: #fbeae5;
        --ct-good: #1f7a52;
        --ct-good-soft: #e8f5ee;
        font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        color: var(--ct-ink);
        max-width: 1100px;
        margin: 0 auto;
        padding: 30px 20px 60px;
        font-size: 14px;
        box-sizing: border-box;
    }
    .ct-page *, .ct-page *::before, .ct-page *::after { box-sizing: border-box; }
    @media (max-width: 480px) { .ct-page { padding: 20px 14px 44px; } }

    .ct-header { margin-bottom: 20px; }
    .ct-eyebrow {
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--ct-accent);
        margin-bottom: 6px;
    }
    .ct-title { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.015em; margin: 0; color: var(--ct-ink); }

    /* Alerts */
    .ct-alert {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 12.5px;
        font-weight: 500;
        padding: 11px 13px;
        border-radius: 10px;
        margin-bottom: 16px;
        line-height: 1.5;
    }
    .ct-alert svg { flex: 0 0 auto; margin-top: 1px; }
    .ct-alert-danger { background: var(--ct-accent-soft); color: var(--ct-accent); border: 1px solid #f0cfc4; }
    .ct-alert-success { background: var(--ct-good-soft); color: var(--ct-good); border: 1px solid #bfe3d0; }

    /* Empty state */
    .ct-empty {
        text-align: center;
        padding: 60px 20px;
        border: 1px dashed var(--ct-line);
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        color: var(--ct-ink-faint);
    }
    .ct-empty svg { margin-bottom: 10px; }
    .ct-empty h3 { font-size: 16px; font-weight: 700; color: var(--ct-ink); margin: 0 0 2px; }
    .ct-empty p { font-size: 13px; margin: 0 0 20px; }

    /* Grid */
    .ct-grid { display: flex; gap: 28px; align-items: flex-start; }
    .ct-main { flex: 1 1 64%; min-width: 0; }
    .ct-sidebar { flex: 0 0 320px; position: sticky; top: 20px; }
    @media (max-width: 900px) {
        .ct-grid { flex-direction: column; }
        .ct-sidebar { position: static; width: 100%; }
    }

    /* Items */
    .ct-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
    .ct-item {
        display: flex;
        align-items: center;
        gap: 14px;
        background: var(--ct-surface);
        border: 1px solid var(--ct-line);
        border-radius: 14px;
        padding: 14px 16px;
        transition: border-color .15s ease, box-shadow .15s ease;
        flex-wrap: wrap;
    }
    .ct-item:hover { border-color: #d8d1c6; box-shadow: 0 3px 10px rgba(20,17,15,0.05); }

    .ct-item-icon {
        width: 38px; height: 38px;
        border-radius: 10px;
        background: var(--ct-canvas);
        color: var(--ct-ink);
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
    }

    .ct-item-info { flex: 1 1 200px; min-width: 140px; }
    .ct-item-title { font-size: 13.5px; font-weight: 700; color: var(--ct-ink); line-height: 1.35; margin-bottom: 3px; }
    .ct-item-cat { font-size: 12px; color: var(--ct-ink-soft); margin-bottom: 3px; }
    .ct-item-unit { font-size: 11.5px; color: var(--ct-ink-faint); }

    .ct-item-qty { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
    .ct-qty-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ct-ink-faint); }
    .ct-qty-stepper {
        display: inline-flex;
        align-items: center;
        border: 1px solid #d8d1c6;
        border-radius: 9px;
        overflow: hidden;
    }
    .ct-qty-btn {
        width: 28px; height: 30px;
        border: none;
        background: var(--ct-canvas);
        color: var(--ct-ink);
        display: flex; align-items: center; justify-content: center;
        cursor: pointer;
        transition: background .15s ease, color .15s ease;
    }
    .ct-qty-btn:hover { background: var(--ct-accent); color: #fff; }
    .ct-qty-input {
        width: 44px; height: 30px;
        border: none;
        border-left: 1px solid #d8d1c6;
        border-right: 1px solid #d8d1c6;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        color: var(--ct-ink);
        background: var(--ct-surface);
    }
    .ct-qty-input:focus { outline: none; }

    .ct-item-total { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; min-width: 84px; }
    .ct-item-total-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ct-ink-faint); }
    .ct-item-total-value { font-size: 14px; font-weight: 700; color: var(--ct-ink); }

    .ct-item-remove {
        width: 32px; height: 32px;
        border-radius: 9px;
        display: flex; align-items: center; justify-content: center;
        color: var(--ct-ink-faint);
        text-decoration: none;
        flex-shrink: 0;
        transition: background .15s ease, color .15s ease;
    }
    .ct-item-remove:hover { background: var(--ct-accent-soft); color: var(--ct-accent); }

    /* Boutons */
    .ct-btn-primary, .ct-btn-checkout {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: var(--ct-ink);
        color: #fff;
        text-decoration: none;
        font-size: 13.5px;
        font-weight: 700;
        padding: 13px 20px;
        border-radius: 11px;
        border: none;
        cursor: pointer;
        transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
    }
    .ct-btn-primary:hover, .ct-btn-checkout:hover {
        background: var(--ct-accent);
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(181,68,46,0.25);
        color: #fff;
    }
    .ct-btn-checkout { width: 100%; margin-top: 14px; }

    .ct-btn-update {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        background: var(--ct-surface);
        color: var(--ct-ink);
        border: 1px solid var(--ct-line);
        border-radius: 10px;
        padding: 10px 16px;
        font-size: 12.5px;
        font-weight: 700;
        cursor: pointer;
        transition: border-color .15s ease, background .15s ease;
    }
    .ct-btn-update:hover { background: var(--ct-canvas); border-color: #d8d1c6; }

    /* Summary box */
    .ct-summary-box {
        background: var(--ct-surface);
        border: 1px solid var(--ct-line);
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(20,17,15,0.06);
        overflow: hidden;
    }
    .ct-summary-head {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 15px 18px;
        border-bottom: 1px solid var(--ct-line);
        background: var(--ct-canvas);
        color: var(--ct-ink);
    }
    .ct-summary-head h5 { margin: 0; font-size: 13.5px; font-weight: 700; }
    .ct-summary-body { padding: 16px 18px 6px; }
    .ct-summary-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 13px;
        color: var(--ct-ink-soft);
        margin-bottom: 10px;
    }
    .ct-summary-discount { color: var(--ct-good); font-weight: 600; }
    .ct-summary-divider { height: 1px; background: var(--ct-line); margin: 6px 0 12px; }
    .ct-summary-total { font-size: 15px; font-weight: 700; color: var(--ct-ink); margin-bottom: 0; }

    .ct-promo-form { padding: 4px 18px 16px; border-bottom: 1px solid var(--ct-line); }
    .ct-promo-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ct-ink-soft); margin-bottom: 7px; }
    .ct-promo-row { display: flex; gap: 8px; }
    .ct-promo-input {
        flex: 1;
        height: 38px;
        border: 1px solid var(--ct-line);
        border-radius: 9px;
        padding: 0 12px;
        font-size: 12.5px;
        background: var(--ct-canvas);
        color: var(--ct-ink);
        min-width: 0;
    }
    .ct-promo-input:focus {
        outline: none;
        border-color: var(--ct-accent);
        background: var(--ct-surface);
        box-shadow: 0 0 0 3px var(--ct-accent-soft);
    }
    .ct-promo-btn {
        flex-shrink: 0;
        height: 38px;
        padding: 0 14px;
        border-radius: 9px;
        border: 1px solid var(--ct-ink);
        background: var(--ct-surface);
        color: var(--ct-ink);
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        transition: background .15s ease, color .15s ease;
    }
    .ct-promo-btn:hover { background: var(--ct-ink); color: #fff; }
    .ct-promo-applied {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 11.5px;
        color: var(--ct-good);
        font-weight: 600;
        margin-top: 9px;
    }

    .ct-btn-checkout { margin: 16px 18px 18px; width: calc(100% - 36px); }

    .ct-trust {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 12px;
        font-size: 11.5px;
        color: var(--ct-ink-faint);
        font-weight: 500;
    }

    /* Mobile item layout */
    @media (max-width: 560px) {
        .ct-item { flex-direction: column; align-items: stretch; }
        .ct-item-info { flex: 1 1 auto; }
        .ct-item-qty, .ct-item-total { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
        .ct-item-total { align-items: center; }
        .ct-item-remove { align-self: flex-end; margin-top: -30px; }
    }

    /* Illustrations et icônes complémentaires */
    .ct-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border: 1px solid var(--ct-line); border-radius: 17px; background: var(--ct-surface); box-shadow: 0 5px 14px rgba(20,17,15,.035); }
    .ct-header-copy { min-width: 0; }
    .ct-header-subtitle { margin: 7px 0 0; color: var(--ct-ink-soft); font-size: 12.5px; }
    .ct-header-visual { display: flex; align-items: center; justify-content: center; flex: 0 0 230px; min-height: 100px; border-radius: 13px; background: #f7fbfd; }
    .ct-header-visual svg { display: block; width: 230px; height: 120px; }
    .ct-summary-visual { display: flex; align-items: center; justify-content: center; min-height: 105px; padding: 8px 16px; border-bottom: 1px solid var(--ct-line); background: #f7fbfd; }
    .ct-summary-visual svg { display: block; width: 230px; height: 95px; }
    .ct-promo-label { display: flex; align-items: center; gap: 6px; }
    .ct-promo-label svg { color: var(--ct-accent); }
    .ct-empty-illustration { display: flex; align-items: center; justify-content: center; width: 180px; height: 120px; margin-bottom: 5px; }
    .ct-empty-illustration svg { width: 180px; height: 120px; }
    @media (max-width: 700px) {
        .ct-header { align-items: flex-start; flex-direction: column; padding: 18px; }
        .ct-header-visual { align-self: stretch; flex-basis: auto; }
        .ct-header-visual svg { max-width: 230px; }
    }
    /* Responsive mobile : chaque bloc reste visible et accessible sans débordement. */
    @media (max-width: 900px) {
        .ct-page {
            width: 100%;
            max-width: 100%;
            min-width: 0;
            overflow-x: hidden;
        }
        .ct-grid,
        .ct-main,
        .ct-sidebar,
        .ct-summary-box { width: 100%; max-width: 100%; min-width: 0; }
        .ct-sidebar { margin-top: 2px; }
    }

    @media (max-width: 700px) {
        .ct-page { padding: 18px 12px 42px; }
        .ct-header {
            width: 100%;
            min-width: 0;
            gap: 10px;
            padding: 16px 15px;
            border-radius: 14px;
        }
        .ct-header-copy,
        .ct-header-subtitle,
        .ct-title { max-width: 100%; overflow-wrap: anywhere; }
        .ct-header-subtitle { font-size: 12px; line-height: 1.5; }
        .ct-header-visual { width: 100%; min-height: 84px; }
        .ct-header-visual svg { width: min(230px, 100%); height: auto; }
        .ct-alert { max-width: 100%; overflow-wrap: anywhere; }
        .ct-empty { width: 100%; padding: 38px 14px; }
        .ct-empty-illustration,
        .ct-empty-illustration svg { max-width: 100%; }
        .ct-btn-primary,
        .ct-btn-update,
        .ct-btn-checkout { width: 100%; max-width: 100%; }
        .ct-btn-update { justify-content: center; }
        .ct-summary-box { border-radius: 14px; }
        .ct-summary-visual { min-height: 86px; padding: 5px 12px; }
        .ct-summary-visual svg { width: min(230px, 100%); height: auto; }
        .ct-summary-head { padding: 13px 14px; }
        .ct-summary-body { padding: 14px 14px 5px; }
        .ct-promo-form { padding: 4px 14px 14px; }
        .ct-btn-checkout { width: calc(100% - 28px); margin: 14px 14px 15px; }
        .ct-trust { flex-wrap: wrap; text-align: center; line-height: 1.4; }
    }

    @media (max-width: 560px) {
        .ct-page { padding-right: 10px; padding-left: 10px; }
        .ct-eyebrow { font-size: 10px; }
        .ct-title { font-size: 1.4rem; }
        .ct-items { gap: 10px; }

        /* Carte article mobile : informations en haut, quantité et total en bas. */
        .ct-item {
            display: grid;
            grid-template-columns: 38px minmax(0, 1fr) 34px;
            grid-template-areas:
                "icon info remove"
                "qty qty total";
            align-items: start;
            gap: 10px 9px;
            width: 100%;
            padding: 12px;
            border-radius: 12px;
        }
        .ct-item-icon { grid-area: icon; width: 38px; height: 38px; }
        .ct-item-info {
            grid-area: info;
            width: 100%;
            min-width: 0;
            flex: none;
        }
        .ct-item-title,
        .ct-item-cat,
        .ct-item-unit { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
        .ct-item-title { font-size: 13px; }
        .ct-item-qty {
            grid-area: qty;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            gap: 8px;
            width: 100%;
            min-width: 0;
        }
        .ct-qty-label { white-space: nowrap; }
        .ct-qty-stepper { flex: 0 0 auto; }
        .ct-item-total {
            grid-area: total;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            justify-content: center;
            width: 100%;
            min-width: 0;
        }
        .ct-item-total-value { max-width: 100%; overflow-wrap: anywhere; font-size: 13px; text-align: right; }
        .ct-item-remove {
            grid-area: remove;
            align-self: start;
            justify-self: end;
            width: 30px;
            height: 30px;
            margin: 0;
        }
        .ct-btn-update { margin-top: 2px; }
        .ct-promo-row { align-items: stretch; }
        .ct-promo-input { min-width: 0; width: 100%; }
        .ct-promo-btn { padding-right: 11px; padding-left: 11px; }
    }

    @media (max-width: 380px) {
        .ct-page { padding-right: 8px; padding-left: 8px; }
        .ct-header { padding: 14px 12px; }
        .ct-header-visual { min-height: 74px; }
        .ct-item {
            grid-template-columns: 34px minmax(0, 1fr) 30px;
            gap: 9px 7px;
            padding: 10px;
        }
        .ct-item-icon { width: 34px; height: 34px; }
        .ct-item-qty { gap: 6px; }
        .ct-qty-label { font-size: 10px; }
        .ct-qty-btn { width: 25px; }
        .ct-qty-input { width: 38px; }
        .ct-promo-row { flex-direction: column; }
        .ct-promo-btn { width: 100%; }
        .ct-summary-row { font-size: 12px; }
        .ct-summary-total { font-size: 14px; }
    }

    .ct-guest-note {
        margin-top: 9px;
        text-align: center;
        font-size: 12.5px;
        color: #6f6a64;
        line-height: 1.5;
    }
