.cnqp-lang-switch,
.cn-release-lang {
  display: none !important;
}

.cnqp-search-tools {
  align-items: center;
  direction: ltr;
  gap: 10px;
  min-width: 0;
}

.cnqp-search-tools--desktop {
  display: flex;
  margin: 0 10px 0 auto;
}

.cnqp-search-tools--mobile {
  display: none;
}

.cnqp-search-tools .site-search {
  flex: 1 1 auto;
  margin: 0;
}

.cnqp-search-tools .site-search button {
  flex-shrink: 0;
}

html[dir="rtl"] .cnqp-search-tools .site-search input {
  direction: rtl;
  text-align: right;
}

.cnqp-language-picker {
  --cnqp-ink: #193650;
  --cnqp-blue: #155d9b;
  --cnqp-border: #d6e3ef;
  position: relative;
  flex: none;
  z-index: 12;
  color: var(--cnqp-ink);
  font: 600 14px/1.35 var(--font-family, system-ui, sans-serif);
}

.cnqp-language-trigger,
.cnqp-language-trigger:hover,
.cnqp-language-trigger:focus-visible {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #b8cddd;
  border-radius: 7px;
  background: #fff;
  color: var(--cnqp-ink);
  font: inherit;
  white-space: nowrap;
}

.cnqp-language-trigger:hover,
.cnqp-language-trigger[aria-expanded="true"] {
  border-color: var(--cnqp-blue);
  background: #edf5fc;
  color: var(--cnqp-blue);
}

.cnqp-language-trigger:focus-visible,
.cnqp-language-option:focus-visible {
  outline: 2px solid var(--cnqp-blue);
  outline-offset: 2px;
}

.cnqp-language-globe {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
}

.cnqp-language-globe::before,
.cnqp-language-globe::after {
  position: absolute;
  content: '';
}

.cnqp-language-globe::before {
  inset: -1px 3px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.cnqp-language-globe::after {
  inset: 6px 0 auto;
  border-top: 1px solid currentColor;
}

.cnqp-language-arrow {
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}

.cnqp-language-trigger[aria-expanded="true"] .cnqp-language-arrow {
  transform: translateY(2px) rotate(225deg);
}

.cnqp-language-panel {
  display: flex;
  flex-direction: column;
  position: absolute;
  z-index: 2;
  top: calc(100% + 8px);
  right: var(--cnqp-language-inline-offset, 0px);
  width: min(288px, calc(100vw - 30px));
  max-height: min(386px, var(--cnqp-language-max-height, 386px));
  padding: 9px;
  border: 1px solid var(--cnqp-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(17 52 87 / 17%), 0 2px 5px rgb(17 52 87 / 5%);
  text-align: left;
}

.cnqp-language-up .cnqp-language-panel {
  top: auto;
  bottom: calc(100% + 8px);
}

.cnqp-language-picker [hidden] {
  display: none !important;
}

.cnqp-language-picker .cnqp-language-filter {
  width: 100%;
  height: 40px;
  flex: none;
  padding: 0 11px;
  margin: 0 0 6px;
  border: 1px solid var(--cnqp-border);
  border-radius: 7px;
  background: #f5f8fc;
  color: var(--cnqp-ink);
  font: 500 14px/1.3 system-ui, sans-serif;
}

.cnqp-language-picker .cnqp-language-filter:focus {
  outline: 1px solid var(--cnqp-blue);
  border-color: var(--cnqp-blue);
  background: #fff;
}

:is(#primary-navigation, .site-header) .cnqp-language-picker .cnqp-language-options {
  display: grid;
  gap: 2px;
  min-height: 0;
  padding: 2px;
  margin: 0;
  overflow: auto;
  overscroll-behavior: contain;
  list-style: none;
  scrollbar-width: thin;
}

.cnqp-language-picker .cnqp-language-row {
  list-style: none;
}

:is(#primary-navigation, .site-header) .cnqp-language-picker .cnqp-language-option {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 9px;
  border-radius: 6px;
  color: var(--cnqp-ink);
  font: inherit;
  text-decoration: none;
}

:is(#primary-navigation, .site-header) .cnqp-language-picker .cnqp-language-option:hover,
:is(#primary-navigation, .site-header) .cnqp-language-picker .cnqp-language-option[aria-current] {
  background: #eaf3fc;
  color: #114e85;
}

.cnqp-language-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cnqp-language-option-code {
  flex: none;
  color: #546b7e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.cnqp-language-option[aria-current] .cnqp-language-option-code {
  color: #114e85;
}

.cnqp-language-picker .cnqp-language-empty {
  margin: 2px 5px 5px;
  padding: 9px 3px;
  color: #546b7e;
  font-weight: 500;
}

html[lang]:not([lang="en"]) .woocommerce-Tabs-panel figure.wp-caption {
  max-inline-size: 100%;
}

html[lang]:not([lang="en"]) .woocommerce-Tabs-panel figure.wp-caption img {
  max-inline-size: 100%;
  height: auto;
}

@media (max-width: 921px) {
  .cnqp-search-tools--desktop {
    display: none;
  }

  .cnqp-search-tools--mobile {
    display: flex;
    gap: 8px;
    margin-top: 16px;
  }

  .cnqp-search-tools--mobile .site-search input {
    min-width: 0;
  }

  .cnqp-search-tools--mobile .cnqp-language-trigger {
    padding-inline: 10px;
  }
}

@media (max-width: 360px) {
  .cnqp-language-globe {
    display: none;
  }
}