/* Український хедер Pibu */
.gf-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.gf-brand-logo__text {
  font-family: "Barlow", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #303030;
  position: relative;
  padding-right: 10px;
}

.gf-brand-logo__img {
  max-height: 72px;
  width: auto;
  display: block;
}

.gf-brand-logo__text::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e61f7f;
}

@media (max-width: 575px) {
  .gf-brand-logo__img {
    max-height: 58px;
  }

  .gf-brand-logo__text {
    font-size: 1.55rem;
    letter-spacing: 0.1em;
  }
}

.gf-site-header .cs_nav_category_btn.gf-catalog-btn {
  text-decoration: none;
}

/* Нижній рядок хедера: телефон справа, меню не роз’їжджається */
@media (min-width: 992px) {
  .gf-site-header .cs_bottom_header,
  .gf-site-header .cs_bottom_header_in {
    overflow: visible;
  }

  .gf-site-header .cs_bottom_header_in {
    flex-wrap: nowrap;
  }

  .gf-site-header .cs_bottom_header_left {
    min-width: 0;
    flex: 1 1 auto;
  }

  .gf-site-header .cs_nav_wrap,
  .gf-site-header .cs_nav_out {
    overflow: visible;
  }

  .gf-site-header .cs_bottom_header_right {
    flex: 0 0 auto;
    margin-left: 16px;
  }

  .gf-site-header .gf-catalog-dropdown {
    position: relative;
    z-index: 140;
  }

  .gf-site-header .gf-catalog-dropdown:hover > .cs_nav_category_list,
  .gf-site-header .gf-catalog-dropdown:focus-within > .cs_nav_category_list,
  .gf-site-header .gf-catalog-dropdown > .cs_nav_category_list.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .gf-site-header .gf-catalog-dropdown:hover .cs_nav_category_btn::before,
  .gf-site-header .gf-catalog-dropdown:focus-within .cs_nav_category_btn::before,
  .gf-site-header .gf-catalog-dropdown .cs_nav_category_btn.active::before {
    opacity: 1;
  }

  /* Меню завжди absolute під хедером — не в потоці рядка */
  .gf-site-header .cs_nav_category_list,
  .gf-site-header .cs_nav_category_list.gf-cat-mega {
    position: absolute !important;
    top: 100%;
    left: 0;
    z-index: 400;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    grid-template-columns: none;
    width: min(920px, 92vw);
    min-height: 460px;
    max-height: min(72vh, 560px);
    padding: 10px 0;
    overflow: visible;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item {
    position: static;
    width: 250px;
    flex: 0 0 auto;
  }

  .gf-site-header .gf-cat-mega__top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 8px;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.25;
  }

  .gf-site-header .gf-cat-mega__top img {
    display: none;
  }

  .gf-site-header .gf-cat-mega__top span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    white-space: normal;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item.has-children > .gf-cat-mega__top::after {
    content: '›';
    display: block;
    flex: 0 0 auto;
    margin-left: auto;
    color: #8f6b64;
    font-size: 18px;
    line-height: 1;
  }

  .gf-site-header .gf-cat-mega__toggle {
    display: none;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item:hover > .gf-cat-mega__top,
  .gf-site-header .gf-cat-mega > .gf-cat-mega__item:focus-within > .gf-cat-mega__top,
  .gf-site-header .gf-cat-mega > .gf-cat-mega__item.is-active > .gf-cat-mega__top {
    background: #fff5f2;
    color: var(--accent-color, #c45c48);
  }

  .gf-site-header .gf-cat-mega__panel {
    position: absolute;
    top: 0;
    left: 250px;
    right: 0;
    bottom: 0;
    display: none;
    padding: 18px 22px;
    overflow-y: auto;
    border-left: 1px solid rgba(196, 92, 72, 0.12);
    background: #fff;
  }

  /* За замовчуванням показуємо панель активної категорії.
     column-count замість grid — щоб високі групи (з підпунктами)
     не розтягували рядки й не лишали «дірки» в сусідній колонці. */
  .gf-site-header .gf-cat-mega > .gf-cat-mega__item.is-active > .gf-cat-mega__panel {
    display: block;
    column-count: 2;
    column-gap: 28px;
    column-fill: balance;
  }

  /* Якщо наведена інша категорія — ховаємо панель is-active (не саму наведену) */
  .gf-site-header .gf-cat-mega:has(> .gf-cat-mega__item:hover) > .gf-cat-mega__item.is-active:not(:hover):not(:focus-within) > .gf-cat-mega__panel {
    display: none;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item:hover > .gf-cat-mega__panel,
  .gf-site-header .gf-cat-mega > .gf-cat-mega__item:focus-within > .gf-cat-mega__panel {
    display: block;
    column-count: 2;
    column-gap: 28px;
    column-fill: balance;
  }

  .gf-site-header .gf-cat-mega__all {
    display: block;
    margin: 0 0 12px;
    color: #2d1d1b;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }

  .gf-site-header .gf-cat-mega__group {
    display: block;
    margin: 0 0 14px;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }

  .gf-site-header .gf-cat-mega__group-title {
    display: inline-block;
    margin-bottom: 6px;
    color: #2d1d1b;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .gf-site-header .gf-cat-mega__links {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .gf-site-header .gf-cat-mega__links a {
    display: inline-block;
    padding: 3px 0;
    color: #5c4d4a;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .gf-site-header .gf-cat-mega__group-title:hover,
  .gf-site-header .gf-cat-mega__all:hover,
  .gf-site-header .gf-cat-mega__links a:hover {
    color: var(--accent-color, #c45c48);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .gf-site-header .cs_header_number_wrap .cs_header_number {
    font-size: 18px;
  }

  .gf-site-header .cs_header_number_wrap .cs_header_number_text {
    display: none;
  }

  .gf-site-header .cs_header_number_wrap {
    padding-left: 38px;
  }

  .gf-site-header .cs_header_number_wrap svg {
    width: 30px;
    height: 30px;
  }

  .gf-site-header .gf-main-nav > li {
    margin-right: 18px;
  }
}

.gf-main-nav > li.current-menu-item > a {
  color: var(--accent-color, #c45c48);
}

.gf-site-header .cs_top_header_info_list a.cs_header_icon_box {
  text-decoration: none;
}

.gf-site-header .cs_top_header_info_list a.cs_header_icon_box:hover {
  opacity: 0.85;
}

/* Live search dropdown */
.gf-header-wishlist {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.gf-header-wishlist i {
  font-size: 16px;
}

.gf-header-wishlist:hover {
  color: var(--accent, #e61f7f);
}

.gf-header-lang__group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gf-header-lang__btn {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.gf-header-lang__btn:hover {
  border-color: var(--accent, #e61f7f);
  color: var(--accent, #e61f7f);
}

.gf-header-lang__btn.is-active {
  background: var(--accent, #e61f7f);
  color: #fff;
  border-color: transparent;
}

.gf-nav-dropdown__menu {
  min-width: 220px;
}

.gf-header-search-wrap {
  position: relative;
}

.gf-header-search-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 220;
  background: #fff;
  border: 1px solid #e6e6ea;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(30, 30, 40, 0.14);
  overflow: hidden;
  max-height: min(70vh, 440px);
  display: flex;
  flex-direction: column;
}

.gf-header-search-panel[hidden] {
  display: none !important;
}

.gf-header-search-panel__status {
  padding: 10px 16px 0;
  font-size: 0.82rem;
  color: #888;
}

.gf-header-search-panel__status[hidden] {
  display: none;
}

.gf-header-search-panel__list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  overflow: auto;
  flex: 1;
}

.gf-header-search-panel__item.is-active .gf-header-search-panel__link,
.gf-header-search-panel__link:hover,
.gf-header-search-panel__link:focus {
  background: #faf7f8;
  outline: none;
}

.gf-header-search-panel__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.gf-header-search-panel__thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gf-header-search-panel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gf-header-search-panel__meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gf-header-search-panel__name {
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.35;
  color: #303030;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gf-header-search-panel__sub {
  font-size: 0.82rem;
  color: #777;
}

.gf-header-search-panel__all {
  display: block;
  padding: 12px 16px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color, #c45c48);
  text-decoration: none;
  border-top: 1px solid #eee;
  background: #fcfcfd;
}

.gf-header-search-panel__all:hover {
  background: #faf7f8;
}

.gf-header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  color: inherit;
  text-decoration: none;
  line-height: 1;
}

.gf-drawer-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gf-drawer-lang__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #303030;
}

.gf-drawer-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 16px 15px 20px;
  border-top: 1px solid #ececf0;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gf-mobile-tabs {
  display: none !important;
}

.gf-drawer-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ececf0;
  color: #303030;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.gf-drawer-phone i {
  color: var(--accent, #e61f7f);
}

.gf-drawer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 2px;
}

.gf-drawer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ececf0;
  color: #303030;
  font-size: 1.05rem;
  text-decoration: none;
}

@media (max-width: 991px) {
  .gf-site-header .cs_top_header {
    display: none;
  }

  .gf-site-header .cs_bottom_header {
    height: 0;
    min-height: 0;
    overflow: visible;
    border: none;
    margin: 0;
    padding: 0;
  }

  .gf-site-header .cs_bottom_header .container,
  .gf-site-header .cs_bottom_header_in {
    height: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
  }

  /* ——— Main header bar ——— */
  .gf-site-header .cs_main_header .container {
    padding-left: 12px;
    padding-right: 8px;
  }

  .gf-site-header .cs_main_header_in {
    position: relative;
    height: 56px;
    min-height: 56px;
    padding: 0 !important;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
  }

  .gf-site-header .cs_main_header_left {
    position: static;
    transform: none;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: auto;
    display: flex !important;
    align-items: center;
  }

  .gf-site-header .cs_main_header_left .gf-brand-logo,
  .gf-site-header .cs_main_header_left .cs_site_branding {
    display: inline-flex;
    align-items: center;
    height: 48px;
    max-width: none;
  }

  .gf-site-header .cs_main_header_left .gf-brand-logo__img {
    max-height: 40px;
    width: auto;
    max-width: 160px;
    display: block;
  }

  .gf-site-header .cs_main_header_right {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-end;
    padding-right: 0;
    gap: 0;
    display: flex;
    align-items: center;
  }

  .gf-site-header .cs_mobile_search_toggle,
  .gf-site-header .gf-header-icon-btn,
  .gf-site-header .cs_header_credential_btns,
  .gf-site-header .cs_cart_btn,
  .gf-site-header .gf-header-wishlist,
  .gf-site-header .cs_menu_toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0;
    flex: 0 0 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    line-height: 1;
    box-sizing: border-box;
  }

  .gf-site-header .cs_mobile_search_toggle img,
  .gf-site-header .cs_cart_btn img,
  .gf-site-header .cs_header_credential_btns img {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    display: block;
    object-fit: contain;
  }

  .gf-site-header .cs_header_list,
  .gf-site-header .gf-header-actions {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .gf-site-header .cs_header_list > li,
  .gf-site-header .gf-header-actions > li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
  }

  .gf-site-header .cs_header_list > li.gf-header-lang {
    width: auto;
    min-width: 0;
    padding: 0 4px 0 0 !important;
  }

  .gf-site-header .gf-header-lang__group {
    gap: 2px;
  }

  .gf-site-header .gf-header-lang__btn {
    min-width: 30px;
    height: 28px;
    padding: 0 6px;
    font-size: 11px;
    line-height: 1;
  }

  .gf-site-header .gf-drawer-lang .gf-header-lang__btn {
    min-width: 44px;
    height: 36px;
    font-size: 13px;
  }

  .gf-site-header .cs_header_list > li::before,
  .gf-site-header .gf-header-actions > li::before {
    display: none !important;
  }

  .gf-site-header .gf-header-wishlist i {
    font-size: 20px;
    line-height: 1;
  }

  .gf-site-header .cs_header_credential_btns > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .gf-site-header .cs_header_list img {
    height: 22px !important;
  }

  .gf-site-header .cs_cart_btn {
    gap: 0;
  }

  .gf-site-header .cs_cart_btn .cs_cart_label {
    top: 2px;
    right: 0;
    left: auto;
    min-width: 18px;
    height: 16px;
    line-height: 16px;
    font-size: 9px;
    font-weight: 700;
    border-radius: 999px;
    padding: 0 4px;
    pointer-events: none;
  }

  .gf-site-header .cs_menu_toggle {
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    color: #303030;
  }

  .gf-site-header .cs_menu_toggle span {
    top: 0 !important;
    margin: 0 auto;
    width: 20px;
    height: 2px;
  }

  .gf-site-header .cs_menu_toggle span,
  .gf-site-header .cs_menu_toggle span::before,
  .gf-site-header .cs_menu_toggle span::after {
    width: 20px;
    height: 2px;
  }

  .gf-site-header .cs_header_search_form_wrap {
    position: fixed;
    left: 0;
    right: 0;
    top: 56px;
    width: 100%;
    padding: 12px 15px;
    border-bottom: 1px solid #ececf0;
    box-shadow: 0 8px 24px rgba(30, 30, 40, 0.08);
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .gf-site-header .cs_header_search_form_wrap.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .gf-site-header .cs_header_search_field {
    height: 48px;
    font-size: 16px;
  }

  .gf-site-header.cs_sticky_active .cs_main_header_in,
  .cs_sticky_header.cs_sticky_active .cs_main_header_in {
    height: 56px;
    min-height: 56px;
  }

  .cs_site_header_height_1 {
    height: 56px !important;
  }

  /* ——— Mobile drawer ——— */
  .gf-site-header .cs_header_overlay_mobile {
    z-index: 1000;
    pointer-events: none;
  }

  .gf-site-header.cs_mobile_active .cs_header_overlay_mobile {
    pointer-events: auto;
  }

  .gf-site-header.cs_mobile_active .cs_bottom_header {
    z-index: 1010;
    position: relative;
    overflow: visible;
  }

  .gf-site-header.cs_mobile_active .cs_menu_toggle {
    opacity: 0;
    pointer-events: none;
  }

  .gf-site-header.cs_mobile_active .cs_header_search_form_wrap {
    display: none !important;
  }

  .gf-site-header .cs_nav_wrap {
    display: flex !important;
    flex-direction: column !important;
    position: fixed;
    top: 0;
    left: -360px;
    width: min(86vw, 360px) !important;
    max-width: 360px !important;
    height: 100%;
    height: 100dvh;
    background: #fff;
    overflow: hidden;
    z-index: 1011;
    pointer-events: auto;
    box-shadow: 8px 0 32px rgba(20, 20, 30, 0.12);
  }

  .gf-site-header.cs_mobile_active .cs_nav_wrap {
    opacity: 1;
    visibility: visible;
    left: 0;
  }

  .gf-site-header .cs_site_branding_wrap.cs_mobile_show {
    position: relative;
    flex-shrink: 0;
    height: 56px;
    padding: 10px 52px 10px 16px;
    background: #fff;
    border-bottom: 1px solid #ececf0;
    display: flex;
    align-items: center;
    z-index: 2;
  }

  .gf-site-header .cs_site_branding_wrap .gf-brand-logo__img {
    max-height: 36px;
  }

  .gf-site-header .cs_close_mobile_active {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #666;
    z-index: 3;
  }

  .gf-site-header .gf-mobile-tabs {
    display: flex !important;
    flex-shrink: 0;
    height: 52px;
    background: #fafafa;
    border-bottom: 1px solid #ececf0;
    z-index: 5;
  }

  .gf-site-header .gf-mobile-tabs__btn {
    flex: 1 1 50%;
    height: 100%;
    margin: 0;
    padding: 0 8px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
  }

  .gf-site-header .gf-mobile-tabs__btn.is-active {
    color: var(--accent, #e61f7f);
    border-bottom-color: var(--accent, #e61f7f);
    background: #fff;
  }

  .gf-site-header:has(.gf-mobile-tabs) .cs_nav_out .cs_mobile_tab_btn,
  .gf-site-header:has(.gf-mobile-tabs) .cs_nav_out .cs_nav_category_btn {
    display: none !important;
  }

  .gf-site-header .cs_nav_out {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    height: 0 !important;
    margin-top: 0 !important;
    padding-top: 0;
    padding-bottom: 12px;
    overflow-x: hidden;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-top: none;
    position: relative !important;
    display: block !important;
    align-items: stretch !important;
  }

  .gf-site-header .cs_nav_category_wrap {
    height: auto !important;
    margin: 0 !important;
  }

  .gf-site-header .cs_nav .cs_nav_list {
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .gf-site-header .cs_nav.cs_mobile_active .cs_nav_list {
    display: block;
  }

  .gf-site-header .cs_nav .cs_nav_list > li {
    border-bottom: 1px solid #f2f2f5;
  }

  .gf-site-header .cs_nav .cs_nav_list > li > a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    color: #303030;
    text-decoration: none;
  }

  .gf-site-header .cs_nav .cs_nav_list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fafafa;
    border-top: 1px solid #f0f0f3;
  }

  .gf-site-header .cs_nav .cs_nav_list ul a {
    display: block;
    padding: 12px 16px 12px 28px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #555;
  }

  .gf-site-header .cs_nav .cs_munu_dropdown_toggle {
    width: 48px;
    height: 48px;
    top: 2px;
    right: 4px;
  }

  .gf-site-header .cs_nav_category_list,
  .gf-site-header .cs_nav_category_list.gf-cat-mega,
  .gf-site-header .cs_nav_category_wrap.cs_mobile_active .cs_nav_category_list,
  .gf-site-header .cs_nav_category_wrap.cs_mobile_active .cs_nav_category_list.gf-cat-mega {
    display: none;
    position: static !important;
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    margin: 0;
    padding: 0 !important;
    overflow: visible !important;
    grid-template-columns: none !important;
    box-shadow: none !important;
    background: #fff;
  }

  .gf-site-header .cs_nav_category_wrap.cs_mobile_active .cs_nav_category_list,
  .gf-site-header .cs_nav_category_wrap.cs_mobile_active .cs_nav_category_list.gf-cat-mega {
    display: block !important;
  }

  .gf-site-header .cs_nav_category_list > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 16px;
    border-bottom: 1px solid #f2f2f5;
    font-size: 1rem;
    font-weight: 500;
    color: #303030;
    text-decoration: none;
  }

  .gf-site-header .cs_nav_category_list > li > a img {
    display: none;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item {
    width: 100%;
    border-bottom: 1px solid #f2f2f5;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item.is-active > .gf-cat-mega__top {
    background: transparent;
    color: #303030;
  }

  .gf-site-header .gf-cat-mega__top {
    position: relative;
    min-height: 52px;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: #303030;
    text-decoration: none;
    border-radius: 0;
    background: transparent;
  }

  .gf-site-header .gf-cat-mega__top img {
    display: none;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item.has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    position: relative;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item.has-children > .gf-cat-mega__top {
    padding-right: 8px;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item.has-children > .gf-cat-mega__top::after {
    display: none;
  }

  .gf-site-header .gf-cat-mega__toggle {
    position: relative;
    flex: 0 0 52px;
    width: 52px;
    min-height: 52px;
    margin: 0;
    border: 0;
    border-left: 1px solid #f2f2f5;
    background: transparent;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }

  .gf-site-header .gf-cat-mega__toggle span,
  .gf-site-header .gf-cat-mega__toggle span::before,
  .gf-site-header .gf-cat-mega__toggle span::after {
    display: none;
  }

  .gf-site-header .gf-cat-mega__toggle::before {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -4px;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item.is-open > .gf-cat-mega__toggle::before {
    transform: rotate(225deg);
    margin-top: 4px;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item.is-open > .gf-cat-mega__top {
    color: var(--accent, #e61f7f);
  }

  .gf-site-header .gf-cat-mega__panel {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: none !important;
    flex: 1 1 100%;
    width: 100%;
    padding: 4px 0 10px;
    border: 0;
    overflow: visible !important;
    max-height: none !important;
    background: #f7f7f9;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item.is-active > .gf-cat-mega__panel {
    display: none !important;
  }

  .gf-site-header .gf-cat-mega > .gf-cat-mega__item.is-open > .gf-cat-mega__panel {
    display: block !important;
  }

  .gf-site-header .gf-cat-mega__all {
    display: block;
    padding: 10px 16px 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent, #e61f7f);
    text-decoration: none;
  }

  .gf-site-header .gf-cat-mega__group-title {
    display: block;
    padding: 10px 16px 4px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
  }

  .gf-site-header .gf-cat-mega__links {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .gf-site-header .gf-cat-mega__links li {
    list-style: none;
  }

  .gf-site-header .gf-cat-mega__links a {
    display: block;
    padding: 10px 16px 10px 24px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #555;
    text-decoration: none;
  }

  .gf-site-header .gf-cat-mega__links a:hover,
  .gf-site-header .gf-cat-mega__top:hover,
  .gf-site-header .cs_nav .cs_nav_list a:hover,
  .gf-site-header .cs_nav_category_list > li > a:hover {
    color: var(--accent, #e61f7f);
  }

  .gf-header-search-panel {
    top: calc(100% + 4px);
    border-radius: 10px;
    max-height: min(60vh, 380px);
  }
}

@media (max-width: 410px) {
  .gf-site-header .cs_site_branding,
  .gf-site-header .cs_main_header_left .gf-brand-logo {
    max-width: 140px;
  }

  .gf-site-header.cs_style_1 .cs_main_header_right,
  .gf-site-header .cs_main_header_right {
    gap: 0 !important;
  }

  .gf-site-header .cs_header_list > li:not(:last-child) {
    margin-right: 0 !important;
  }
}
