.manufacturer-video-trigger { display: flex; align-items: center; gap: 18px; width: 100%; max-width: 440px; box-sizing: border-box; margin: 24px 0; padding: 14px; border: 1px solid #c9c8dc; border-radius: 8px; background: #fff; color: #1c255b; text-decoration: none; }
.manufacturer-video-trigger:hover { border-color: #1c255b; background: #f6f6fa; color: #1c255b; }
.manufacturer-video-trigger:focus-visible,
.manufacturer-video-dialog button:focus-visible { outline: 3px solid #e64662; outline-offset: 3px; }
.manufacturer-video-trigger__preview { position: relative; display: grid; place-items: center; flex: 0 0 96px; height: 72px; overflow: hidden; border-radius: 4px; background: #1c255b; color: #fff; }
.manufacturer-video-trigger__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .65; }
.manufacturer-video-trigger__preview svg { position: relative; z-index: 1; }
.manufacturer-video-trigger__text { display: grid; gap: 5px; min-width: 0; }
.manufacturer-video-trigger__text strong { font-size: 18px; line-height: 1.3; font-weight: 500; }
.manufacturer-video-trigger__text > span { color: #666778; font-size: 14px; line-height: 1.4; }

.manufacturer-video-dialog {
    position: fixed; inset: 0; box-sizing: border-box;
    width: min(960px, calc(100vw - 32px), calc((100vh - 144px) * 16 / 9));
    width: min(960px, calc(100vw - 32px), calc((100dvh - 144px) * 16 / 9));
    max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
    margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 10px;
    background: #fff; color: #1c255b; box-shadow: 0 16px 64px rgba(0, 0, 0, .3); overscroll-behavior: contain;
}
.manufacturer-video-dialog:not([open]) { display: none; }
.manufacturer-video-dialog::backdrop { background: rgba(12, 16, 35, .78); }
.manufacturer-video-dialog--portrait {
    width: min(420px, calc(100vw - 32px), calc((100vh - 144px) * 9 / 16));
    width: min(420px, calc(100vw - 32px), calc((100dvh - 144px) * 9 / 16));
}
.manufacturer-video-dialog__header { display: flex; align-items: center; gap: 8px; box-sizing: border-box; height: 56px; padding: 6px 8px 6px 16px; }
.manufacturer-video-dialog .manufacturer-video-dialog__title { flex: 1; min-width: 0; margin: 0; overflow: hidden; color: inherit; font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.manufacturer-video-dialog__close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #1c255b; font: 32px/1 Arial, sans-serif; cursor: pointer; }
.manufacturer-video-dialog__close:hover { background: #ededf5; }
.manufacturer-video-dialog__player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.manufacturer-video-dialog--portrait .manufacturer-video-dialog__player { aspect-ratio: 9 / 16; }
.manufacturer-video-dialog__player iframe { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.manufacturer-video-dialog__footer { box-sizing: border-box; height: 56px; padding: 6px 12px; background: #fff; }
.manufacturer-video-dialog__button { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #c9c8dc; border-radius: 4px; background: #f6f6fa; color: #1c255b; font-family: inherit; font-size: 15px; line-height: 22px; cursor: pointer; }
.manufacturer-video-dialog__button:hover { border-color: #1c255b; background: #ededf5; }
@media (max-width: 400px) {
    .manufacturer-video-trigger { gap: 12px; padding: 12px; }
    .manufacturer-video-trigger__preview { flex-basis: 72px; height: 64px; }
    .manufacturer-video-trigger__text strong { font-size: 16px; }
}
