
    /* ==========================================
       STRUCTURE PRINCIPALE
       ========================================== */

    #cc-complementary-3 {
        --cc-left-width: 66.6667%;
        --cc-sticky-top: 0px;
        --cc-gallery-image-height: 650px;

        display: grid;

        grid-template-columns:
            minmax(0, var(--cc-left-width))
            minmax(0, 1fr);

        width: 100%;
        max-width: none;

        margin: 0;
        padding: 0;

        align-items: stretch;

        background: #FFFFFF;
        color: #111111;

        font-family: 'Inter', Arial, sans-serif;

        overflow: visible !important;
    }

    #cc-complementary-3 *,
    #cc-complementary-3 *::before,
    #cc-complementary-3 *::after {
        box-sizing: border-box;
    }

    /* ==========================================
       PHOTO GAUCHE
       ========================================== */

    #cc-complementary-3 .cc-complementary-left {
        position: relative;

        min-width: 0;
        min-height: 0;

        align-self: stretch;

        overflow: visible !important;
    }

    #cc-complementary-3 .cc-complementary-visual {
        position: sticky !important;

        top: var(--cc-sticky-top) !important;

        width: 100%;
        height: var(--cc-gallery-image-height);

        max-height: calc(
            100dvh - var(--cc-sticky-top)
        );

        overflow: hidden;

        background: #FFFFFF;
    }

    #cc-complementary-3 .cc-complementary-visual img,
    #cc-complementary-3 .cc-complementary-visual video {
        display: block;

        width: 100%;
        height: 100%;

        max-width: none;

        margin: 0;
        padding: 0;

        object-fit: cover;
        object-position: center;

        border: none;
        border-radius: 0;
    }

    /* Vidéo native plein cadre, sans contrôles ni interaction */
    #cc-complementary-3 .cc-complementary-visual video {
        aspect-ratio: auto;
        background: #FFFFFF;
        pointer-events: none;
    }

    /* WHEELSET VIDEO — remove pillarboxing baked into the exported Reel.
       Zoom is intentionally limited to the wheelset video only. */
    #cc-complementary-3 .cc-complementary-visual:has(.cc-complementary-video) {
        position: sticky !important;
        isolation: isolate;
        overflow: hidden !important;
        background: #000;
    }

    #cc-complementary-3 .cc-complementary-video {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: translate(-50%, -50%) !important;
        transform-origin: center center !important;
        pointer-events: none !important;
    }

    /* Galets : plein cadre centré en mode large, image 9:16 entière
       dans la colonne repliée. Le bloc suit la hauteur de la galerie. */
    #cc-complementary-3.cc-layout-narrow .cc-complementary-pulley-video {
        object-fit: contain !important;
        background: #111;
    }

     /* RACE / PRO Shimano & SRAM — recadrage propre au MP4 Sequence-01_5.
       Masque les bandes noires contenues dans les images de la video.
       Les autres videos ne sont pas modifiees. */
    #cc-complementary-3 .cc-complementary-race-pro-video {
        transform: translate(-50%, -50%) scale(1) !important;
        transform-origin: center center !important;
    }

    /* AERO — cadrage calculé en JS selon les dimensions du bloc.
        Le zoom supplémentaire masque les marges présentes dans la source.
        L'interface native YouTube ne peut pas être totalement supprimée. */
     #cc-complementary-3 .cc-aero-youtube-shell {
         position: absolute;
         inset: 0;
         overflow: hidden;
         background: #000;
         pointer-events: none;
         isolation: isolate;
     }
     #cc-complementary-3 .cc-aero-youtube {
         position: absolute !important;
         top: 50% !important;
         left: 50% !important;
         width: 100%;
         height: 100%;
         max-width: none !important;
         max-height: none !important;
         border: 0 !important;
         display: block;
         transform: translate(-50%, -50%) scale(2.55);
         transform-origin: center center;
         pointer-events: none;
     }
     #cc-complementary-3 .cc-aero-youtube-shell::after {
         content: "";
         position: absolute;
         inset: 0;
         z-index: 2;
         pointer-events: auto;
         background: transparent;
     }

    /* ==========================================
       CONTENU DROITE
       ========================================== */

    #cc-complementary-3 .cc-complementary-content {
        display: flex;
        flex-direction: column;

        min-width: 0;

        padding: 22px 16px 26px;

        background: #FFFFFF;

        container-type: inline-size;
    }

    #cc-complementary-3 .cc-complementary-header {
        margin: 0 0 20px;
        padding: 0;
    }

    #cc-complementary-3 .cc-complementary-header h2 {
        margin: 0 0 7px;
        padding: 0;

        font-family: inherit;

        font-size: 21px;
        font-weight: 600;
        line-height: 1.3;

        letter-spacing: -.04em;

        color: #111111;
    }

    #cc-complementary-3 .cc-complementary-total {
        display: block;

        font-size: 13px;
        line-height: 1.4;

        color: #777777;
    }

    /* ==========================================
       MODE LARGE — PRODUITS EN GRILLE
       ========================================== */

    #cc-complementary-3 .cc-complementary-grid {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 10px;
        row-gap: 26px;

        width: 100%;

        align-items: start;
    }

    #cc-complementary-3 .cc-complementary-card {
        position: relative;

        display: flex;
        flex-direction: column;

        min-width: 0;

        margin: 0;
        padding: 0;

        background: #FFFFFF !important;

        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    #cc-complementary-3 .cc-complementary-card-image {
        position: relative;

        width: 100%;
        aspect-ratio: 1 / 1.12;

        margin: 0;
        padding: 0;

        background: #FFFFFF !important;

        border: none !important;
        border-radius: 0 !important;

        overflow: hidden;
    }

    #cc-complementary-3 .cc-complementary-image-link {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 100%;
        height: 100%;

        background: #FFFFFF !important;

        text-decoration: none;
    }

    #cc-complementary-3 .cc-complementary-image-link img {
        display: block;

        width: 100%;
        height: 100%;

        max-width: none;

        margin: 0;
        padding: 0 !important;

        object-fit: contain;

        background: #FFFFFF !important;

        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        transition: transform .25s ease;
    }

    #cc-complementary-3 .cc-complementary-card:hover
    .cc-complementary-image-link img {
        transform: scale(1.035);
    }

    /* ==========================================
       CHECKBOX
       ========================================== */

    #cc-complementary-3 .cc-complementary-select {
        position: absolute;

        z-index: 5;

        top: 10px;
        right: 10px;

        display: flex;

        align-items: center;
        justify-content: center;

        width: 26px;
        height: 26px;

        margin: 0;
        padding: 0;

        cursor: pointer;
    }

    #cc-complementary-3 .cc-complementary-checkbox {
        position: absolute;

        width: 26px;
        height: 26px;

        margin: 0;

        opacity: 0;

        cursor: pointer;
    }

    #cc-complementary-3 .cc-complementary-checkmark {
        display: block;

        width: 21px;
        height: 21px;

        background: #FFFFFF;

        border: 1px solid #C8C8C8;
        border-radius: 3px;

        pointer-events: none;
    }

    #cc-complementary-3 .cc-complementary-checkbox:checked
    + .cc-complementary-checkmark {
        background: #111111;
        border-color: #111111;
    }

    #cc-complementary-3 .cc-complementary-checkbox:checked
    + .cc-complementary-checkmark::after {
        content: '';

        display: block;

        width: 5px;
        height: 10px;

        margin: 3px 0 0 7px;

        border: solid #FFFFFF;
        border-width: 0 2px 2px 0;

        transform: rotate(45deg);
    }

    #cc-complementary-3 .cc-complementary-checkbox:focus-visible
    + .cc-complementary-checkmark {
        outline: 2px solid #111111;
        outline-offset: 3px;
    }

    /* ==========================================
       QUANTITÉ — À GAUCHE
       ========================================== */

    #cc-complementary-3 .cc-complementary-quantity {
        position: absolute;

        z-index: 6;

        top: 10px;
        left: 10px;

        display: flex;
        align-items: center;

        width: fit-content;
        height: 32px;

        margin: 0;
        padding: 0;

        background: #FFFFFF;

        border: 1px solid #DEDEDE;
        border-radius: 3px;

        overflow: hidden;
    }

    #cc-complementary-3 .cc-complementary-quantity[hidden] {
        display: none !important;
    }

    #cc-complementary-3 .cc-complementary-quantity button {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 26px;
        height: 30px;
        min-height: 0;

        margin: 0;
        padding: 0 !important;

        background: #FFFFFF !important;
        color: #111111 !important;

        border: none !important;
        border-radius: 0 !important;

        font-family: inherit;
        font-size: 15px;
        font-weight: 400;

        cursor: pointer;
    }

    #cc-complementary-3 .cc-complementary-quantity button:hover {
        background: #F2F2F2 !important;
    }

    #cc-complementary-3 .cc-qty-input {
        display: block;

        width: 30px;
        height: 30px;
        min-height: 0;

        margin: 0;
        padding: 0 !important;

        background: #FFFFFF !important;
        color: #111111 !important;

        border: none !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        font-family: inherit;
        font-size: 12px;
        font-weight: 500;

        text-align: center;

        appearance: textfield;
        -moz-appearance: textfield;
    }

    #cc-complementary-3 .cc-qty-input::-webkit-inner-spin-button,
    #cc-complementary-3 .cc-qty-input::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* ==========================================
       INFORMATIONS PRODUITS
       ========================================== */

    #cc-complementary-3 .cc-complementary-card-info {
        min-width: 0;

        padding-top: 12px;

        background: #FFFFFF !important;
    }

    #cc-complementary-3 .cc-complementary-name {
        display: block;

        font-size: 13px;
        font-weight: 500;
        line-height: 1.45;

        color: #111111;
        text-decoration: none;
    }

    #cc-complementary-3 .cc-complementary-name:hover {
        text-decoration: underline;
    }



    #cc-complementary-3 .cc-complementary-price {
        margin-top: 8px;

        font-size: 13px;
        font-weight: 500;
        line-height: 1.4;

        color: #111111;
    }

    #cc-complementary-3 .cc-complementary-price del {
        font-size: 11px;
        color: #999999;
    }

    #cc-complementary-3 .cc-complementary-price ins {
        text-decoration: none;
    }

    #cc-complementary-3 .cc-complementary-options {
        display: inline-block;

        margin-top: 12px;
        padding: 9px 13px;

        background: #FFFFFF;

        border: 1px solid #111111;

        font-size: 12px;
        color: #111111;
        text-decoration: none;
    }

    /* ==========================================
       MODE ÉTROIT — LISTE HORIZONTALE
       ========================================== */

    @media (min-width: 768px) {

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-content {
            padding: 26px 26px 30px;
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-header {
            margin-bottom: 24px;
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-grid {
            display: flex;
            flex-direction: column;

            gap: 0;

            width: 100%;

            padding: 0 20px;

            background: #FFFFFF;

            border: 1px solid #E5E5E5;
            border-radius: 12px;
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-card {
            display: grid;

            grid-template-columns: 175px minmax(0, 1fr);

            align-items: center;

            width: 100%;
            min-height: 155px;

            margin: 0;
            padding: 18px 0;

            border-bottom: 1px solid #E5E5E5 !important;
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-card:last-child {
            border-bottom: none !important;
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-card-image {
            width: 175px;
            height: 115px;

            aspect-ratio: auto;

            overflow: visible;
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-image-link {
            width: 115px;
            height: 115px;

            margin-left: 45px;
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-image-link img {
            width: 100%;
            height: 100%;

            object-fit: contain;
        }

        /* Checkbox à l'extrême gauche */

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-select {
            top: 50%;
            right: auto;
            left: 0;

            transform: translateY(-50%);
        }

        /* Quantité au-dessus de la vignette */

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-quantity {
            top: 0;
            left: 45px;
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-card-info {
            padding: 0 10px 0 18px;
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-name {
            font-size: 17px;
            font-weight: 600;
            line-height: 1.45;
        }

        /* Style inspiré de la référence :
           nom et prix, sans description */

    

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-price {
            margin-top: 8px;

            font-size: 17px;
            font-weight: 400;

            color: #555555;
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-footer {
            margin-top: 24px;
        }

    }

    /* ==========================================
       FOOTER PANIER
       ========================================== */

    #cc-complementary-3 .cc-complementary-footer {
        margin-top: auto;
        padding-top: 30px;

        background: #FFFFFF;
    }

    #cc-complementary-3 .cc-complementary-counter {
        display: block;

        margin-bottom: 12px;

        font-size: 12px;
        color: #777777;
    }

    #cc-complementary-3 .cc-complementary-add {
        display: flex;

        align-items: center;
        justify-content: space-between;

        width: 100%;
        min-height: 53px;

        margin: 0;
        padding: 15px 17px !important;

        background: #D1DEE8 !important;
        color: #111111 !important;

        border: none !important;
        border-radius: 0 !important;

        font-family: inherit;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: .03em;

        cursor: pointer;

        transition: background .2s ease;
    }

    #cc-complementary-3 .cc-complementary-add span {
        font-size: 18px;
    }

    #cc-complementary-3 .cc-complementary-add:hover:not(:disabled) {
        background: #B8CFDF !important;
    }

    #cc-complementary-3 .cc-complementary-add:disabled {
        background: #EEEEEE !important;
        color: #999999 !important;

        cursor: not-allowed;
    }

    #cc-complementary-3 .cc-complementary-message {
        margin: 10px 0 0;

        font-size: 12px;
        line-height: 1.4;

        color: #555555;
    }

    #cc-complementary-3 .cc-complementary-message:empty {
        display: none;
    }

    /* ==========================================
       GRILLE ADAPTATIVE — MODE LARGE
       ========================================== */

    @container (min-width: 560px) {

        .cc-layout-wide .cc-complementary-grid {
            grid-template-columns:
                repeat(3, minmax(0, 1fr));
        }

    }

    @container (min-width: 850px) {

        .cc-layout-wide .cc-complementary-grid {
            grid-template-columns:
                repeat(4, minmax(0, 1fr));
        }

    }

    /* ==========================================
       ADAPTATION DES PETITS ÉCRANS
       ========================================== */

    @media (min-width: 768px) and (max-width: 1100px) {

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-card {
            grid-template-columns: 125px minmax(0, 1fr);
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-card-image {
            width: 125px;
            height: 100px;
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-image-link {
            width: 85px;
            height: 100px;

            margin-left: 35px;
        }

        #cc-complementary-3.cc-layout-narrow
        .cc-complementary-name {
            font-size: 14px;
        }

    }

    /* ==========================================
       MOBILE — VERSION PROVISOIRE
       ========================================== */

    @media (max-width: 767px) {

        #cc-complementary-3 {
            display: block;
        }

        #cc-complementary-3 .cc-complementary-left {
            width: 100%;
        }

        #cc-complementary-3 .cc-complementary-visual {
            position: relative !important;

            top: auto !important;

            width: 100%;
            height: 350px;

            max-height: none;
        }

        #cc-complementary-3 .cc-complementary-visual.cc-complementary-pulley-reel {
            position: relative !important;
            width: min(100%, 320px);
            height: auto;
            aspect-ratio: 9 / 16;
            margin-inline: auto;
        }

        #cc-complementary-3 .cc-complementary-pulley-video {
            object-fit: contain !important;
        }

        #cc-complementary-3 .cc-complementary-content {
            padding: 25px 16px;
        }

        #cc-complementary-3 .cc-complementary-grid {
            grid-template-columns:
                repeat(2, minmax(0, 1fr));

            gap: 18px 10px;
        }

    }


/* CYCLINGCERAMIC — QUANTITÉ À DROITE
   MODE LISTE HORIZONTALE */

@media (min-width: 768px) {

    .cc-complementary-v53.cc-layout-narrow
    .cc-complementary-card {
        position: relative !important;
    }

    .cc-complementary-v53.cc-layout-narrow
    .cc-complementary-card-image {
        position: static !important;
    }

    .cc-complementary-v53.cc-layout-narrow
    .cc-complementary-quantity {
        position: absolute !important;

        top: 50% !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;

        transform: translateY(-50%) !important;

        margin: 0 !important;
        z-index: 10 !important;
    }

    .cc-complementary-v53.cc-layout-narrow
    .cc-complementary-card-info {
        padding-right: 125px !important;
    }

    /* Conserver la checkbox à gauche */

    .cc-complementary-v53.cc-layout-narrow
    .cc-complementary-select {
        position: absolute !important;

        top: 50% !important;
        left: 0 !important;
        right: auto !important;

        transform: translateY(-50%) !important;
    }
}


    