:root { --showroom-promo-row: 44px; }
:root:has(.showroom-promo:not([hidden])) { --showroom-promo-height: var(--showroom-promo-row); }

@media (hover: hover) and (pointer: fine) and (not (any-pointer: coarse)) {
 :root { --showroom-promo-row: 36px; }
}

.showroom-promo {
 position: relative;
 display: grid;
 grid-template-columns: var(--showroom-promo-row) minmax(0, 1fr) var(--showroom-promo-row);
 min-height: var(--showroom-promo-row);
 padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
 background: rgb(8 12 17 / .76);
 color: #fff;
}
.showroom-header:is([data-scrolled], [data-menu-open]) .showroom-promo { background: #14191f; }
.showroom-promo[hidden], .showroom-promo button[hidden] { display: none; }
.showroom-promo-items {
 display: grid;
 grid-area: 1 / 2;
 min-width: 0;
}
.showroom-promo-link {
 display: flex;
 grid-area: 1 / 1;
 justify-self: center;
 flex-wrap: wrap;
 align-content: center;
 justify-content: center;
 align-items: center;
 gap: 2px 8px;
 min-height: var(--showroom-promo-row);
 padding: 4px 6px;
 font-size: .75rem;
 font-weight: 400;
 line-height: 1.25;
 text-align: center;
}
/* Reserve space for the longer notice without making its inactive link focusable. */
.showroom-promo-link[hidden] { display: flex !important; visibility: hidden; }
.showroom-promo-action {
 text-decoration: underline;
 text-underline-offset: 2px;
}
.showroom-promo :is(.showroom-promo-next, .showroom-promo-close) {
 display: grid;
 place-items: center;
 width: var(--showroom-promo-row);
 min-height: var(--showroom-promo-row);
 padding: 0;
 border: 0;
 background: transparent;
 color: inherit;
 cursor: pointer;
 font-size: 1.125rem;
 line-height: 1;
}
.showroom-promo-next { grid-area: 1 / 1; }
.showroom-promo-next::before {
 content: "";
 width: 6px;
 height: 6px;
 border: solid currentColor;
 border-width: 1px 1px 0 0;
 transform: translateX(-1px) rotate(45deg);
}
.showroom-promo-close { grid-area: 1 / 3; }
.showroom-promo-status {
 position: absolute;
 width: 1px;
 height: 1px;
 overflow: hidden;
 clip-path: inset(50%);
}
.showroom-header .showroom-promo :focus-visible {
 outline: 2px solid currentColor;
 outline-offset: -3px;
}
