/* Conversio_PdpEu – px sizes so Luma (62.5% rem) and Hyvä (16px rem) both look right */

.pdp-eu {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #00446a;
    box-sizing: border-box;
}

.pdp-eu *,
.pdp-eu *::before,
.pdp-eu *::after {
    box-sizing: border-box;
}

.pdp-eu a {
    color: #00446a;
    font-weight: 600;
}

/* GARAN */
.eu-garan {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 12px 0 8px;
    clear: both;
    border: 1px solid #d5dce6;
    border-radius: 6px;
    background: #fff;
    box-shadow: inset 0 0 0 0 transparent;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.eu-garan:hover,
.eu-garan:focus-within {
    border-color: #d5dce6;
    background: #fafbfc;
    box-shadow: inset 0 0 0 1px #8aa0b5;
}

.eu-garan--open {
    border-color: #d5dce6;
    box-shadow: inset 0 0 0 1px #8aa0b5;
}

.eu-garan .eu-garan-toggle,
.eu-garan .eu-garan-toggle:hover,
.eu-garan .eu-garan-toggle:active,
.eu-garan .eu-garan-toggle:focus {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    text-align: left;
    line-height: 1.3;
    outline: none;
    min-height: 0 !important;
    height: auto !important;
    color: inherit;
}

.eu-garan .eu-garan-toggle:focus-visible {
    box-shadow: inset 0 0 0 2px #00446a !important;
}

.eu-garan-years {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 6px;
    background: #00446a;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}

.eu-garan-years__num {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.eu-garan-years__unit {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.95;
}

.eu-garan-toggle__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.eu-garan-caption {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #00446a;
}

.eu-garan-hint {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    color: #00446a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.eu-garan-hint [hidden] {
    display: none !important;
}

.eu-garan-panel {
    margin: 0;
    padding: 0 12px 12px;
    border: 0;
    border-top: 1px solid #e2e8ef;
    border-radius: 0;
    background: transparent;
}

.eu-garan-panel img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 10px 0 0;
    border: 0;
    background: #fff;
}

.eu-garan-panel img + img {
    margin-top: 8px;
}

.eu-garan-panel[hidden] {
    display: none !important;
}

.eu-garan-panel p {
    margin: 8px 0 0;
    padding-left: 6px;
    font-size: 13px;
    line-height: 1.4;
}

/* Hyvä: keep GARAN under ATC area full width */
#product-details + form + .flex + .eu-garan,
.card .eu-garan {
    margin-top: 12px;
}
