/* Softaware Product Compliance - Luma (loaded as CSS file) and Hyvä (merged into the theme CSS). */

/* Omnibus line ---------------------------------------------------------------------------------------------------- */
.sw-omnibus {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25em 0.5em;
    margin: 0.25em 0 0.5em;
    font-size: 0.8125em;
    line-height: 1.35;
    color: #4b5563;
}
.sw-omnibus--product {
    font-size: 0.875em;
}
.sw-omnibus__percent {
    display: inline-block;
    padding: 0.0625em 0.375em;
    border-radius: 0.25em;
    background: #b91c1c;
    color: #fff;
    font-weight: 600;
    font-size: 0.75em;
    line-height: 1.4;
}
.sw-omnibus-variants[hidden] {
    display: none;
}
.product-item .sw-omnibus {
    margin-top: 0.125em;
}

/* Product safety section ------------------------------------------------------------------------------------------ */
.sw-gpsr {
    font-size: 1em;
    line-height: 1.5;
    color: inherit;
}
.sw-gpsr__title {
    margin: 1.5em 0 1em;
    font-size: 1.25em;
    font-weight: 600;
}
.sw-gpsr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
    gap: 1em;
    margin-bottom: 1em;
}
.sw-gpsr__card {
    padding: 0.875em 1em;
    border: 1px solid #e5e7eb;
    border-radius: 0.375em;
    background: #fafafa;
    min-width: 0;
}
.sw-gpsr__heading {
    margin: 0 0 0.5em;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #374151;
}
.sw-gpsr__address {
    font-style: normal;
    margin: 0 0 0.5em;
    overflow-wrap: anywhere;
}
.sw-gpsr__contact,
.sw-gpsr__list,
.sw-gpsr__doc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sw-gpsr__contact li,
.sw-gpsr__list li,
.sw-gpsr__doc-list li {
    margin: 0 0 0.25em;
    overflow-wrap: anywhere;
}
.sw-gpsr__label {
    color: #6b7280;
}
.sw-gpsr a {
    text-decoration: underline;
}
.sw-gpsr__warnings,
.sw-gpsr__documents {
    margin: 0 0 1em;
}
.sw-gpsr__warning-list {
    margin: 0;
    padding-left: 1.25em;
    list-style: disc;
}
.sw-gpsr__warning-list li {
    margin: 0 0 0.25em;
}
.sw-gpsr__pictograms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    list-style: none;
    margin: 0 0 0.75em;
    padding: 0;
}
.sw-gpsr__pictograms img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.product-info-main .sw-gpsr {
    margin-top: 1.5em;
}

/* Recall notice --------------------------------------------------------------------------------------------------- */
.sw-recall {
    display: flex;
    align-items: flex-start;
    gap: 0.75em;
    margin: 0 0 1em;
    padding: 0.75em 1em;
    border: 1px solid #f59e0b;
    border-left-width: 4px;
    border-radius: 0.375em;
    background: #fffbeb;
    color: #78350f;
}
.sw-recall__icon {
    flex: none;
    margin-top: 0.0625em;
    color: #b45309;
}
.sw-recall__text {
    margin: 0;
    line-height: 1.45;
}
.sw-recall__link {
    margin-left: 0.25em;
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}
.sw-gpsr__doc-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.375em;
}
.sw-gpsr__doc-icon {
    flex: none;
    width: 1em;
    height: 1em;
}
