:root {
  --pi-ink: #17191c;
  --pi-ink-soft: #25282d;
  --pi-paper: #f3f0e9;
  --pi-paper-deep: #e9e4da;
  --pi-surface: #ffffff;
  --pi-surface-soft: #faf8f4;
  --pi-line: #ded9cf;
  --pi-line-dark: rgba(255, 255, 255, 0.16);
  --pi-muted: #686b70;
  --pi-muted-dark: #a9adb4;
  --pi-accent: #c9440b;
  --pi-accent-bright: #ff6b1a;
  --pi-accent-soft: #fff0e7;
  --pi-success: #20744a;
  --pi-radius: 12px;
  --pi-shadow: 0 22px 60px rgba(23, 25, 28, 0.10);
  --pi-shadow-soft: 0 12px 34px rgba(23, 25, 28, 0.07);
}

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

html {
  scroll-behavior: smooth;
}

body.public-site {
  margin: 0;
  min-width: 320px;
  color: var(--pi-ink);
  background: var(--pi-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.public-site img {
  display: block;
  max-width: 100%;
}

.public-site a:not([class]) {
  color: inherit;
}

.public-site button,
.public-site input,
.public-site textarea,
.public-site select {
  font: inherit;
}

.public-site svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-site :focus-visible {
  outline: 3px solid rgba(201, 68, 11, 0.35);
  outline-offset: 3px;
}

.pi-shell {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.pi-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pi-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--pi-accent);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.pi-skip-link:focus {
  transform: translateY(0);
}

.pi-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pi-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pi-eyebrow > span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

.pi-eyebrow-light {
  color: #ff9458;
}

.pi-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pi-button:hover {
  transform: translateY(-2px);
}

.pi-button svg {
  width: 18px;
  height: 18px;
}

.pi-button-primary {
  color: #fff !important;
  background: var(--pi-accent);
  box-shadow: 0 12px 24px rgba(201, 68, 11, 0.20);
}

.pi-button-primary:hover {
  background: #aa3607;
  box-shadow: 0 16px 30px rgba(201, 68, 11, 0.28);
}

.pi-button-ghost {
  color: var(--pi-ink) !important;
  border-color: var(--pi-line);
  background: rgba(255, 255, 255, 0.64);
}

.pi-button-ghost:hover {
  border-color: var(--pi-ink);
  background: #fff;
}

.pi-button-light {
  color: var(--pi-ink) !important;
  background: #fff;
}

.pi-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pi-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.pi-text-link span {
  color: var(--pi-accent);
  font-size: 18px;
  transition: transform 0.18s ease;
}

.pi-text-link:hover span {
  transform: translate(2px, -2px);
}

.pi-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.pi-section-heading h2 {
  max-width: 790px;
  margin: 14px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.pi-section-heading-compact h2 {
  font-size: clamp(32px, 3.2vw, 46px);
}

/* Public header */

.pi-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--pi-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.pi-utility-bar {
  color: rgba(255, 255, 255, 0.76);
  background: var(--pi-ink);
  font-size: 12px;
}

.pi-utility-inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pi-utility-meta,
.pi-utility-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pi-utility-meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  display: inline-block;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--pi-accent-bright);
}

.pi-utility-links a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.pi-header-row,
.pi-header-main {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
}

.pi-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--pi-ink);
  text-decoration: none;
}

.pi-brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: var(--pi-ink);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.pi-brand-mark::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 13px;
  height: 13px;
  background: var(--pi-accent-bright);
}

.pi-brand-copy,
.pi-brand-text {
  display: grid;
  line-height: 1.05;
}

.pi-brand-copy strong,
.pi-brand-name,
.pi-brand-text strong {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.pi-brand-copy small,
.pi-brand-caption,
.pi-brand-text small {
  margin-top: 5px;
  color: var(--pi-muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pi-main-nav,
.pi-header-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  white-space: nowrap;
}

.pi-main-nav a,
.pi-header-nav a {
  position: relative;
  color: #4d5055;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.pi-main-nav a::after,
.pi-header-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--pi-accent);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.pi-main-nav a:hover::after,
.pi-main-nav a[aria-current="page"]::after,
.pi-header-nav a:hover::after,
.pi-header-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.pi-header-search {
  height: 44px;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--pi-line);
  border-radius: 9px;
  background: var(--pi-surface-soft);
  overflow: hidden;
}

.pi-header-search > svg {
  width: 18px;
  height: 18px;
  margin-left: 14px;
  color: var(--pi-muted);
}

.pi-header-search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: var(--pi-ink);
  background: transparent;
  font-size: 13px;
}

.pi-header-search button {
  align-self: stretch;
  border: 0;
  padding: 0 16px;
  color: #fff;
  background: var(--pi-ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.pi-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pi-header-logout-form {
  margin: 0;
}

.pi-header-logout {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  color: var(--pi-ink);
  border: 1px solid var(--pi-line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.pi-header-logout:hover {
  color: #fff;
  border-color: var(--pi-ink);
  background: var(--pi-ink);
}

.pi-header-logout svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.pi-header-login,
.pi-header-register,
.pi-header-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--pi-ink);
  text-decoration: none;
}

.pi-header-login,
.pi-header-action-secondary {
  border: 1px solid var(--pi-line);
  background: #fff;
}

.pi-header-register,
.pi-header-action-primary {
  color: #fff !important;
  background: var(--pi-accent);
}

/* Home hero */

.pi-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6vw, 86px) 0 clamp(72px, 8vw, 112px);
  background:
    radial-gradient(circle at 16% 2%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(180deg, #f7f5f0 0%, var(--pi-paper) 100%);
}

.pi-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: calc(50% + 220px);
  width: 1px;
  height: 100%;
  background: rgba(23, 25, 28, 0.05);
}

.pi-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 0.82fr);
  align-items: center;
  gap: clamp(46px, 6vw, 92px);
}

.pi-hero-copy h1 {
  max-width: 720px;
  margin: 22px 0 24px;
  font-size: clamp(50px, 5.5vw, 78px);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.pi-hero-copy h1 em {
  color: var(--pi-accent);
  font-style: normal;
  font-weight: inherit;
}

.pi-hero-lead {
  max-width: 640px;
  margin: 0;
  color: #56595f;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.62;
}

.pi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.pi-trust-list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.pi-trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-left: 1px solid var(--pi-line);
  color: #4e5156;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pi-trust-list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.pi-trust-list li span {
  color: var(--pi-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
}

.pi-hero-stage {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 107, 26, 0.28), transparent 28%),
    linear-gradient(145deg, #292c31 0%, #111316 74%);
  box-shadow: 0 28px 74px rgba(23, 25, 28, 0.22);
}

.pi-stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom right, #000, transparent 84%);
}

.pi-stage-number {
  position: absolute;
  right: -18px;
  bottom: -44px;
  color: rgba(255, 255, 255, 0.035);
  font-size: 230px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.12em;
}

.pi-showcase-product {
  position: absolute;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 11px;
  color: var(--pi-ink);
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.pi-showcase-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pi-showcase-product figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  overflow: hidden;
  color: #45484e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.pi-showcase-product-main {
  top: 148px;
  left: 36px;
  z-index: 3;
  width: 72%;
  height: 250px;
  padding: 34px 26px 42px;
  transform: rotate(-3deg);
}

.pi-product-index {
  position: absolute;
  top: 12px;
  left: 14px;
  color: var(--pi-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
}

.pi-showcase-product-top {
  top: 34px;
  right: 26px;
  z-index: 2;
  width: 39%;
  height: 205px;
  padding: 22px 18px 36px;
  transform: rotate(5deg);
}

.pi-showcase-product-bottom {
  right: 30px;
  bottom: 52px;
  z-index: 4;
  width: 42%;
  height: 224px;
  padding: 20px 18px 38px;
  transform: rotate(3deg);
}

.pi-stage-note {
  position: absolute;
  bottom: 28px;
  left: 26px;
  z-index: 6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 210px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(17, 19, 22, 0.82);
  backdrop-filter: blur(10px);
}

.pi-live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 50%;
  background: #54c884;
  box-shadow: 0 0 0 4px rgba(84, 200, 132, 0.12);
}

.pi-stage-note strong,
.pi-stage-note small {
  display: block;
}

.pi-stage-note strong {
  color: #fff;
  font-size: 12px;
}

.pi-stage-note small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  line-height: 1.35;
}

/* Home categories */

.pi-category-section {
  padding: clamp(78px, 8vw, 118px) 0;
  background: var(--pi-surface);
}

.pi-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--pi-line);
  border-left: 1px solid var(--pi-line);
}

.pi-category-card {
  position: relative;
  min-height: 248px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  overflow: hidden;
  border-right: 1px solid var(--pi-line);
  border-bottom: 1px solid var(--pi-line);
  padding: 24px 26px;
  color: var(--pi-ink);
  background: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pi-category-card:hover {
  background: var(--pi-surface-soft);
}

.pi-category-card-featured {
  color: #fff;
  background: var(--pi-ink);
}

.pi-category-card-featured:hover {
  background: #24272c;
}

.pi-category-count {
  color: var(--pi-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
}

.pi-category-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--pi-line);
  border-radius: 50%;
  color: var(--pi-accent);
  background: var(--pi-surface-soft);
}

.pi-category-card-featured .pi-category-icon {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.pi-category-icon svg {
  width: 32px;
  height: 32px;
}

.pi-category-card > div:not(.pi-category-icon) {
  align-self: end;
  max-width: 75%;
}

.pi-category-card strong,
.pi-category-card small {
  display: block;
}

.pi-category-card strong {
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.pi-category-card small {
  margin-top: 8px;
  color: var(--pi-muted);
  font-size: 12px;
}

.pi-category-card-featured small {
  color: rgba(255, 255, 255, 0.56);
}

.pi-card-arrow {
  justify-self: end;
  color: var(--pi-accent);
  font-size: 22px;
  transition: transform 0.18s ease;
}

.pi-category-card:hover .pi-card-arrow {
  transform: translate(3px, -3px);
}

/* Process and business sections */

.pi-process-section {
  padding: clamp(82px, 8vw, 120px) 0;
  color: #fff;
  background: var(--pi-ink);
}

.pi-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  gap: clamp(60px, 9vw, 140px);
}

.pi-process-intro {
  position: sticky;
  top: 142px;
  align-self: start;
}

.pi-process-intro h2 {
  margin: 18px 0 24px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.pi-process-intro > p {
  margin: 0 0 32px;
  color: var(--pi-muted-dark);
  font-size: 16px;
  line-height: 1.7;
}

.pi-process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pi-process-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  border-top: 1px solid var(--pi-line-dark);
  padding: 34px 0 38px;
}

.pi-process-list li:last-child {
  border-bottom: 1px solid var(--pi-line-dark);
}

.pi-process-number {
  color: #ff9254;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 900;
}

.pi-process-list h3 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.pi-process-list p {
  max-width: 580px;
  margin: 0;
  color: var(--pi-muted-dark);
  line-height: 1.65;
}

.pi-business-section {
  padding: clamp(78px, 8vw, 118px) 0;
  background: var(--pi-paper);
}

.pi-business-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(500px, 1.18fr);
  border: 1px solid var(--pi-line);
  background: var(--pi-surface);
}

.pi-business-copy {
  padding: clamp(34px, 5vw, 66px);
  border-right: 1px solid var(--pi-line);
}

.pi-business-copy h2 {
  margin: 18px 0 24px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.pi-business-copy p {
  margin: 0;
  color: var(--pi-muted);
  line-height: 1.7;
}

.pi-business-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pi-business-features article {
  min-height: 230px;
  padding: 28px 30px;
  border-right: 1px solid var(--pi-line);
  border-bottom: 1px solid var(--pi-line);
}

.pi-business-features article:nth-child(even) {
  border-right: 0;
}

.pi-business-features article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.pi-business-features article > span {
  color: var(--pi-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
}

.pi-business-features article > div {
  margin-top: 54px;
}

.pi-business-features h3 {
  margin: 0 0 9px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.pi-business-features p {
  margin: 0;
  color: var(--pi-muted);
  font-size: 13px;
  line-height: 1.6;
}

.pi-final-cta {
  padding: clamp(72px, 7vw, 104px) 0;
  background: var(--pi-surface);
}

.pi-final-cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.pi-final-cta h2 {
  margin: 16px 0 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.pi-final-cta-actions {
  display: grid;
  justify-items: start;
  gap: 20px;
  min-width: 260px;
}

/* Catalog */

.pi-catalog-main {
  padding-bottom: 96px;
}

.pi-catalog-hero {
  padding: 36px 0 42px;
  border-bottom: 1px solid var(--pi-line);
  background: var(--pi-surface);
}

.pi-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  color: var(--pi-muted);
  font-size: 11px;
  white-space: nowrap;
}

.pi-breadcrumbs a {
  text-decoration: none;
}

.pi-breadcrumbs a:hover {
  color: var(--pi-accent);
}

.pi-catalog-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 26px;
}

.pi-catalog-hero-row h1 {
  margin: 14px 0 14px;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.pi-catalog-hero-row p {
  max-width: 720px;
  margin: 0;
  color: var(--pi-muted);
  font-size: 15px;
}

.pi-catalog-search {
  max-width: 820px;
  height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 34px;
  border: 1px solid var(--pi-line);
  border-radius: 10px;
  background: var(--pi-surface-soft);
  box-shadow: var(--pi-shadow-soft);
  overflow: hidden;
}

.pi-catalog-search svg {
  width: 21px;
  height: 21px;
  margin-left: 18px;
  color: var(--pi-muted);
}

.pi-catalog-search input {
  width: 100%;
  min-width: 0;
  height: 56px;
  border: 0;
  outline: 0;
  padding: 0 14px;
  color: var(--pi-ink);
  background: transparent;
}

.pi-catalog-search button {
  align-self: stretch;
  border: 0;
  padding: 0 26px;
  color: #fff;
  background: var(--pi-accent);
  font-weight: 850;
  cursor: pointer;
}

.pi-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pi-active-filters-label {
  color: var(--pi-muted);
  font-size: 12px;
  font-weight: 700;
}

.pi-filter-chip {
  border: 1px solid var(--pi-line);
  border-radius: 999px;
  padding: 5px 9px;
  color: #44474d;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}

.pi-active-filters > a {
  margin-left: 6px;
  color: var(--pi-accent);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.pi-catalog-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
  padding-top: 34px;
}

.pi-filter-sidebar {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 16px;
}

.pi-filter-panel {
  border: 1px solid var(--pi-line);
  border-radius: 10px;
  background: var(--pi-surface);
  overflow: hidden;
}

.pi-filter-heading {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--pi-line);
  padding: 0 16px;
}

.pi-filter-heading h2 {
  margin: 0;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.pi-filter-heading span {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--pi-muted);
  background: var(--pi-paper);
  font-size: 9px;
  font-weight: 800;
}

.pi-filter-list {
  max-height: 340px;
  overflow: auto;
  padding: 8px;
  scrollbar-width: thin;
}

.pi-filter-list a {
  min-height: 36px;
  display: flex;
  align-items: center;
  border-radius: 7px;
  padding: 7px 9px;
  color: #55585e;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}

.pi-filter-list a:hover {
  color: var(--pi-ink);
  background: var(--pi-paper);
}

.pi-filter-list a.is-active {
  color: #fff;
  background: var(--pi-ink);
}

.pi-mobile-filters {
  display: none;
}

.pi-catalog-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--pi-line);
  border-radius: 10px;
  padding: 0 18px;
  background: var(--pi-surface);
}

.pi-catalog-toolbar > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.pi-catalog-toolbar strong {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.pi-catalog-toolbar span {
  color: var(--pi-muted);
  font-size: 11px;
  font-weight: 650;
}

.pi-toolbar-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pi-toolbar-note .pi-live-dot {
  margin: 0;
}

.pi-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pi-product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--pi-line);
  border-radius: 11px;
  background: var(--pi-surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pi-product-card:hover {
  border-color: #c9c2b7;
  box-shadow: var(--pi-shadow-soft);
  transform: translateY(-3px);
}

.pi-product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--pi-line);
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(23, 25, 28, 0.025) 25%, transparent 25%) 0 0 / 16px 16px,
    var(--pi-surface-soft);
  text-decoration: none;
}

.pi-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.25s ease;
}

.pi-product-card:hover .pi-product-image img {
  transform: scale(1.035);
}

.pi-product-placeholder {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pi-ink);
  font-weight: 900;
}

.pi-variant-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid var(--pi-line);
  border-radius: 999px;
  padding: 5px 8px;
  color: #4d5055;
  background: rgba(255,255,255,.92);
  font-size: 9px;
  font-weight: 800;
}

.pi-product-body {
  min-height: 300px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.pi-product-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: var(--pi-accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pi-product-kicker span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.pi-product-kicker span + span {
  color: var(--pi-muted);
}

.pi-product-kicker span + span::before {
  content: "·";
  margin-right: 7px;
  color: #c7c1b7;
}

.pi-product-card h2 {
  min-height: 48px;
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.pi-product-card h2 a {
  text-decoration: none;
}

.pi-product-code {
  overflow: hidden;
  color: var(--pi-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pi-product-description {
  display: -webkit-box;
  min-height: 57px;
  margin: 16px 0 0;
  overflow: hidden;
  color: var(--pi-muted);
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pi-variant-chips {
  min-height: 70px;
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  overflow: hidden;
}

.pi-variant-chips a,
.pi-variant-chips > span {
  height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pi-line);
  border-radius: 6px;
  padding: 0 8px;
  color: #4d5055;
  background: var(--pi-surface-soft);
  font-size: 9px;
  font-weight: 750;
  text-decoration: none;
}

.pi-variant-chips a:hover {
  border-color: var(--pi-accent);
  color: var(--pi-accent);
}

.pi-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--pi-line);
  padding-top: 15px;
}

.pi-personal-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pi-personal-price > svg {
  width: 22px;
  height: 22px;
  color: var(--pi-accent);
}

.pi-personal-price small,
.pi-personal-price strong {
  display: block;
}

.pi-personal-price small {
  color: var(--pi-muted);
  font-size: 8px;
  font-weight: 600;
}

.pi-personal-price strong {
  font-size: 10px;
}

.pi-product-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pi-ink);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.pi-product-link span {
  color: var(--pi-accent);
  font-size: 15px;
}

.pi-empty-state {
  grid-column: 1 / -1;
  border: 1px solid var(--pi-line);
  border-radius: 12px;
  padding: 70px 30px;
  text-align: center;
  background: var(--pi-surface);
}

.pi-empty-state > span {
  color: var(--pi-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pi-empty-state h2 {
  margin: 12px 0 8px;
  font-size: 32px;
}

.pi-empty-state p {
  margin: 0 0 24px;
  color: var(--pi-muted);
}

/* Product detail */

.pi-product-page {
  padding: 30px 0 100px;
  background: var(--pi-paper);
}

.pi-product-breadcrumbs {
  margin-bottom: 28px;
}

.pi-product-detail {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 0.9fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: start;
}

.pi-product-gallery {
  min-width: 0;
}

.pi-product-main-image {
  position: relative;
  aspect-ratio: 1 / 0.86;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--pi-line);
  border-radius: 13px;
  padding: clamp(34px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(23,25,28,.025) 25%, transparent 25%) 0 0 / 18px 18px,
    var(--pi-surface);
}

.pi-product-main-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pi-gallery-label {
  position: absolute;
  top: 16px;
  left: 16px;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--pi-muted);
  background: var(--pi-paper);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pi-product-image-empty {
  text-align: center;
}

.pi-product-image-empty strong,
.pi-product-image-empty span {
  display: block;
}

.pi-product-image-empty strong {
  font-size: 26px;
}

.pi-product-image-empty span {
  margin-top: 8px;
  color: var(--pi-muted);
}

.pi-gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 4px 0;
  color: var(--pi-muted);
  font-size: 10px;
}

.pi-product-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pi-product-detail-tags span {
  border: 1px solid var(--pi-line);
  border-radius: 999px;
  padding: 6px 10px;
  color: #55585d;
  background: rgba(255,255,255,.56);
  font-size: 10px;
  font-weight: 800;
}

.pi-product-info h1 {
  margin: 18px 0 20px;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.pi-product-identifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 0;
  border-top: 1px solid var(--pi-line);
  border-bottom: 1px solid var(--pi-line);
  padding: 14px 0;
}

.pi-product-identifiers div {
  min-width: 0;
}

.pi-product-identifiers dt {
  color: var(--pi-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pi-product-identifiers dd {
  max-width: 290px;
  margin: 4px 0 0;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pi-product-lead {
  margin: 22px 0;
  color: var(--pi-muted);
  font-size: 14px;
  line-height: 1.7;
}

.pi-price-access-panel {
  margin-top: 24px;
  border: 1px solid #d7cec1;
  border-radius: 13px;
  padding: 24px;
  background: var(--pi-surface);
  box-shadow: var(--pi-shadow-soft);
}

.pi-price-access-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pi-lock-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--pi-ink);
}

.pi-lock-icon svg {
  width: 21px;
  height: 21px;
}

.pi-price-access-head span,
.pi-price-access-head strong {
  display: block;
}

.pi-price-access-head span {
  color: var(--pi-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pi-price-access-head strong {
  margin-top: 3px;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.pi-price-access-panel > p {
  margin: 18px 0;
  color: var(--pi-muted);
  font-size: 12px;
  line-height: 1.6;
}

.pi-price-access-panel ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pi-price-access-panel li {
  position: relative;
  padding: 10px 10px 10px 25px;
  border-radius: 7px;
  color: #4f5257;
  background: var(--pi-surface-soft);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
}

.pi-price-access-panel li::before {
  content: "✓";
  position: absolute;
  left: 9px;
  color: var(--pi-success);
  font-weight: 900;
}

.pi-product-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.pi-spec-section,
.pi-similar-section {
  margin-top: 90px;
}

.pi-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--pi-line);
  border-left: 1px solid var(--pi-line);
  background: var(--pi-surface);
}

.pi-spec-grid > div {
  min-height: 94px;
  border-right: 1px solid var(--pi-line);
  border-bottom: 1px solid var(--pi-line);
  padding: 20px 22px;
}

.pi-spec-grid dt {
  color: var(--pi-muted);
  font-size: 10px;
  font-weight: 700;
}

.pi-spec-grid dd {
  margin: 9px 0 0;
  font-size: 14px;
  font-weight: 800;
}

.pi-similar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pi-similar-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pi-line);
  border-radius: 11px;
  padding: 12px 12px 16px;
  background: var(--pi-surface);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pi-similar-card:hover {
  box-shadow: var(--pi-shadow-soft);
  transform: translateY(-3px);
}

.pi-similar-image {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  padding: 16px;
  background: var(--pi-surface-soft);
}

.pi-similar-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pi-similar-card > small {
  margin-top: 14px;
  color: var(--pi-accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pi-similar-card > strong {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.3;
}

.pi-similar-card > span {
  margin-top: 8px;
  overflow: hidden;
  color: var(--pi-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pi-similar-card > em {
  margin-top: 16px;
  color: var(--pi-ink);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

/* Registration and auth */

.pi-register-main {
  padding: 48px 0 100px;
}

.pi-register-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(480px, 1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.pi-register-copy {
  position: sticky;
  top: 140px;
}

.pi-register-copy h1 {
  margin: 18px 0 20px;
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.052em;
}

.pi-register-copy > p {
  color: var(--pi-muted);
  line-height: 1.7;
}

.pi-register-steps {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.pi-register-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  border-top: 1px solid var(--pi-line);
  padding: 17px 0;
}

.pi-register-steps span {
  color: var(--pi-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
}

.pi-register-steps strong,
.pi-register-steps small {
  display: block;
}

.pi-register-steps strong {
  font-size: 13px;
}

.pi-register-steps small {
  margin-top: 4px;
  color: var(--pi-muted);
  font-size: 11px;
}

.pi-form-card {
  border: 1px solid var(--pi-line);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--pi-surface);
  box-shadow: var(--pi-shadow-soft);
}

.pi-form-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.pi-form-card > p {
  margin: 0 0 28px;
  color: var(--pi-muted);
  font-size: 12px;
}

.pi-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pi-form-field {
  display: grid;
  gap: 7px;
}

.pi-form-field-full {
  grid-column: 1 / -1;
}

.pi-form-field > span {
  color: #44474c;
  font-size: 11px;
  font-weight: 800;
}

.pi-form-field input,
.pi-form-field textarea {
  width: 100%;
  border: 1px solid var(--pi-line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--pi-ink);
  background: var(--pi-surface-soft);
  outline: 0;
}

.pi-form-field input {
  height: 48px;
}

.pi-form-field textarea {
  min-height: 110px;
  padding-block: 12px;
  resize: vertical;
}

.pi-form-field input:focus,
.pi-form-field textarea:focus {
  border-color: var(--pi-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 68, 11, 0.10);
}

.pi-form-alert {
  margin: 0 0 22px;
  border: 1px solid #efb8a0;
  border-radius: 8px;
  padding: 12px 14px;
  color: #8d2f0b;
  background: #fff4ee;
  font-size: 12px;
  font-weight: 700;
}

.pi-captcha {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 18px;
  align-items: end;
  border: 1px dashed #c9c2b7;
  border-radius: 9px;
  padding: 16px;
  background: var(--pi-surface-soft);
}

.pi-captcha strong,
.pi-captcha span {
  display: block;
}

.pi-captcha strong {
  font-size: 12px;
}

.pi-captcha span {
  margin-top: 4px;
  color: var(--pi-muted);
  font-size: 11px;
}

.pi-form-submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.pi-form-submit-row small {
  color: var(--pi-muted);
  font-size: 9px;
  line-height: 1.45;
}

.pi-form-submit-row small a {
  color: var(--pi-ink);
}

.pi-honeypot {
  position: absolute !important;
  left: -10000px !important;
}

.pi-auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  background: var(--pi-paper);
}

.pi-auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 42px clamp(28px, 5vw, 70px);
  color: #fff;
  background: var(--pi-ink);
}

.pi-auth-aside::after {
  content: "ПИ";
  position: absolute;
  right: -34px;
  bottom: -80px;
  color: rgba(255,255,255,.035);
  font-size: 290px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.12em;
}

.pi-auth-aside .pi-brand {
  position: relative;
  z-index: 2;
  color: #fff;
}

.pi-auth-aside .pi-brand-copy small {
  color: rgba(255,255,255,.55);
}

.pi-auth-message {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 90px 0;
}

.pi-auth-message h1 {
  margin: 18px 0 20px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.pi-auth-message p {
  color: var(--pi-muted-dark);
  font-size: 16px;
  line-height: 1.7;
}

.pi-auth-aside > small {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,.48);
}

.pi-auth-form-side {
  display: grid;
  place-items: center;
  padding: 40px;
}

.pi-auth-card {
  width: min(460px, 100%);
}

.pi-auth-card > a:first-child {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--pi-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.pi-auth-card h2 {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.pi-auth-card > p {
  margin: 0 0 30px;
  color: var(--pi-muted);
}

.pi-auth-form {
  display: grid;
  gap: 17px;
}

.pi-auth-form .pi-button {
  width: 100%;
  margin-top: 7px;
  cursor: pointer;
}

.pi-auth-card > .pi-auth-admin-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--pi-line);
  border-radius: 9px;
  color: var(--pi-muted);
  background: var(--pi-surface-soft);
  font-size: 12px;
  line-height: 1.5;
}

.pi-auth-links {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--pi-line);
}

.pi-auth-links a {
  color: var(--pi-ink);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

/* Footer and support button */

.pi-site-footer {
  color: #fff;
  background: #111316;
}

.pi-footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) repeat(2, minmax(160px, 0.55fr));
  gap: 60px;
  padding: 64px 0 54px;
}

.pi-footer-brand p {
  max-width: 460px;
  margin: 22px 0 0;
  color: var(--pi-muted-dark);
  font-size: 13px;
  line-height: 1.65;
}

.pi-footer-column h2,
.pi-footer-column strong {
  display: block;
  margin: 0 0 18px;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pi-footer-column nav,
.pi-footer-column > div {
  display: grid;
  gap: 11px;
}

.pi-footer-column a,
.pi-footer-column span {
  color: var(--pi-muted-dark);
  font-size: 12px;
  text-decoration: none;
}

.pi-footer-column a:hover {
  color: #fff;
}

.pi-footer-bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--pi-line-dark);
  color: rgba(255,255,255,.42);
  font-size: 10px;
}

.floating-site-message-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 9px;
  padding: 0 14px;
  color: #fff !important;
  background: var(--pi-ink);
  box-shadow: 0 14px 32px rgba(23,25,28,.25);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.floating-site-message-button__icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}

.floating-site-message-button__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

@media (max-width: 1180px) {
  .pi-header-row,
  .pi-header-main {
    grid-template-columns: auto minmax(220px, 1fr) auto;
  }

  .pi-main-nav,
  .pi-header-nav {
    display: none;
  }

  .pi-hero-grid {
    grid-template-columns: minmax(0, 1fr) 450px;
    gap: 48px;
  }

  .pi-hero-stage {
    min-height: 540px;
  }

  .pi-trust-list {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .pi-trust-list li {
    border-left: 0;
    padding: 0;
  }

  .pi-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pi-similar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .pi-shell {
    width: min(100% - 32px, 760px);
  }

  .pi-hero-grid,
  .pi-process-grid,
  .pi-business-panel,
  .pi-product-detail,
  .pi-register-layout {
    grid-template-columns: 1fr;
  }

  .pi-hero-stage {
    min-height: 560px;
  }

  .pi-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pi-process-intro,
  .pi-register-copy {
    position: static;
  }

  .pi-business-copy {
    border-right: 0;
    border-bottom: 1px solid var(--pi-line);
  }

  .pi-final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .pi-catalog-layout {
    grid-template-columns: 1fr;
  }

  .pi-filter-sidebar {
    display: none;
  }

  .pi-mobile-filters {
    display: block;
    border: 1px solid var(--pi-line);
    border-radius: 10px;
    background: var(--pi-surface);
  }

  .pi-mobile-filters summary {
    min-height: 58px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    cursor: pointer;
    list-style: none;
  }

  .pi-mobile-filters summary::-webkit-details-marker {
    display: none;
  }

  .pi-mobile-filters summary > span {
    font-size: 13px;
    font-weight: 850;
  }

  .pi-mobile-filters summary > small {
    color: var(--pi-muted);
    font-size: 10px;
  }

  .pi-mobile-filters summary svg {
    width: 18px;
    height: 18px;
    transition: transform .18s ease;
  }

  .pi-mobile-filters[open] summary svg {
    transform: rotate(180deg);
  }

  .pi-mobile-filter-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border-top: 1px solid var(--pi-line);
    padding: 14px;
  }

  .pi-mobile-filter-content section {
    min-width: 0;
    border: 1px solid var(--pi-line);
    border-radius: 8px;
    overflow: hidden;
  }

  .pi-mobile-filter-content h2 {
    margin: 0;
    border-bottom: 1px solid var(--pi-line);
    padding: 13px;
    font-size: 12px;
  }

  .pi-mobile-filter-content .pi-filter-list {
    max-height: 260px;
  }

  .pi-product-main-image {
    aspect-ratio: 4 / 3;
  }

  .pi-price-access-panel ul {
    grid-template-columns: 1fr;
  }

  .pi-auth-page {
    grid-template-columns: 1fr;
  }

  .pi-auth-aside {
    min-height: 360px;
  }

  .pi-auth-message {
    margin: 54px 0;
  }

  .pi-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .pi-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .pi-utility-bar {
    display: none;
  }

  .pi-header-row,
  .pi-header-main {
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 10px;
  }

  .pi-brand {
    margin-right: auto;
  }

  .pi-brand-copy small,
  .pi-brand-caption,
  .pi-brand-text small {
    display: none;
  }

  .pi-header-search {
    order: 5;
    width: 100%;
  }

  .pi-header-register,
  .pi-header-action-primary {
    display: none;
  }

  .pi-hero {
    padding-top: 42px;
  }

  .pi-hero-copy h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .pi-hero-stage {
    min-height: 480px;
  }

  .pi-showcase-product-main {
    top: 126px;
    left: 20px;
    width: 76%;
    height: 210px;
  }

  .pi-showcase-product-top {
    top: 24px;
    right: 18px;
    height: 172px;
  }

  .pi-showcase-product-bottom {
    right: 18px;
    bottom: 40px;
    height: 184px;
  }

  .pi-stage-note {
    bottom: 18px;
    left: 16px;
  }

  .pi-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .pi-category-grid,
  .pi-business-features,
  .pi-product-grid,
  .pi-spec-grid,
  .pi-similar-grid,
  .pi-form-grid,
  .pi-mobile-filter-content {
    grid-template-columns: 1fr;
  }

  .pi-category-card {
    min-height: 210px;
  }

  .pi-business-features article,
  .pi-business-features article:nth-child(even),
  .pi-business-features article:nth-last-child(-n + 2) {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--pi-line);
  }

  .pi-business-features article:last-child {
    border-bottom: 0;
  }

  .pi-business-features article > div {
    margin-top: 34px;
  }

  .pi-catalog-hero-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .pi-catalog-hero-row h1 {
    font-size: 44px;
  }

  .pi-catalog-search {
    height: 54px;
  }

  .pi-catalog-search input {
    height: 52px;
  }

  .pi-catalog-search button {
    padding: 0 17px;
  }

  .pi-catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .pi-product-detail {
    gap: 34px;
  }

  .pi-product-info h1 {
    font-size: 40px;
  }

  .pi-gallery-caption {
    flex-direction: column;
    gap: 2px;
  }

  .pi-price-access-panel {
    padding: 18px;
  }

  .pi-product-cta-row .pi-button {
    width: 100%;
  }

  .pi-form-field-full,
  .pi-captcha,
  .pi-form-submit-row {
    grid-column: auto;
  }

  .pi-captcha {
    grid-template-columns: 1fr;
  }

  .pi-form-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .pi-auth-aside {
    min-height: 320px;
    padding: 26px 22px;
  }

  .pi-auth-message h1 {
    font-size: 46px;
  }

  .pi-auth-form-side {
    padding: 42px 20px 76px;
  }

  .pi-footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pi-footer-brand {
    grid-column: auto;
  }

  .pi-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 16px;
  }

  .floating-site-message-button {
    right: 14px;
    bottom: 14px;
    width: 46px;
    padding: 0;
    justify-content: center;
  }

  .floating-site-message-button__text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
