@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

.pcsd-safety-data-block {
    margin: 30px 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1.6;
    clear: both;
}

/* Base / Mobile Layout (Vertical Stack) */
.pcsd-col-pictos {
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 25px;
}

.pcsd-pictograms-vertical {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px;
    justify-content: flex-start;
}

/* Desktop Grid Layout */
@media (min-width: 769px) {
    .pcsd-layout-grid {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 30px;
        align-items: stretch;
        /* Stretch columns to match height */
    }

    .pcsd-col-phrases {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .pcsd-col-pictos {
        margin-bottom: 0;
    }

    .pcsd-pictograms-vertical {
        flex-direction: column;
        align-items: center;
        padding: 20px 5px;
        position: sticky;
        top: 20px;
        margin-bottom: 0;
    }
}

.pcsd-pictogram-item {
    width: 70px;
    height: 70px;
    padding: 5px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcsd-pictogram-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pcsd-pictogram-item svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.pcsd-phrases-group {
    margin-bottom: 25px;
}

.pcsd-phrases-group:last-child {
    margin-bottom: 0;
}

.pcsd-phrases-group .pcsd-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 13px;
    color: #1a1d21;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pcsd-h-phrases .pcsd-group-title {
    border-left: 4px solid #d63638;
    padding-left: 10px;
}

.pcsd-p-phrases .pcsd-group-title {
    border-left: 4px solid #2271b1;
    padding-left: 10px;
}

.pcsd-phrases-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pcsd-phrases-list li {
    padding: 10px 12px !important;
    margin-bottom: 8px !important;
    background: #fff;
    border: 1px solid #f0f2f5;
    border-radius: 8px;
    font-size: 13px;
    color: #4a5568;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    line-height: 1.3 !important;
}

.pcsd-phrases-list li strong {
    color: #1a1d21;
    font-weight: 800;
}

.pcsd-h-phrases li {
    border-left: 3px solid #ffeded !important;
}

.pcsd-p-phrases li {
    border-left: 3px solid #ebf8ff !important;
}

@media (max-width: 768px) {
    .pcsd-layout-grid {
        display: block;
    }
}