

:root {
    --pdf-dark: #0f3d39;
    --pdf-gold: #cca43b;
    --color-primary: #168b3b;
    --color-text: #374151;
    --font-title: 'Plane', sans-serif;
}



.product-sheet-final {
    background: #f3f4f6;
}


.pdf-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0 80px;
    color: #fff;
    margin-bottom: 40px;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.pdf-hero .overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 61, 57, 0.95) 0%, rgba(15, 61, 57, 0.5) 100%);
    z-index: 0;
}

.pdf-hero .hero-inner {
    position: relative;
    z-index: 1;
    width: min(1240px, 94vw);
    margin: 0 auto;
}

.main-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0 0 1rem;
    line-height: 1.1;
    color: #ffffff;
}

.gamme-tag {
    display: inline-block;
    background: var(--pdf-gold);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.weight-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

.btn-back-catalogue {
    position: absolute;
    top: 30px;
    left: 30px;
    color: #fff;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    background: rgba(0,0,0,0.25);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.btn-back-catalogue:hover {
    background: rgba(0,0,0,0.45);
    text-decoration: none;
}


.bottom-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}
.bottom-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}



.details-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    width: min(1240px, 94vw);
    margin: 0 auto 60px;
    align-items: flex-start;
}

.details-content {
    min-width: 0; 
}


.product-labels { 
    display: flex; 
    gap: 15px; 
    justify-content: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap; 
}

.product-label-img { 
    height: 60px; 
    width: auto; 
    object-fit: contain; 
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.06)); 
    transition: transform 0.3s; 
    background: #fff; 
    padding: 6px; 
    border-radius: 8px; 
    border: 1px solid #f0f0f0;
}

.product-label-img:hover { 
    transform: scale(1.05); 
    z-index: 5; 
}


.text-content-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.wysiwyg-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}
.wysiwyg-content h2, .wysiwyg-content h3 {
    color: var(--color-primary);
    margin-top: 1.5em;
}

.advice-box {
    margin-top: 30px;
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    padding: 20px 25px;
    border-radius: 4px;
}
.advice-box h4 {
    margin-top: 0;
    color: #166534;
    font-size: 1.1rem;
}



.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 20px;
}


.download-widget {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    text-align: center;
}
.download-text {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 20px;
}
.btn-pdf-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-primary);
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}
.btn-pdf-action:hover {
    background: #14532d;
    text-decoration: none;
    transform: translateY(-2px);
}


.plus-widget-clean {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.plus-title {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: #111827;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 10px;
}
.plus-widget-clean ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.plus-widget-clean li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.4;
}
.icon-plus {
    color: var(--color-primary);
    font-weight: 800;
}


.donut-widget {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    text-align: center;
}
.widget-title {
    color: var(--pdf-dark);
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 1rem;
}



.composition-block-pdf {
    margin: 0 0 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.pdf-comp-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.pdf-comp-row {
    background: var(--rowcolor);
    height: 44px;
    transition: filter 0.2s ease;
}

.pdf-comp-row + .pdf-comp-row {
    border-top: 3px solid #ffffff;
}

.pdf-comp-row td {
    padding: 0;
    color: #ffffff;
    vertical-align: middle;
}

.pdf-comp-pct {
    width: 90px;
    text-align: center;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    background: rgba(0,0,0,0.1); 
}

.pdf-comp-name {
    padding-left: 20px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pdf-comp-name strong { font-weight: 900; }

.pdf-comp-row.is-active {
    outline: 3px solid rgba(255,255,255,0.8);
    outline-offset: -3px;
    filter: brightness(1.15) saturate(1.1);
    z-index: 1;
    position: relative;
}



.svg-chart-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 20px;
}

.donut-svg {
    transform: rotate(-90deg);
    overflow: visible;
}

.center-image {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 6px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    pointer-events: none;
}


.chart-segment {
    cursor: pointer;
    transition: stroke-width .2s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter .2s ease;
    transform-origin: center;
    
    
    pointer-events: stroke; 
}

.chart-segment:hover {
    stroke-width: 32; 
    filter: brightness(1.05);
}

.chart-segment.is-active {
    stroke-width: 36; 
    filter: brightness(1.1) drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}



.chart-legend {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.chart-legend li {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
    border-radius: 8px;
    margin-bottom: 4px;
    cursor: default;
    transition: background .2s ease, transform .2s ease;
}

.chart-legend li:hover {
    background: #f9fafb;
}

.chart-legend .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chart-legend .l-name {
    flex: 1;
    color: #374151;
    line-height: 1.2;
    font-weight: 500;
}

.chart-legend .l-pct {
    font-weight: 800;
    color: #111827;
    margin-left: 10px;
}

.chart-legend li.is-active {
    background: #f0f9ff;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}



.related-products-section {
    background: #fff;
    padding: 60px 0;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

.related-inner {
    width: min(1240px, 94vw);
    margin: 0 auto;
}

.related-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #111827;
    font-family: var(--font-title);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.related-card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--color-primary);
    text-decoration: none;
}

.r-img-wrap {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.r-img-wrap img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.r-title {
    font-size: 1.1rem;
    color: #111827;
    margin: 0 0 10px;
}

.r-btn {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}



@media (max-width: 980px) {
    .details-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .details-sidebar {
        order: 2; 
        position: static;
    }
    
    .svg-chart-wrapper {
        width: 260px;
        height: 260px;
    }
    .center-image {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 600px) {
    .main-title {
        font-size: 2rem;
    }
    .pdf-hero {
        min-height: 300px;
    }
    .product-labels {
        justify-content: center;
    }
    .pdf-comp-pct {
        font-size: 14px;
        width: 70px;
    }
    .pdf-comp-name {
        font-size: 13px;
        padding-left: 10px;
    }
    .text-content-wrapper {
        padding: 20px;
    }
}