.mc-site-region {
    --mc-region-accent: #df2935;
    position: relative;
    z-index: 420;
    flex: 0 0 auto;
}

.mc-site-region-trigger {
    appearance: none;
    display: grid;
    min-width: 0;
    min-height: 32px;
    grid-template-columns: 16px auto minmax(40px, 1fr) 10px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid color-mix(in srgb, var(--mc-region-accent) 22%, #d9d7d1);
    border-radius: 7px;
    color: #31312e;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 5px 14px rgba(17, 22, 25, .08);
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.mc-site-region-trigger > i:first-child {
    color: var(--mc-region-accent);
}

.mc-site-region-trigger span {
    color: #88837b;
    white-space: nowrap;
}

.mc-site-region-trigger strong {
    overflow: hidden;
    color: #292925;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-site-region-trigger > i:last-child {
    color: #8f8a82;
    font-size: 9px;
    transition: transform .18s ease;
}

.mc-site-region-trigger[aria-expanded="true"] > i:last-child {
    transform: rotate(180deg);
}

.mc-site-region-trigger:hover,
.mc-site-region-trigger:focus-visible {
    border-color: var(--mc-region-accent);
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mc-region-accent) 12%, transparent);
}

.mc-site-region-trigger[aria-expanded="true"] {
    border-color: var(--mc-region-accent);
    color: #fff;
    background: var(--mc-region-accent);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--mc-region-accent) 22%, transparent);
}

.mc-site-region-trigger[aria-expanded="true"] span,
.mc-site-region-trigger[aria-expanded="true"] strong,
.mc-site-region-trigger[aria-expanded="true"] > i {
    color: #fff;
}

.mc-site-region-panel {
    position: absolute;
    z-index: 520;
    top: calc(100% + 9px);
    right: 0;
    width: min(430px, calc(100vw - 24px));
    overflow: hidden;
    padding: 16px;
    border: 1px solid #dce6e4;
    border-radius: 13px;
    color: #34332f;
    background: #fff;
    box-shadow: 0 20px 52px rgba(18, 33, 36, .22);
    animation: mc-region-panel-in .2s ease both;
}

.mc-site-region-panel[hidden] {
    display: none;
}

.mc-site-region-panel > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.mc-site-region-panel > header strong,
.mc-site-region-panel > header small {
    display: block;
}

.mc-site-region-panel > header strong {
    font-size: 15px;
}

.mc-site-region-panel > header small {
    margin-top: 3px;
    color: #8a867f;
    font-size: 9px;
    line-height: 1.55;
}

.mc-site-region-panel > header button {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #746f67;
    background: #f3f1ed;
    cursor: pointer;
}

.mc-site-region-hot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.mc-site-region-hot[hidden] {
    display: none;
}

.mc-site-region-hot > span {
    margin-right: 3px;
    color: #8a867f;
    font-size: 9px;
}

.mc-site-region-hot button {
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #e6ebe8;
    border-radius: 6px;
    color: #5f6e69;
    background: #fbfdfc;
    cursor: pointer;
    font: inherit;
    font-size: 9px;
}

.mc-site-region-hot button:hover,
.mc-site-region-hot button.is-active {
    color: #fff;
    border-color: var(--mc-region-accent);
    background: var(--mc-region-accent);
}

.mc-site-region-search {
    display: grid;
    height: 38px;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid #dce6e3;
    border-radius: 8px;
    background: #f7fbfa;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.mc-site-region-search:focus-within {
    border-color: var(--mc-region-accent);
    background: #fff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mc-region-accent) 11%, transparent);
}

.mc-site-region-search > i {
    margin: 0;
    color: #82928e;
    font-size: 11px;
}

.mc-site-region-search input {
    width: 100%;
    height: 36px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    color: #314945;
    background: transparent;
    box-shadow: none;
    font: inherit;
    font-size: 11px;
}

.mc-site-region-search input::-webkit-search-cancel-button {
    display: none;
    -webkit-appearance: none;
}

.mc-site-region-options {
    display: grid;
    max-height: min(300px, 50vh);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 11px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.mc-site-region-options button {
    min-height: 35px;
    padding: 6px 8px;
    overflow: hidden;
    border: 1px solid #e7e3dc;
    border-radius: 9px;
    color: #5f5c55;
    background: #fbfaf7;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}

.mc-site-region-options button:hover,
.mc-site-region-options button.is-active {
    color: #fff;
    border-color: var(--mc-region-accent);
    background: var(--mc-region-accent);
}

.mc-site-region-options button.is-active {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
    font-weight: 700;
}

.mc-site-region-empty {
    margin: 13px 0 0;
    color: #879692;
    font-size: 10px;
    text-align: center;
}

.mc-site-region-empty[hidden] {
    display: none;
}

@keyframes mc-region-panel-in {
    from { opacity: 0; transform: translateY(-6px) scale(.985); }
    to { opacity: 1; transform: none; }
}

/* Keep the shared region control compact in the site and plant headers. */
.site-header .mc-site-region-trigger,
.plant-site .site-header .mc-site-region-trigger {
    min-height: 34px;
    grid-template-columns: 15px auto 9px;
    gap: 5px;
    padding: 0 10px;
    border-color: #dfe5e1;
    background: #f8faf9;
    box-shadow: none;
}

.site-header .mc-site-region-trigger span,
.plant-site .site-header .mc-site-region-trigger span {
    display: none;
}

.site-header .mc-site-region-trigger strong,
.plant-site .site-header .mc-site-region-trigger strong {
    font-size: 10px;
}

.site-header .mc-site-region-trigger[aria-expanded="true"],
.plant-site .site-header .mc-site-region-trigger[aria-expanded="true"] {
    border-color: var(--mc-region-accent);
    color: #fff;
    background: var(--mc-region-accent);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--mc-region-accent) 20%, transparent);
}

.site-header .mc-site-region-trigger[aria-expanded="true"] strong,
.site-header .mc-site-region-trigger[aria-expanded="true"] > i,
.plant-site .site-header .mc-site-region-trigger[aria-expanded="true"] strong,
.plant-site .site-header .mc-site-region-trigger[aria-expanded="true"] > i {
    color: #fff;
}

.site-header .site-actions,
.plant-site .site-header .header-actions {
    flex-wrap: nowrap;
    align-items: center;
}

.site-header .site-actions > a,
.plant-site .site-header .header-actions > a {
    flex: 0 0 auto;
    white-space: nowrap;
}

.site-header .site-nav {
    min-width: 0;
}

/* The industry utility bar uses the platform's dark treatment for its region
   selector, while the opened panel retains the shared light surface. */
.industry-utility .mc-site-region-trigger {
    min-height: 27px;
    grid-template-columns: 13px auto 9px;
    gap: 4px;
    padding: 0 8px;
    border-color: color-mix(in srgb, var(--industry-primary) 22%, #ddd);
    color: var(--industry-primary);
    background: #fff;
    box-shadow: none;
    font-size: 9px;
}

.industry-utility .mc-site-region-trigger span {
    display: none;
}

.industry-utility .mc-site-region-trigger strong,
.industry-utility .mc-site-region-trigger > i {
    color: inherit;
}

.industry-utility .mc-site-region-trigger:hover,
.industry-utility .mc-site-region-trigger[aria-expanded="true"] {
    border-color: var(--industry-accent);
    color: #fff;
    background: var(--industry-accent);
}

.industry-utility .mc-site-region-panel {
    color: #31332f;
}

.industry-utility .mc-site-region-panel:not([hidden]) {
    display: block;
}

.industry-utility .mc-site-region-panel > header > div {
    display: block;
}

.industry-utility .mc-site-region-options {
    display: grid;
}

.industry-utility .mc-site-region-options button:hover,
.industry-utility .mc-site-region-options button.is-active,
.industry-utility .mc-site-region-hot button:hover,
.industry-utility .mc-site-region-hot button.is-active {
    color: #fff;
    background: var(--mc-region-accent);
}

.health-topbar .mc-site-region {
    margin-right: 5px;
}

.health-header-shell:has(.mc-site-region-panel:not([hidden])) {
    position: relative;
    z-index: 430;
    overflow: visible;
}

.health-topbar .mc-site-region-panel {
    right: 0;
    left: auto;
    transform: none;
}

.health-topbar .mc-site-region-trigger {
    min-height: 28px;
    grid-template-columns: 13px auto 9px;
    gap: 4px;
    padding: 0 8px;
    border-color: #d7e5de;
    color: #28624c;
    background: #fff;
    box-shadow: none;
}

.health-topbar .mc-site-region-trigger span {
    display: none;
}

.health-topbar .mc-site-region-trigger strong,
.health-topbar .mc-site-region-trigger > i {
    color: inherit;
    font-size: 9px;
}

.health-topbar .mc-site-region-trigger:hover,
.health-topbar .mc-site-region-trigger[aria-expanded="true"] {
    border-color: var(--mc-region-accent);
    color: #fff;
    background: var(--mc-region-accent);
}

.coating-site .mc-site-region {
    margin-right: -2px;
}

.coating-site .mc-site-region-trigger {
    min-height: 31px;
    grid-template-columns: 14px auto 9px;
    gap: 5px;
    padding: 0 9px;
    border-color: #46545e;
    color: #e9eef1;
    background: #172129;
    box-shadow: none;
    font-size: 9px;
}

.coating-site .mc-site-region-trigger span {
    display: none;
}

.coating-site .mc-site-region-trigger strong,
.coating-site .mc-site-region-trigger > i {
    color: inherit;
}

.coating-site .mc-site-region-trigger > i:first-child {
    color: var(--coat-orange);
}

.coating-site .mc-site-region-trigger:hover,
.coating-site .mc-site-region-trigger[aria-expanded="true"] {
    border-color: var(--coat-orange);
    color: #111820;
    background: var(--coat-orange);
}

.coating-site .mc-site-region-trigger:hover > i,
.coating-site .mc-site-region-trigger[aria-expanded="true"] > i {
    color: inherit;
}

.coating-site .mc-site-region-panel {
    color: #29312f;
}

.pp-topbar .mc-site-region {
    margin-right: 6px;
}

.pp-topbar .mc-site-region-trigger {
    min-height: 34px;
    border-color: var(--pp-line);
    color: var(--pp-accent-dark);
    background: #f5fbfa;
    box-shadow: none;
}

.pp-topbar .mc-site-region-panel {
    color: var(--pp-ink);
}

@media (max-width: 760px) {
    .mc-site-region-trigger {
        min-height: 34px;
        grid-template-columns: 16px auto minmax(34px, auto) 10px;
        gap: 4px;
        padding: 0 8px;
    }

    .mc-site-region-trigger span {
        display: none;
    }

    .mc-site-region-panel {
        position: fixed;
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        animation-name: mc-region-panel-mobile-in;
    }

    .mc-site-region-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .health-topbar .mc-site-region-panel {
        right: 12px;
        left: 12px;
        transform: none;
    }
}

@keyframes mc-region-panel-mobile-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.home-product-region-empty {
    grid-column: 1 / -1;
    display: grid;
    min-height: 210px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    width: 100%;
    padding: 30px;
    border: 1px dashed color-mix(in srgb, var(--mc-region-accent) 32%, #dce5e2);
    border-radius: 16px;
    color: #30433f;
    background:
        radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--mc-region-accent) 8%, transparent), transparent 34%),
        #fbfdfc;
}

.home-product-region-empty-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: var(--mc-region-accent);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--mc-region-accent) 22%, transparent);
    font-size: 23px;
}

.home-product-region-empty-copy {
    min-width: 0;
}

.home-product-region-empty-copy small,
.home-product-region-empty-copy strong {
    display: block;
}

.home-product-region-empty-copy small {
    color: var(--mc-region-accent);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.home-product-region-empty-copy strong {
    margin-top: 8px;
    color: #243a35;
    font-size: clamp(19px, 2vw, 26px);
    line-height: 1.35;
}

.home-product-region-empty-copy p {
    max-width: 650px;
    margin: 8px 0 0;
    color: #75837f;
    font-size: 12px;
    line-height: 1.8;
}

.home-product-region-empty-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.home-product-region-empty-actions a,
.home-product-region-empty-actions button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #d8e3df;
    border-radius: 9px;
    color: #52635e;
    background: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.home-product-region-empty-actions a:hover,
.home-product-region-empty-actions button:hover {
    border-color: var(--mc-region-accent);
    color: #fff;
    background: var(--mc-region-accent);
}

@media (max-width: 760px) {
    .home-product-region-empty {
        min-height: 0;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 15px;
        padding: 20px;
    }

    .home-product-region-empty-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 18px;
    }

    .home-product-region-empty-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .home-product-region-empty-actions > * {
        flex: 1;
    }
}
