.msp-policy-footer {
    padding: 16px 20px;
    border-top: 1px solid #d8e1ed;
    background: #eef3fa;
    color: #162338;
}
.msp-policy-footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
}
.msp-policy-footer li { margin: 0; }
.msp-policy-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #173f84;
    font-size: .94rem;
    text-decoration: underline;
    text-underline-offset: .19em;
}
.msp-policy-footer a:focus-visible,
.msp-complaint-form :focus-visible { outline: 2px solid #245bdb; outline-offset: 2px; }
.msp-complaints { max-width: 48rem; }
.msp-complaint-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    border: 1px solid #d8e1ed;
    background: #f6f8fc;
    color: #162338;
    border-radius: 10px;
    padding: clamp(16px, 4vw, 28px);
}
.msp-complaint-form label { min-width: 0; }
.msp-complaint-wide { grid-column: 1 / -1; }
.msp-form-trap { display: none; }
.msp-complaint-form input:not([type=checkbox]):not([type=hidden]),
.msp-complaint-form select,
.msp-complaint-form textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 6px;
    border: 1px solid #66758a;
    border-radius: 6px;
    padding: 9px 12px;
    font: inherit;
    background: #fff;
    color: #162338;
}
.msp-complaint-form textarea { resize: vertical; }
.msp-complaint-check { display: flex; align-items: flex-start; gap: 10px; }
.msp-complaint-check input { width: 18px; height: 18px; margin: 3px 0 0; flex: 0 0 auto; }
.msp-complaint-form button {
    justify-self: start;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #1f4ba1;
    border-radius: 6px;
    background: #1f4ba1;
    color: white;
    font: inherit;
    cursor: pointer;
}
.msp-complaint-form button:hover { background: #16397c; }
.msp-complaint-hint { margin: -10px 0 0; font-size: .9em; }
.msp-complaint-result {
    border: 1px solid #7c9cbc;
    border-radius: 8px;
    padding: 12px 16px;
    background: #eef5fe;
    color: #162338;
    overflow-wrap: anywhere;
}
.msp-complaint-result p { margin: 6px 0 0; }

:where(.msp-category-grid) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.msp-category-photo img,
.msp-about-image { max-width: 100%; }
.msp-category-photo img { display: block; }

.msp-studio-hero-grid > *,
.msp-category-grid > *,
.woocommerce .woocommerce-checkout-review-order,
.woocommerce table.shop_table .product-name { min-width: 0; }
.msp-studio-hero-photo img { display: block; max-width: 100%; }
.woocommerce table.shop_table .product-name,
.woocommerce .woocommerce-MyAccount-content,
.msp-policy-contact { overflow-wrap: anywhere; }

@media (max-width: 820px) {
    :where(.msp-category-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .msp-studio-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .msp-studio-hero-photo { margin-inline: 0; }
    .woocommerce form .form-row select,
    .woocommerce .wc-block-components-text-input input { max-width: 100%; }
}
@media (max-width: 580px) {
    :where(.msp-category-grid) { grid-template-columns: minmax(0, 1fr); }
    .msp-complaint-form { grid-template-columns: minmax(0, 1fr); }
    .msp-complaint-form button { justify-self: stretch; }
    .msp-policy-footer ul { column-gap: 12px; }
    .msp-studio-hero-copy h1 { overflow-wrap: anywhere; }
    .is-layout-flex:has(> .wc-block-catalog-sorting) { flex-wrap: wrap; }
    .wc-block-catalog-sorting,
    .wc-block-catalog-sorting select { min-width: 0; max-width: 100%; }
    .woocommerce div.product form.cart .variations select { min-width: 0; }
    .woocommerce table.shop_table_responsive tr td { overflow-wrap: anywhere; }
}
