.en-product-menu {
  position: relative;
  min-width: 0;
  height: auto;
  margin: 0;
  flex: none;
  color: var(--ink, #212121);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.en-product-menu > summary { list-style: none; }
.en-product-menu > summary::-webkit-details-marker { display: none; }

.en-product-trigger,
.en-product-trigger:hover,
.en-product-trigger:active {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.en-product-trigger:focus-visible {
  outline: 2px solid rgba(247, 169, 23, .55);
  outline-offset: 3px;
}

.en-product-trigger img {
  width: 20px;
  height: 27px;
  margin-right: 10px;
  object-fit: contain;
}

.en-product-brand {
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.en-product-name {
  margin-left: 9px;
  padding-left: 9px;
  overflow: hidden;
  border-left: 1px solid rgba(33, 33, 33, .12);
  color: var(--muted, #737373);
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.en-product-popover {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  z-index: 100;
  width: 225px;
  padding: 7px;
  border: 1px solid var(--line, #e5e5e5);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 16px 38px rgba(32, 32, 32, .14);
  color: var(--ink, #212121);
  backdrop-filter: blur(12px);
}

.en-popover-label {
  display: block;
  padding: 6px 9px 5px;
  color: var(--muted, #737373);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.en-product-popover a,
.en-popover-current {
  min-height: 36px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 5px;
  color: inherit;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
}

.en-product-popover a:hover {
  background: var(--surface-muted, #f1f1f1);
  text-decoration: none;
}

.en-product-popover svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.en-popover-current {
  color: var(--muted, #6f6f6f);
  background: var(--surface-muted, #f1f1f1);
}

.en-current-mark {
  margin-left: auto;
  color: #14805e;
  font-size: 10px;
  font-weight: 700;
}

.dark .en-product-menu { color: #fafafa; }
.dark .en-product-name {
  border-left-color: rgba(255, 255, 255, .16);
  color: #d4d4d4;
}
.dark .en-product-popover {
  border-color: var(--line, #525252);
  background: rgba(39, 39, 42, .98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .35);
  color: #fafafa;
}
.dark .en-product-popover a:hover,
.dark .en-popover-current { background: var(--surface-muted, #3f3f46); }

@media (max-width: 920px) {
  .en-product-brand { display: none; }
  .en-product-name {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    color: inherit;
    font-size: 14px;
    font-weight: 650;
  }
  .en-product-trigger img { width: 17px; height: 24px; margin-right: 7px; }
}
