.berkei-warranty {
margin: 14px 0 6px;
max-width: 100%;
}
.berkei-warranty__open {
display: flex;
align-items: center;
gap: 12px;
padding: 8px 10px;
border: 1px solid #d6dde6;
border-radius: 8px;
background: #fff;
color: inherit;
text-decoration: none;
max-width: 520px;
}
.berkei-warranty__open:hover,
.berkei-warranty__open:focus-visible {
border-color: #0b4ea2;
outline: none;
}
.berkei-warranty__badge {
flex: 0 0 auto;
width: 150px;
height: auto;
border-radius: 3px;
}
.berkei-warranty__text {
font-size: 0.9em;
line-height: 1.35;
}
.berkei-warranty__more {
text-decoration: underline;
white-space: nowrap;
}
.berkei-warranty--cart,
.berkei-warranty--checkout {
margin: 18px auto 8px;
display: flex;
justify-content: center;
}
@media (max-width: 480px) {
.berkei-warranty__badge { width: 110px; }
}
.berkei-warranty-dialog {
width: min(720px, 94vw);
max-height: 92vh;
padding: 0;
border: 0;
border-radius: 10px;
overflow: auto;
}
.berkei-warranty-dialog::backdrop {
background: rgba(0, 0, 0, 0.55);
}
.berkei-warranty-dialog img {
display: block;
width: 100%;
height: auto;
}
.berkei-warranty-dialog__bar {
position: sticky;
z-index: 2; top: 0;
display: flex;
justify-content: flex-end;
margin: 0;
height: 0;
}
.berkei-warranty-dialog__close {
margin: 8px;
width: 36px;
height: 36px;
border: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.92);
font-size: 24px;
line-height: 36px;
cursor: pointer;
}
.berkei-warranty-dialog__links {
margin: 0;
padding: 10px 16px 14px;
font-size: 0.9em;
text-align: center;
}