    body {
        padding-bottom: 0;
    }

    .bag-page {
        width: 100%;
    }

    .bag-container {
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .bag-form-shell {
        width: 100%;
        max-width: 920px;
        margin: 0 auto;
    }

    .bag-hero {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .bag-hero-inner {
        width: 100%;
    }

    .bag-title {
        margin: 0;
        text-align: center;
        width: 100%;
    }

    .bag-divider {
        margin: 10px auto 16px !important;
    }

    .bag-alert {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .bag-sub-alert {
        margin: 0 18px 14px;
        padding: 10px 12px;
        border-radius: 12px;
        font-size: 12px;
        line-height: 1.5;
    }

    .bag-sub-alert-info {
        background: #f4f8fc;
        border: 1px solid #dfeaf5;
        color: #5f7285;
    }

    .bag-card,
    .bag-accessories-card {
        width: 100%;
        max-width: 100%;
        background: #fff;
        border: 1px solid #edf1f4;
        border-radius: 18px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        box-sizing: border-box;
    }

    .bag-accessories-card {
        margin-top: 18px;
    }

    .bag-table-head {
        padding: 18px 18px 10px;
        border-bottom: 1px solid #f1f3f5;
    }

    .bag-table-head h4 {
        margin: 0 0 4px;
        font-size: 18px;
        font-weight: 700;
        color: #1e293b;
    }

    .bag-table-head p {
        margin: 0;
        font-size: 12px;
        color: #7b8794;
    }

    .bag-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .bag-table {
        width: 100%;
        margin-bottom: 0;
        table-layout: fixed;
        border-collapse: collapse;
    }

    .bag-table>thead>tr>th {
        border-bottom: 1px solid #edf1f4;
        color: #5c6773;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
        text-align: center;
        padding: 14px 12px;
        background: #fafbfc;
        vertical-align: middle;
    }

    .bag-table>tbody>tr>td {
        vertical-align: middle;
        border-top: 1px solid #f4f6f8;
        padding: 10px 12px;
    }

    .bag-row:hover,
    .accessory-row:hover {
        background: #fcfdfd;
    }

    .bag-col-order {
        width: 64px;
    }

    .bag-col-icon {
        width: 72px;
    }

    .bag-col-code {
        width: 150px;
    }

    .bag-col-label {
        width: 190px;
    }

    .bag-col-brand {
        width: auto;
    }

    .bag-slot-cell {
        text-align: center;
    }

    .bag-slot-badge {
        width: 34px;
        height: 34px;
        margin: 0 auto;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 13px;
        color: #0f5132;
        background: rgba(30, 127, 92, 0.09);
        border: 1px solid rgba(30, 127, 92, 0.16);
    }

    .bag-accessory-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e6edf3;
        color: #355e4b;
    }

    .bag-accessory-svg {
        width: 18px;
        height: 18px;
        display: block;
    }

    .bag-table .form-control {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .bag-club-code,
    .bag-accessory-code,
    .bag-club-brand,
    .bag-accessory-brand {
        min-width: 0;
    }

    .bag-accessory-code {
        min-width: 120px;
        font-size: 12px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .bag-club-label[readonly],
    .bag-accessory-label-input[readonly] {
        background: #f8fafc;
        color: #5b6470;
        cursor: default;
    }

    .bag-club-code.error,
    .bag-club-brand.error,
    .bag-accessory-code.error,
    .bag-accessory-brand.error {
        border-color: #d9534f !important;
        box-shadow: none !important;
        background: #fff8f8;
    }

    label.error {
        display: block;
        margin-top: 6px;
        color: #d9534f;
        font-size: 12px;
        font-weight: 500;
    }

    .bag-tips {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 16px;
        margin-bottom: 24px;
    }

    .bag-tip {
        padding: 12px 14px;
        border-radius: 14px;
        background: #f8fafc;
        border: 1px solid #eef2f6;
        font-size: 12px;
        color: #607080;
        line-height: 1.6;
    }

    .form-actions {
        text-align: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .bag-submit-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 44px;
        min-width: 280px;
        padding: 0 18px;
        border-radius: 14px;
        margin: 0 auto;
    }

    .bag-submit-btn:active {
        transform: scale(0.98);
    }


    .bag-table-head-split {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .bag-head-pill {
        flex: 0 0 auto;
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(30, 127, 92, 0.09);
        border: 1px solid rgba(30, 127, 92, 0.16);
        color: #0f5132;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
    }

    .bag-club-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px;
    }

    .bag-club-card {
        border: 1px solid #edf1f4;
        border-radius: 16px;
        background: #fff;
        overflow: hidden;
        transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    }

    .bag-club-card[open] {
        border-color: rgba(30, 127, 92, 0.28);
        box-shadow: 0 8px 20px rgba(15, 81, 50, 0.07);
    }

    .bag-club-summary {
        display: grid;
        grid-template-columns: 44px minmax(160px, 1fr) auto 24px;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        cursor: pointer;
        list-style: none;
    }

    .bag-club-summary::-webkit-details-marker {
        display: none;
    }

    .bag-club-main {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .bag-club-title {
        color: #1e293b;
        font-weight: 800;
        font-size: 14px;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bag-club-subtitle {
        color: #7b8794;
        font-size: 12px;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bag-club-distances-preview {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .bag-club-distances-preview span {
        display: inline-flex;
        align-items: center;
        min-height: 26px;
        padding: 4px 8px;
        border-radius: 999px;
        background: #f8fafc;
        border: 1px solid #eef2f6;
        color: #607080;
        font-size: 11px;
        font-weight: 700;
        white-space: nowrap;
    }

    .bag-details-chevron {
        color: #94a3b8;
        font-size: 18px;
        line-height: 1;
        transition: transform .2s ease;
        text-align: center;
    }

    .bag-club-card[open] .bag-details-chevron {
        transform: rotate(180deg);
    }

    .bag-club-fields {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 12px;
        padding: 0 14px 14px;
        border-top: 1px solid #f4f6f8;
        background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    }

    .bag-field {
        grid-column: span 2;
        min-width: 0;
        padding-top: 12px;
    }

    .bag-field-small {
        grid-column: span 1;
    }

    .bag-field-wide {
        grid-column: span 3;
    }

    .bag-field label {
        display: block;
        margin-bottom: 5px;
        color: #5c6773;
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .bag-fieldset-title {
        grid-column: 1 / -1;
        margin-top: 4px;
        padding-top: 12px;
        border-top: 1px dashed #e8eef3;
        color: #0f5132;
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .05em;
    }

    .bag-input-unit {
        position: relative;
        display: flex;
        align-items: center;
    }

    .bag-input-unit input {
        padding-right: 44px;
    }

    .bag-input-unit span {
        position: absolute;
        right: 10px;
        color: #94a3b8;
        font-size: 11px;
        font-weight: 800;
        pointer-events: none;
    }

    .bag-club-extra,
    .bag-club-distance,
    .bag-club-speed {
        min-width: 0;
    }

    @media (max-width: 991px) {
        .bag-form-shell {
            max-width: 100%;
        }
    }

    @media (max-width: 767px) {
        .bag-container {
            padding-left: 10px;
            padding-right: 10px;
        }

        .bag-card,
        .bag-accessories-card {
            border-radius: 14px;
        }

        .bag-table {
            min-width: 0;
            table-layout: auto;
        }

        .bag-table>thead>tr>th,
        .bag-table>tbody>tr>td {
            padding: 10px 8px;
        }

        .bag-col-order {
            width: 52px;
        }

        .bag-col-code {
            width: 110px;
        }

        .bag-club-code {
            min-width: 90px;
            font-size: 12px;
            padding-left: 6px;
            padding-right: 6px;
        }

        .bag-accessory-code {
            min-width: 120px;
            font-size: 12px;
            padding-left: 6px;
            padding-right: 6px;
        }

        .bag-club-brand,
        .bag-accessory-brand {
            min-width: 120px;
            font-size: 12px;
        }

        .bag-slot-badge {
            width: 30px;
            height: 30px;
            font-size: 12px;
        }

        .bag-hero {
            flex-direction: column;
            align-items: stretch;
        }

        .bag-submit-btn {
            width: 100%;
            max-width: 420px;
            min-width: 0;
            min-height: 48px;
            border-radius: 12px;
        }

        /* TABLE SAC : on masque seulement le libellé, on garde code + marque */
        .bag-card .bag-col-label,
        .bag-card .bag-table td:nth-child(3),
        .bag-card .bag-table th:nth-child(3) {
            display: none;
        }

        /* TABLE ACCESSOIRES : on masque seulement l’icône, on garde accessoire + marque */
        .bag-accessory-table td:nth-child(2),
        .bag-accessory-table th:nth-child(2) {
            display: none;
        }
    }


    @media (max-width: 767px) {
        .bag-table-head-split {
            align-items: flex-start;
            flex-direction: column;
        }

        .bag-head-pill {
            font-size: 11px;
        }

        .bag-club-list {
            padding: 10px;
        }

        .bag-club-summary {
            grid-template-columns: 36px minmax(0, 1fr) 22px;
            gap: 10px;
            padding: 11px 10px;
        }

        .bag-club-distances-preview {
            grid-column: 1 / -1;
            justify-content: flex-start;
            padding-left: 46px;
        }

        .bag-club-fields {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            padding: 0 10px 12px;
        }

        .bag-field,
        .bag-field-small,
        .bag-field-wide {
            grid-column: span 2;
        }

        .bag-field:nth-of-type(1),
        .bag-field:nth-of-type(5),
        .bag-field:nth-of-type(7),
        .bag-field:nth-of-type(8),
        .bag-field:nth-of-type(10),
        .bag-field:nth-of-type(11) {
            grid-column: span 1;
        }
    }
