/* Loaded as its own early CSS asset: the inherited 200 KB global sheet was swallowing appended rules. */
@media (max-width: 1023px) {
  html body { padding-top: 58px !important; }
  html body [data-app-shell-root] { padding-top: 0 !important; }
  html body [data-app-shell-root] main { margin-top: 6px !important; }
  html body [data-mobile-shell="header"] { height: 58px !important; }
}

/* Desktop hero: keep its text centered over the existing image and 15% smaller. */
@media (min-width: 768px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div:first-child {
    display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important;
    width:100%!important; min-width:0!important; min-height:38rem!important; padding:3rem 2rem!important;
    background-image:url('/editorial/hero-tz-reference-v198.webp')!important; background-size:cover!important; background-position:center!important;
  }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div:first-child > div:first-child { width:100%!important; max-width:none!important; margin:0!important; padding:0!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div:first-child > div:nth-child(2) { display:none!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .max-w-\[62rem\] { width:100%!important; max-width:none!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .w-full.space-y-4.max-w-\[58rem\] { width:100%!important; max-width:58rem!important; margin-inline:auto!important; text-align:center!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero { display:flex!important; flex-direction:column!important; align-items:center!important; width:100%!important; max-width:100%!important; text-align:center!important; font-size:51px!important; line-height:1.04!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero .gp190-line { display:block!important; width:100%!important; text-align:center!important; font-size:51px!important; line-height:1.08!important; }
}

/* Mobile hero: stable 27.2 px type, visible word spaces, and no viewport-height blank block. */
@media (max-width: 767px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) { min-height:0!important; height:auto!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div:first-child { min-height:0!important; height:auto!important; width:100%!important; min-width:0!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div:first-child > div:first-child { width:100%!important; max-width:none!important; margin:0!important; padding:0!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div:first-child > div:nth-child(2) { display:none!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .max-w-\[62rem\],
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .w-full.space-y-4.max-w-\[58rem\] { width:100%!important; max-width:none!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero { display:block!important; width:100%!important; max-width:100%!important; margin-inline:auto!important; text-align:center!important; font-size:27.2px!important; line-height:1.1!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero .gp190-line { display:inline!important; width:auto!important; max-width:none!important; font-size:27.2px!important; line-height:1.1!important; text-align:center!important; white-space:normal!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero .gp190-line:not(:last-child)::after { content:" "!important; display:inline!important; white-space:pre!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero-sub { display:block!important; width:100%!important; max-width:100%!important; text-align:center!important; margin-inline:auto!important; white-space:normal!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .space-y-5 > div.flex.flex-nowrap { display:flex!important; flex-direction:column!important; align-items:stretch!important; gap:.65rem!important; width:100%!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .space-y-5 > div.flex.flex-nowrap > a { width:100%!important; max-width:100%!important; min-height:44px!important; flex:none!important; white-space:normal!important; text-align:center!important; justify-content:center!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) { background-image:linear-gradient(rgba(255,252,248,.16),rgba(255,252,248,.16)),url('/editorial/hero-tz-reference-v198.webp')!important; background-size:cover!important; background-position:center!important; }
}

@media (max-width: 374px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero-sub { overflow-wrap:anywhere!important; }
}

/* Replace the flower badge with the provided brand wordmark in the mobile header. */
@media (max-width: 767px) {
  html body header.mobile-fixed-top nav.grid > a.mt-1[href="/"] {
    display:block!important; justify-self:center!important; width:64px!important; min-width:64px!important; max-width:64px!important;
    height:46px!important; min-height:46px!important; max-height:46px!important; flex:0 0 64px!important; margin:0!important; padding:0!important;
    overflow:hidden!important; border:0!important; border-radius:0!important; background:#f6f0e4 url('/editorial/garmoniyaplus-logo-v198.webp') center / 72px 46px no-repeat!important;
    color:transparent!important; font-size:0!important;
  }
  html body header.mobile-fixed-top nav.grid > a.mt-1[href="/"] > div:first-child,
  html body header.mobile-fixed-top nav.grid > a.mt-1[href="/"] > span { display:none!important; }
}

/* Brand green must apply to the visible trigger and its colored disc, above legacy injected pink rules. */
html body button.gp-contact-widget-main,
html body button[aria-label="Открыть способы связи"] {
  background:#123f32!important; background-color:#123f32!important; background-image:none!important;
  border-color:#fff!important; box-shadow:0 18px 42px rgba(18,63,50,.24)!important;
}
html body button.gp-contact-widget-main::after,
html body button[aria-label="Открыть способы связи"]::after { background:#123f32!important; background-image:none!important; }
html body button.gp-contact-widget-main::before,
html body button[aria-label="Открыть способы связи"]::before { background:conic-gradient(rgba(18,63,50,.12),rgba(234,220,189,.9),rgba(18,63,50,.75),rgba(255,255,255,.3),rgba(234,220,189,.9))!important; }

/* Keep the two About photos distinct at every width. */
html body.gp-path-about main section:first-of-type .grid > div[class*="min-h-[20rem]"] > div.bg-cover.bg-no-repeat { background-image:url('/editorial/gp-storefront-v198.webp')!important; }

/* v233 overrides: apply the header reservation once and keep it stable before hydration. */
@media (max-width: 1023px) {
  html body { padding-top: 58px !important; }
  html body [data-app-shell-root] { padding-top: 0 !important; }
}

/* v233: keep the fixed navigation's center slot sized for the supplied wordmark. */
@media (max-width: 767px) {
  html body header.mobile-fixed-top nav.grid > a.mt-1[href="/"] {
    display:block!important; justify-self:center!important; width:64px!important; min-width:64px!important; max-width:64px!important;
    height:46px!important; min-height:46px!important; max-height:46px!important; flex:0 0 64px!important; margin:0!important; padding:0!important;
    overflow:hidden!important; border:0!important; border-radius:0!important; background:#f6f0e4 url('/editorial/garmoniyaplus-logo-v198.webp') center / 72px 46px no-repeat!important; color:transparent!important; font-size:0!important;
  }
  html body header.mobile-fixed-top nav.grid > a.mt-1[href="/"] > div:first-child,
  html body header.mobile-fixed-top nav.grid > a.mt-1[href="/"] > span { display:none!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) { min-height:0!important; height:auto!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div:first-child { min-height:0!important; height:auto!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero .gp190-line { font-size:27.2px!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero .gp190-line:not(:last-child)::after { content:" "!important; display:inline!important; white-space:pre!important; }
}

/* v233: the visible chat trigger must use the site's green, above older injected styles. */
html body button.gp-contact-widget-main, html body button[aria-label="Открыть способы связи"] { background:#123f32!important; background-color:#123f32!important; background-image:none!important; border-color:#fff!important; box-shadow:0 18px 42px rgba(18,63,50,.24)!important; }
html body button.gp-contact-widget-main::after, html body button[aria-label="Открыть способы связи"]::after { background:#123f32!important; background-image:none!important; }

/* v233: make the storefront and consultant image distinct at mobile and desktop widths. */
html body.gp-path-about main section:first-of-type .grid > div[class*="min-h-[10.5rem]"] > div.bg-cover.bg-no-repeat { background-image:url('/editorial/garmonia-store-v198.webp')!important; }
html body.gp-path-about main section:first-of-type .grid > div[class*="min-h-[20rem]"] > div.bg-cover.bg-no-repeat { background-image:url('/editorial/gp-storefront-v198.webp')!important; }

/* v233: route classes arrive after hydration, so critical hero geometry uses the SSR marker directly. */
/* v236: reserve the header within the app shell from the first inline style; keep body at y=0. */
html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero { width:100%!important; max-width:100%!important; margin-inline:auto!important; text-align:center!important; }
@media (max-width: 767px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero { display:block!important; font-size:27.2px!important; line-height:1.1!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero .gp190-line { display:inline!important; width:auto!important; max-width:none!important; font-size:27.2px!important; line-height:1.1!important; text-align:center!important; white-space:normal!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero .gp190-line:not(:last-child)::after { content:" "!important; display:inline!important; white-space:pre!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero-sub { display:block!important; width:100%!important; max-width:100%!important; text-align:center!important; margin-inline:auto!important; white-space:normal!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .space-y-5 > div.flex.flex-nowrap { display:flex!important; flex-direction:column!important; align-items:stretch!important; gap:.65rem!important; width:100%!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .space-y-5 > div.flex.flex-nowrap > a { width:100%!important; max-width:100%!important; min-height:44px!important; flex:none!important; white-space:normal!important; text-align:center!important; justify-content:center!important; }
}
@media (min-width: 768px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero { display:flex!important; flex-direction:column!important; align-items:center!important; font-size:51px!important; line-height:1.04!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) .gp190-hero .gp190-line { display:block!important; width:100%!important; text-align:center!important; font-size:51px!important; line-height:1.08!important; }
}

@media (max-width: 767px) {
  html body header.mobile-fixed-top nav.grid > a.mt-1[href="/"] > * { display:none!important; }
}

/* v236: enforce the exact reduced size on the heading wrapper after route hydration. */
@media (max-width: 767px) {
  html body.gp-path-home main section .gp190-hero[data-gp190hero="1"] { font-size:27.2px!important; }
}
@media (min-width: 768px) {
  html body.gp-path-home main section .gp190-hero[data-gp190hero="1"] { font-size:51px!important; }
}

/* v238: ensure content begins below the fixed 58px mobile header from first paint. */
@media (max-width: 1023px) { html body [data-app-shell-root] main { margin-top:6px!important; } }


/* v238: target the real homepage hero DOM and the marker attached by the runtime overlay. */
@media (max-width: 767px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid {
    display:flex!important; flex-direction:column!important; align-items:stretch!important;
    background-image:url('/editorial/hero-tz-reference-v198.webp')!important; background-size:cover!important; background-position:center!important;
  }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:nth-child(2) { display:none!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child {
    width:100%!important; max-width:none!important; min-width:0!important; flex:1 1 100%!important;
  }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child > div.max-w-\[62rem\] {
    width:100%!important; max-width:none!important; min-width:0!important;
  }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid .w-full.space-y-4.max-w-\[58rem\] {
    width:100%!important; max-width:100%!important; min-width:0!important;
  }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) [data-gp-preview-title] {
    display:block!important; width:100%!important; min-width:0!important; max-width:100%!important;
    margin-inline:auto!important; text-align:center!important; font-size:27.2px!important; line-height:1.1!important;
  }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) [data-gp-preview-title] > span:first-child,
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) [data-gp-preview-title] > span:first-child > span {
    display:block!important; width:100%!important; max-width:100%!important; font-size:27.2px!important; line-height:1.1!important; text-align:center!important; white-space:normal!important;
  }
}
@media (min-width: 768px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid {
    display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important;
    width:100%!important; min-height:38rem!important; padding:3rem 2rem!important;
    background-image:url('/editorial/hero-tz-reference-v198.webp')!important; background-size:cover!important; background-position:center!important;
  }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child {
    width:100%!important; max-width:none!important; min-width:0!important; flex:1 1 100%!important;
  }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:nth-child(2) { display:none!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child > div.max-w-\[62rem\] { width:100%!important; max-width:none!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid .w-full.space-y-4.max-w-\[58rem\] { width:100%!important; max-width:58rem!important; margin-inline:auto!important; text-align:center!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) [data-gp-preview-title] { display:block!important; width:100%!important; min-width:0!important; max-width:100%!important; margin-inline:auto!important; text-align:center!important; font-size:51px!important; line-height:1.08!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) [data-gp-preview-title] > span:last-child,
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) [data-gp-preview-title] > span:last-child > span { display:block!important; width:100%!important; max-width:100%!important; font-size:51px!important; line-height:1.08!important; text-align:center!important; }
}


/* v239: match the actual first-screen SSR tree before client hydration and later brand-style rules. */
@media (max-width: 767px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid {
    display:flex!important; flex-direction:column!important; align-items:stretch!important;
    background-image:url('/editorial/hero-tz-reference-v198.webp')!important; background-size:cover!important; background-position:center!important;
  }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:nth-child(2) { display:none!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child { width:100%!important; max-width:none!important; min-width:0!important; flex:1 1 100%!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child > div.max-w-\[62rem\] { width:100%!important; max-width:none!important; min-width:0!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid .w-full.space-y-4.max-w-\[58rem\] { width:100%!important; max-width:100%!important; min-width:0!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child > div.max-w-\[62rem\] .w-full.space-y-4.max-w-\[58rem\] > h2,
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) [data-gp-preview-title] { display:block!important; width:100%!important; min-width:0!important; max-width:100%!important; margin-inline:auto!important; text-align:center!important; font-size:27.2px!important; line-height:1.1!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child > div.max-w-\[62rem\] .w-full.space-y-4.max-w-\[58rem\] > h2 > span:first-child,
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child > div.max-w-\[62rem\] .w-full.space-y-4.max-w-\[58rem\] > h2 > span:first-child > span { display:block!important; width:100%!important; max-width:100%!important; font-size:27.2px!important; line-height:1.1!important; text-align:center!important; white-space:normal!important; }
}
@media (min-width: 768px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid {
    display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important;
    width:100%!important; min-height:38rem!important; padding:3rem 2rem!important;
    background-image:url('/editorial/hero-tz-reference-v198.webp')!important; background-size:cover!important; background-position:center!important;
  }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child { width:100%!important; max-width:none!important; min-width:0!important; flex:1 1 100%!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:nth-child(2) { display:none!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child > div.max-w-\[62rem\] { width:100%!important; max-width:none!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid .w-full.space-y-4.max-w-\[58rem\] { width:100%!important; max-width:58rem!important; margin-inline:auto!important; text-align:center!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child > div.max-w-\[62rem\] .w-full.space-y-4.max-w-\[58rem\] > h2,
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) [data-gp-preview-title] { display:block!important; width:100%!important; min-width:0!important; max-width:100%!important; margin-inline:auto!important; text-align:center!important; font-size:51px!important; line-height:1.08!important; }
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child > div.max-w-\[62rem\] .w-full.space-y-4.max-w-\[58rem\] > h2 > span:last-child,
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child > div.max-w-\[62rem\] .w-full.space-y-4.max-w-\[58rem\] > h2 > span:last-child > span { display:block!important; width:100%!important; max-width:100%!important; font-size:51px!important; line-height:1.08!important; text-align:center!important; }
}
@media (max-width: 1023px) {
  html body [data-app-shell-root] main.relative.z-10 { margin-top:6px!important; }
}


/* v248: keep the team photo in its own consultants section and use a distinct storefront close-up in the second store slot. */
html body.gp-path-about main section:nth-of-type(2) .absolute.inset-0.bg-cover.bg-no-repeat {
  background-image:url('/editorial/gp-consultants-v198.webp')!important;
  background-size:cover!important; background-position:center!important;
}

/* The mobile home hero uses the section itself; the desktop-only art layer is 0x0 on phones. */
@media (max-width: 767px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) {
    background-image:linear-gradient(rgba(255,252,248,.78),rgba(255,252,248,.78)),url('/editorial/hero-tz-reference-v198.webp')!important;
    background-size:cover!important; background-position:center!important;
  }
}

/* Mobile About: keep one wide storefront photo; the next distinct image is the consultants team. */
@media (max-width: 1023px) {
  html body main > div.space-y-6 > section:first-child:has(> div.grid > div:first-child h2.leading-none) > div.grid { display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:1.25rem!important; }
  html body main > div.space-y-6 > section:first-child:has(> div.grid > div:first-child h2.leading-none) > div.grid > div:first-child { grid-column:1/-1!important; width:100%!important; max-width:none!important; }
  html body main > div.space-y-6 > section:first-child:has(> div.grid > div:first-child h2.leading-none) > div.grid > div:nth-child(2) { display:block!important; grid-column:1/-1!important; width:100%!important; min-height:0!important; aspect-ratio:16/9!important; }
  html body main > div.space-y-6 > section:first-child:has(> div.grid > div:first-child h2.leading-none) > div.grid > div:nth-child(3) { display:none!important; }
}

/* v250 stage 1: one mobile art layer; remove only the homepage decorative benefit badge. */
html body main section[data-gp-home-hero="1"] > div.grid > div:first-child::after {
  content:none!important; display:none!important;
}
@media(max-width:767px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) {
    background-image:none!important; background-color:#faf7f1!important; backdrop-filter:none!important;
  }
}

/* v251: remove the old badge's reserved gap; retain normal card padding. */
@media(max-width:767px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid { margin-bottom:0!important; }
}
/* v251 stage 2: centered complete wordmark and balanced mobile navigation. */
@media(max-width:1023px) {
  html body header.mobile-fixed-top[data-mobile-shell="header"] nav.grid {
    grid-template-columns:minmax(0,1fr) clamp(48px,16.4vw,64px) minmax(0,1fr)!important;
    gap:4px!important; align-items:center!important;
  }
  html body header.mobile-fixed-top[data-mobile-shell="header"] nav.grid > div {
    width:100%!important; min-width:0!important; justify-content:space-between!important;
  }
  html body header.mobile-fixed-top[data-mobile-shell="header"] nav.grid > div > a {
    flex:1 1 0!important; min-width:0!important; padding-inline:0!important;
  }
  html body header.mobile-fixed-top[data-mobile-shell="header"] nav.grid > a.mt-1[href="/"] {
    width:100%!important; min-width:0!important; max-width:64px!important; height:46px!important;
    background-color:transparent!important; background-size:contain!important;
    background-image:url('/editorial/gp-mobile-wordmark-v295.webp')!important;
    background-position:center!important; background-repeat:no-repeat!important;
    filter:none!important; mix-blend-mode:normal!important;
    margin:0!important; padding:0!important; overflow:hidden!important;
  }
  html body header.mobile-fixed-top[data-mobile-shell="header"] nav.grid > a.mt-1[href="/"] > * {display:none!important;}
  html body [data-mobile-shell="dock"] a[href="/catalog"] > span:last-child {
    color:#261d16!important; display:block!important; visibility:visible!important; opacity:1!important;
    font-size:10px!important; line-height:1.15!important; white-space:nowrap!important;
  }
}

/* v252: preserve equal slot widths for search buttons and show all seven header actions. */
@media(max-width:1023px) {
  html body header.mobile-fixed-top[data-mobile-shell="header"] nav.grid > div > a,
  html body header.mobile-fixed-top[data-mobile-shell="header"] nav.grid > div > button {
    display:flex!important; flex:1 1 0!important; min-width:0!important; max-width:none!important;
  }
}

/* Keep the removed badge reserve absent on tablets too. */
@media(max-width:1023px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid {margin-bottom:0!important;}
}
/* v253 stage 3: original sharp photos, no white veil, preserve the whole square team photo. */
html body main section[data-gp-page-section="about"] > div.grid > div.relative.overflow-hidden > div.bg-cover.bg-no-repeat {
  filter:none!important; backdrop-filter:none!important;
}
html body main section[data-gp-page-section="about"] > div.grid > div.relative.overflow-hidden > div.bg-cover.bg-no-repeat + div {display:none!important;}
html body main section[data-gp-page-section="about"][data-gp-section-title="О нас"] > div.grid > div.relative.overflow-hidden {
  aspect-ratio:1672 / 941!important; height:auto!important; min-height:0!important;
}
html body main section[data-gp-page-section="about"][data-gp-section-title="О нас"] > div.grid > div.relative.overflow-hidden > div.bg-cover.bg-no-repeat {
  background-image:url('/editorial/garmonia-store-v198.webp')!important;
  background-size:contain!important; background-position:center!important;
}
@media(min-width:1024px) {
 html body main section[data-gp-page-section="about"][data-gp-section-title="О нас"] > div.grid > div.relative.overflow-hidden > div.bg-cover.bg-no-repeat {background-image:url('/editorial/gp-storefront-v198.webp')!important;}
}
html body main section[data-gp-page-section="about"][data-gp-section-title="О наших консультантах"] > div.grid > div.relative.overflow-hidden {
  width:100%!important; max-width:32rem!important; height:auto!important; min-height:0!important;
  aspect-ratio:1 / 1!important; margin-inline:auto!important;
}
html body main section[data-gp-page-section="about"][data-gp-section-title="О наших консультантах"] > div.grid > div.relative.overflow-hidden > div.bg-cover.bg-no-repeat {
  background-image:url('/editorial/gp-consultants-v198.webp')!important;
  background-size:contain!important; background-position:center!important; filter:none!important;
}

/* v254: size the SSR title as well as the hydrated title, avoiding a full-size first paint. */
@media(max-width:767px) {
html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child h2,
html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child h2 span {font-size:27.2px!important;line-height:1.1!important;}
}
@media(min-width:768px) {
html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child h2,
html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child h2 span {font-size:51px!important;line-height:1.1!important;}
}
@media(max-width:1023px) {
 html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) h2:not(.gp190-hero) > span:first-child {display:block!important;}
 html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) h2:not(.gp190-hero) > span:last-child {display:none!important;}
}
@media(min-width:1024px) {
 html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) h2:not(.gp190-hero) > span:first-child {display:none!important;}
 html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) h2:not(.gp190-hero) > span:last-child {display:block!important;}
}

/* v254 stage 4: FAQ content participates in flow; answers read from the left. */
html body main:has(details.gp-faq-details) .mt-8,
html body.gp-path-faq main.gp190-faq .mt-8 {
  position:static!important; height:auto!important; min-height:0!important; max-height:none!important; display:block!important;
}
html body main:has(details.gp-faq-details) .space-y-4,
html body.gp-path-faq main.gp190-faq .space-y-4 {
  position:static!important; inset:auto!important; transform:none!important; height:auto!important; min-height:0!important;
  max-height:none!important; visibility:visible!important; opacity:1!important; width:100%!important;
}
html body main:has(details.gp-faq-details) details.gp-faq-details > div {
  text-align:left!important; white-space:pre-line!important; overflow-wrap:break-word!important;
}

/* About desktop also had a pseudo-element veil; use the original image alone. */
html body main section[data-gp-page-section="about"] > div.grid > div.relative.overflow-hidden::before,
html body main section[data-gp-page-section="about"] > div.grid > div.relative.overflow-hidden::after {content:none!important;display:none!important;}
/* v255 stage 5: only the online-consultant menu icon uses the catalogue green. */
html body button[data-gp-contact-open-form] > span.gp-contact-widget-icon-bubble-v2 {
 background:#123f32!important; color:white!important;
 border-color:#123f32!important; box-shadow:0 10px 24px rgba(18,63,50,.16)!important;
}
/* v255 stage 6: center contacts content within its actual column, not a narrower left-aligned wrapper. */
@media(min-width:1024px) {
 html body #consultation-form > div.grid > div.space-y-4 > div:first-child {
  width:100%!important; max-width:none!important; margin-inline:auto!important; text-align:center!important;
 }
 html body #consultation-form > div.grid > div.space-y-4 > div:first-child h1,
 html body #consultation-form > div.grid > div.space-y-4 > div:first-child p {
  width:100%!important; max-width:none!important; margin-inline:auto!important; text-align:center!important;
 }
}

/* v256 stage 8: notice is an ordinary row, not a shared hero/button layout. */
html body main .gp-work-hours-note.gp-work-hours-note.gp-work-hours-note[role="note"] {
 position:relative!important; inset:auto!important; transform:none!important; width:100%!important; max-width:none!important;
 height:auto!important; min-height:0!important; margin:1.25rem 0 0!important; padding:1rem!important;
 flex-direction:row!important; align-items:flex-start!important; justify-content:flex-start!important; gap:.75rem!important;
 border:1px solid rgba(18,63,50,.12)!important; border-radius:1rem!important; background:#eef4ef!important;
 box-shadow:none!important; text-align:left!important; color:#123f32!important;
}
html body main .gp-work-hours-note.gp-work-hours-note.gp-work-hours-note[role="note"]::before {
 content:"i"!important; display:inline-flex!important; align-items:center!important; justify-content:center!important;
 width:24px!important; min-width:24px!important; max-width:24px!important; height:24px!important;
 flex:0 0 24px!important; border-radius:50%!important; background:#123f32!important; color:white!important;
 margin:0!important; padding:0!important; position:static!important;
}
html body main .gp-work-hours-note.gp-work-hours-note.gp-work-hours-note[role="note"] > div {
 position:static!important; inset:auto!important; transform:none!important; flex:1 1 auto!important;
 width:auto!important; min-width:0!important; max-width:none!important; height:auto!important; min-height:0!important;
 margin:0!important; padding:0!important; background:none!important; border:0!important; box-shadow:none!important;
}
html body main .gp-work-hours-note.gp-work-hours-note.gp-work-hours-note[role="note"] strong,
html body main .gp-work-hours-note.gp-work-hours-note.gp-work-hours-note[role="note"] span {
 display:block!important; text-align:left!important; white-space:normal!important; max-width:100%!important;
}
html body main .gp-work-hours-note.gp-work-hours-note.gp-work-hours-note[role="note"] strong {font-size:15px!important;line-height:1.4!important;}
html body main .gp-work-hours-note.gp-work-hours-note.gp-work-hours-note[role="note"] span {font-size:14px!important;line-height:1.5!important;margin-top:.3rem!important;}
html body.gp-path-cart main > div.space-y-6 > section:first-child {
 display:block!important; height:auto!important; min-height:0!important; padding:clamp(1.25rem,3vw,2rem)!important;
}
html body.gp-path-cart main > div.space-y-6 > section:first-child h1 {font-size:clamp(1.75rem,3vw,2.75rem)!important;line-height:1.1!important;margin-top:.75rem!important;}
html body.gp-path-cart main a[href="/catalog"] {color:#123f32!important;text-decoration:underline!important;text-underline-offset:3px;}

/* v258: honest compact placeholder before saved favorites are restored; no full catalogue flash. */
html body main section.gp-favorites-loading {padding:1.5rem 0;min-height:25rem;}
html body main section.gp-favorites-loading h1 {font-family:var(--font-heading);font-size:clamp(2rem,4vw,3rem);line-height:1.1;}
html body main section.gp-favorites-loading p {margin-top:.75rem;color:var(--brand-muted);}
html body main .gp-favorites-loading-card {margin-top:1.5rem;width:100%;max-width:24rem;height:16rem;border-radius:1.5rem;background:rgba(255,255,255,.65);}
/* Keep the original requisites-card bounds after retiring its old inline geometry writer. */
@media(min-width:768px) {
 html body.gp-path-contacts main section.gp-requisites-card {
  position:relative!important; left:50%!important; width:calc(100vw - 3rem)!important;
  max-width:84rem!important; margin-left:0!important; transform:translateX(-50%)!important;
 }
}

/* The removed icon must not leave the legacy two-column track behind. */
html body.gp-path-contacts main section.gp-requisites-card.gp-requisites-card {
 grid-template-columns:minmax(0,1fr)!important;
}
html body.gp-path-contacts main section.gp-requisites-card.gp-requisites-card > div:not(.gp-requisites-icon) {
 width:100%!important; max-width:none!important; min-width:0!important;
}

html body main .gp-work-hours-note.gp-work-hours-note.gp-work-hours-note[role="note"] > div::before,
html body main .gp-work-hours-note.gp-work-hours-note.gp-work-hours-note[role="note"] > div::after {
 content:none!important; display:none!important; box-shadow:none!important;
}

/* Narrow cart rows retain a visible, tappable remove action. */
@media(max-width:767px){
 html body.gp-path-cart .gp-cart-mobile-bottom-v2 {
  display:grid!important; grid-template-columns:minmax(0,1fr) auto!important;
  gap:.5rem .6rem!important; align-items:center!important; min-width:0!important;
 }
 html body.gp-path-cart .gp-cart-mobile-bottom-v2 .gp-cart-qty-v2 {
  grid-column:1 / -1!important; min-width:0!important; width:min(100%,9rem)!important;
 }
 html body.gp-path-cart .gp-cart-mobile-bottom-v2 > strong {white-space:nowrap!important;}
 html body.gp-path-cart .gp-cart-mobile-bottom-v2 .gp-cart-remove-v2 {
  min-height:32px!important; padding:.25rem 0!important; margin:0!important;
  white-space:nowrap!important; justify-self:end!important;
 }
}

/* v277: reserve the existing final home shell from first paint, before legacy route classes. */
@media(min-width:1024px) {
  html body:has(main [data-gp-home-hero="1"]) {padding-top:var(--gp-site-header-height,5.6rem)!important;}
  html body:has(main [data-gp-home-hero="1"]) [data-app-shell-root] > div.hidden > header:not([data-mobile-shell="header"]) {
    position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:180!important;transform:none!important;
  }
}
@media(max-width:1023px) {
  html body [data-app-shell-root] main:has([data-gp-home-hero="1"]) {padding-top:.25rem!important;}
  html body:has(main [data-gp-home-hero="1"]) header[data-mobile-shell="header"] > div {padding:3px 12px 0!important;}
}

/* Match the dock breakpoint immediately, including after viewport rotation. */
@media (max-width:1023px) {
  html body .gp-contact-widget-fallback {
    right:.95rem !important;
    bottom:calc(var(--mobile-viewport-bottom,0px) + var(--mobile-dock-height,5.35rem) + .85rem) !important;
  }
}
@media (min-width:1024px) {
  html body .gp-contact-widget-fallback.is-mobile {
    right:1.45rem !important;
    bottom:calc(var(--mobile-viewport-bottom,0px) + 1.45rem) !important;
  }
}


/* v308 desktop: lower the hero copy and actions, and keep the active favorite glyph visible. */
@media (min-width: 1024px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"] > div.grid > div.max-w-\[62rem\] {
    position:relative!important;
    top:clamp(4.5rem,5.5vw,5.5rem)!important;
  }
  html body header a[aria-label="Избранное"][href="/catalog/all-products?favorites=1"] > svg:not([aria-hidden]) {
    display:block!important;
    position:relative!important;
    inset:auto!important;
    width:18px!important;
    min-width:18px!important;
    height:18px!important;
    min-height:18px!important;
    max-width:none!important;
    max-height:none!important;
    transform:none!important;
    clip-path:none!important;
    opacity:1!important;
    visibility:visible!important;
    overflow:visible!important;
    fill:none!important;
    stroke:currentColor!important;
  }
  html body header a[aria-label="Избранное"][href="/catalog/all-products?favorites=1"] > svg:not([aria-hidden]) path {
    fill:none!important;
    stroke:currentColor!important;
  }
}


/* Active desktop favorite has one outline glyph plus its count badge. */
@media (min-width: 1024px) {
  html body header a[aria-label="Избранное"][href="/catalog/all-products?favorites=1"]::before {
    content:none!important;
    display:none!important;
  }
}

/* v308 desktop: make the cold-loading shell share the settled favorites layout. */
@media (min-width:1024px) {
  html body main section.gp-favorites-loading {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"title" "loading"!important;
    gap:1.15rem!important;
    width:min(90vw,108rem)!important;
    min-height:0!important;
    margin:1.5rem auto 4rem!important;
    padding:1.45rem 0 0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
  }
  html body main section.gp-favorites-loading > h1 {
    grid-area:title!important;
    margin:0!important;
    padding:1.35rem 1.5rem!important;
    border:1px solid rgba(255,255,255,.76)!important;
    border-radius:1.85rem!important;
    background:rgba(255,255,255,.88)!important;
    box-shadow:0 18px 48px rgba(36,29,25,.075)!important;
    font-family:var(--font-heading,serif)!important;
    font-size:clamp(2rem,4vw,3.45rem)!important;
    line-height:.96!important;
  }
  html body main section.gp-favorites-loading > p[role="status"] {
    grid-area:loading!important;
    z-index:1!important;
    align-self:center!important;
    justify-self:center!important;
    width:min(90%,34rem)!important;
    margin:0!important;
    padding:0!important;
    color:var(--brand-muted,#8b7b72)!important;
    text-align:center!important;
  }
  html body main section.gp-favorites-loading > .gp-favorites-loading-card {
    grid-area:loading!important;
    width:100%!important;
    max-width:none!important;
    height:15rem!important;
    margin:0!important;
    border:1px dashed rgba(175,90,102,.22)!important;
    border-radius:1.65rem!important;
    background:rgba(255,255,255,.84)!important;
    box-shadow:0 18px 48px rgba(36,29,25,.055)!important;
  }
}

/* Header favorites uses the same SVG before and after navigation. */
html body header nav a[aria-label="Избранное"][href="/catalog/all-products?favorites=1"] {
  transition:none!important;
}
html body header nav a[aria-label="Избранное"][href="/catalog/all-products?favorites=1"]::before {
  content:none!important;
  display:none!important;
}
html body header nav a[aria-label="Избранное"][href="/catalog/all-products?favorites=1"] svg {
  display:block!important;
}
html body header nav a[aria-label="Избранное"][href="/catalog/all-products?favorites=1"] :is(svg, svg *) {
  fill:none!important;
  stroke:currentColor!important;
  color:inherit!important;
  transition:none!important;
}
@media (min-width:1024px) {
  html.gp-favorites-route93 body header nav a[aria-label="Избранное"][href="/catalog/all-products?favorites=1"] {
    background:var(--brand-primary)!important;
    border-color:var(--brand-primary)!important;
    color:#fff!important;
  }
}
@media (max-width:1023px) {
  html.gp-favorites-route93 body header[data-mobile-shell="header"] nav a[aria-label="Избранное"][href="/catalog/all-products?favorites=1"] {
    background:transparent!important;
    border-color:transparent!important;
    box-shadow:none!important;
    color:var(--brand-primary)!important;
  }
  html.gp-favorites-route93 body header[data-mobile-shell="header"] nav a[aria-label="Избранное"][href="/catalog/all-products?favorites=1"] > span:not([data-gp-action-badge]):not([data-gp-desktopfix-badge]) {
    color:inherit!important;
  }
  html body header.mobile-fixed-top[data-mobile-shell="header"] > div {
    padding-inline:12px!important;
  }
  html body header[data-mobile-shell="header"] nav a:is([href="/compare"],[href="/cart"],[href="/catalog/all-products?favorites=1"]) :is([data-gp-action-badge],[data-gp-desktopfix-badge]) {
    top:0!important;
    left:calc(50% + 8px)!important;
    right:auto!important;
    transform:none!important;
    min-width:12px!important;
    min-height:12px!important;
    height:12px!important;
    padding:0 2px!important;
    font-size:9px!important;
    line-height:1!important;
    pointer-events:none;
  }
  html.gp-favorites-route93 body main [data-gp-lite-favorites-page] .gp-lite-favorites-card-title {
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    height:3lh!important;
    min-height:3lh!important;
    max-height:3lh!important;
    overflow:hidden!important;
    overflow-wrap:anywhere;
  }
}
@media (max-width:767px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid {
    background-size:auto 110%!important;
    background-position:calc(50% - 38px) bottom!important;
  }
}

/* Keep the subtitle in the clear middle of the artwork on phone screens. */
@media (max-width:767px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child :is(.gp190-hero-sub, p) {
    max-width:13.75rem!important;
    margin-inline:auto!important;
    white-space:normal!important;
    text-wrap:balance;
  }
}

/* Limit wide phone headlines to the clear center of the hero image. */
@media (min-width:400px) and (max-width:767px) {
  html body main > div.space-y-6 > section:first-child[data-gp-home-hero="1"]:has(> div.grid > div:first-child h2.leading-\[1\.02\]) > div.grid > div:first-child.max-w-\[62rem\] > div.w-full.space-y-4.max-w-\[58rem\] > h2[class] {
    max-width:16rem!important;
    margin-inline:auto!important;
  }
}
/* The legacy list renderer may resolve browser storage before React hydrates. */
main:has([data-gp-storage-action-page][data-gp-storage-kind="cart"]) [data-gp-shop-loading="cart"],
main:has([data-gp-storage-action-page][data-gp-storage-kind="compare"]) [data-gp-shop-loading="compare"] {
  display: none !important;
}
/* v308: only destructive rose primary actions become the existing brand green.
   Keep rose navigation accents and non-action decoration unchanged. */
html[data-gp-storefront300] main :is(a,button,[role="button"],input[type="submit"])[class*="bg-[var(--brand-primary)]"],
html[data-gp-storefront300] main :is(a,button,[role="button"],input[type="submit"])[style*="background-color: rgb(166, 95, 105)"],
html[data-gp-storefront300] main :is(a,button,[role="button"],input[type="submit"])[style*="background: rgb(166, 95, 105)"] {
  background-color:#123f32!important;
  background-image:none!important;
  border-color:#123f32!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(18,63,50,.16)!important;
}
html[data-gp-storefront300] main :is(a,button,[role="button"],input[type="submit"])[class*="bg-[var(--brand-primary)]"]:hover {
  background-color:#0f352b!important;
  border-color:#0f352b!important;
}
/* Product-card action controls use the same green in their active outline state. */
html[data-gp-storefront300] main article button {
  --brand-primary:#123f32!important;
}
/* The chat control stays green with a high-contrast white glyph. */
html[data-gp-storefront300] button.gp-contact-widget-main svg,
html[data-gp-storefront300] button[aria-label="Открыть способы связи"] svg { color:#fff!important; stroke:#fff!important; }

/* The important layer wins over the older unlayered rules injected by the catalog. */
@layer gpMobileFilters {
  @media (max-width: 1023px) {
    html body .gp-old-filter-overlay {
      inset: var(--mobile-header-height, 58px) 0 var(--mobile-viewport-bottom, 0px) !important;
      width: auto !important;
      height: auto !important;
      min-height: 0 !important;
      padding: .75rem max(.75rem, env(safe-area-inset-right))
        calc(.75rem + env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left)) !important;
      background: #eee7df !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }

    html body .gp-old-filter-backdrop {
      background: transparent !important;
      color: transparent !important;
      border: 0 !important;
      box-shadow: none !important;
    }

    html body .gp-old-filter-backdrop > * {
      display: none !important;
    }

    html body .gp-old-filter-mobile-shell {
      overflow: visible !important;
    }

    html body .gp-old-filter-panel.is-mobile {
      --gp-filter-surface: #f9f5ef;
      --gp-filter-radius: 1.35rem;
      isolation: isolate;
      clip-path: inset(0 round var(--gp-filter-radius));
      background: var(--gp-filter-surface) !important;
      border: 1px solid #e6dcd3 !important;
      border-radius: var(--gp-filter-radius) !important;
      box-shadow: none !important;
    }

    html body .gp-old-filter-panel.is-mobile .gp-old-filter-scroll {
      padding: 0 0 1rem !important;
      background: var(--gp-filter-surface) !important;
      border-radius: 0 !important;
      scrollbar-width: none !important;
    }

    html body .gp-old-filter-panel.is-mobile .gp-old-filter-scroll::-webkit-scrollbar {
      display: none !important;
    }

    html body .gp-old-filter-panel.is-mobile .gp-old-filter-scroll > :not(.gp-old-filter-head) {
      max-width: calc(100% - 2rem) !important;
      margin-inline: 1rem !important;
    }

    html body .gp-old-filter-panel.is-mobile .gp-old-filter-head {
      top: 0 !important;
      width: 100% !important;
      min-width: 0 !important;
      max-width: 100% !important;
      margin: 0 0 .85rem !important;
      padding: 1rem !important;
      background: var(--gp-filter-surface) !important;
      box-shadow: none !important;
    }

    html body .gp-old-filter-panel.is-mobile .gp-old-filter-close {
      flex: 0 0 auto;
      width: 2.75rem !important;
      height: 2.75rem !important;
    }
  }
}

/* The legacy widget injects unlayered important styles after first paint. */
@layer gpMobileConsultation {
  @media (max-width: 1023px) {
    .gp-contact-widget-fallback.is-chat {
      display: grid !important;
      place-items: center;
      inset: var(--gp-contact-top, 0px) 0 auto !important;
      height: var(--gp-contact-height, 100dvh) !important;
      box-sizing: border-box;
      padding: max(.75rem, env(safe-area-inset-top)) max(.75rem, env(safe-area-inset-right))
        max(.75rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
      background: rgba(36, 29, 25, .26);
    }

    .gp-contact-widget-fallback.is-chat .gp-contact-widget-main {
      display: none !important;
    }

    .gp-contact-widget-fallback.is-chat .gp-contact-widget-panel {
      position: relative !important;
      inset: auto !important;
      width: min(100%, 25rem) !important;
      max-height: 100% !important;
      box-sizing: border-box;
      padding: 0 1rem 1rem !important;
      background: #fffdfa !important;
      border-radius: 1.5rem !important;
      overscroll-behavior: contain;
      scroll-padding-block: 7rem 1rem;
    }

    .gp-contact-widget-fallback.is-chat .gp-contact-widget-head-v2 {
      position: sticky;
      top: 0;
      z-index: 1;
      gap: .6rem !important;
      margin: 0 0 .65rem !important;
      padding: .9rem 0 .55rem;
      background: #fffdfa;
    }

    .gp-contact-widget-fallback.is-chat [data-gp-contact-close] {
      flex: 0 0 2.75rem;
      width: 2.75rem !important;
      height: 2.75rem !important;
    }

    .gp-contact-widget-fallback.is-chat .gp-contact-widget-form-v2 {
      display: grid !important;
      gap: .65rem !important;
    }

    .gp-contact-widget-fallback.is-chat :is(input, textarea) {
      font-size: 16px !important;
    }
  }
}

@layer gpCatalogPolish {

  /* Reserve media geometry and clip the card's actual artwork surface. */
  body main article:has(.gp-mobile-card-actions),
  body main .gp-lite-favorites-card {
    container-type: inline-size;
    overflow: hidden !important;
    isolation: isolate;
  }
  body main article:has(.gp-mobile-card-actions) > a:first-child {
    border-radius: inherit !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    overflow: hidden !important;
    background: #f7f3eb !important;
  }

  body main .gp-mobile-card-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: .6rem !important;
    padding-top: 1.15rem !important;
    min-width: 0 !important;
    margin-top: auto !important;
  }
  body main .gp-mobile-card-actions > div:first-child {
    position: relative;
    text-align: left !important;
    align-self: start !important;
    min-width: 0 !important;
  }
  body main .gp-mobile-card-actions > div:first-child > div:first-child {
    position: absolute;
    top: -.85rem;
    left: 0;
    font-size: .58rem !important;
  }
  body main .gp-mobile-card-actions > div:first-child > div:last-child {
    margin-top: 0 !important;
    line-height: 2.65rem !important;
    font-size: clamp(.75rem, 5.8cqi, 1.25rem) !important;
    white-space: nowrap !important;
  }
  body main .gp-mobile-card-actions > div:nth-child(2) {
    display: flex !important;
    align-items: flex-start !important;
    gap: .45rem !important;
    min-width: 0 !important;
  }
  body main .gp-mobile-card-actions > div:nth-child(2) > div {
    min-width: 0 !important;
  }
  body main .gp-mobile-card-actions > div:nth-child(2) > div > button {
    min-height: 2.65rem !important;
    height: 2.65rem !important;
    flex-shrink: 0 !important;
  }
  body main .gp-mobile-card-actions > div:nth-child(2) > div:nth-child(2) > button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    padding-inline: .8rem !important;
    gap: .4rem !important;
  }
  body main .gp-mobile-card-actions > div:nth-child(2) > div:nth-child(2) > button svg {
    position: static !important;
    transform: none !important;
    flex-shrink: 0 !important;
  }
  @container (max-width: 19rem) {
    body main .gp-mobile-card-actions > div:nth-child(2) > div:nth-child(2) > button {
      width: 2.65rem !important;
      min-width: 2.65rem !important;
      padding-inline: .6rem !important;
      gap: 0 !important;
      font-size: 0 !important;
    }
    body main .gp-mobile-card-actions > div:nth-child(2) > div:nth-child(2) > button::after {
      content: none !important;
    }
    body main .gp-mobile-card-actions > div:nth-child(2) > div:nth-child(2) > span {
      display: none !important;
    }
  }
  @container (max-width: 12rem) {
    body main .gp-mobile-card-actions > div:nth-child(2) > div:nth-child(2) > button {
      width: 2rem !important;
      min-width: 2rem !important;
      padding-inline: .4rem !important;
    }
    body main .gp-mobile-card-actions { gap: .25rem !important; }
    body main .gp-mobile-card-actions > div:nth-child(2) { gap: .25rem !important; }
    body main .gp-mobile-card-actions > div:nth-child(2) > div > button {
      width: 2rem !important;
      min-width: 2rem !important;
      height: 2rem !important;
      min-height: 2rem !important;
      padding: .4rem !important;
    }
    body main .gp-mobile-card-actions > div:first-child > div:last-child {
      line-height: 2rem !important;
      font-size: .8rem !important;
    }
    body main .gp-mobile-card-actions > div:nth-child(2) > div > span {
      display: none !important;
    }
  }

  body main .gp-lite-favorites-footer {
    align-items: start !important;
    gap: .5rem !important;
    padding-top: 1.4rem !important;
  }
  body main .gp-lite-favorites-price {
    position: relative;
    display: block !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    align-self: flex-start !important;
    height: 2.65rem !important;
  }
  body main .gp-lite-favorites-price > span {
    position: absolute;
    top: -.9rem;
    left: 0;
  }
  body main .gp-lite-favorites-price > strong {
    display: block !important;
    height: 2.65rem !important;
    margin-top: 0 !important;
    line-height: 2.65rem !important;
    white-space: nowrap !important;
  }
  body main .gp-lite-favorites-action-bubble {
    width: 2.65rem !important;
    height: 2.65rem !important;
  }

  @media (min-width: 1024px) {
    body main [data-gp-category-plaque299],
    body main > section:first-child:has(h1),
    body main .gp-category-title-plaque {
      position: relative !important;
      top: auto !important;
      z-index: auto !important;
    }
    body main .gp-old-filter-panel:not(.is-mobile) {
      position: sticky !important;
      top: var(--gp-filter-top299, 7rem) !important;
      align-self: start !important;
      display: flex !important;
      flex-direction: column !important;
      min-height: 0 !important;
      max-height: var(--gp-filter-height299, calc(100dvh - var(--gp-filter-top299, 7rem) - 1rem)) !important;
      overflow: hidden !important;
    }
    body main .gp-old-filter-panel:not(.is-mobile) .gp-old-filter-scroll {
      flex: 1 1 auto;
      min-height: 0 !important;
      max-height: inherit !important;
      box-sizing: border-box !important;
      padding-bottom: 1.5rem !important;
      overflow-y: auto !important;
      overscroll-behavior: contain;
    }
    body main .gp-old-filter-panel:not(.is-mobile) .gp-old-filter-head {
      position: sticky !important;
      top: 0 !important;
      margin: 0 0 1rem !important;
      background: #fffdfa !important;
    }
    body main .gp-old-filter-row {
      display: flex !important;
      flex-wrap: wrap !important;
      gap: .4rem !important;
    }
    body main .gp-old-filter-row > button {
      display: inline-flex !important;
      visibility: visible !important;
      min-width: 2.5rem !important;
      min-height: 2.5rem !important;
      align-items: center !important;
      justify-content: center !important;
    }
  }

  body main .gp-compare-table-product-v2,
  body main .gp-compare-table-value-v2,
  body main .gp-compare-mobile-value-v2 {
    border-left: 1px solid rgba(166, 95, 105, .2) !important;
    background: rgba(255, 255, 255, .72) !important;
    padding: 1rem !important;
  }
  body main .gp-compare-card-v2 {
    border: 1px solid rgba(166, 95, 105, .2) !important;
    box-shadow: 0 8px 24px rgba(36, 29, 25, .045) !important;
  }
  body main [data-gp-compare-product] {
    border-color: rgba(166, 95, 105, .25) !important;
  }
  body main .gp-compare-cell299,
  body main .gp-compare-mobile-product-v2 {
    border-left: 1px solid rgba(166, 95, 105, .25) !important;
    border-right: 1px solid rgba(166, 95, 105, .25) !important;
    background: #fffdfa !important;
    overflow-wrap: anywhere;
  }
  body main .gp-compare-cell299 { padding: 1rem .85rem !important; }
  .gp-product-return299 {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    min-height: 2.75rem;
    margin-bottom: .75rem;
    padding: .6rem 1rem;
    border-radius: 999px;
    background: #fffdfa;
    border: 1px solid rgba(166, 95, 105, .2);
    color: #123f32;
  }
  .gp-product-return299:hover { background: #eee7df; }

  body main img:is(
    [src*="/editorial/texture-beige"],[src*="editorial%2Ftexture-beige" i],
    [src*="/editorial/hero-beauty"],[src*="editorial%2Fhero-beauty" i],
    [src*="/editorial/hero-blush"],[src*="editorial%2Fhero-blush" i],
    [src*="/editorial/serum-sand"],[src*="editorial%2Fserum-sand" i],
    [src*="/editorial/golden-serum"],[src*="editorial%2Fgolden-serum" i],
    [src*="/editorial/ritual-gold"],[src*="editorial%2Fritual-gold" i],
    [src*="/editorial/cream-stack"],[src*="editorial%2Fcream-stack" i],
    [src*="/editorial/serum-blue"],[src*="editorial%2Fserum-blue" i],
    [src*="/editorial/flowers"],[src*="editorial%2Fflowers" i]
  ) { visibility: hidden !important; }
}
@layer gpCatalogPolish {
 @media(max-width:1023px){
  html body main .gp-lite-favorites-footer {flex-direction:row!important;align-items:flex-start!important;gap:.2rem!important;padding-top:1.15rem!important;min-width:0!important;}
  html body main .gp-lite-favorites-price {flex:1 1 0!important;min-width:0!important;width:auto!important;align-self:flex-start!important;height:2rem!important;text-align:left!important;}
  html body main .gp-lite-favorites-price > strong {font-size:.73rem!important;height:2rem!important;line-height:2rem!important;margin:0!important;text-align:left!important;}
  html body main .gp-lite-favorites-price > span {font-size:.5rem!important;top:-.7rem!important;}
  html body main .gp-lite-favorites-actions {display:flex!important;width:auto!important;grid-template-columns:none!important;flex:0 0 auto!important;align-items:flex-start!important;gap:.2rem!important;margin:0!important;}
  html body main .gp-lite-favorites-action {display:flex!important;align-items:center!important;justify-content:center!important;min-width:2rem!important;width:2rem!important;height:2rem!important;min-height:2rem!important;padding:0!important;gap:0!important;}
  html body main .gp-lite-favorites-action-bubble {width:2rem!important;height:2rem!important;min-width:2rem!important;}
  html body main .gp-lite-favorites-action small {display:none!important;}
 }
}


/* v302: the filter heading is outside its scrollable fields. */
@layer gpCatalogPolish {
  @media (min-width:1024px) {
    html body main [data-gp-category-plaque299] {
      position:sticky!important;
      top:var(--gp-category-header302,5.6rem)!important;
      z-index:30!important;
      background:#fffdfa!important;
      padding-top:1rem!important;
      padding-bottom:calc(1rem - 1px)!important;
    }
    html body main [data-gp-category-plaque299] .gp-category-actions-row {
      display:flex!important;
      flex-wrap:wrap!important;
      align-items:center!important;
      justify-content:flex-start!important;
      row-gap:1rem!important;
      column-gap:.65rem!important;
    }
    html body main [data-gp-category-plaque299] .gp-category-title-inline {
      flex:0 0 100%!important;
      width:100%!important;
      margin:0!important;
    }
    html body main [data-gp-filter-layout302] { background:#fffdfa!important; }
    html body main [data-gp-filter-layout302] > .gp-old-filter-head {
      position:relative!important;
      top:auto!important;
      z-index:2!important;
      flex:0 0 auto!important;
      width:auto!important;
      max-width:none!important;
      margin:0!important;
      padding:1.25rem!important;
      background:#fffdfa!important;
    }
    html body main [data-gp-filter-layout302] > .gp-old-filter-scroll {
      flex:1 1 auto!important;
      min-height:0!important;
      max-height:none!important;
      padding-top:0!important;
    }
    /* Legacy first-child rules must not pin the first category field. */
    html body main [data-gp-filter-layout302] > .gp-old-filter-scroll > section {
      position:static!important;
      top:auto!important;
      z-index:auto!important;
    }
    html.gp-favorites-route93 body main [data-gp-lite-favorites-page] .gp-lite-favorites-card-title {
      display:-webkit-box!important;
      -webkit-box-orient:vertical!important;
      -webkit-line-clamp:2!important;
      height:2lh!important;
      min-height:2lh!important;
      max-height:2lh!important;
      overflow:hidden!important;
    }
  }
  /* Category illustrations are not individual product photographs. */
  /* v304: exact canonical category artwork is shared with full product pages. */
}

/* v303: one clipped table surface; internal dividers never draw outer corners. */
@layer gpCatalogPolish {
 html body main [data-gp-surfaces303] [data-gp-compare-table303] {
   border:1px solid rgba(166,95,105,.22)!important;
   border-radius:1.5rem!important;
   overflow:clip!important;
   isolation:isolate;
   background:#fffdfa!important;
   box-shadow:0 8px 24px rgba(36,29,25,.045)!important;
 }
 html body main [data-gp-compare-table303] > .space-y-0 {border-radius:inherit;overflow:clip;}
 html body main [data-gp-compare-table303] .gp-compare-row299 {
   border-radius:0!important;
   border:0!important;
   background:#fffdfa!important;
 }
 html body main [data-gp-compare-table303] .gp-compare-row299:first-child {background:#f8f3ed!important;}
 html body main [data-gp-compare-table303] .gp-compare-row299 + .gp-compare-row299 {
   border-top:1px solid rgba(166,95,105,.16)!important;
 }
 html body main [data-gp-compare-table303] .gp-compare-row299 > div:first-child {
   border-radius:0!important;
   box-shadow:none!important;
 }
 html body main [data-gp-compare-table303] .gp-compare-cell299 {
   border:0!important;
   border-left:1px solid rgba(166,95,105,.18)!important;
   border-radius:0!important;
   background:inherit!important;
 }
 html body main [data-gp-surfaces303] [data-gp-compare-product] {
   border:1px solid rgba(166,95,105,.22)!important;
   background:#fffdfa!important;
   border-radius:1.5rem!important;
   isolation:isolate;
 }
 html body main [data-gp-surfaces303] .gp-compare-media303 {
   border:0!important;
   border-radius:.9rem!important;
   background:#fff!important;
   box-shadow:none!important;
   overflow:hidden!important;
 }
 html body main [data-gp-surfaces303] .gp-compare-mobile-scroll-v2 {
   border:1px solid rgba(166,95,105,.22)!important;
   border-radius:1.25rem!important;
   background:#fffdfa!important;
   isolation:isolate;
 }
 html body main [data-gp-surfaces303] .gp-compare-mobile-grid-v2 {background:#fffdfa!important;}
 html body main [data-gp-surfaces303] .gp-compare-mobile-head-v2 {background:#f8f3ed!important;}
 html body main [data-gp-surfaces303] .gp-compare-mobile-product-v2,
 html body main [data-gp-surfaces303] .gp-compare-mobile-value-v2 {
   border:0!important;
   border-left:1px solid rgba(166,95,105,.18)!important;
   background:inherit!important;
 }
 html body main [data-gp-surfaces303] .gp-compare-mobile-param-v2 {background:inherit!important;box-shadow:none!important;}
 html body main [data-gp-surfaces303] .gp-compare-mobile-row-v2 {border-top:1px solid rgba(166,95,105,.16)!important;}
 /* Preserve the existing favorites geometry and let the outer card own its edge. */
 html body main .gp-lite-favorites-card {isolation:isolate;background:#fff!important;}
 html body main .gp-lite-favorites-card-image {border-top-left-radius:inherit!important;border-top-right-radius:inherit!important;}
 html body main .gp-lite-favorites-card-body {border-bottom-left-radius:inherit!important;border-bottom-right-radius:inherit!important;}
}

/* v303: no extra menu close; the existing main toggle owns the menu. */
html body .gp-contact-widget-old-menu > [data-gp-current-consultant-close]{display:none!important}

@layer gpCatalogPolish {
 html body main [data-gp-native-back304][hidden] {display:none!important;}
}
