.pgh-root {
  --pgh-brand: #4e64df;
  --pgh-icon: #31404a;
  --pgh-glass: rgba(244, 244, 245, .92);
  --pgh-glass-border: rgba(255, 255, 255, .88);
  --pgh-blur: 24px;
  --pgh-header-max: 646px;
  --pgh-header-height: 130px;
  --pgh-header-radius: 49px;
  --pgh-icon-size: 42px;
  --pgh-header-gap: 24px;
  --pgh-top: 13px;
  --pgh-drawer-width: 470px;
  --pgh-drawer-bg: rgba(15, 15, 30, .94);
  --pgh-drawer-text: #fff;
  --pgh-muted: #b6b7c8;
  --pgh-card: rgba(255, 255, 255, .035);
  --pgh-drawer-border: rgba(255, 255, 255, .13);
  --pgh-overlay: rgba(4, 7, 20, .56);
  --pgh-drawer-radius: 26px;
  --pgh-sub-bg: rgba(248, 248, 251, .98);
  --pgh-sub-text: #11111f;
  position: relative;
  width: 100%;
  z-index: 9998;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.pgh-root *,
.pgh-root *::before,
.pgh-root *::after {
  box-sizing: border-box;
}

.pgh-shell {
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.pgh-position-sticky .pgh-shell {
  position: sticky;
  top: var(--pgh-top);
  z-index: 9998;
}

.pgh-position-fixed .pgh-shell {
  position: fixed;
  inset-inline: 0;
  top: var(--pgh-top);
  z-index: 9998;
  padding-inline: 12px;
}

.pgh-bar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(calc(100% - 24px), var(--pgh-header-max));
  min-height: var(--pgh-header-height);
  border: 1px solid var(--pgh-glass-border);
  border-radius: var(--pgh-header-radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,.08)),
    var(--pgh-glass);
  -webkit-backdrop-filter: blur(var(--pgh-blur)) saturate(180%);
  backdrop-filter: blur(var(--pgh-blur)) saturate(180%);
  pointer-events: auto;
}

.pgh-bar::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(255,255,255,.42), rgba(255,255,255,0) 35%, rgba(78,100,223,.08) 72%, rgba(255,255,255,.18));
  pointer-events: none;
}

.pgh-bar::after {
  content: "";
  position: absolute;
  inset-inline: 11%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
  opacity: .86;
  pointer-events: none;
}

.pgh-ambient {
  position: absolute;
  z-index: -2;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  filter: blur(27px);
  opacity: .22;
  pointer-events: none;
}

.pgh-ambient-one {
  inset-inline-start: 22%;
  top: -48px;
  background: var(--pgh-brand);
}

.pgh-ambient-two {
  inset-inline-end: 15%;
  bottom: -58px;
  background: #a7efff;
}

.pgh-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--pgh-header-gap);
  width: 100%;
  min-height: var(--pgh-header-height);
  padding: 10px clamp(16px, 4vw, 34px);
}

.pgh-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: calc(var(--pgh-icon-size) + 16px);
  min-height: calc(var(--pgh-icon-size) + 16px);
  padding: 8px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--pgh-icon);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.pgh-action:hover,
.pgh-action:focus-visible {
  color: var(--pgh-brand);
  background: rgba(255,255,255,.38);
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 10px 24px rgba(31, 47, 118, .12);
}

.pgh-action.is-active {
  color: var(--pgh-brand);
}

.pgh-action.is-active::before {
  display: none;
}

.pgh-action-shortcode {
  min-width: 0;
}

.pgh-action-shortcode > * {
  margin: 0 !important;
}

.pgh-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.pgh-action-visual {
  width: var(--pgh-icon-size);
  height: var(--pgh-icon-size);
  font-size: var(--pgh-icon-size);
}

.pgh-action.is-active .pgh-action-visual {
  width: calc(var(--pgh-icon-size) + 24px);
  height: calc(var(--pgh-icon-size) + 24px);
}

.pgh-action-visual svg,
.pgh-action-visual i {
  width: 1em;
  height: 1em;
  font-size: 1em;
  fill: currentColor;
}

.pgh-action-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pgh-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  visibility: hidden;
  opacity: 0;
  background: var(--pgh-overlay);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  transition: opacity .32s ease, visibility .32s ease;
}

.pgh-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 99999;
  width: min(var(--pgh-drawer-width), 100vw);
  overflow: hidden;
  color: var(--pgh-drawer-text);
  background:
    radial-gradient(circle at 15% 8%, rgba(78,100,223,.20), transparent 28%),
    radial-gradient(circle at 85% 88%, rgba(103,225,255,.08), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.045), transparent 38%),
    var(--pgh-drawer-bg);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 80px rgba(0,0,0,.34);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  backdrop-filter: blur(28px) saturate(145%);
  visibility: hidden;
  transition: transform .38s cubic-bezier(.22,.85,.27,1), visibility .38s ease;
}

.pgh-drawer-right .pgh-drawer {
  right: 0;
  left: auto;
  border-radius: var(--pgh-drawer-radius) 0 0 var(--pgh-drawer-radius);
  transform: translateX(105%);
}

.pgh-drawer-left .pgh-drawer {
  left: 0;
  right: auto;
  border-radius: 0 var(--pgh-drawer-radius) var(--pgh-drawer-radius) 0;
  transform: translateX(-105%);
}

.pgh-root.is-open .pgh-overlay {
  visibility: visible;
  opacity: 1;
}

.pgh-root.is-open .pgh-drawer {
  visibility: visible;
  transform: translateX(0);
}

body.pgh-scroll-lock {
  overflow: hidden !important;
  touch-action: none;
}

.pgh-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .34s cubic-bezier(.22,.85,.27,1), opacity .24s ease, visibility .34s ease;
}

.pgh-main-panel {
  transform: translateX(0);
}

.pgh-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.pgh-root[dir="rtl"] .pgh-sub-panel {
  transform: translateX(-102%);
}

.pgh-root[dir="ltr"] .pgh-sub-panel {
  transform: translateX(102%);
}

.pgh-sub-panel {
  color: var(--pgh-sub-text);
  background:
    radial-gradient(circle at 85% 8%, rgba(78,100,223,.10), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.30)),
    var(--pgh-sub-bg);
  -webkit-backdrop-filter: blur(26px) saturate(145%);
  backdrop-filter: blur(26px) saturate(145%);
}

.pgh-sub-panel .pgh-drawer-header {
  border-bottom-color: rgba(17,17,31,.10);
  background: rgba(255,255,255,.32);
}

.pgh-sub-panel .pgh-submenu-title,
.pgh-sub-panel .pgh-submenu-group-title,
.pgh-sub-panel .pgh-submenu-link {
  color: var(--pgh-sub-text);
}

.pgh-sub-panel .pgh-icon-button {
  border-color: rgba(17,17,31,.10);
  background: rgba(17,17,31,.035);
  color: var(--pgh-sub-text);
}

.pgh-sub-panel .pgh-icon-button:hover,
.pgh-sub-panel .pgh-icon-button:focus-visible {
  border-color: rgba(78,100,223,.42);
  background: rgba(78,100,223,.10);
}

.pgh-sub-panel .pgh-submenu-link {
  border-bottom-color: rgba(17,17,31,.10);
}

.pgh-sub-panel .pgh-submenu-link:hover,
.pgh-sub-panel .pgh-submenu-link:focus-visible {
  color: var(--pgh-brand);
}

.pgh-main-panel.is-behind {
  opacity: .28;
  transform: scale(.97) translateX(3%);
  pointer-events: none;
}

.pgh-drawer-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 86px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--pgh-drawer-border);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0));
}

.pgh-header-leading,
.pgh-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.pgh-brand img {
  display: block;
  max-width: 168px;
  max-height: 44px;
  object-fit: contain;
}

.pgh-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(78,100,223,.95), rgba(78,100,223,.58));
  box-shadow: 0 10px 28px rgba(78,100,223,.32);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}

.pgh-brand-name {
  overflow: hidden;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pgh-submenu-title {
  overflow: hidden;
  color: var(--pgh-drawer-text);
  font-size: 19px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pgh-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.pgh-icon-button:hover,
.pgh-icon-button:focus-visible {
  background: rgba(78,100,223,.22);
  border-color: rgba(78,100,223,.6);
  transform: translateY(-1px);
  outline: none;
}

.pgh-icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pgh-root[dir="rtl"] .pgh-back svg {
  transform: rotate(180deg);
}

.pgh-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 36px 44px;
  scrollbar-width: thin;
  scrollbar-color: rgba(78,100,223,.72) transparent;
}

.pgh-scroll::-webkit-scrollbar { width: 5px; }
.pgh-scroll::-webkit-scrollbar-track { background: transparent; }
.pgh-scroll::-webkit-scrollbar-thumb { background: rgba(78,100,223,.72); border-radius: 99px; }

.pgh-intro {
  margin-bottom: 20px;
}

.pgh-title,
.pgh-section-title,
.pgh-submenu-group-title {
  margin: 0;
  color: var(--pgh-drawer-text);
}

.pgh-title {
  font-size: clamp(27px, 6vw, 38px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -.6px;
}

.pgh-description {
  margin: 7px 0 0;
  color: var(--pgh-muted);
  font-size: 13px;
  line-height: 1.8;
}

.pgh-main-nav {
  display: grid;
  gap: 2px;
  margin-bottom: 28px;
}

.pgh-main-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 88px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--pgh-drawer-border);
  background: transparent;
  color: inherit;
  text-align: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: padding .22s ease, color .22s ease;
}

.pgh-main-nav-item:hover,
.pgh-main-nav-item:focus-visible {
  padding-inline: 10px;
  color: #fff;
  outline: none;
}

.pgh-main-nav-item::before {
  content: "";
  position: absolute;
  inset: 8px 0;
  z-index: -1;
  border-radius: 18px;
  background: linear-gradient(100deg, rgba(78,100,223,.16), rgba(255,255,255,.02));
  opacity: 0;
  transition: opacity .22s ease;
}

.pgh-main-nav-item:hover::before,
.pgh-main-nav-item:focus-visible::before {
  opacity: 1;
}

.pgh-nav-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}

.pgh-nav-title {
  color: var(--pgh-drawer-text);
  font-size: 25px;
  line-height: 1.15;
  font-weight: 900;
}

.pgh-nav-subtitle {
  color: var(--pgh-muted);
  font-size: 13px;
}

.pgh-nav-art {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pgh-brand);
}

.pgh-nav-visual {
  width: 50px;
  height: 50px;
  font-size: 39px;
  color: var(--pgh-brand);
  filter: drop-shadow(0 10px 16px rgba(78,100,223,.25));
}

.pgh-nav-visual img,
.pgh-product-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pgh-nav-visual svg,
.pgh-nav-visual i,
.pgh-product-visual svg,
.pgh-product-visual i {
  width: 1em;
  height: 1em;
  font-size: 1em;
  fill: currentColor;
}

.pgh-nav-arrow {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pgh-root[dir="rtl"] .pgh-nav-arrow {
  transform: rotate(180deg);
}

.pgh-section {
  padding: 25px 0 28px;
  border-bottom: 1px solid var(--pgh-drawer-border);
}

.pgh-section:last-child {
  border-bottom: 0;
}

.pgh-section-title {
  margin-bottom: 16px;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 900;
}

.pgh-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pgh-product-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  overflow: hidden;
  padding: 14px 72px 14px 16px;
  border: 1px solid var(--pgh-drawer-border);
  border-radius: 12px;
  background: var(--pgh-card);
  color: var(--pgh-drawer-text);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.pgh-root[dir="rtl"] .pgh-product-card {
  padding: 14px 16px 14px 72px;
}

.pgh-product-card:hover,
.pgh-product-card:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--pgh-brand) 70%, transparent);
  background: linear-gradient(130deg, rgba(78,100,223,.16), rgba(255,255,255,.035));
  outline: none;
}

.pgh-product-title {
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 800;
}

.pgh-product-art {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 68px;
  height: 68px;
  transform: translateY(-50%) rotate(-7deg);
  color: var(--pgh-brand);
  opacity: .98;
  filter: drop-shadow(0 9px 12px rgba(0,0,0,.24));
}

.pgh-root[dir="rtl"] .pgh-product-art {
  right: auto;
  left: 6px;
  transform: translateY(-50%) rotate(7deg);
}

.pgh-product-visual {
  width: 100%;
  height: 100%;
  font-size: 51px;
}

.pgh-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: 7px;
  padding: 2px 7px;
  border: 1px solid rgba(78,100,223,.58);
  border-radius: 8px;
  background: rgba(78,100,223,.15);
  color: #cfd6ff;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.pgh-product-card > .pgh-badge {
  position: absolute;
  inset-inline-end: 7px;
  top: 7px;
  z-index: 3;
  margin: 0;
}

.pgh-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pgh-topic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 15px;
  border: 2px solid var(--pgh-brand);
  border-radius: 999px;
  background: rgba(78,100,223,.035);
  color: var(--pgh-drawer-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.pgh-topic:hover,
.pgh-topic:focus-visible {
  background: var(--pgh-brand);
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}

.pgh-all-designs {
  display: inline-block;
  margin-top: 19px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--pgh-brand);
  color: var(--pgh-drawer-text);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.pgh-support-list {
  display: grid;
  gap: 3px;
}

.pgh-support-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 7px 0;
  color: var(--pgh-drawer-text);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.pgh-support-link:hover,
.pgh-support-link:focus-visible {
  color: #cfd6ff;
  transform: translateX(-3px);
  outline: none;
}

.pgh-support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #8394ff;
  font-size: 18px;
}

.pgh-support-icon svg,
.pgh-support-icon i {
  width: 1em;
  height: 1em;
  font-size: 1em;
  fill: currentColor;
}

.pgh-drawer-footer {
  flex: 0 0 auto;
  padding: 18px 36px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--pgh-drawer-border);
  background: linear-gradient(180deg, rgba(15,15,30,.38), rgba(15,15,30,.94));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.pgh-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: var(--pgh-brand);
  background: linear-gradient(135deg, color-mix(in srgb, var(--pgh-brand) 94%, #fff 6%), var(--pgh-brand));
  box-shadow: 0 14px 34px rgba(78,100,223,.30), inset 0 1px rgba(255,255,255,.24);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.pgh-cta:hover,
.pgh-cta:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(78,100,223,.38), inset 0 1px rgba(255,255,255,.24);
  outline: none;
}

.pgh-submenu-scroll {
  padding-top: 20px;
}

.pgh-submenu-group {
  margin-bottom: 24px;
}

.pgh-submenu-group-title {
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 900;
}

.pgh-submenu-links {
  display: grid;
}

.pgh-submenu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pgh-drawer-border);
  color: var(--pgh-drawer-text);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: padding .2s ease, color .2s ease;
}

.pgh-submenu-link:hover,
.pgh-submenu-link:focus-visible {
  padding-inline: 10px;
  color: #cfd6ff;
  outline: none;
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .pgh-bar { background: rgba(245, 246, 250, .96); }
  .pgh-drawer { background: #11111f; }
}

@media (min-width: 1025px) {
  .pgh-mobile-only {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .pgh-actions {
    gap: 4px;
    padding-inline: 18px;
  }

  .pgh-action {
    min-width: calc(var(--pgh-icon-size) + 11px);
    min-height: calc(var(--pgh-icon-size) + 11px);
    padding: 6px;
  }

  .pgh-scroll {
    padding-inline: 24px;
  }

  .pgh-drawer-footer {
    padding-inline: 24px;
  }

  .pgh-product-card {
    min-height: 68px;
  }
}

@media (max-width: 390px) {
  .pgh-root {
    --pgh-icon-size: 34px;
  }

  .pgh-product-grid {
    grid-template-columns: 1fr;
  }

  .pgh-product-card {
    min-height: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pgh-root *,
  .pgh-root *::before,
  .pgh-root *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
