/*
 * Pro Garage Performance — v906 shared UI owner
 *
 * Presentation only. This stylesheet does not alter routes, forms, OTP,
 * follows, likes, cart, requests, WhatsApp, Stripe, API or webhook logic.
 */

:root {
  --pgp-v906-red: #ef174c;
  --pgp-v906-red-dark: #bd0b39;
  --pgp-v906-ink: #17191e;
  --pgp-v906-avatar: 64px;
  --pgp-v906-identity-gap: 16px;
  --pgp-v906-header-gap: 20px;
  --pgp-v906-menu-width: min(60vw, 330px);
  --pgp-v906-menu-height: min(68dvh, 520px);
}

html.pgp-v906-root,
html.pgp-v906-root body.pgp-v906-page {
  max-width: 100% !important;
}

/*
 * Compact sticky header. It remains in normal document flow, so the content
 * never jumps beneath it, but follows the visitor while the page scrolls.
 */
html.pgp-v906-root body.pgp-v906-page .pgp-app-header,
html.pgp-v906-root body.pgp-v906-page:has(#home) .pgp-app-header,
html.pgp-v906-css-ready body.pgp-v906-page .pgp-app-header {
  position: sticky !important;
  inset: auto !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 2147482000 !important;
  width: 100% !important;
  margin: 0 0 var(--pgp-v906-header-gap) !important;
  padding: 2px 12px 4px !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(23, 25, 30, 0.09) !important;
  box-shadow: 0 8px 24px rgba(18, 20, 25, 0.055) !important;
  backdrop-filter: blur(16px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.08) !important;
  transform: none !important;
  translate: none !important;
  isolation: isolate !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-app-header .pgp-app-header-inner,
html.pgp-v906-root body.pgp-v906-page:has(#home) .pgp-app-header .pgp-app-header-inner {
  grid-template-columns: auto minmax(14px, 1fr) auto auto auto !important;
  grid-template-rows: 40px !important;
  gap: 6px !important;
  min-height: 40px !important;
  height: 40px !important;
}

/* Slightly larger logo while keeping the bar slender. */
html.pgp-v906-root body.pgp-v906-page .pgp-logo-link,
html.pgp-v906-root body.pgp-v906-page .pgp-logo-link img {
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 31px !important;
  min-height: 31px !important;
  max-height: 31px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

/* Physical left-to-right order: Garages, Liket, Following. */
html.pgp-v906-root body.pgp-v906-page .pgp-header-tabs {
  gap: 5px !important;
  direction: ltr !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-header-tabs > .pgp-header-tab:nth-child(1) {
  order: 1 !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-header-tabs > .pgp-header-tab:nth-child(2) {
  order: 2 !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-header-tabs > .pgp-header-tab:nth-child(3) {
  order: 3 !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-header-tabs .pgp-header-tab,
html.pgp-v906-root body.pgp-v906-page .pgp-header-tabs .pgp-header-tab:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
  gap: 3px !important;
  min-width: 78px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  padding: 0 8px !important;
  border-radius: 5px !important;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  transform: none !important;
  translate: none !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-header-tabs .pgp-header-tab svg {
  flex-basis: 13px !important;
  width: 13px !important;
  min-width: 13px !important;
  max-width: 13px !important;
  height: 13px !important;
  min-height: 13px !important;
  max-height: 13px !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-header-lang-btn {
  min-width: 36px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  padding: 0 5px !important;
  border-radius: 8px !important;
  font-size: 10px !important;
}

/* Compact hamburger; interaction states cannot change its geometry. */
html.pgp-v906-root body.pgp-v906-page .pgp-parts-menu-button,
html.pgp-v906-root body.pgp-v906-page .pgp-parts-menu-button:is(:hover, :focus, :focus-visible, :active, [aria-expanded="true"]) {
  gap: 3px !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 6px !important;
  border-radius: 9px !important;
  transform: none !important;
  translate: none !important;
  scale: none !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-parts-menu-button span,
html.pgp-v906-root body.pgp-v906-page .pgp-parts-menu-button:is(:hover, :focus, :focus-visible, :active, [aria-expanded="true"]) span {
  width: 19px !important;
  min-width: 19px !important;
  max-width: 19px !important;
  height: 2px !important;
  min-height: 2px !important;
  max-height: 2px !important;
  transform: none !important;
}

/*
 * Search is 35% shorter than v905: 440px -> 286px desktop and
 * 360px -> 234px mobile. Hover/focus/active keep identical geometry.
 */
html.pgp-v906-root body.pgp-v906-page .pgp-header-search-wrap {
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-header-search-form,
html.pgp-v906-root body.pgp-v906-page .pgp-header-search-form:is(:hover, :focus, :focus-visible, :focus-within, :active) {
  width: min(286px, calc(100vw - 108px)) !important;
  min-width: 196px !important;
  max-width: 286px !important;
  height: 31px !important;
  min-height: 31px !important;
  max-height: 31px !important;
  margin: 0 auto !important;
  padding: 1px 1px 1px 10px !important;
  border-width: 2px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  transform: none !important;
  translate: none !important;
  scale: none !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-header-search-input,
html.pgp-v906-root body.pgp-v906-page .pgp-header-search-input:is(:hover, :focus, :focus-visible, :active) {
  height: 27px !important;
  min-height: 27px !important;
  max-height: 27px !important;
  padding: 0 7px !important;
  font-size: 13px !important;
  line-height: 27px !important;
  cursor: text !important;
  transform: none !important;
  translate: none !important;
  scale: none !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-header-search-submit,
html.pgp-v906-root body.pgp-v906-page .pgp-header-search-submit:is(:hover, :focus, :focus-visible, :active) {
  flex: 0 0 27px !important;
  flex-basis: 27px !important;
  width: 27px !important;
  min-width: 27px !important;
  max-width: 27px !important;
  height: 27px !important;
  min-height: 27px !important;
  max-height: 27px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-width: 2px !important;
  transform: none !important;
  translate: none !important;
  scale: none !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-header-search-submit svg,
html.pgp-v906-root body.pgp-v906-page .pgp-header-search-submit:is(:hover, :focus, :focus-visible, :active) svg {
  width: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  max-height: 15px !important;
  transform: none !important;
}

/*
 * Premium platform panel. It stays anchored below the hamburger, occupies at
 * most 60% of the viewport, and preserves every existing route and hook.
 */
html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu {
  width: var(--pgp-v906-menu-width) !important;
  max-width: var(--pgp-v906-menu-width) !important;
  max-height: var(--pgp-v906-menu-height) !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background:
    radial-gradient(circle at 100% 0, rgba(239, 23, 76, 0.16), transparent 38%),
    linear-gradient(165deg, rgba(28, 30, 37, 0.985), rgba(12, 13, 18, 0.99)) !important;
  color: #f8f9fb !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 16px !important;
  box-shadow:
    0 24px 58px rgba(8, 10, 15, 0.38),
    0 0 0 1px rgba(239, 23, 76, 0.06) inset !important;
  backdrop-filter: blur(18px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(239, 23, 76, 0.72) rgba(255, 255, 255, 0.035) !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-header-parts-head {
  position: sticky !important;
  top: 0 !important;
  z-index: 3 !important;
  min-height: 42px !important;
  padding: 6px 7px 6px 12px !important;
  background:
    linear-gradient(90deg, rgba(239, 23, 76, 0.97), rgba(190, 10, 54, 0.95)) !important;
  border-radius: 15px 15px 0 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 20px rgba(8, 9, 13, 0.17) !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-hemi-title {
  min-width: 0 !important;
  padding-inline-start: 2px !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-header-parts-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(14, 16, 21, 0.28) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-header-parts-close::before {
  content: "×" !important;
  display: block !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-header-parts-close:is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, 0.18) !important;
  outline: 2px solid rgba(255, 255, 255, 0.46) !important;
  outline-offset: 1px !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-platform-menu {
  padding: 8px !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-platform-group {
  margin: 0 0 6px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.025) !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  border-radius: 11px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.09) !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-platform-group > summary {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) 18px !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 40px !important;
  padding: 7px 8px !important;
  overflow: hidden !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)) !important;
  color: #f7f8fa !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-size: 11px !important;
  font-weight: 770 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-platform-group > summary::-webkit-details-marker {
  display: none !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-platform-group > summary::before {
  content: attr(data-pgp-v906-index) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 7px !important;
  background: rgba(239, 23, 76, 0.14) !important;
  color: #ff7899 !important;
  border: 1px solid rgba(239, 23, 76, 0.24) !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-platform-group > summary::after {
  content: "↗" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-platform-group > summary:is(:hover, :focus-visible) {
  background: rgba(239, 23, 76, 0.14) !important;
  color: #ffffff !important;
  outline: 1px solid rgba(239, 23, 76, 0.42) !important;
  outline-offset: -1px !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-platform-group > a {
  min-height: 36px !important;
  padding: 9px 11px !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.018) !important;
  color: rgba(255, 255, 255, 0.86) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.045) !important;
  font-size: 10.75px !important;
  line-height: 1.3 !important;
}

html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu .pgp-platform-group > a:is(:hover, :focus-visible) {
  background: rgba(239, 23, 76, 0.11) !important;
  color: #ffffff !important;
  outline: 0 !important;
}

/*
 * One avatar contract for every public garage identity. Follow state may add
 * a halo only; it must never change width, crop, padding or position.
 */
html.pgp-v906-root body.pgp-v906-page :is(
  .pgp-home-section-avatar,
  .pgp-v74-logo-wrap,
  .garage-logo:not(img),
  .garage-avatar:not(img),
  .pgp-garage-logo:not(img),
  .pgp-owner-avatar:not(img),
  .store-logo:not(img),
  .store-avatar:not(img),
  .brand-logo:not(img),
  .garage-brand-logo:not(img)
) {
  width: var(--pgp-v906-avatar) !important;
  min-width: var(--pgp-v906-avatar) !important;
  max-width: var(--pgp-v906-avatar) !important;
  height: var(--pgp-v906-avatar) !important;
  min-height: var(--pgp-v906-avatar) !important;
  max-height: var(--pgp-v906-avatar) !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  transform: none !important;
  translate: none !important;
}

html.pgp-v906-root body.pgp-v906-page :is(
  img.pgp-home-section-avatar-img,
  img.pgp-v74-avatar,
  img.pgp-v904-identity-avatar,
  img.pgp-v906-garage-avatar,
  img.garage-logo,
  img.garage-avatar,
  img.pgp-garage-logo,
  img.pgp-owner-avatar,
  img.store-logo,
  img.store-avatar,
  img.brand-logo,
  img.garage-brand-logo,
  .pgp-home-section-avatar > img,
  .pgp-v74-logo-wrap > img,
  .garage-logo > img,
  .garage-avatar > img,
  .pgp-garage-logo > img,
  .pgp-owner-avatar > img,
  .store-logo > img,
  .store-avatar > img,
  .brand-logo > img,
  .garage-brand-logo > img
) {
  display: block !important;
  width: var(--pgp-v906-avatar) !important;
  min-width: var(--pgp-v906-avatar) !important;
  max-width: var(--pgp-v906-avatar) !important;
  height: var(--pgp-v906-avatar) !important;
  min-height: var(--pgp-v906-avatar) !important;
  max-height: var(--pgp-v906-avatar) !important;
  margin: 0 !important;
  padding: 3px !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center center !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.48) !important;
  border-radius: 999px !important;
  outline: 0 !important;
  transform: none !important;
  translate: none !important;
  scale: none !important;
  filter: none !important;
  opacity: 1 !important;
}

html.pgp-v906-root body.pgp-v906-page :is(
  .pgp-garage-follow-ring-target,
  .pgp-home-follow-ring-target,
  [data-pgp-home-follow-ring="1"],
  [data-pgp-follow-ring-active="1"]
) {
  outline: 0 !important;
}

html.pgp-v906-root body.pgp-v906-page :is(
  .pgp-garage-is-following,
  .pgp-home-section-is-following
) :is(
  img.pgp-garage-follow-ring-target,
  img.pgp-home-section-avatar-img,
  .pgp-home-section-avatar > img,
  .pgp-v74-logo-wrap > img
),
html.pgp-v906-root body.pgp-v906-page img.pgp-garage-follow-ring-target {
  width: var(--pgp-v906-avatar) !important;
  min-width: var(--pgp-v906-avatar) !important;
  max-width: var(--pgp-v906-avatar) !important;
  height: var(--pgp-v906-avatar) !important;
  min-height: var(--pgp-v906-avatar) !important;
  max-height: var(--pgp-v906-avatar) !important;
  padding: 3px !important;
  object-fit: contain !important;
  border: 1px solid rgba(0, 0, 0, 0.48) !important;
  outline: 0 !important;
  box-shadow:
    0 0 0 2px var(--pgp-v906-red),
    0 0 0 5px rgba(239, 23, 76, 0.14),
    0 8px 18px rgba(239, 23, 76, 0.17) !important;
  filter: none !important;
  transform: none !important;
}

html.pgp-v906-root body.pgp-v906-page :is(
  .pgp-v74-identity-row,
  .pgp-v904-identity-host,
  .garage-brand,
  .store-brand,
  .pgp-section-brand,
  #home .pgp-most-head > div:first-child
) {
  column-gap: var(--pgp-v906-identity-gap) !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-v74-identity-row {
  grid-template-columns: var(--pgp-v906-avatar) minmax(0, 1fr) !important;
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
}

html.pgp-v906-root body.pgp-v906-page .pgp-v74-text-wrap {
  height: var(--pgp-v906-avatar) !important;
  min-height: var(--pgp-v906-avatar) !important;
  max-height: var(--pgp-v906-avatar) !important;
}

html.pgp-v906-root body.pgp-v906-page #home .pgp-most-head > div:first-child {
  grid-template-columns: var(--pgp-v906-avatar) minmax(0, 1fr) !important;
  column-gap: var(--pgp-v906-identity-gap) !important;
  min-height: 68px !important;
}

/* Public garage verification state remains in admin/data, not on this page. */
html.pgp-v906-root body.pgp-v906-page #iq-garages :is(
  .pgp-verified-badge,
  .verified-badge,
  .garage-verified,
  [data-pgp-verified-badge]
) {
  display: none !important;
  visibility: hidden !important;
}

@media (max-width: 1100px) {
  html.pgp-v906-root body.pgp-v906-page .pgp-header-tabs .pgp-header-tab {
    min-width: 72px !important;
    padding: 0 6px !important;
  }
}

@media (max-width: 768px) {
  html.pgp-v906-root body.pgp-v906-page .pgp-app-header,
  html.pgp-v906-root body.pgp-v906-page:has(#home) .pgp-app-header {
    padding: 2px 7px 4px !important;
  }

  html.pgp-v906-root body.pgp-v906-page .pgp-app-header .pgp-app-header-inner,
  html.pgp-v906-root body.pgp-v906-page:has(#home) .pgp-app-header .pgp-app-header-inner {
    grid-template-columns: 56px minmax(0, 1fr) 32px !important;
    grid-template-rows: 39px !important;
    gap: 4px !important;
    min-height: 39px !important;
    height: 39px !important;
  }

  html.pgp-v906-root body.pgp-v906-page .pgp-logo-link,
  html.pgp-v906-root body.pgp-v906-page .pgp-logo-link img {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    height: 27px !important;
    min-height: 27px !important;
    max-height: 27px !important;
  }

  html.pgp-v906-root body.pgp-v906-page .pgp-header-tabs {
    gap: 3px !important;
  }

  html.pgp-v906-root body.pgp-v906-page .pgp-header-tabs .pgp-header-tab,
  html.pgp-v906-root body.pgp-v906-page .pgp-header-tabs .pgp-header-tab:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 27px !important;
    min-height: 27px !important;
    max-height: 27px !important;
    padding: 0 3px !important;
    font-size: clamp(8.25px, 2.3vw, 10px) !important;
  }

  html.pgp-v906-root body.pgp-v906-page .pgp-header-tabs .pgp-header-tab svg {
    display: none !important;
  }

  html.pgp-v906-root body.pgp-v906-page .pgp-parts-menu-button,
  html.pgp-v906-root body.pgp-v906-page .pgp-parts-menu-button:is(:hover, :focus, :focus-visible, :active, [aria-expanded="true"]) {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }

  html.pgp-v906-root body.pgp-v906-page .pgp-header-search-wrap {
    min-height: 31px !important;
    height: 31px !important;
  }

  html.pgp-v906-root body.pgp-v906-page .pgp-header-search-form,
  html.pgp-v906-root body.pgp-v906-page .pgp-header-search-form:is(:hover, :focus, :focus-visible, :focus-within, :active) {
    width: min(234px, calc(100vw - 98px)) !important;
    min-width: 190px !important;
    max-width: 234px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 1px 1px 1px 8px !important;
  }

  html.pgp-v906-root body.pgp-v906-page .pgp-header-search-input,
  html.pgp-v906-root body.pgp-v906-page .pgp-header-search-input:is(:hover, :focus, :focus-visible, :active) {
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding: 0 6px !important;
    font-size: 12px !important;
    line-height: 26px !important;
  }

  html.pgp-v906-root body.pgp-v906-page .pgp-header-search-submit,
  html.pgp-v906-root body.pgp-v906-page .pgp-header-search-submit:is(:hover, :focus, :focus-visible, :active) {
    flex-basis: 26px !important;
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
  }

  html.pgp-v906-root body.pgp-v906-page .pgp-header-search-submit svg,
  html.pgp-v906-root body.pgp-v906-page .pgp-header-search-submit:is(:hover, :focus, :focus-visible, :active) svg {
    width: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    height: 14px !important;
    min-height: 14px !important;
    max-height: 14px !important;
  }

  html.pgp-v906-root body.pgp-v906-page #pgpHeaderPartsMenu {
    width: 60vw !important;
    max-width: 60vw !important;
    max-height: min(68dvh, 520px) !important;
  }

  html.pgp-v906-root body.pgp-v906-page :is(
    .garage-top,
    .products-head,
    .pgp-part-top
  ).pgp-v74-mobile-stable {
    height: 106px !important;
    min-height: 106px !important;
    max-height: 106px !important;
  }

  html.pgp-v906-root body.pgp-v906-page :is(
    .garage-top,
    .products-head,
    .pgp-part-top
  ).pgp-v74-mobile-stable > .pgp-v74-identity-row {
    left: 8px !important;
    top: 14px !important;
    right: 126px !important;
    grid-template-columns: var(--pgp-v906-avatar) minmax(0, 1fr) !important;
    column-gap: var(--pgp-v906-identity-gap) !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }

  html.pgp-v906-root body.pgp-v906-page #home .pgp-most-head {
    min-height: 112px !important;
  }

  html.pgp-v906-root body.pgp-v906-page #home .pgp-most-head > div:first-child {
    grid-template-columns: var(--pgp-v906-avatar) minmax(0, 1fr) !important;
    column-gap: var(--pgp-v906-identity-gap) !important;
    max-width: calc(100% - 146px) !important;
    min-height: 68px !important;
  }
}

@media (max-width: 430px) {
  html.pgp-v906-root body.pgp-v906-page .pgp-app-header .pgp-app-header-inner {
    grid-template-columns: 54px minmax(0, 1fr) 32px !important;
  }

  html.pgp-v906-root body.pgp-v906-page .pgp-logo-link,
  html.pgp-v906-root body.pgp-v906-page .pgp-logo-link img {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.pgp-v906-root body.pgp-v906-page *,
  html.pgp-v906-root body.pgp-v906-page *::before,
  html.pgp-v906-root body.pgp-v906-page *::after {
    scroll-behavior: auto !important;
  }
}
