html {
    scroll-behavior: smooth;
}
#pc-configurator { max-width: 900px; margin: 20px auto; font-family: sans-serif; }
.pc-section { border: 1px solid #eee; margin-bottom: 10px; border-radius: 5px; overflow: hidden; }
.pc-section.open .pc-section-header { background:#f0f8ff9f; }
.pc-section-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pc-icon i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.pc-icon {
    width: 35px;
    height: 35px;
    background: #f0f2f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #1572B7; /* Votre couleur principale */
    font-size: 1.1em;
}
.pc-section:hover .pc-icon {
    background: #1572B7;
    color: #fff;
}
.label-text {
    font-weight: 600;
    flex-grow: 1;
}
.pc-section-header:hover { background: #1573B6; }
.pc-section-header:hover .selected-item-name {color:#fff;}
.selected-item-name { color: #1572B7; font-size: 0.9em; }

.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; padding: 15px; }
.pc-card { border: 1px solid #ddd; padding: 10px; text-align: center; border-radius: 5px; transition: 0.3s; position: relative; }
.pc-card img { max-width: 100%; height: 120px; object-fit: contain; }
.pc-card.selected { border-color: #1572B7; background: #f0f8ff9f; box-shadow: 0 0 10px rgba(21,114,183,0.2); }

.pc-card.disabled { opacity: 0.3; filter: grayscale(1); pointer-events: none; }

.add-to-config { background: #1572B7; color: white; border: none; padding: 8px 15px; border-radius: 4px; cursor: pointer; margin-top: 10px; }
.add-to-config:hover { background: #115a91; }

#pc-footer { background: #333; color: white; padding: 20px; margin-top: 20px; display: flex; justify-content: space-between; align-items: center; border-radius: 5px; }
#pc-total { font-size: 1.4em; font-weight: bold; }
#pc-add-to-cart { background: #28a745; color: white; border: none; padding: 12px 25px; border-radius: 5px; cursor: pointer; font-size: 1.1em; }
#pc-add-to-cart:disabled { background: #666; cursor: not-allowed; }



