@media (max-width: 1199px) {
  body.gpm-modern-site.gpm-ux-pinned-header .gt3_header_builder > .gt3_header_builder__container { z-index: 2; }
  body.gpm-modern-site.gpm-ux-pinned-header .gt3_header_builder > .mobile_menu_container {
    position: fixed !important;
    top: var(--gpm-ux-header-bottom) !important;
    left: 0;
    right: 0;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    max-height: calc(100dvh - var(--gpm-ux-header-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-top: 1px solid #e4ebe7;
  }
  body.gpm-modern-site .gt3_header_builder > .gt3_header_builder__container :is(.mobile-navigation-toggle, .header_search__icon) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    vertical-align: middle;
  }
  body.gpm-modern-site .gt3_header_builder > .gt3_header_builder__container .mobile-navigation-toggle:not(.is-active) .toggle-inner::before { top: -11px; }
  body.gpm-modern-site .gt3_header_builder > .gt3_header_builder__container .mobile-navigation-toggle:not(.is-active) .toggle-inner::after { top: 7px; }
  body.gpm-modern-site .gt3_header_builder > .gt3_header_builder__container .gt3_header_builder_menu_component { display: inline-flex; align-items: center; }
}

/* Reset the theme's padded, inline-baseline layout for the two header actions. */
body.gpm-modern-site .gt3_header_builder__section--bottom .bottom_right > .header_side_container {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
}
body.gpm-modern-site .gt3_header_builder__section--bottom .bottom_right > .header_side_container::before { display: none; }
body.gpm-modern-site .gt3_header_builder .header_side_container > :is(.gt3_header_builder_search_component, .gt3_header_builder_cart_component) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  box-sizing: border-box;
  width: 44px !important;
  min-width: 44px;
  min-height: 0 !important;
  height: 44px;
  margin: 0;
  padding: 0 !important;
}
body.gpm-modern-site .gt3_header_builder :is(.header_search, .header_search__container) { display: block; width: 44px; height: 44px; }
body.gpm-modern-site .gt3_header_builder > .gt3_header_builder__container :is(.header_search__icon, .woo_icon) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px !important;
  height: 44px;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  line-height: 1;
}
body.gpm-modern-site .gt3_header_builder > .gt3_header_builder__container :is(.header_search__icon i, .woo_mini-count) {
  display: block;
  position: relative;
  width: 24px;
  height: 24px;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}
body.gpm-modern-site .gt3_header_builder > .gt3_header_builder__container :is(.header_search__icon i, .woo_mini-count)::before {
  display: block;
  width: 24px;
  height: 24px;
  font-size: 20px;
  line-height: 24px;
}
body.gpm-modern-site .gt3_header_builder .gt3_header_builder_cart_component .woo_icon .woo_mini-count > span:not(:empty) {
  top: -5px;
  right: -7px;
  bottom: auto;
  left: auto;
  box-sizing: border-box;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  font-size: 9px;
  font-weight: 600;
  line-height: 16px;
  border-radius: 8px;
  background: #19734f;
  color: #fff;
  pointer-events: none;
}

.gpm-modern-site .gpm-contact-directory { margin: 16px 0; }
.gpm-modern-site .gpm-contact-directory dt { font-size: 13px; font-weight: 600; line-height: 1.5; }
.gpm-modern-site .gpm-contact-directory dd { margin: 2px 0 16px; overflow-wrap: anywhere; }
.gpm-modern-site .gpm-ux-product-facts { margin: 20px 0; border-block: 1px solid #d7e2df; }
.gpm-modern-site .gpm-ux-product-facts > div { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 1.5fr); gap: 12px; padding: 9px 0; }
.gpm-modern-site .gpm-ux-product-facts dt { font-weight: 600; text-decoration: none; }
.gpm-modern-site .gt3_header_builder_cart_component > a.woo_icon { display: inline-flex !important; align-items: center; justify-content: center; position: relative; width: 44px !important; min-width: 44px; height: 44px; box-sizing: border-box; }
.gpm-modern-site .gpm-ux-product-facts dd { margin: 0; overflow-wrap: anywhere; }
.gpm-modern-site .gpm-ux-owned-notice { padding: 16px; border-inline-start: 3px solid #19734f; background: #edf7f1; color: #183c30; }
.gpm-modern-site .gpm-ux-owned-notice a { text-decoration: underline; font-weight: 600; }
.gpm-modern-site .gpm-ux-bundle-contents { clear: both; margin-block: 28px; border-block: 1px solid #d7e2df; padding-block: 16px; }
.gpm-modern-site .gpm-ux-bundle-contents summary { cursor: pointer; font-size: 18px; font-weight: 600; padding-block: 8px; }
.gpm-modern-site .gpm-ux-bundle-contents ul { columns: 2; column-gap: 36px; padding-inline-start: 22px; margin-block: 18px 0; }
.gpm-modern-site .gpm-ux-bundle-contents li { break-inside: avoid; margin-block: 8px; }
.gpm-modern-site .gpm-ux-bundle-contents a { text-decoration: underline; text-underline-offset: 3px; }
.gpm-modern-site .gpm-ux-faq { width: min(1160px, calc(100% - 40px)); margin: 28px auto; border-top: 1px solid #d7e2df; padding-top: 24px; }
.gpm-modern-site .gpm-ux-faq h2 { font-size: 26px; line-height: 1.3; margin-block: 0 16px; }
.gpm-modern-site .gpm-ux-faq details { border-bottom: 1px solid #d7e2df; padding-block: 12px; }
.gpm-modern-site .gpm-ux-faq summary { min-height: 44px; display: list-item; align-content: center; cursor: pointer; font-weight: 600; padding: 8px 4px; }
.gpm-modern-site .gpm-ux-faq p { margin-block: 8px; max-width: 75ch; }
.gpm-modern-site .gpm-ux-checkout-help { font-size: 16px !important; line-height: 1.6 !important; margin-block: 16px !important; overflow-wrap: anywhere; }
.gpm-modern-site .gpm-ux-owned-search__group { display: block; margin-top: 14px; }
.gpm-modern-site .gpm-ux-owned-search__group select { width: 100%; max-width: 100%; min-height: 44px; font-size: 16px; padding: 8px 12px; color: #153d31; background: #fff; border: 1px solid #b7c8c1; border-radius: 4px; }
.gpm-modern-site :is(.gpm-ux-faq, .gpm-ux-bundle-contents) summary:focus-visible { outline: 2px solid #22798e; outline-offset: 3px; }
html[lang^="ru"] body.gpm-modern-site,
html[lang^="ru"] body.gpm-modern-site :is(h1,h2,h3,h4,h5,h6,p,a,button,label,input,select,textarea,dt,dd,li,summary) { font-family: Poppins, Arial, sans-serif !important; }
body.gpm-modern-site .header_search .header_search__inner {
  box-sizing: border-box;
  width: min(400px, calc(100vw - 32px));
  top: calc(100% + 16px) !important;
  right: -2px !important;
  padding: 14px;
  border: 1px solid #d7e2dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(17, 49, 37, .16), 0 2px 6px rgba(17, 49, 37, .06);
}
body.gpm-modern-site .header_search .header_search__inner::after { display: none; }
body.gpm-modern-site .header_search .search_form {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.gpm-modern-site .header_search .search_text {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 12px 64px 12px 14px;
  border: 1px solid #c7d7ce;
  border-radius: 6px;
  background: #f7faf8;
  color: #183c30;
  font-size: 16px;
  line-height: 26px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.gpm-modern-site .header_search .search_text::placeholder { color: #64786d; opacity: 1 !important; }
body.gpm-modern-site .header_search .search_text:focus {
  outline: none !important;
  border-color: #19734f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(25, 115, 79, .13) !important;
}
body.gpm-modern-site .header_search .search_submit {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #19734f !important;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  opacity: 1;
}
body.gpm-modern-site .header_search .search_submit:hover { background: #125b3d !important; }
body.gpm-modern-site .header_search .search_submit:focus-visible { outline: 2px solid #19734f; outline-offset: 2px; }
body.gpm-modern-site .header_search .search_form::after {
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  font-size: 17px;
  color: #fff;
  pointer-events: none;
  z-index: 3;
}
body.gpm-modern-site .header_search .search_form .gpm-header-suggestions {
  position: static;
  box-sizing: border-box;
  width: 100%;
  max-height: 320px;
  max-height: min(320px, 45dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 12px 0 0;
  padding: 4px 0 0;
  border: 0;
  border-top: 1px solid #e2eae5;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  list-style: none;
}
body.gpm-modern-site .header_search .gpm-header-suggestions[hidden] { display: none !important; }
body.gpm-modern-site .header_search .gpm-header-suggestions li { margin: 0; padding: 0; border: 0; }
body.gpm-modern-site .header_search .gpm-header-suggestions a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 4px;
  color: #254438;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
}
body.gpm-modern-site .header_search .gpm-header-suggestions a:hover,
body.gpm-modern-site .header_search .gpm-header-suggestions a:focus-visible { color: #125b3d; background: #edf5ef; }
@media (max-width: 767px) {
  body.gpm-modern-site .header_search .header_search__inner {
    position: fixed;
    top: calc(var(--gpm-ux-header-bottom, 112px) + 10px) !important;
    left: 16px;
    right: 16px !important;
    width: auto;
    padding: 12px;
    max-height: calc(100dvh - var(--gpm-ux-header-bottom, 112px) - 26px);
    overflow-y: auto;
  }
  .gpm-modern-site .gpm-ux-bundle-contents ul { columns: 1; }
  .gpm-modern-site .gpm-ux-product-facts > div { grid-template-columns: minmax(100px, 1fr) minmax(0, 1.5fr); }
}
@media (max-width: 700px) {
  body.gpm-ux-chat-focus .gpa-ai-chat__header h2 { font-size: 20px; line-height: 1.25; margin-bottom: 4px; }
  body.gpm-ux-chat-focus .gpa-ai-chat__plan { font-size: 13px; line-height: 1.4; margin-block: 0; }
  body.gpm-ux-chat-focus .gpa-ai-chat__active-model { font-size: 12px; line-height: 1.3; margin-block: 4px 0; }
  body.gpm-ux-chat-focus .gpa-ai-chat__header-actions { display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 8px; }
  body.gpm-ux-chat-focus .gpa-ai-chat__voice-toggle { flex: 0 1 48%; min-width: 0; font-size: 12px; line-height: 1.35; gap: 6px; }
  body.gpm-ux-chat-focus .gpa-ai-chat__balance { flex: 1 1 48%; min-width: 0; padding: 8px; }
  body.gpm-ux-chat-focus .gpa-ai-chat__balance strong { font-size: 16px; white-space: nowrap; }
  body.gpm-ux-chat-focus .gpa-ai-chat .gpa-ai-chat__messages { height: clamp(240px, 36dvh, 380px) !important; min-height: 240px !important; max-height: 380px !important; }
  body.gpm-ux-chat-focus .gpa-ai-chat .gpa-ai-chat__composer textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 160px !important;
    height: 160px !important;
    max-height: 280px;
    max-height: clamp(160px, 36dvh, 280px);
    padding: 12px;
    font-size: 16px;
    line-height: 1.5;
    overflow-y: auto;
    resize: vertical;
  }
  @supports (field-sizing: content) {
    body.gpm-ux-chat-focus .gpa-ai-chat .gpa-ai-chat__composer textarea { field-sizing: content; height: auto !important; }
  }
}
