.mpc-header {
    position: relative;
    z-index: 10;
    background: var(--mpc-background, #faf6f0);
    color: var(--mpc-menu, #111);
    font: 400 16px/1.3 Inter, sans-serif;
}
.mpc-header *, .mpc-header *::after, .mpc-header *::before { box-sizing: border-box; }
.mpc-header [hidden] { display: none !important; }
.mpc-header a { color: inherit; text-decoration: none; }
.mpc-header :is(a, button):focus-visible { outline: 2px solid var(--mpc-hover, #c52131); outline-offset: 3px; }
.mpc-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: none;
    padding: 10px clamp(20px, 7.5vw, 120px) 10px clamp(20px, 4.45vw, 72px);
    margin-inline: auto;
}
.mpc-header .mpc-brand { flex: none; width: 139px; max-width: 65%; font-weight: 600; }
.mpc-header .mpc-brand img { display: block; width: 100%; height: auto; }
.mpc-panel { display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: flex-end; column-gap: 30px; row-gap: 8px; min-width: 0; }
.mpc-header :is(.mpc-links, .mpc-services-list) { padding: 0; margin: 0; list-style: none; }
.mpc-links, .mpc-actions { display: flex; flex-wrap: wrap; align-items: center; }
.mpc-links { gap: 24px; }
.mpc-actions { gap: 20px; }
.mpc-links > li > a, .mpc-header .mpc-services-toggle {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 41px;
    overflow-wrap: anywhere;
}
.mpc-header :is(.mpc-mobile, .mpc-services-toggle) {
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    font: inherit;
    text-transform: none;
    cursor: pointer;
}
.mpc-links > li > a:hover, .mpc-header .mpc-services-toggle:hover {
    color: var(--mpc-hover, #c52131);
    text-decoration: underline;
    text-underline-offset: 5px;
}
.mpc-plus::before { content: '+'; font-weight: 800; }
.mpc-services-toggle[aria-expanded="true"] .mpc-plus::before { content: '−'; }
.mpc-services { position: relative; }
.mpc-header .mpc-services-list {
    position: absolute;
    z-index: 2;
    inset-block-start: 100%;
    inset-inline-start: 50%;
    translate: -50% 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: min(var(--mpc-dropdown-width, 540px), calc(100vw - 40px));
    padding: 12px;
    border: 1px solid #0001;
    border-radius: 15px;
    background: var(--mpc-dropdown, rgba(250, 246, 240, .96));
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px #0002;
}
.mpc-header:dir(rtl) .mpc-services-list { translate: 50% 0; }
.mpc-services-list a { display: block; padding: 10px; border-radius: 11px; font-size: 12px; overflow-wrap: anywhere; }
.mpc-services-list a:hover { background: #0001; color: var(--mpc-hover, #c52131); }
.mpc-header .mpc-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 41px;
    padding: 10px 23px;
    border: 1px solid;
    border-radius: 15px;
    font: 500 15px/1.2 Roboto, sans-serif;
    text-align: center;
    overflow-wrap: anywhere;
}
.mpc-header .mpc-request { color: var(--mpc-request-text, #000); background: var(--mpc-request-bg, transparent); border-color: var(--mpc-request-border, #000); }
.mpc-header .mpc-price { padding-inline: 18px; color: var(--mpc-price-text, #fff); background: var(--mpc-price-bg, #c52131); border-color: var(--mpc-price-border, #fff); }
.mpc-header .mpc-action:hover { filter: brightness(.88); text-decoration: underline; text-underline-offset: 3px; }
.mpc-header .mpc-mobile { display: none; }
@media (max-width: 1024px) {
    .mpc-inner { flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-inline: clamp(16px, 4.45vw, 48px); }
    .mpc-header .mpc-brand { width: 125px; }
    .mpc-header .mpc-mobile { display: inline-flex; align-items: center; gap: 8px; padding: 8px; min-height: 44px; }
    .mpc-panel { display: none; flex-direction: column; align-items: stretch; flex: 1 0 100%; padding-block: 8px 14px; }
    .mpc-mobile[aria-expanded="true"] + .mpc-panel { display: flex; }
    .mpc-links { flex-direction: column; align-items: stretch; gap: 2px; }
    .mpc-header .mpc-services-toggle { width: 100%; justify-content: space-between; }
    .mpc-header .mpc-services-list { position: static; inset: auto; translate: none; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); box-shadow: none; }
    .mpc-header:dir(rtl) .mpc-services-list { translate: none; }
    .mpc-actions { gap: 10px; }
    .mpc-header .mpc-action { white-space: normal; }
}
@media (max-width: 480px) {
    .mpc-header .mpc-services-list { grid-template-columns: 1fr; }
    .mpc-header .mpc-action { flex: 1 1 130px; padding-inline: 12px; }
}

.mpc-header .mpc-translate { position:relative; }
.mpc-header .mpc-translate summary { cursor:pointer; white-space:nowrap; padding:8px 12px; border:1px solid currentColor; border-radius:12px; }
.mpc-header .mpc-translate ul { position:absolute; inset-inline-end:0; inset-block-start:100%; z-index:3; min-width:135px; margin:4px 0 0; padding:6px; list-style:none; border-radius:12px; background:var(--mpc-background,#faf6f0); box-shadow:0 5px 18px #0002; }
.mpc-header .mpc-translate a { display:block; padding:8px; }
.mpc-header .mpc-translate a:hover { text-decoration:underline; }
.mpc-header .mpc-translate summary:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
@media (max-width:1024px) {
    .mpc-header .mpc-translate ul { position:static; }
}

.mpc-header .mpc-translate a { display:flex; align-items:center; gap:8px; }
.mpc-header .mpc-flag { display:block; width:24px; height:15px; flex:none; border-radius:2px; }
