
/* =========================================================
 ГРАНИТ ГАББРО — СТИЛИ ШАПКИ V4
 Все селекторы изолированы через #ggx-header и ggx-
========================================================== */

#ggx-header {
 --ggx-green: #548854;
 --ggx-green-dark: #376d3b;
 --ggx-green-deep: #2d5e32;
 --ggx-green-light: #edf5ed;
 --ggx-green-pale: #f5f9f5;

 --ggx-text: #151815;
 --ggx-muted: #858b86;
 --ggx-line: #e5eae5;
 --ggx-white: #ffffff;

 --ggx-shadow:
 0 17px 45px rgba(25, 45, 28, 0.13),
 0 3px 10px rgba(25, 45, 28, 0.05);

 position: relative;
 z-index: 9999;

 display: block;
 width: 100%;

 color: var(--ggx-text);
 font-family: inherit;
 font-size: 16px;
 font-style: normal;
 font-weight: 400;
 line-height: 1.35;

 isolation: isolate;
}

#ggx-header,
#ggx-header *,
#ggx-header *::before,
#ggx-header *::after {
 box-sizing: border-box;
}

#ggx-header a {
 color: inherit;
 text-decoration: none;
}

#ggx-header button {
 margin: 0;
 font: inherit !important;
 letter-spacing: inherit !important;
 text-transform: none !important;
}

#ggx-header img {
 max-width: 100%;
}

/* =========================================================
 ГЛАВНАЯ ПАНЕЛЬ
========================================================== */

#ggx-header .ggx-header__bar {
 position: relative;
 width: 100%;
 background: var(--ggx-white);
 border-bottom: 1px solid rgba(45, 75, 48, 0.08);
 box-shadow: 0 5px 22px rgba(22, 39, 24, 0.07);
}

#ggx-header .ggx-header__inner {
 display: grid;

 grid-template-columns:
 minmax(220px, auto)
 minmax(620px, 1fr)
 auto
 auto
 auto;

 align-items: center;
 gap: clamp(13px, 1.35vw, 25px);

 width: 100%;
 max-width: 1510px;
 min-height: 110px;

 margin: 0 auto;
 padding: 16px 24px;
}

/* Белый фон шапки растягивается на весь экран.
 Ограничивается только внутреннее содержимое. */

/* =========================================================
 ЛОГОТИП
========================================================== */

#ggx-header .ggx-logo {
 display: inline-flex;
 align-items: center;
 gap: 11px;
 min-width: 0;
}

#ggx-header .ggx-logo__image {
 display: block;
 flex: 0 0 auto;

 width: 53px;
 height: 53px;

 object-fit: contain;
}

#ggx-header .ggx-logo__name {
 overflow: hidden;

 color: #101210;

 font-family: inherit !important;
 font-size: 21px;
 font-style: normal;
 font-weight: 800;
 line-height: 1.05;
 letter-spacing: -0.3px;
 text-overflow: ellipsis;
 white-space: nowrap;
}

/* =========================================================
 ДЕСКТОПНОЕ МЕНЮ
========================================================== */

#ggx-header .ggx-desktop-nav {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 7px;
 min-width: 0;
}

#ggx-header .ggx-nav-link {
 position: relative;

 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 7px;

 min-height: 49px;
 padding: 0 16px;

 color: #181b18 !important;
 background: transparent;
 border: 0;
 border-radius: 13px;

 font-family: inherit !important;
 font-size: 14px !important;
 font-style: normal !important;
 font-weight: 700 !important;
 line-height: 1 !important;
 letter-spacing: 0 !important;
 text-transform: none !important;
 white-space: nowrap;

 appearance: none;
 cursor: pointer;

 transition:
 color 0.18s ease,
 background-color 0.18s ease;
}

#ggx-header .ggx-nav-link:hover,
#ggx-header .ggx-nav-link:focus-visible {
 color: var(--ggx-green-dark) !important;
 background: var(--ggx-green-pale);
 outline: none;
}

#ggx-header .ggx-nav-link--priority {
 color: var(--ggx-green-dark) !important;
}

#ggx-header .ggx-nav-link--priority::after {
 position: absolute;
 right: 16px;
 bottom: 1px;
 left: 16px;

 height: 2px;

 background: var(--ggx-green);
 border-radius: 10px;

 content: "";
}

#ggx-header .ggx-nav-link--button[aria-expanded="true"] {
 color: var(--ggx-green-dark) !important;
 background: var(--ggx-green-light);
}

#ggx-header .ggx-nav-arrow {
 font-size: 13px;
 transition: transform 0.2s ease;
}

#ggx-header
.ggx-nav-link--button[aria-expanded="true"]
.ggx-nav-arrow {
 transform: rotate(180deg);
}

/* =========================================================
 МЕГА-МЕНЮ
========================================================== */

#ggx-header .ggx-mega {
 position: relative;
}

/* Мост между кнопкой и панелью.
 Курсор не попадает в пустой промежуток. */
#ggx-header .ggx-mega::after {
 position: absolute;
 top: 100%;
 right: -35px;
 left: -35px;

 height: 28px;

 content: "";
}

#ggx-header .ggx-mega-panel {
 position: absolute;
 top: calc(100% + 13px);
 left: 50%;
 z-index: 100;

 width: min(730px, calc(100vw - 32px));
 padding: 18px 19px 0;

 visibility: hidden;

 background: var(--ggx-white);
 border: 1px solid rgba(40, 68, 43, 0.09);
 border-radius: 17px;
 box-shadow: var(--ggx-shadow);

 opacity: 0;
 transform: translate(-50%, 8px);
 pointer-events: none;

 transition:
 opacity 0.18s ease,
 visibility 0.18s ease,
 transform 0.18s ease;
}

/* Дополнительный невидимый мост */
#ggx-header .ggx-mega-panel::before {
 position: absolute;
 top: -22px;
 right: 0;
 left: 0;

 height: 22px;

 content: "";
}

#ggx-header .ggx-mega-panel__triangle {
 position: absolute;
 top: -7px;
 left: 50%;

 width: 14px;
 height: 14px;

 background: #fff;
 border-top: 1px solid rgba(40, 68, 43, 0.09);
 border-left: 1px solid rgba(40, 68, 43, 0.09);

 transform: translateX(-50%) rotate(45deg);
}

#ggx-header .ggx-mega:hover .ggx-mega-panel,
#ggx-header .ggx-mega:focus-within .ggx-mega-panel,
#ggx-header .ggx-mega.is-open .ggx-mega-panel {
 visibility: visible;
 opacity: 1;
 transform: translate(-50%, 0);
 pointer-events: auto;
}

#ggx-header .ggx-mega-panel__columns {
 display: grid;
 grid-template-columns: 1fr 1fr;
}

#ggx-header .ggx-mega-column {
 display: flex;
 flex-direction: column;
 gap: 2px;
 padding: 0 13px 15px;
}

#ggx-header .ggx-mega-column + .ggx-mega-column {
 border-left: 1px solid var(--ggx-line);
}

#ggx-header .ggx-category {
 display: grid;
 grid-template-columns: 26px minmax(0, 1fr) auto;
 align-items: center;
 gap: 10px;

 min-height: 43px;
 padding: 7px 10px;

 color: #313631 !important;
 border-radius: 10px;

 font-family: inherit !important;
 font-size: 14px !important;
 font-style: normal !important;
 font-weight: 500 !important;
 line-height: 1.25 !important;
 letter-spacing: 0 !important;
 text-transform: none !important;

 transition:
 color 0.16s ease,
 background-color 0.16s ease,
 transform 0.16s ease;
}

#ggx-header .ggx-category:hover,
#ggx-header .ggx-category:focus-visible,
#ggx-header .ggx-category--featured {
 color: var(--ggx-green-dark) !important;
 background: var(--ggx-green-light);
 outline: none;
}

#ggx-header .ggx-category:hover {
 transform: translateX(2px);
}

#ggx-header .ggx-category__icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;

 width: 24px;
 height: 24px;
}

/* Временная иконка-точка.
 Позже её можно заменить изображением 22×22 px. */
#ggx-header .ggx-category__placeholder {
 display: block;

 width: 8px;
 height: 8px;

 background: var(--ggx-green);
 border: 2px solid rgba(84, 136, 84, 0.18);
 border-radius: 50%;
 box-shadow: 0 0 0 3px rgba(84, 136, 84, 0.08);
}

#ggx-header .ggx-category__icon img {
 display: block;

 width: 22px;
 height: 22px;

 object-fit: contain;
}

#ggx-header .ggx-category__name {
 min-width: 0;
}

#ggx-header .ggx-category > .fa {
 color: var(--ggx-green-dark);
 font-size: 16px;
}

#ggx-header .ggx-mega-panel__all {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 9px;

 min-height: 49px;

 color: var(--ggx-green-dark) !important;
 border-top: 1px solid var(--ggx-line);

 font-family: inherit !important;
 font-size: 13px !important;
 font-weight: 700 !important;
}

#ggx-header .ggx-mega-panel__all:hover {
 color: var(--ggx-green-deep) !important;
 background: #fbfdfb;
}

/* =========================================================
 ГРАФИК
========================================================== */

#ggx-header .ggx-schedule {
 padding-left: 21px;
 border-left: 1px solid var(--ggx-line);
}

#ggx-header .ggx-schedule__time {
 display: flex;
 align-items: center;
 gap: 8px;

 margin-bottom: 8px;

 font-family: inherit;
 font-size: 13px;
 font-weight: 700;
 white-space: nowrap;
}

#ggx-header .ggx-schedule__time .fa {
 color: var(--ggx-green-dark);
 font-size: 17px;
}

#ggx-header .ggx-days {
 display: flex;
 align-items: center;
 gap: 5px;
}

#ggx-header .ggx-days span {
 position: relative;

 display: inline-block;
 padding-bottom: 5px;

 color: #a6aaa6;

 font-family: inherit;
 font-size: 10px;
 font-weight: 700;
}

#ggx-header .ggx-days span::after {
 position: absolute;
 right: 0;
 bottom: 0;
 left: 0;

 height: 2px;

 background: #d8dcd8;
 border-radius: 10px;

 content: "";
}

#ggx-header .ggx-days .ggx-days__work {
 color: var(--ggx-green-dark);
}

#ggx-header .ggx-days .ggx-days__work::after {
 background: var(--ggx-green);
}

/* =========================================================
 ТЕЛЕФОНЫ
========================================================== */

#ggx-header .ggx-phones {
 display: flex;
 flex-direction: column;
 gap: 5px;

 min-width: 210px;
}

#ggx-header .ggx-phone {
 font-family: inherit !important;
}

#ggx-header .ggx-phone--main {
 display: flex;
 align-items: center;
 gap: 9px;

 color: #161916 !important;
}

#ggx-header .ggx-phone--main > .fa {
 flex: 0 0 auto;

 color: var(--ggx-green);
 font-size: 19px;

 transform: rotate(-7deg);
}

#ggx-header .ggx-phone__content {
 display: flex;
 flex-direction: column;
 gap: 1px;
}

#ggx-header .ggx-phone__content strong {
 font-family: inherit;
 font-size: 16px;
 font-weight: 750;
 line-height: 1.1;
 letter-spacing: -0.1px;
 white-space: nowrap;
}

#ggx-header .ggx-phone__content small {
 color: #949994;
 font-family: inherit;
 font-size: 9px;
 font-weight: 500;
}

#ggx-header .ggx-phone--main:hover {
 color: var(--ggx-green-dark) !important;
}

#ggx-header .ggx-phone--secondary {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 9px;

 padding-left: 28px;

 color: #737873 !important;

 font-size: 12px;
 font-weight: 500;
 white-space: nowrap;
}

#ggx-header .ggx-phone--secondary small {
 color: #a3a7a3;
 font-size: 8px;
}

/* =========================================================
 СОЦСЕТИ
========================================================== */

#ggx-header .ggx-socials {
 display: flex;
 gap: 7px;
}

#ggx-header .ggx-social {
 display: inline-flex;
 align-items: center;
 justify-content: center;

 width: 46px;
 height: 46px;

 background: #fff;
 border: 1px solid var(--ggx-line);
 border-radius: 14px;
 box-shadow: 0 5px 14px rgba(29, 52, 31, 0.06);

 transition:
 border-color 0.18s ease,
 box-shadow 0.18s ease,
 transform 0.18s ease;
}

#ggx-header .ggx-social:hover {
 border-color: rgba(84, 136, 84, 0.36);
 box-shadow: 0 8px 18px rgba(29, 52, 31, 0.11);
 transform: translateY(-2px);
}

#ggx-header .ggx-social--max {
 flex-direction: column;
 gap: 0;
}

#ggx-header .ggx-social--max .fa {
 color: var(--ggx-green-dark);
 font-size: 20px;
}

#ggx-header .ggx-social--max small {
 color: #171a17;
 font-size: 7px;
 font-weight: 800;
}

#ggx-header .ggx-social--vk .fa {
 color: #656a65;
 font-size: 17px;
}

/* =========================================================
 КНОПКА РАСЧЁТА
========================================================== */

#ggx-header .ggx-calculate,
#ggx-header .ggx-mobile-calculate {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;

 color: #fff !important;
 background: linear-gradient(
 135deg,
 #5e925f 0%,
 #3e7842 100%
 );

 border-radius: 13px;
 box-shadow: 0 8px 18px rgba(55, 108, 59, 0.22);

 font-family: inherit !important;
 font-weight: 750 !important;
 text-align: center;

 transition:
 box-shadow 0.18s ease,
 filter 0.18s ease,
 transform 0.18s ease;
}

#ggx-header .ggx-calculate {
 min-width: 154px;
 min-height: 52px;
 padding: 9px 14px;

 font-size: 12px;
 line-height: 1.1;
}

#ggx-header .ggx-calculate .fa {
 font-size: 15px;
}

#ggx-header .ggx-calculate:hover,
#ggx-header .ggx-mobile-calculate:hover {
 box-shadow: 0 11px 23px rgba(55, 108, 59, 0.29);
 filter: brightness(1.04);
 transform: translateY(-2px);
}

/* =========================================================
 МОБИЛЬНЫЕ ЭЛЕМЕНТЫ — СКРЫТЫ НА ДЕСКТОПЕ
========================================================== */

#ggx-header .ggx-mobile-actions,
#ggx-header .ggx-mobile-overlay,
#ggx-header .ggx-mobile-drawer {
 display: none;
}

/* =========================================================
 ПРОМЕЖУТОЧНАЯ ШИРИНА
========================================================== */

@media (max-width: 1270px) {
 #ggx-header .ggx-header__inner {
 grid-template-columns:
 minmax(200px, auto)
 minmax(560px, 1fr)
 auto
 auto;

 gap: 13px;
 padding-right: 17px;
 padding-left: 17px;
 }

 #ggx-header .ggx-socials {
 display: none;
 }

 #ggx-header .ggx-logo__image {
 width: 47px;
 height: 47px;
 }

 #ggx-header .ggx-logo__name {
 font-size: 18px;
 }

 #ggx-header .ggx-nav-link {
 padding-right: 11px;
 padding-left: 11px;
 }

 #ggx-header .ggx-phone__content strong {
 font-size: 15px;
 }
}

/* =========================================================
 МОБИЛЬНАЯ ВЕРСИЯ
========================================================== */

@media (max-width: 1050px) {
 #ggx-header .ggx-header__inner {
 display: flex;
 justify-content: space-between;

 width: 100%;
 min-height: 70px;
 padding: 9px 12px;
 }

 #ggx-header .ggx-logo {
 gap: 7px;
 }

 #ggx-header .ggx-logo__image {
 width: 42px;
 height: 42px;
 }

 #ggx-header .ggx-logo__name {
 max-width: 185px;
 font-size: 16px;
 }

 #ggx-header .ggx-desktop-nav,
 #ggx-header .ggx-schedule,
 #ggx-header .ggx-phones,
 #ggx-header .ggx-socials,
 #ggx-header .ggx-calculate {
 display: none;
 }

 /* МОБИЛЬНЫЕ КНОПКИ */

 #ggx-header .ggx-mobile-actions {
 display: flex;
 align-items: center;
 gap: 6px;
 }

 #ggx-header .ggx-mobile-action {
 display: inline-flex;
 align-items: center;
 justify-content: center;

 width: 40px;
 height: 40px;
 padding: 0;

 color: var(--ggx-green-dark) !important;
 background: #f8faf8;
 border: 1px solid var(--ggx-line);
 border-radius: 12px;

 font-size: 18px;

 appearance: none;
 cursor: pointer;
 }

 #ggx-header .ggx-mobile-action--menu {
 color: #222622 !important;
 }

 /* ЗАТЕМНЕНИЕ */

 #ggx-header .ggx-mobile-overlay {
 position: fixed;
 inset: 0;
 z-index: 998;

 display: block;
 visibility: hidden;

 background: rgba(15, 21, 16, 0.48);
 opacity: 0;
 backdrop-filter: blur(2px);

 transition:
 visibility 0.25s ease,
 opacity 0.25s ease;
 }

 #ggx-header .ggx-mobile-overlay.is-open {
 visibility: visible;
 opacity: 1;
 }

 /* МОБИЛЬНАЯ ПАНЕЛЬ */

 #ggx-header .ggx-mobile-drawer {
 position: fixed;
 inset: 0;
 z-index: 999;

 display: flex;
 flex-direction: column;

 width: 100%;
 height: 100%;
 height: 100dvh;

 visibility: hidden;
 overflow: hidden;

 background: #fff;
 opacity: 0;
 transform: translateX(100%);

 transition:
 visibility 0.3s ease,
 opacity 0.3s ease,
 transform 0.3s ease;
 }

 #ggx-header .ggx-mobile-drawer.is-open {
 visibility: visible;
 opacity: 1;
 transform: translateX(0);
 }

 #ggx-header .ggx-mobile-drawer__header {
 position: relative;
 z-index: 3;

 display: flex;
 flex: 0 0 auto;
 align-items: center;
 justify-content: space-between;

 min-height: 69px;
 padding: 8px 13px;

 background: #fff;
 border-bottom: 1px solid var(--ggx-line);
 box-shadow: 0 4px 14px rgba(25, 42, 27, 0.05);
 }

 #ggx-header .ggx-logo--drawer .ggx-logo__image {
 width: 41px;
 height: 41px;
 }

 #ggx-header .ggx-logo--drawer .ggx-logo__name {
 max-width: 220px;
 font-size: 16px;
 }

 #ggx-header .ggx-mobile-close {
 display: inline-flex;
 align-items: center;
 justify-content: center;

 width: 42px;
 height: 42px;
 padding: 0;

 color: #262926;
 background: #f5f7f5;
 border: 0;
 border-radius: 50%;

 font-size: 20px;
 cursor: pointer;
 }

 /* ПРОКРУЧИВАЕМАЯ ЧАСТЬ */

 #ggx-header .ggx-mobile-drawer__scroll {
 position: relative;

 flex: 1 1 auto;

 overflow-x: hidden;
 overflow-y: auto;

 padding: 12px 13px 105px;

 overscroll-behavior: contain;
 -webkit-overflow-scrolling: touch;
 scrollbar-width: thin;
 scrollbar-color: var(--ggx-green) #edf1ed;
 }

 #ggx-header .ggx-mobile-drawer__scroll::-webkit-scrollbar {
 width: 5px;
 }

 #ggx-header .ggx-mobile-drawer__scroll::-webkit-scrollbar-track {
 background: #edf1ed;
 }

 #ggx-header .ggx-mobile-drawer__scroll::-webkit-scrollbar-thumb {
 background: var(--ggx-green);
 border-radius: 10px;
 }

 /* МОБИЛЬНАЯ НАВИГАЦИЯ */

 #ggx-header .ggx-mobile-nav {
 display: flex;
 flex-direction: column;

 border: 1px solid var(--ggx-line);
 border-radius: 15px;
 overflow: hidden;
 }

 #ggx-header .ggx-mobile-nav__item {
 display: grid;
 grid-template-columns: 31px minmax(0, 1fr) auto;
 align-items: center;
 gap: 10px;

 width: 100%;
 min-height: 54px;
 padding: 8px 13px;

 color: #242824 !important;
 background: #fff;
 border: 0;
 border-bottom: 1px solid var(--ggx-line);

 font-family: inherit !important;
 font-size: 15px !important;
 font-weight: 650 !important;
 text-align: left;

 appearance: none;
 cursor: pointer;
 }

 #ggx-header .ggx-mobile-nav__item--priority {
 color: var(--ggx-green-dark) !important;
 }

 #ggx-header .ggx-mobile-nav__item--button.is-open {
 color: var(--ggx-green-dark) !important;
 background: var(--ggx-green-light);
 }

 #ggx-header .ggx-mobile-nav__icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;

 width: 29px;
 height: 29px;

 color: var(--ggx-green-dark);
 background: var(--ggx-green-light);
 border-radius: 8px;

 font-size: 14px;
 }

 #ggx-header .ggx-mobile-category-arrow {
 font-size: 17px;
 }

 /* КАТЕГОРИИ СРАЗУ ОТКРЫТЫ */

 #ggx-header .ggx-mobile-categories {
 display: none;
 background: #fafcfa;
 border-bottom: 1px solid var(--ggx-line);
 }

 #ggx-header .ggx-mobile-categories.is-open {
 display: block;
 }

 #ggx-header .ggx-mobile-categories__head {
 position: sticky;
 top: 0;
 z-index: 2;

 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 10px;

 padding: 12px 14px;

 background: rgba(247, 250, 247, 0.97);
 border-bottom: 1px solid var(--ggx-line);
 backdrop-filter: blur(7px);
 }

 #ggx-header .ggx-mobile-categories__head strong {
 color: var(--ggx-green-dark);
 font-size: 13px;
 }

 #ggx-header .ggx-mobile-categories__head small {
 color: #979c97;
 font-size: 10px;
 }

 #ggx-header .ggx-mobile-categories > a {
 display: grid;
 grid-template-columns: 20px minmax(0, 1fr) auto;
 align-items: center;
 gap: 10px;

 min-height: 47px;
 padding: 9px 15px 9px 22px;

 color: #484e48 !important;
 border-bottom: 1px solid #e9ede9;

 font-family: inherit !important;
 font-size: 13px !important;
 font-weight: 500 !important;
 }

 #ggx-header .ggx-mobile-categories > a:hover {
 color: var(--ggx-green-dark) !important;
 background: var(--ggx-green-light);
 }

 #ggx-header .ggx-mobile-category-icon {
 display: block;

 width: 7px;
 height: 7px;

 background: var(--ggx-green);
 border-radius: 50%;
 box-shadow: 0 0 0 3px rgba(84, 136, 84, 0.10);
 }

 #ggx-header .ggx-mobile-categories__all {
 color: var(--ggx-green-dark) !important;
 background: #f1f7f1;
 font-weight: 750 !important;
 }

 /* СЕКЦИИ */

 #ggx-header .ggx-mobile-section {
 margin-top: 12px;
 padding: 14px;

 background: #fff;
 border: 1px solid var(--ggx-line);
 border-radius: 15px;
 }

 #ggx-header .ggx-mobile-section__title {
 margin: 0 0 12px;

 color: #6d736d;

 font-family: inherit;
 font-size: 11px;
 font-weight: 750;
 letter-spacing: 0.4px;
 text-transform: uppercase;
 }

 /* МОБИЛЬНЫЕ ТЕЛЕФОНЫ */

 #ggx-header .ggx-mobile-phone {
 display: grid;
 grid-template-columns: 39px minmax(0, 1fr);
 align-items: center;
 gap: 10px;

 padding: 8px 0;

 color: #242724 !important;
 }

 #ggx-header .ggx-mobile-phone + .ggx-mobile-phone {
 border-top: 1px solid var(--ggx-line);
 }

 #ggx-header .ggx-mobile-phone__icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;

 width: 37px;
 height: 37px;

 color: var(--ggx-green-dark);
 background: var(--ggx-green-light);
 border-radius: 11px;

 font-size: 17px;
 }

 #ggx-header .ggx-mobile-phone > span:last-child {
 display: flex;
 flex-direction: column;
 gap: 2px;
 }

 #ggx-header .ggx-mobile-phone strong {
 font-size: 16px;
 font-weight: 750;
 }

 #ggx-header .ggx-mobile-phone small {
 color: #929792;
 font-size: 10px;
 }

 /* МОБИЛЬНЫЙ ГРАФИК */

 #ggx-header .ggx-mobile-schedule {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 13px;
 }

 #ggx-header .ggx-mobile-schedule__time {
 display: flex;
 align-items: center;
 gap: 9px;

 font-size: 18px;
 }

 #ggx-header .ggx-mobile-schedule__time .fa {
 color: var(--ggx-green-dark);
 }

 #ggx-header .ggx-days--mobile {
 gap: 8px;
 }

 #ggx-header .ggx-days--mobile span {
 font-size: 12px;
 }

 /* МОБИЛЬНЫЕ СОЦСЕТИ */

 #ggx-header .ggx-mobile-socials {
 display: grid;
 gap: 8px;
 }

 #ggx-header .ggx-mobile-socials > a {
 display: grid;
 grid-template-columns: 40px minmax(0, 1fr) auto;
 align-items: center;
 gap: 10px;

 min-height: 58px;
 padding: 8px 10px;

 color: #252825 !important;
 border: 1px solid var(--ggx-line);
 border-radius: 12px;
 }

 #ggx-header .ggx-mobile-socials__icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;

 width: 39px;
 height: 39px;

 color: var(--ggx-green-dark);
 background: var(--ggx-green-light);
 border-radius: 11px;

 font-size: 18px;
 }

 #ggx-header .ggx-mobile-socials > a > span:nth-child(2) {
 display: flex;
 flex-direction: column;
 gap: 2px;
 }

 #ggx-header .ggx-mobile-socials strong {
 font-size: 14px;
 }

 #ggx-header .ggx-mobile-socials small {
 color: #949994;
 font-size: 10px;
 }

 #ggx-header .ggx-mobile-bottom-space {
 height: 18px;
 }

 /* ПОДСКАЗКА ПРОКРУТКИ */

 #ggx-header .ggx-mobile-scroll-hint {
 position: absolute;
 right: 15px;
 bottom: 86px;
 z-index: 4;

 display: flex;
 align-items: center;
 gap: 6px;

 padding: 7px 11px;

 color: var(--ggx-green-dark);
 background: rgba(255, 255, 255, 0.96);
 border: 1px solid var(--ggx-line);
 border-radius: 20px;
 box-shadow: 0 5px 15px rgba(24, 42, 26, 0.11);

 font-size: 10px;
 font-weight: 700;

 opacity: 1;
 pointer-events: none;

 transition:
 opacity 0.2s ease,
 transform 0.2s ease;

 animation: ggx-scroll-hint 1.4s ease-in-out infinite;
 }

 #ggx-header .ggx-mobile-scroll-hint.is-hidden {
 opacity: 0;
 transform: translateY(8px);
 }

 @keyframes ggx-scroll-hint {
 0%,
 100% {
 transform: translateY(0);
 }

 50% {
 transform: translateY(4px);
 }
 }

 /* НИЖНЯЯ ФИКСИРОВАННАЯ КНОПКА */

 #ggx-header .ggx-mobile-drawer__footer {
 position: absolute;
 right: 0;
 bottom: 0;
 left: 0;
 z-index: 5;

 padding:
 10px
 13px
 calc(10px + env(safe-area-inset-bottom));

 background:
 linear-gradient(
 to top,
 #fff 76%,
 rgba(255, 255, 255, 0)
 );
 }

 #ggx-header .ggx-mobile-calculate {
 width: 100%;
 min-height: 55px;
 padding: 12px 17px;

 font-size: 15px;
 }

 /* БЛОКИРОВКА СТРАНИЦЫ */

 html.ggx-menu-lock,
 html.ggx-menu-lock body {
 overflow: hidden !important;
 touch-action: none;
 }
}

/* =========================================================
 МАЛЕНЬКИЕ ЭКРАНЫ
========================================================== */

@media (max-width: 430px) {
 #ggx-header .ggx-header__inner {
 min-height: 65px;
 padding: 8px 9px;
 }

 #ggx-header .ggx-logo__image {
 width: 37px;
 height: 37px;
 }

 #ggx-header .ggx-logo__name {
 max-width: 145px;
 font-size: 14px;
 }

 #ggx-header .ggx-mobile-actions {
 gap: 4px;
 }

 #ggx-header .ggx-mobile-action {
 width: 37px;
 height: 37px;
 border-radius: 11px;
 font-size: 16px;
 }

 #ggx-header .ggx-mobile-action--chat {
 display: none;
 }

 #ggx-header .ggx-logo--drawer .ggx-logo__name {
 max-width: 200px;
 font-size: 15px;
 }

 #ggx-header .ggx-mobile-drawer__scroll {
 padding-right: 9px;
 padding-left: 9px;
 }

 #ggx-header .ggx-mobile-categories__head {
 align-items: flex-start;
 flex-direction: column;
 gap: 2px;
 }
}


/* =========================================================
 V4 — КОМПАКТНОЕ МЕНЮ БЕЗ ГРАФИКА РАБОТЫ
========================================================== */

@media (min-width: 1051px) {
 #ggx-header .ggx-header__inner {
 gap: clamp(10px, 1vw, 18px);
 min-height: 96px;
 padding-top: 12px;
 padding-bottom: 12px;
 }

 #ggx-header .ggx-desktop-nav {
 justify-content: flex-start;
 gap: 2px;
 }

 #ggx-header .ggx-nav-link {
 min-height: 45px;
 padding-right: 10px;
 padding-left: 10px;
 font-size: 12.5px !important;
 }

 #ggx-header .ggx-logo__image {
 width: 48px;
 height: 48px;
 }

 #ggx-header .ggx-logo__name {
 font-size: 18px;
 }

 #ggx-header .ggx-phones {
 min-width: 188px;
 }

 #ggx-header .ggx-phone__content strong {
 font-size: 14px;
 }

 #ggx-header .ggx-phone--secondary {
 padding-left: 26px;
 font-size: 11px;
 }

 #ggx-header .ggx-calculate {
 min-width: 132px;
 min-height: 48px;
 padding-right: 11px;
 padding-left: 11px;
 font-size: 11px;
 }
}

@media (min-width: 1051px) and (max-width: 1370px) {
 #ggx-header .ggx-header__inner {
 grid-template-columns:
 minmax(190px, auto)
 minmax(520px, 1fr)
 auto
 auto;
 }

 #ggx-header .ggx-socials {
 display: none;
 }

 #ggx-header .ggx-nav-link {
 padding-right: 7px;
 padding-left: 7px;
 font-size: 11.5px !important;
 }

 #ggx-header .ggx-logo__name {
 font-size: 16px;
 }
}

#ggx-header .ggx-mobile-category-icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 22px;
 height: 22px;
 background: transparent;
 border-radius: 0;
 box-shadow: none;
}

#ggx-header .ggx-mobile-category-icon img {
 display: block;
 width: 20px;
 height: 20px;
 object-fit: contain;
}

#ggx-header .ggx-mobile-category-icon--placeholder {
 position: relative;
}

#ggx-header .ggx-mobile-category-icon--placeholder::before {
 width: 8px;
 height: 8px;
 background: var(--ggx-green);
 border-radius: 50%;
 box-shadow: 0 0 0 3px rgba(84, 136, 84, 0.10);
 content: "";
}

/* Уважение системной настройки уменьшения движения */
@media (prefers-reduced-motion: reduce) {
 #ggx-header *,
 #ggx-header *::before,
 #ggx-header *::after {
 scroll-behavior: auto !important;
 animation-duration: 0.01ms !important;
 animation-iteration-count: 1 !important;
 transition-duration: 0.01ms !important;
 }
}

/* Избранное: одна функция и один счётчик на всех устройствах. */
#ggx-header .ggx-header-favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 9px;
  min-width: 82px;
  min-height: 48px;
  padding: 10px 13px;
  color: #fff !important;
  background: #4d7f4d;
  border: 1px solid #4d7f4d;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(48, 82, 49, .13);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}

#ggx-header .ggx-header-favorite:hover {
  border-color: #3c683d;
  background: #3c683d;
}

#ggx-header .ggx-header-favorite:focus-visible {
  outline: 2px solid #284c2c;
  outline-offset: 3px;
}

#ggx-header .ggx-header-favorite svg {
  display: block;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  overflow: visible;
  pointer-events: none;
}

#ggx-header .ggx-header-favorite path {
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#ggx-header .ggx-favorite-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 7px;
  background: #fff;
  color: #294b2c;
  font: 700 12px/1 Arial, sans-serif;
  white-space: nowrap;
  pointer-events: none;
}

#ggx-header .ggx-header-favorite--mobile {
  position: relative;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 11px;
}

#ggx-header .ggx-header-favorite--mobile .ggx-favorite-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border: 1px solid #4d7f4d;
  border-radius: 6px;
  font-size: 10px;
}

#ggx-header .ggx-header-favorite--drawer {
  width: 100%;
  min-height: 52px;
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 1050px) {
  #ggx-header .ggx-header-favorite--desktop {
    display: none;
  }

  #ggx-header .ggx-logo {
    flex: 0 1 auto;
  }

  #ggx-header .ggx-mobile-actions {
    flex: 0 0 auto;
  }
}

@media (max-width: 430px) {
  #ggx-header .ggx-header-favorite--mobile {
    width: 37px;
    min-width: 37px;
    height: 37px;
    min-height: 37px;
  }
}

@media (max-width: 360px) {
  #ggx-header .ggx-header__inner {
    gap: 8px;
  }

  #ggx-header .ggx-logo__name {
    font-size: 13px;
  }
}
