/* Montage Page Styles */
.pg-montage-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.pg-montage-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 32px;
    font-weight: 700;
    color: var(--pg-dark);
    margin-bottom: 12px;
    text-align: center;
}
.pg-montage-title .pg-page-title-icon {
    width: 0.72em;
    height: 0.72em;
    display: block;
    color: var(--pg-galaxy);
}

.pg-montage-subtitle {
    font-size: 16px;
    color: var(--pg-grey);
    text-align: center;
    margin-bottom: 40px;
}

.pg-montage-progress {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: -20px 0 34px;
}

.pg-montage-progress-step {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--pg-border-light);
    border-radius: 2px;
    background: var(--pg-white);
    color: var(--pg-grey-medium);
    font-size: 13px;
    font-weight: 650;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pg-montage-progress-step.is-complete {
    background: var(--pg-stock-in-bg);
    border-color: var(--pg-stock-in-bg);
    color: var(--pg-stock-in-text);
}

.pg-montage-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

/* Isometric Diagram */
.pg-montage-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--pg-bg-light);
    border-radius: 2px;
    padding: 40px 20px;
    border: 1px solid var(--pg-border-light);
}

/* ------------------------------------------------
   Cross-sell : raquettes préconfigurées
   ------------------------------------------------ */
.pg-montage-crosssell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 40px;
    padding: 18px 24px;
    background: var(--pg-galaxy-light-bg);
    border: 1px solid var(--pg-galaxy-shadow);
    border-radius: 4px;
}

.pg-montage-crosssell-text {
    font-size: 14px;
    color: var(--pg-dark);
    margin: 0;
    flex: 1 1 240px;
}

.pg-montage-crosssell-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pg-galaxy);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.pg-montage-crosssell-link:hover {
    color: var(--pg-galaxy-hover);
}

@media (max-width: 768px) {
    .pg-montage-page {
        margin: 36px auto;
    }

    .pg-montage-subtitle {
        margin-bottom: 28px;
    }

    .pg-montage-progress {
        justify-content: flex-start;
        margin: -12px 0 24px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .pg-montage-container {
        gap: 24px;
    }

    .pg-montage-selectors {
        order: 1;
    }

    .pg-montage-diagram {
        order: 2;
        padding: 28px 16px;
    }
}

@media (max-width: 480px) {
    /* Cross-sell banner : padding réduit + lien tap target confortable */
    .pg-montage-crosssell {
        padding: 14px 16px;
        gap: 10px 16px;
    }

    .pg-montage-crosssell-text {
        font-size: 13px;
        flex: 1 1 100%;
    }

    .pg-montage-crosssell-link {
        min-height: 44px;
        padding: 10px 0;
        font-size: 13px;
        box-sizing: border-box;
    }
}

/* SVG Racket — Container */
#pg-racket-svg-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pg-racket-svg-container svg {
    width: 100%;
    max-width: 460px;
    height: auto;
    filter: drop-shadow(var(--pg-shadow-sm, 0 2px 8px rgba(0,0,0,0.12)));
}

/* SVG Racket — Parts interactifs */
.pg-svg-part {
    transition: fill 0.4s ease, fill-opacity 0.4s ease;
}

/* SVG Racket — Overlay (contours noirs, non-interactif) */
.pg-svg-overlay {
    pointer-events: none;
}

/* SVG Racket — Loading */
.pg-racket-loading {
    color: var(--pg-grey-light);
    font-size: 0.875rem;
    animation: pg-pulse 1.5s ease-in-out infinite;
}

@keyframes pg-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
