:root{--gl-cux-accent:#2f6b3d;--gl-cux-shadow:0 18px 50px rgba(0,0,0,.18)}
#gl-cux-root{position:relative;z-index:99998}
.gl-cux-float{position:fixed;left:18px;bottom:22px;z-index:99990;display:flex;align-items:center;gap:10px;border:0;border-radius:999px;background:var(--gl-cux-accent);color:#fff;padding:11px 14px;box-shadow:0 10px 30px rgba(0,0,0,.22);cursor:pointer;min-height:54px;font:inherit;transition:opacity .2s,transform .2s,filter .2s}
.gl-cux-float:hover{filter:brightness(.97)}
.gl-cux-float__icon{display:grid;place-items:center;position:relative}
.gl-cux-float__count{position:absolute;left:36px;top:-6px;min-width:22px;height:22px;border-radius:11px;background:#fff;color:#222;border:2px solid var(--gl-cux-accent);font-size:12px;font-weight:800;display:grid;place-items:center;padding:0 5px}
.gl-cux-float__meta{display:flex;flex-direction:column;align-items:flex-start;line-height:1.05}.gl-cux-float__meta strong{font-size:14px}.gl-cux-float__meta small{font-size:12px;opacity:.92;margin-top:4px}.gl-cux-float:not(.has-items) .gl-cux-float__count{display:none}
/* 1.0.1: пустая корзина не занимает экран; на товаре и в checkout/cart её заменяют более полезные CTA */
body.gl-cux-float-only-items .gl-cux-float.no-items{display:none!important}
body.gl-cux-hide-float-product .gl-cux-float,body.gl-cux-hide-float-flow .gl-cux-float{display:none!important}
.gl-cux-overlay{position:fixed;inset:0;background:rgba(0,0,0,.38);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:.22s;z-index:99991}
.gl-cux-drawer{position:fixed;top:0;right:0;width:min(430px,94vw);height:100dvh;background:#fff;transform:translateX(105%);transition:.28s ease;z-index:99992;box-shadow:var(--gl-cux-shadow);display:flex;flex-direction:column;color:#222}
body.gl-cux-open{overflow:hidden}.gl-cux-open .gl-cux-overlay{opacity:1;visibility:visible}.gl-cux-open .gl-cux-drawer{transform:none}
.gl-cux-drawer__head{padding:18px 20px;border-bottom:1px solid #e9e9e9;display:flex;align-items:center;justify-content:space-between;gap:15px}.gl-cux-drawer__head strong{font-size:20px}.gl-cux-drawer__head small{display:block;margin-top:4px;color:#666}.gl-cux-close{border:0;background:#f2f2f2;width:40px;height:40px;border-radius:50%;font-size:28px;line-height:1;cursor:pointer;color:#222}.gl-cux-drawer__body{overflow:auto;padding:10px 18px 24px;flex:1}
.gl-cux-empty{text-align:center;padding:70px 25px;color:#555}.gl-cux-empty span{display:block;font-size:42px;margin-bottom:14px}.gl-cux-empty strong{display:block;font-size:19px;color:#222}.gl-cux-empty p{margin:8px 0 0}
.gl-cux-item{display:grid;grid-template-columns:78px 1fr;gap:12px;padding:14px 0;border-bottom:1px solid #eee}.gl-cux-item__image img{width:78px;height:78px;object-fit:cover;border-radius:10px}.gl-cux-item__name{font-weight:700;font-size:14px;line-height:1.35}.gl-cux-item__meta{font-size:13px;margin-top:6px;color:#555}.gl-cux-remove{border:0;background:none;padding:0;margin-top:7px;color:#a00;text-decoration:underline;cursor:pointer;font:inherit;font-size:12px}
.gl-cux-summary{padding-top:16px}.gl-cux-summary__row{display:flex;justify-content:space-between;gap:15px;padding:5px 0}.gl-cux-summary__total{font-size:20px;border-top:1px solid #e5e5e5;margin-top:8px;padding-top:13px}.gl-cux-reassure{background:#f3f7f4;border-radius:10px;padding:11px 12px;font-size:12px;line-height:1.45;margin:12px 0}.gl-cux-primary,.gl-cux-secondary{display:flex!important;align-items:center;justify-content:center;text-decoration:none!important;border-radius:11px;min-height:50px;font-weight:800;margin-top:9px}.gl-cux-primary{background:var(--gl-cux-accent)!important;color:#fff!important}.gl-cux-secondary{background:#f2f2f2;color:#222!important}
.gl-cux-toast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,18px);opacity:0;visibility:hidden;background:#222;color:#fff;border-radius:9px;padding:10px 14px;font-size:13px;z-index:99999;transition:.2s;box-shadow:0 8px 24px rgba(0,0,0,.2)}.gl-cux-toast.is-show{opacity:1;visibility:visible;transform:translate(-50%,0)}
.gl-cux-sticky{position:fixed;left:0;right:0;bottom:0;z-index:100000;background:#fff;border-top:1px solid #e5e5e5;box-shadow:0 -8px 28px rgba(0,0,0,.10);padding:8px max(12px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));display:none;align-items:center;gap:10px}.gl-cux-sticky__price{font-weight:900;font-size:17px;white-space:nowrap;max-width:30vw;overflow:hidden;text-overflow:ellipsis}.gl-cux-sticky__qty{display:flex;align-items:center;border:1px solid #ddd;border-radius:9px;overflow:hidden;flex:0 0 auto}.gl-cux-sticky__qty button{width:38px;height:40px;border:0!important;background:#f3f5f4!important;color:#172b34!important;-webkit-text-fill-color:#172b34!important;opacity:1!important;font-size:24px!important;font-weight:900!important;line-height:1!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;text-shadow:none!important;box-shadow:none!important;cursor:pointer!important}.gl-cux-sticky__qty button+span,.gl-cux-sticky__qty span+button{border-left:1px solid #d6dcd8!important}.gl-cux-sticky__qty button:active{background:#e4ebe6!important}.gl-cux-sticky__qty span{width:38px;min-width:38px;text-align:center;font-weight:800;color:#172b34!important;font-size:18px;line-height:40px;background:#fff}.gl-cux-sticky__add{flex:1;border:0;background:var(--gl-cux-accent);color:#fff;border-radius:10px;min-height:42px;font-weight:800;padding:0 13px;transition:filter .2s,transform .2s}.gl-cux-sticky__add.is-added{filter:brightness(.92)}.gl-cux-sticky__add:disabled{opacity:.55}
.gl-cux-checkout-progress{max-width:860px;margin:0 auto 18px;padding:0 8px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.gl-cux-checkout-progress__step{position:relative;background:#f3f3f3;border-radius:999px;padding:9px 12px;text-align:center;font-size:12px;font-weight:700}.gl-cux-checkout-progress__step.is-active,.gl-cux-checkout-progress__step.is-done{background:color-mix(in srgb,var(--gl-cux-accent) 14%,white);color:var(--gl-cux-accent)}
.gl-cux-checkout-note,.gl-cux-checkout-trust{max-width:860px;margin:0 auto 16px;border-radius:12px;padding:14px 16px}.gl-cux-checkout-note{background:#fff7df;border:1px solid #f0dfaa;font-size:13px;line-height:1.5}.gl-cux-checkout-trust{background:#f3f7f4;border:1px solid #d9e7dc}.gl-cux-checkout-trust strong{display:block;font-size:16px;margin-bottom:6px}.gl-cux-checkout-trust p{margin:0;font-size:13px;line-height:1.5}.gl-cux-checkout-trust__points{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.gl-cux-checkout-trust__points span{font-size:12px;background:#fff;border-radius:8px;padding:8px}
body.gl-cux-simplify-checkout #billing_company_field,body.gl-cux-simplify-checkout #billing_address_2_field,body.gl-cux-simplify-checkout .wc-block-components-address-form__company,body.gl-cux-simplify-checkout .wc-block-components-address-form__address_2{display:none!important}
@media(max-width:768px){
  .gl-cux-float{left:14px;bottom:18px;width:48px;height:48px;min-height:48px;padding:0;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.20)}
  .gl-cux-float__icon svg{width:23px;height:23px}.gl-cux-float__meta{display:none}.gl-cux-float__count{left:auto;right:-5px;top:-7px;min-width:20px;height:20px;font-size:11px}
  .gl-cux-sticky{display:flex}.single-product{padding-bottom:74px}.gl-cux-checkout-trust__points{grid-template-columns:1fr}
  .woocommerce-cart .gl-cux-sticky,.woocommerce-checkout .gl-cux-sticky{display:none!important}
  .gl-cux-toast{bottom:calc(82px + env(safe-area-inset-bottom))}
}
@media(max-width:390px){.gl-cux-sticky{gap:7px;padding-left:8px;padding-right:8px}.gl-cux-sticky__price{font-size:15px;max-width:27vw}.gl-cux-sticky__qty button,.gl-cux-sticky__qty span{width:31px}.gl-cux-sticky__add{padding:0 9px;font-size:14px}}
@media(min-width:769px){.gl-cux-float{bottom:24px}}

/* 1.0.2 — защита от горизонтального переполнения / «резиновая» мобильная версия */
@media (max-width: 900px){
  html{max-width:100%!important;overflow-x:clip!important}
  body.gl-cux-responsive-guard{width:100%!important;max-width:100%!important;overflow-x:clip!important}
  body.gl-cux-responsive-guard *,
  body.gl-cux-responsive-guard *::before,
  body.gl-cux-responsive-guard *::after{box-sizing:border-box}

  body.gl-cux-responsive-guard :where(#page,.site,.site-content,.content-area,.site-main,.entry-content,.ast-container,.ast-row,.elementor,.elementor-section,.elementor-container,.elementor-row,.elementor-column,.elementor-widget-wrap,.wp-site-blocks,.wp-block-group,.wp-block-columns,.wp-block-column,.woocommerce,.woocommerce-page,main,article,section,figure,form){
    min-width:0!important;
    max-width:100%!important;
  }

  body.gl-cux-responsive-guard :where(img,picture,video,canvas,svg,iframe){
    max-width:100%!important;
  }
  body.gl-cux-responsive-guard :where(img,picture,video,canvas){height:auto!important}
  body.gl-cux-responsive-guard iframe{width:100%!important}

  body.gl-cux-responsive-guard :where(.entry-content,.site-main,.woocommerce,.woocommerce-page,.elementor-widget-container,.wp-block-group) > *{
    min-width:0;
    max-width:100%;
  }

  body.gl-cux-responsive-guard :where(.woocommerce ul.products,.woocommerce-page ul.products,.wc-block-grid__products,.wp-block-columns){
    max-width:100%!important;
    min-width:0!important;
  }
  body.gl-cux-responsive-guard :where(.woocommerce ul.products li.product,.woocommerce-page ul.products li.product,.wc-block-grid__product,.wp-block-column){
    min-width:0!important;
    max-width:100%!important;
  }


  /* JS помечает только реальные элементы, которые вышли за viewport. */
  body.gl-cux-responsive-guard .gl-cux-overflow-fix{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.gl-cux-responsive-guard .gl-cux-overflow-fix.gl-cux-overflow-margin{
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Широкие таблицы лучше прокручивать внутри себя, а не двигать всю страницу. */
  body.gl-cux-responsive-guard :where(.woocommerce table,.shop_table,table){max-width:100%!important}
}

/* 1.0.3 — нормальная мобильная сетка товаров.
   В 1.0.2 защита от переполнения слишком агрессивно разрешала разрыв слов,
   поэтому длинные названия и кнопка «В корзину» могли разбиваться по буквам.
   На телефоне WooCommerce-карточки выводим в 2 колонки и не ломаем слова. */
@media (max-width: 768px){
  body.gl-cux-responsive-guard :where(.woocommerce ul.products,.woocommerce-page ul.products){
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:26px 14px!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    clear:both!important;
  }
  body.gl-cux-responsive-guard :where(.woocommerce ul.products,.woocommerce-page ul.products) > li.product{
    float:none!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  body.gl-cux-responsive-guard :where(.woocommerce ul.products,.woocommerce-page ul.products) > li.product :where(a,span,div,h2,h3,p){
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:auto;
  }
  body.gl-cux-responsive-guard :where(.woocommerce ul.products,.woocommerce-page ul.products) > li.product :where(.woocommerce-loop-product__title,h2,h3){
    font-size:15px!important;
    line-height:1.32!important;
    margin-top:8px!important;
  }
  body.gl-cux-responsive-guard :where(.woocommerce ul.products,.woocommerce-page ul.products) > li.product .price{
    font-size:15px!important;
    line-height:1.25!important;
    margin-top:7px!important;
  }
  body.gl-cux-responsive-guard :where(.woocommerce ul.products,.woocommerce-page ul.products) > li.product :where(.button,button,a.button,.added_to_cart){
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:44px!important;
    padding:10px 8px!important;
    margin-top:10px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    line-height:1.2!important;
    font-size:14px!important;
  }
  body.gl-cux-responsive-guard :where(.woocommerce ul.products,.woocommerce-page ul.products) > li.product img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* WooCommerce Blocks / Product Collection */
  body.gl-cux-responsive-guard :where(.wc-block-grid__products,.wc-block-product-template){
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:26px 14px!important;
    width:100%!important;
    max-width:100%!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.gl-cux-responsive-guard :where(.wc-block-grid__product,.wc-block-product){
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }
  body.gl-cux-responsive-guard :where(.wc-block-grid__product,.wc-block-product) :where(a,span,div,h2,h3,p){
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }
}
@media (max-width: 330px){
  body.gl-cux-responsive-guard :where(.woocommerce ul.products,.woocommerce-page ul.products,.wc-block-grid__products,.wc-block-product-template){
    grid-template-columns:1fr!important;
  }
}


/* 1.0.4 — компактная мобильная шапка Gardens Love */
.gl-cux-mobile-header,.gl-cux-mobile-search,.gl-cux-mobile-menu-overlay,.gl-cux-mobile-nav{display:none}
@media (max-width:768px){
  body.gl-cux-mobile-header-enabled{padding-top:60px!important}
  body.gl-cux-mobile-header-enabled #gl-cux-root{z-index:auto}

  /* Старую мобильную шапку Astra/темы полностью заменяем одной компактной строкой. */
  body.gl-cux-mobile-header-enabled :where(#masthead,header.site-header,.site-header,.ast-mobile-header-wrap,.ast-mobile-header,.main-header-bar-wrap,.ast-primary-header-bar,.ast-above-header-wrap,.ast-below-header-wrap){display:none!important}

  .gl-cux-mobile-header{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:4px;position:fixed;left:0;right:0;top:0;height:60px;padding:0 10px;background:#fff;border-bottom:1px solid #e8ece9;box-shadow:0 4px 18px rgba(21,42,31,.08);z-index:100500;color:#173c3f}
  body.admin-bar .gl-cux-mobile-header{top:46px}
  .gl-cux-mobile-header__burger,.gl-cux-mobile-search-toggle,.gl-cux-mobile-cart{appearance:none;border:0;background:transparent;color:#173c3f;width:42px;height:42px;min-width:42px;padding:0;margin:0;border-radius:10px;display:grid;place-items:center;position:relative;box-shadow:none!important;cursor:pointer}
  .gl-cux-mobile-header__burger{gap:4px;align-content:center}
  .gl-cux-mobile-header__burger span{display:block;width:23px;height:2.5px;border-radius:2px;background:currentColor}
  .gl-cux-mobile-header__brand{min-width:0;padding:0 4px;color:#173c3f!important;text-decoration:none!important;font-size:20px;font-weight:800;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
  .gl-cux-mobile-header__tools{display:flex;align-items:center;justify-content:flex-end;gap:0}
  .gl-cux-mobile-cart__count{position:absolute;right:1px;top:1px;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:#d94b43;color:#fff;font:800 10px/18px Arial,sans-serif;text-align:center;border:2px solid #fff;box-sizing:content-box}
  .gl-cux-mobile-cart__count.is-zero{display:none}
  .gl-cux-mobile-header button:focus-visible,.gl-cux-mobile-nav button:focus-visible,.gl-cux-mobile-nav a:focus-visible,.gl-cux-mobile-search input:focus-visible{outline:2px solid var(--gl-cux-accent);outline-offset:2px}

  /* Поиск раскрывается под шапкой и не занимает место постоянно. */
  .gl-cux-mobile-search{display:block;position:fixed;left:0;right:0;top:60px;padding:10px 12px;background:#fff;border-bottom:1px solid #e4e8e5;box-shadow:0 8px 20px rgba(0,0,0,.10);z-index:100499;transform:translateY(-130%);opacity:0;visibility:hidden;transition:transform .2s ease,opacity .2s ease,visibility .2s}
  body.admin-bar .gl-cux-mobile-search{top:106px}
  .gl-cux-mobile-search.is-open{transform:none;opacity:1;visibility:visible}
  .gl-cux-mobile-search form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  .gl-cux-mobile-search input[type=search]{width:100%!important;min-width:0!important;height:44px!important;margin:0!important;padding:0 13px!important;border:1px solid #cfd7d2!important;border-radius:10px!important;background:#fff!important;color:#1f2924!important;font-size:16px!important;box-shadow:none!important}
  .gl-cux-mobile-search button[type=submit]{height:44px!important;min-width:72px!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:10px!important;background:var(--gl-cux-accent)!important;color:#fff!important;font-weight:800!important;font-size:14px!important}

  /* Боковое меню: не раздвигает страницу, а выезжает поверх неё. */
  .gl-cux-mobile-menu-overlay{display:block;position:fixed;inset:0;background:rgba(9,18,13,.46);backdrop-filter:blur(2px);z-index:2147482990;opacity:0;visibility:hidden;transition:.22s}
  .gl-cux-mobile-nav{display:flex;flex-direction:column;position:fixed;left:0;top:0;width:min(88vw,370px);height:100dvh;background:#fff;color:#1d2922;z-index:2147483000;transform:translateX(-105%);transition:transform .26s ease;box-shadow:18px 0 45px rgba(0,0,0,.20);overflow:hidden}
  body.admin-bar .gl-cux-mobile-menu-overlay{top:46px}
  body.admin-bar .gl-cux-mobile-nav{top:46px;height:calc(100dvh - 46px)}
  body.gl-cux-mobile-menu-open{overflow:hidden!important}
  body.gl-cux-mobile-menu-open .gl-cux-mobile-menu-overlay{opacity:1;visibility:visible}
  body.gl-cux-mobile-menu-open .gl-cux-mobile-nav{transform:none}
  .gl-cux-mobile-nav__head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:8px 14px 8px 18px;border-bottom:1px solid #e5e9e6;background:#f8faf8;flex:0 0 auto}
  .gl-cux-mobile-nav__head>a{color:#173c3f!important;text-decoration:none!important;font-size:20px;font-weight:900;line-height:1.1}
  .gl-cux-mobile-nav__head>button{width:42px;height:42px;border:0;border-radius:50%;background:#edf1ee;color:#27312b;font-size:31px;line-height:1;padding:0;margin:0;display:grid;place-items:center}
  .gl-cux-mobile-nav__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:8px 0 14px}
  .gl-cux-mobile-nav__list,.gl-cux-mobile-nav__list ul{list-style:none!important;margin:0!important;padding:0!important;width:100%!important}
  .gl-cux-mobile-nav__list li{position:relative!important;margin:0!important;padding:0!important;border:0!important;width:100%!important;max-width:none!important;float:none!important;display:block!important}
  .gl-cux-mobile-nav__list>li{border-bottom:1px solid #edf0ee!important}
  .gl-cux-mobile-nav__list a{display:flex!important;align-items:center!important;min-height:50px!important;width:100%!important;padding:11px 54px 11px 20px!important;margin:0!important;color:#263129!important;text-decoration:none!important;font-size:16px!important;font-weight:700!important;line-height:1.3!important;background:transparent!important;border:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
  .gl-cux-mobile-nav__list>li.current-menu-item>a,.gl-cux-mobile-nav__list>li.current-menu-ancestor>a{color:var(--gl-cux-accent)!important;background:#f3f7f4!important}
  .gl-cux-submenu-toggle{position:absolute;right:8px;top:5px;width:40px;height:40px;border:0!important;border-radius:9px!important;background:#f4f6f4!important;color:#29322d!important;padding:0!important;margin:0!important;display:grid!important;place-items:center!important;z-index:2}
  .gl-cux-submenu-toggle span{display:block;font-size:20px;line-height:1;transition:transform .2s}
  .gl-cux-mobile-nav__list .sub-menu{display:none!important;background:#f8faf8!important;border-top:1px solid #edf0ee!important}
  .gl-cux-mobile-nav__list li.is-open>.sub-menu{display:block!important}
  .gl-cux-mobile-nav__list li.is-open>.gl-cux-submenu-toggle span{transform:rotate(180deg)}
  .gl-cux-mobile-nav__list .sub-menu a{min-height:45px!important;padding-left:34px!important;font-size:14px!important;font-weight:650!important}
  .gl-cux-mobile-nav__list .sub-menu .sub-menu a{padding-left:48px!important;font-size:13px!important}
  .gl-cux-mobile-nav__actions{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e5e9e6;background:#fff}
  .gl-cux-mobile-action{min-height:44px;display:flex!important;align-items:center;justify-content:center;gap:5px;border-radius:10px;background:#f0f4f1;color:#24402c!important;text-decoration:none!important;font-size:13px;font-weight:800;text-align:center;padding:8px!important}
  .gl-cux-mobile-action--phone{grid-column:1/-1;background:var(--gl-cux-accent)!important;color:#fff!important;font-size:15px}

  /* Корзина уже находится в шапке — отдельный зелёный круг на мобильном не нужен. */
  body.gl-cux-mobile-header-enabled.gl-cux-mobile-header-hide-float .gl-cux-float{display:none!important}

  /* Меню и корзина нашего плагина должны быть выше сторонних чатов/виджетов. */
  body.gl-cux-mobile-header-enabled .gl-cux-overlay{z-index:2147482980}
  body.gl-cux-mobile-header-enabled .gl-cux-drawer{z-index:2147482981}

  /* Не даём старой шапке оставлять искусственные пустые отступы. */
  body.gl-cux-mobile-header-enabled :where(.site-header-focus-item,.ast-header-break-point .main-header-bar,.ast-header-break-point .site-header){margin:0!important;padding:0!important;min-height:0!important}
}
@media (max-width:390px){
  .gl-cux-mobile-header{grid-template-columns:42px minmax(0,1fr) auto;padding-left:6px;padding-right:6px}
  .gl-cux-mobile-header__brand{font-size:18px;padding-left:2px;padding-right:2px}
  .gl-cux-mobile-header__burger,.gl-cux-mobile-search-toggle,.gl-cux-mobile-cart{width:39px;min-width:39px;height:40px}
}
@media (max-width:768px){
  body.gl-cux-mobile-header-enabled:not(.gl-cux-mobile-header-sticky) .gl-cux-mobile-header{position:absolute}
  body.gl-cux-mobile-header-enabled:not(.gl-cux-mobile-header-sticky) .gl-cux-mobile-search{position:absolute}
}

/* 1.0.5 — контрастные +/- в липкой панели: Astra/WooCommerce больше не могут сделать символы белыми */
@media(max-width:768px){.gl-cux-sticky__qty{border:1px solid #cfd8d2!important;background:#fff!important}.gl-cux-sticky__qty button::first-letter{color:#172b34!important}.gl-cux-sticky__qty button[disabled]{opacity:.38!important;cursor:not-allowed!important}}

/* 1.0.7 — компактный мобильный футер без дублирующих CTA связи */
.gl-cux-mobile-footer{display:none}
@media(max-width:768px){
  /* Старый футер темы на телефоне заменяем единым одноколоночным блоком. Карта и контент страницы остаются нетронутыми. */
  body.gl-cux-mobile-footer-enabled.gl-cux-mobile-footer-hide-theme :where(#colophon,footer.site-footer,.site-footer,.ast-footer-overlay,.footer-adv-overlay,.site-primary-footer-wrap,.site-below-footer-wrap,.ast-small-footer,.ast-footer-copyright){display:none!important}
  .gl-cux-mobile-footer{display:block;width:100%;max-width:100%;box-sizing:border-box;background:#f7faf8;color:#233029;border-top:1px solid #e1e9e4;padding:28px 18px calc(112px + env(safe-area-inset-bottom));margin:0;position:relative;z-index:2;overflow:hidden}
  .gl-cux-mobile-footer *{box-sizing:border-box;max-width:100%}
  .gl-cux-mobile-footer__contacts{display:grid;gap:0;margin-top:0;background:#fff;border:1px solid #e0e9e3;border-radius:16px;padding:4px 16px;overflow:hidden}
  .gl-cux-mobile-footer__contact{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;text-decoration:none!important;color:#25312a!important;border-bottom:1px solid #edf1ee;padding:13px 0!important;margin:0!important;background:transparent!important;min-height:0!important}
  .gl-cux-mobile-footer__contact span{font-size:12px!important;line-height:1.2!important;color:#7b857f!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.04em}
  .gl-cux-mobile-footer__contact strong{font-size:16px!important;line-height:1.35!important;color:#26332c!important;font-weight:800!important;overflow-wrap:anywhere}
  .gl-cux-mobile-footer__route{display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;margin:12px 0!important;border-radius:10px!important;background:#f0f5f1!important;color:var(--gl-cux-accent)!important;text-decoration:none!important;font-weight:850!important;font-size:14px!important;padding:9px 12px!important}
  .gl-cux-mobile-footer__nav{margin-top:18px;border:1px solid #e0e9e3;border-radius:16px;overflow:hidden;background:#fff}
  .gl-cux-mobile-footer__nav details{margin:0!important;padding:0!important;border:0!important;border-bottom:1px solid #e9eeeb;background:#fff}
  .gl-cux-mobile-footer__nav details:last-child{border-bottom:0}
  .gl-cux-mobile-footer__nav summary{list-style:none!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:54px!important;margin:0!important;padding:13px 16px!important;color:#26332c!important;background:#fff!important;font-size:16px!important;font-weight:850!important;cursor:pointer!important}
  .gl-cux-mobile-footer__nav summary::-webkit-details-marker{display:none}
  .gl-cux-mobile-footer__nav summary span{font-size:19px;line-height:1;transition:transform .2s}
  .gl-cux-mobile-footer__nav details[open] summary span{transform:rotate(180deg)}
  .gl-cux-mobile-footer__nav details>div{display:grid;padding:0 16px 12px;background:#fbfcfb}
  .gl-cux-mobile-footer__nav details>div a{display:block!important;padding:10px 0!important;margin:0!important;border-bottom:1px dashed #e8ece9;color:#405048!important;text-decoration:none!important;font-size:14px!important;font-weight:650!important;line-height:1.3!important}
  .gl-cux-mobile-footer__nav details>div a:last-child{border-bottom:0}
  .gl-cux-mobile-footer__legal{margin-top:16px;padding:0 4px;color:#7c8781;font-size:12px;line-height:1.45;text-align:center;overflow-wrap:anywhere}

  /* На новом футере не показываем старые крестики/меню темы, даже если они остаются в DOM вне #colophon. */
  body.gl-cux-mobile-footer-enabled :where(.footer-widget-area .menu-toggle,.footer-widget-area button.menu-toggle,.site-footer .menu-toggle){display:none!important}
}
