/* Stoeberkiste: contact sheet refresh; original palette intentionally retained. */
#sk-contact.sk-contact-panel {
    height: auto !important;
    min-height: 0 !important;
    max-height: min(92vh, 730px) !important;
    overflow-y: auto !important;
    box-shadow: 0 20px 45px rgba(15, 35, 50, .18) !important;
    border-bottom-width: 5px !important;
}
#sk-contact .contact-all-inner {
    min-height: 455px !important;
    height: auto !important;
    padding: 10px 0 30px !important;
    display: flow-root !important;
}
#sk-contact .close-contact {
    border: 0;
    cursor: pointer !important;
    background-color: transparent !important;
}
#sk-contact .close-contact:hover,
#sk-contact .close-contact:focus-visible { text-decoration: underline; }
#sk-contact #contact-ajax {
    display: flex; /* Keep jQuery .hide() usable after a successful AJAX submit. */
    flex-direction: column;
    gap: 10px;
    margin-top: -15px !important;
}
#sk-contact #contact-ajax input[type="text"],
#sk-contact #contact-ajax input[type="email"],
#sk-contact #contact-ajax textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    height: auto !important;
    min-height: 44px !important;
    border: 1px solid #a8b7c3 !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    line-height: 24px !important;
    transition: border-color .18s, box-shadow .18s !important;
}
#sk-contact #contact-ajax textarea { min-height: 110px !important; resize: vertical !important; }
#sk-contact #contact-ajax :is(input,textarea):focus-visible {
    outline: none !important;
    border-color: #285479 !important;
    box-shadow: 0 0 0 3px rgba(40,84,121,.16) !important;
}
#sk-contact #contact-all-submit {
    min-height: 44px !important;
    height: auto !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    cursor: pointer;
    transition: filter .18s, transform .18s;
}
#sk-contact #contact-all-submit:hover { filter: brightness(1.15); transform: translateY(-1px); }
#sk-contact #contact-all-submit:focus-visible { outline: 3px solid #285479; outline-offset: 3px; }
#sk-contact .sk-contact-captcha { display: block; clear: both; width: 100%; margin: 2px 0; }
.sk-contact-captcha { margin: 14px 0; max-width: 100%; }
.sk-contact-captcha .frc-captcha { max-width: 100%; }
@media (max-width: 1080px) {
    #sk-contact .contact-all-inner { width: calc(100% - 40px) !important; max-width: 960px !important; }
    #sk-contact .contact-all-text, #sk-contact #contact-ajax { width: 48% !important; }
}
@media (max-width: 767px) {
    #sk-contact .contact-all-inner { width: auto !important; margin: 0 18px !important; }
    #sk-contact .contact-all-text, #sk-contact #contact-ajax { width: 100% !important; float: none !important; }
    #sk-contact #contact-ajax { margin-top: 18px !important; }
    #sk-contact .contact-all-inner img { max-width: min(65%, 240px) !important; }
    #sk-contact .close-contact { margin-top: 15px !important; }
}
@media (prefers-reduced-motion: reduce) {
    #sk-contact *, #sk-contact *::before, #sk-contact *::after { transition: none !important; animation: none !important; }
}

/* Clear, accessible feedback without breaking the contact-panel layout. */
#sk-contact .sk-product-question-response:empty { display: none; }
#sk-contact .sk-product-question-response.is-error {
    display: block;
    box-sizing: border-box;
    padding: 12px 14px;
    margin: 2px 0;
    border: 1px solid #e4bab4;
    border-left: 4px solid #ad2727;
    border-radius: 6px;
    background: #fff4f1;
    color: #852b24;
    font-size: 15px;
    line-height: 1.45;
}
#sk-contact .sk-product-question-response.is-success {
    display: block;
    padding: 12px 14px;
    margin: 2px 0;
    border-left: 4px solid #28714e;
    background: #f0f8f2;
    color: #215a41;
    border-radius: 6px;
}

/* Consistent privacy acknowledgement on header, contact page and product details. */
.sk-contact-privacy { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0; width: 100%; box-sizing: border-box; }
.sk-contact-privacy .sk-dsgvo-check { flex: 0 0 auto; margin: 3px 0 0; width: 16px; height: 16px; accent-color: #285479; }
.sk-contact-privacy .sk-dsgvo-label { display: block; font-size: 13px; line-height: 1.5; color: #41566a; cursor: pointer; }
.sk-contact-privacy a { color: #285479; text-decoration: underline; text-underline-offset: 2px; }
#sk-contact #contact-ajax .sk-contact-privacy { margin: 4px 0; }
#sk-contact #contact-ajax .sk-contact-privacy .sk-dsgvo-check { width: 16px !important; min-width: 16px !important; height: 16px !important; min-height: 16px !important; padding: 0 !important; }

/* Compact consent layout; override legacy floated product-detail consent rules. */
html body #sk-contact .sk-contact-privacy,
html body.cl-details form#contact-ajax-detail .sk-contact-privacy,
html body .sk-contact-form .sk-contact-privacy {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    align-items: start !important;
    column-gap: 11px !important;
    row-gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 !important;
    padding: 0 !important;
    clear: both !important;
}
html body #sk-contact .sk-contact-privacy input.sk-dsgvo-check,
html body.cl-details form#contact-ajax-detail .sk-contact-privacy input.sk-dsgvo-check[type="checkbox"],
html body .sk-contact-form .sk-contact-privacy input.sk-dsgvo-check {
    float: none !important;
    display: block !important;
    grid-column: 1 !important;
    align-self: start !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    clear: none !important;
}
html body #sk-contact .sk-contact-privacy label.sk-dsgvo-label,
html body.cl-details form#contact-ajax-detail .sk-contact-privacy label.sk-dsgvo-label,
html body .sk-contact-form .sk-contact-privacy label.sk-dsgvo-label {
    float: none !important;
    display: block !important;
    grid-column: 2 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #41566a !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}
html body.cl-details form#contact-ajax-detail .sk-contact-captcha { clear: both; margin: 6px 0 8px !important; }
html body.cl-details form#contact-ajax-detail .sk-product-question-response.is-error { box-sizing: border-box; width: 100%; padding: 11px 13px; border: 1px solid #cf3940; border-radius: 6px; background: #fff5f5; color: #9b1d28; }
