/* ==========================================================================
   Page détail produit (single-produit.php)
   ========================================================================== */

#produit-detail {
    padding-top: 80px;
    padding-bottom: 80px;
}

.produit-header {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 128px;
    text-align: center;
}

.produit-header .label {
    display: inline-block;
    margin-bottom: 24px;
}

.produit-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--vert);
    margin-bottom: 16px;
}

.produit-thumbnail-wrap {
    margin-top: 24px;
}

.produit-thumbnail {
    max-width: 300px;
    height: auto;
}

.produit-content {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 128px;
}

.produit-content .entry-content {
    font-size: 20px;
    line-height: 1.8;
    color: var(--gris);
}

.produit-documents {
    max-width: 800px;
    margin: 0 auto;
}

.produit-documents h2 {
    font-size: clamp(24px, 4vw, 32px);
    color: var(--vert);
    margin-bottom: 32px;
    text-align: center;
    border-bottom: 2px solid var(--vert-pastel);
    padding-bottom: 16px;
}

.documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--blanc);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gris-clair);
    border-radius: 8px;
    flex-shrink: 0;
    color: var(--vert);
}

.doc-info {
    flex: 1;
    min-width: 0;
}

.doc-name {
    display: block;
    font-weight: 600;
    font-size: 18px;
    color: var(--vert);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-meta {
    display: block;
    font-size: 14px;
    color: var(--gris);
    margin-top: 4px;
}

.document-item .btn_fill {
    padding: 12px 24px;
    font-size: 16px;
    white-space: nowrap;
    flex-shrink: 0;
}

.produit-retour {
    text-align: center;
    margin-top: 60px;
    padding: 0 128px;
}

.produit-retour .btn_outline {
    padding: 14px 32px;
    font-size: 18px;
    color: var(--terre);
    font-weight: bold;
}
