.fpm-standalone-page {
  background: #ffffff;
  margin: 0;
}

.fpm-standalone-page.fpm-theme-dark {
  background: #0b0b0c;
}

.fpm-shell,
.fpm-detail {
  --fpm-bg: #ffffff;
  --fpm-ink: #111111;
  --fpm-muted: #5f6b7a;
  --fpm-placeholder: #6b7280;
  --fpm-line: #d5dbdb;
  --fpm-surface: #ffffff;
  --fpm-input: #ffffff;
  --fpm-soft: #f8f9fa;
  --fpm-primary: #000000;
  --fpm-primary-hover: #1f1f1f;
  --fpm-primary-active: #111111;
  --fpm-primary-text: #ffffff;
  --fpm-normal-bg: #ffffff;
  --fpm-normal-bg-hover: #f3f4f6;
  --fpm-normal-bg-active: #e5e7eb;
  --fpm-normal-text: #000000;
  --fpm-normal-border: #000000;
  --fpm-top-bg: #000000;
  --fpm-top-text: #ffffff;
  --fpm-top-muted: #d1d5db;
  --fpm-top-line: #2a2a2a;
  --fpm-top-button-bg: #111111;
  --fpm-top-button-hover: #1c1c1e;
  --fpm-top-button-active: #27272a;
  --fpm-top-button-text: #ffffff;
  --fpm-top-button-border: #2f2f35;
  --fpm-accent: #000000;
  --fpm-badge-bg: #f3f4f6;
  --fpm-badge-border: #d1d5db;
  --fpm-error-bg: #fff7ed;
  --fpm-error-border: #fed7aa;
  --fpm-error-text: #9a3412;
  --fpm-shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
  --fpm-lift-shadow: 0 14px 32px rgba(17, 24, 39, 0.12);
  --fpm-float-shadow: 0 16px 38px rgba(17, 24, 39, 0.13);
  --fpm-radius: 16px;
  --fpm-hero-wash: linear-gradient(180deg, #e7efec 0%, #f2f6f5 52%, #ffffff 100%);
  --fpm-hero-veil-top: rgba(255, 255, 255, 0.28);
  --fpm-hero-veil-bottom: rgba(255, 255, 255, 0.08);
  --fpm-tile-bg: #ffffff;
  --fpm-tile-ink: #111111;
  background: var(--fpm-bg);
  container-type: inline-size;
  color: var(--fpm-ink);
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0 auto;
  max-width: 1240px;
  padding: 24px;
}

.fpm-shell[data-fpm-theme="dark"],
.fpm-detail[data-fpm-theme="dark"] {
  --fpm-bg: #0b0b0c;
  --fpm-ink: #f5f5f5;
  --fpm-muted: #a3a3ad;
  --fpm-placeholder: #8f96a3;
  --fpm-line: #2a2c30;
  --fpm-surface: #141416;
  --fpm-input: #161618;
  --fpm-soft: #161618;
  --fpm-primary: #ffffff;
  --fpm-primary-hover: #e7e7ea;
  --fpm-primary-active: #d7d7db;
  --fpm-primary-text: #000000;
  --fpm-normal-bg: #111214;
  --fpm-normal-bg-hover: #1a1b1f;
  --fpm-normal-bg-active: #22242a;
  --fpm-normal-text: #ffffff;
  --fpm-normal-border: #ffffff;
  --fpm-accent: #ffffff;
  --fpm-badge-bg: #1a1b1f;
  --fpm-badge-border: #3a3d44;
  --fpm-error-bg: #2a1712;
  --fpm-error-border: #6f3827;
  --fpm-error-text: #fed7aa;
  --fpm-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
  --fpm-lift-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  --fpm-float-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
  --fpm-hero-wash: linear-gradient(180deg, #15181b 0%, #101214 55%, #0b0b0c 100%);
  --fpm-hero-veil-top: rgba(11, 11, 12, 0.5);
  --fpm-hero-veil-bottom: rgba(11, 11, 12, 0.32);
}

.fpm-shell *,
.fpm-detail * {
  box-sizing: border-box;
}

.fpm-shell a,
.fpm-detail a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.fpm-shell a:focus-visible,
.fpm-shell button:focus-visible,
.fpm-shell input:focus-visible,
.fpm-shell select:focus-visible,
.fpm-detail a:focus-visible,
.fpm-detail button:focus-visible,
.fpm-detail input:focus-visible,
.fpm-detail select:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.55);
  outline-offset: 3px;
}

.fpm-visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.fpm-searchbar {
  align-items: center;
  background: var(--fpm-surface);
  border: 1px solid var(--fpm-line);
  border-radius: 14px;
  box-shadow: var(--fpm-lift-shadow);
  display: flex;
  gap: 12px;
  max-width: 560px;
  padding: 0 20px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.fpm-searchbar:focus-within {
  border-color: var(--fpm-primary);
  box-shadow: var(--fpm-lift-shadow), 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.fpm-search-icon {
  color: var(--fpm-muted);
  display: inline-flex;
  flex: 0 0 auto;
}

.fpm-search-icon svg {
  display: block;
}

.fpm-searchbar input {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--fpm-ink);
  font: inherit;
  font-size: 17px;
  height: 62px;
  min-width: 0;
  padding: 0;
  width: 100%;
}

.fpm-searchbar input:focus {
  outline: none;
}

.fpm-searchbar input::placeholder {
  color: var(--fpm-placeholder);
}

.fpm-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fpm-filterbar select {
  appearance: auto;
  background: var(--fpm-input);
  border: 1px solid var(--fpm-line);
  border-radius: 12px;
  color: var(--fpm-ink);
  font: inherit;
  font-size: 15px;
  height: 46px;
  min-width: 0;
  padding: 0 14px;
}

.fpm-section-heading a,
.fpm-back-link {
  color: var(--fpm-primary);
  font-weight: 700;
  text-decoration: none;
}

.fpm-hero {
  background:
    linear-gradient(180deg, var(--fpm-hero-veil-top), var(--fpm-hero-veil-bottom)),
    var(--fpm-hero-bg, var(--fpm-hero-wash));
  background-position: center;
  background-size: cover;
  border: 1px solid var(--fpm-line);
  border-radius: 20px;
  color: var(--fpm-ink);
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  margin: 0;
  min-height: 540px;
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px);
}

.fpm-hero-copy {
  align-self: center;
  display: grid;
  gap: 20px;
  justify-items: start;
  max-width: 100%;
  min-width: 0;
}

.fpm-kicker {
  color: var(--fpm-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.fpm-hero .fpm-kicker {
  color: var(--fpm-muted);
  margin: 0;
}

.fpm-hero h1 {
  font-size: clamp(38px, 4.4vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: balance;
  white-space: normal;
}

.fpm-detail h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  margin: 0 0 16px;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.fpm-hero .fpm-hero-description {
  color: var(--fpm-muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  max-width: 560px;
}

.fpm-detail-heading p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 680px;
}

.fpm-hero-search {
  margin-top: 8px;
}

.fpm-hero-collage {
  align-self: stretch;
  display: grid;
  min-height: 440px;
  min-width: 0;
  position: relative;
}

.fpm-collage-stage {
  inset: 0;
  position: absolute;
}

.fpm-float-card,
.fpm-float-dot {
  align-items: center;
  background: var(--fpm-surface);
  border: 1px solid var(--fpm-line);
  box-shadow: var(--fpm-float-shadow);
  color: var(--fpm-ink);
  display: flex;
  position: absolute;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.fpm-float-card {
  animation: fpm-drift 7s ease-in-out infinite, fpm-float-in 560ms ease backwards;
  border-radius: 14px;
  gap: 12px;
  max-width: 46%;
  padding: 12px 20px 12px 12px;
}

.fpm-float-card:hover {
  border-color: var(--fpm-muted);
  box-shadow: var(--fpm-lift-shadow);
}

.fpm-float-card-1 {
  animation-delay: 0s, 0.05s;
  left: 6%;
  top: 9%;
  width: 240px;
}

.fpm-float-card-2 {
  animation-delay: -1.4s, 0.12s;
  right: 0;
  top: 21%;
  width: 250px;
}

.fpm-float-card-3 {
  animation-delay: -2.8s, 0.19s;
  left: 27%;
  top: 42%;
  width: 246px;
  z-index: 2;
}

.fpm-float-card-4 {
  animation-delay: -4.2s, 0.26s;
  bottom: 13%;
  left: 2%;
  width: 236px;
}

.fpm-float-card-5 {
  animation-delay: -5.6s, 0.33s;
  bottom: 20%;
  right: 5%;
  width: 228px;
}

.fpm-float-logo {
  align-items: center;
  background: var(--fpm-tile-bg);
  border: 1px solid var(--fpm-line);
  border-radius: 10px;
  color: var(--fpm-tile-ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 800;
  height: 46px;
  justify-content: center;
  overflow: hidden;
  width: 46px;
}

.fpm-float-logo img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.fpm-float-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fpm-float-dot {
  animation: fpm-drift 6s ease-in-out infinite, fpm-float-in 560ms ease backwards;
  border-radius: 999px;
  height: 58px;
  justify-content: center;
  overflow: hidden;
  padding: 5px;
  width: 58px;
  z-index: 1;
}

.fpm-float-dot:hover {
  border-color: var(--fpm-muted);
  box-shadow: var(--fpm-lift-shadow);
}

.fpm-float-dot img {
  background: var(--fpm-tile-bg);
  border-radius: 999px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.fpm-float-dot span {
  font-size: 22px;
  font-weight: 800;
}

.fpm-float-dot-1 {
  animation-delay: -0.7s, 0.4s;
  left: 0;
  top: 37%;
}

.fpm-float-dot-2 {
  animation-delay: -2.1s, 0.47s;
  right: 9%;
  top: 0;
}

.fpm-float-dot-3 {
  animation-delay: -3.5s, 0.54s;
  bottom: 0;
  left: 46%;
}

.fpm-float-dot-4 {
  animation-delay: -4.9s, 0.61s;
  bottom: 4%;
  right: 0;
}

@keyframes fpm-drift {
  0%,
  100% {
    translate: 0 -4px;
  }

  50% {
    translate: 0 4px;
  }
}

@keyframes fpm-float-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fpm-icon-carousel {
  align-items: center;
  align-self: center;
  background: var(--fpm-surface);
  border: 1px solid var(--fpm-line);
  border-radius: 28px;
  box-shadow: var(--fpm-shadow);
  display: flex;
  min-height: 260px;
  overflow: hidden;
  padding: 34px 0;
  position: relative;
  max-width: 100%;
  width: 100%;
}

.fpm-icon-carousel::before,
.fpm-icon-carousel::after {
  content: "";
  inset-block: 0;
  pointer-events: none;
  position: absolute;
  width: 88px;
  z-index: 2;
}

.fpm-icon-carousel::before {
  background: linear-gradient(90deg, var(--fpm-surface) 25%, transparent);
  left: 0;
}

.fpm-icon-carousel::after {
  background: linear-gradient(270deg, var(--fpm-surface) 25%, transparent);
  right: 0;
}

.fpm-icon-glow {
  display: none;
}

.fpm-icon-track {
  animation: fpm-icon-slide 24s linear infinite;
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0 22px;
  position: relative;
  width: max-content;
  z-index: 1;
}

.fpm-icon-carousel:hover .fpm-icon-track {
  animation-play-state: paused;
}

.fpm-icon-tile {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  display: inline-flex;
  flex: 0 0 80px;
  height: 80px;
  justify-content: center;
  overflow: hidden;
  transform: translateZ(0);
  width: 80px;
}

.fpm-icon-tile img {
  display: block;
  height: 80px;
  object-fit: cover;
  width: 80px;
}

@keyframes fpm-icon-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.fpm-slide {
  background: var(--fpm-surface);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  box-shadow: var(--fpm-shadow);
  color: var(--fpm-ink);
  display: grid;
  align-content: stretch;
  gap: 18px;
  grid-template-columns: 72px 1fr;
  inset: 0;
  opacity: 0;
  padding: 28px;
  position: absolute;
  transform: translateY(12px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.fpm-slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

.fpm-slide > div {
  min-width: 0;
}

.fpm-slide p {
  color: var(--fpm-muted);
  display: -webkit-box;
  font-size: 15px;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  line-height: 1.46;
  margin-bottom: 0;
  overflow: hidden;
}

.fpm-slide h2 {
  font-size: 30px;
  margin: 12px 0 8px;
}

.fpm-slide-logo,
.fpm-detail-logo {
  align-items: center;
  background: var(--fpm-soft);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  color: var(--fpm-primary);
  display: inline-flex;
  font-size: 28px;
  font-weight: 800;
  height: 64px;
  justify-content: center;
  overflow: hidden;
  width: 64px;
}

.fpm-slide-logo {
  font-size: 28px;
  height: 72px;
  width: 72px;
}

.fpm-slide .fpm-badge {
  font-size: 11px;
  padding: 6px 8px;
}

.fpm-slide .fpm-card-meta {
  margin-top: 18px;
}

.fpm-slide .fpm-button {
  margin-top: 18px;
  min-height: 44px;
  padding: 0 28px;
}

.fpm-slide .fpm-button-secondary {
  background: var(--fpm-primary);
  border-color: var(--fpm-primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  color: var(--fpm-primary-text);
}

.fpm-slide .fpm-button-secondary:hover {
  background: var(--fpm-primary-hover);
  border-color: var(--fpm-primary-hover);
  color: var(--fpm-primary-text);
}

.fpm-slide-logo img,
.fpm-detail-logo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.fpm-button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.fpm-button-primary {
  background: var(--fpm-primary);
  border-color: var(--fpm-primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  color: var(--fpm-primary-text);
}

.fpm-button-primary:hover {
  background: var(--fpm-primary-hover);
  border-color: var(--fpm-primary-hover);
  color: var(--fpm-primary-text);
  transform: translateY(-1px);
}

.fpm-button-secondary {
  background: var(--fpm-normal-bg);
  border-color: var(--fpm-normal-border);
  color: var(--fpm-normal-text);
}

.fpm-button-secondary:hover {
  background: var(--fpm-normal-bg-hover);
  border-color: var(--fpm-normal-border);
  box-shadow: 0 8px 18px rgba(24, 34, 47, 0.08);
  color: var(--fpm-normal-text);
  transform: translateY(-1px);
}

.fpm-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.fpm-section-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 0 24px;
}

.fpm-section-heading h2,
.fpm-panel h2,
.fpm-sidebar-box h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}

.fpm-featured-heading h2,
.fpm-categories .fpm-section-heading h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.fpm-section-description {
  color: var(--fpm-muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 10px 0 0;
  max-width: 640px;
}

.fpm-section-link {
  color: var(--fpm-primary);
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 4px;
  text-decoration: none;
  white-space: nowrap;
}

.fpm-section-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fpm-featured {
  margin: 56px 0 8px;
}

.fpm-featured-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fpm-featured-card {
  background: var(--fpm-surface);
  border: 1px solid var(--fpm-line);
  border-radius: var(--fpm-radius);
  display: flex;
  flex-direction: column;
  min-height: 252px;
  padding: 24px;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fpm-featured-card:hover {
  border-color: var(--fpm-muted);
  box-shadow: var(--fpm-lift-shadow);
  transform: translateY(-3px);
}

.fpm-featured-card:has(.fpm-featured-link:focus-visible) {
  border-color: var(--fpm-primary);
  box-shadow: var(--fpm-lift-shadow);
  outline: 3px solid rgba(245, 158, 11, 0.55);
  outline-offset: 3px;
}

.fpm-featured-top {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.fpm-featured-logo {
  align-items: center;
  color: var(--fpm-primary);
  display: inline-flex;
  font-size: 22px;
  font-weight: 800;
  height: 44px;
  min-width: 44px;
}

.fpm-featured-logo img {
  display: block;
  height: 40px;
  max-width: 132px;
  object-fit: contain;
  width: auto;
}

.fpm-featured-logo span {
  align-items: center;
  background: var(--fpm-soft);
  border: 1px solid var(--fpm-line);
  border-radius: 12px;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.fpm-featured-price {
  color: var(--fpm-primary);
  font-size: 14px;
  font-weight: 700;
  padding-top: 4px;
  text-align: right;
  white-space: nowrap;
}

.fpm-featured-card h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 18px 0 8px;
}

.fpm-featured-card p {
  -webkit-box-orient: vertical;
  color: var(--fpm-muted);
  display: -webkit-box;
  font-size: 15px;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.55;
  margin: 0;
  overflow: hidden;
}

.fpm-featured-link {
  border-radius: inherit;
  text-decoration: none;
}

.fpm-featured-link::after {
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
}

.fpm-featured-link:focus {
  outline: none;
}

.fpm-categories {
  margin: 56px 0 8px;
}

.fpm-category-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fpm-category-card {
  background: var(--fpm-surface);
  border: 1px solid var(--fpm-line);
  border-radius: var(--fpm-radius);
  color: var(--fpm-ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 208px;
  padding: 26px 24px;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fpm-category-card:hover {
  border-color: var(--fpm-muted);
  box-shadow: var(--fpm-lift-shadow);
  transform: translateY(-3px);
}

.fpm-category-icon {
  color: var(--fpm-ink);
  display: inline-flex;
}

.fpm-category-icon svg {
  display: block;
}

.fpm-category-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.fpm-category-count {
  color: var(--fpm-muted);
  font-size: 15px;
  line-height: 1.5;
  margin-top: auto;
}

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

.fpm-catalog {
  margin-top: 56px;
  scroll-margin-top: 24px;
}

.fpm-shell.fpm-solutions {
  padding: 0;
}

.fpm-solutions-heading h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.fpm-solutions-heading .fpm-button {
  flex: 0 0 auto;
}

.fpm-solutions-panel {
  background: var(--fpm-soft);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 36px) clamp(52px, 6vw, 76px);
  position: relative;
}

.fpm-solutions-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.fpm-solutions-track::-webkit-scrollbar {
  display: none;
}

.fpm-solutions-track .fpm-featured-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}

.fpm-solutions-track > .fpm-empty {
  flex: 1 1 100%;
}

.fpm-carousel-nav {
  appearance: none;
  background: var(--fpm-surface);
  border: 1px solid var(--fpm-line);
  border-radius: 999px;
  color: var(--fpm-ink);
  cursor: pointer;
  display: inline-grid;
  height: 48px;
  place-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  width: 48px;
  z-index: 1;
}

.fpm-carousel-nav:hover {
  border-color: var(--fpm-primary);
  box-shadow: var(--fpm-lift-shadow);
}

.fpm-carousel-nav:disabled {
  cursor: default;
  opacity: 0.35;
}

.fpm-carousel-nav:disabled:hover {
  border-color: var(--fpm-line);
  box-shadow: none;
}

.fpm-carousel-prev {
  left: 10px;
}

.fpm-carousel-next {
  right: 10px;
}

.fpm-carousel-prev::before,
.fpm-carousel-next::before {
  border-color: currentColor;
  border-style: solid;
  content: "";
  height: 12px;
  width: 12px;
}

.fpm-carousel-prev::before {
  border-width: 0 0 2px 2px;
  transform: translateX(3px) rotate(45deg);
}

.fpm-carousel-next::before {
  border-width: 2px 2px 0 0;
  transform: translateX(-3px) rotate(45deg);
}

@container (max-width: 980px) {
  .fpm-solutions-track .fpm-featured-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@container (max-width: 640px) {
  .fpm-solutions-panel {
    padding: 20px;
  }

  .fpm-solutions-track .fpm-featured-card {
    flex-basis: 78%;
  }

  .fpm-carousel-nav {
    display: none;
  }
}

.fpm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fpm-badge,
.fpm-tags span {
  background: var(--fpm-badge-bg);
  border: 1px solid var(--fpm-badge-border);
  border-radius: 999px;
  color: var(--fpm-primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}

.fpm-badge-verified {
  background: var(--fpm-primary);
  border-color: var(--fpm-primary);
  color: var(--fpm-primary-text);
}

.fpm-results {
  margin: 30px 0;
}

.fpm-dev-hero {
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.9), rgba(24, 34, 47, 0.64)),
    var(--fpm-dev-bg, linear-gradient(120deg, #111, #223044));
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  color: #fff;
  margin: 34px 0 10px;
  min-height: 360px;
  overflow: hidden;
  padding: 42px;
}

.fpm-dev-hero-copy {
  display: grid;
  gap: 18px;
  max-width: 680px;
}

.fpm-dev-hero .fpm-kicker {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.fpm-dev-hero h2 {
  color: #fff;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.02;
  margin: 0;
  max-width: 820px;
}

.fpm-dev-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.fpm-dev-hero .fpm-button-primary {
  background: #fff;
  border-color: #fff;
  color: #000;
  justify-self: start;
  margin-top: 8px;
}

.fpm-dev-hero .fpm-button-primary:hover {
  background: #f4f4f4;
  border-color: #f4f4f4;
  color: #000;
}

.fpm-empty {
  background: var(--fpm-soft);
  border: 1px dashed var(--fpm-line);
  border-radius: 8px;
  color: var(--fpm-muted);
  padding: 24px;
}

.fpm-grid > .fpm-empty,
.fpm-featured-grid > .fpm-empty,
.fpm-category-grid > .fpm-empty {
  grid-column: 1 / -1;
}

.fpm-loading {
  color: var(--fpm-ink);
}

.fpm-error {
  background: var(--fpm-error-bg);
  border-color: var(--fpm-error-border);
  color: var(--fpm-error-text);
}

.fpm-detail {
  padding-block: 30px 60px;
}

.fpm-detail-hero {
  align-items: stretch;
  background: var(--fpm-surface);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  box-shadow: var(--fpm-shadow);
  color: var(--fpm-ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  padding: 32px;
}

.fpm-detail-heading {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  min-width: 0;
}

.fpm-detail-logo {
  border-radius: 20px;
  flex: 0 0 96px;
  height: 96px;
  width: 96px;
}

.fpm-detail-title {
  min-width: 0;
}

.fpm-detail-title h1 {
  color: var(--fpm-ink);
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 14px;
}

.fpm-detail-heading p {
  color: var(--fpm-muted);
  font-size: 20px;
  line-height: 1.52;
  margin: 0 0 18px;
  max-width: 760px;
}

.fpm-breadcrumbs {
  align-items: center;
  color: var(--fpm-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.fpm-breadcrumbs span::before {
  color: #a7b2bf;
  content: "/";
  margin-right: 8px;
}

.fpm-detail-meta {
  color: var(--fpm-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  gap: 8px 10px;
  margin-bottom: 14px;
}

.fpm-detail-meta span {
  background: var(--fpm-soft);
  border: 1px solid var(--fpm-line);
  border-radius: 999px;
  padding: 8px 12px;
}

.fpm-detail-heading .fpm-badges {
  margin-top: 14px;
}

.fpm-detail-cta-card {
  align-self: center;
  background: var(--fpm-soft);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.fpm-detail-cta-card strong {
  color: var(--fpm-ink);
  font-size: 32px;
  line-height: 1;
}

.fpm-detail-cta-card span,
.fpm-detail-cta-card small {
  color: var(--fpm-muted);
  line-height: 1.45;
}

.fpm-detail-cta-card .fpm-button {
  margin-top: 6px;
  width: 100%;
}

.fpm-detail-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.fpm-detail-main,
.fpm-detail-sidebar {
  display: grid;
  gap: 18px;
}

.fpm-panel,
.fpm-sidebar-box {
  background: var(--fpm-surface);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  padding: 24px;
}

.fpm-payment-result {
  margin: 24px 0;
}

.fpm-voucher-head {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.fpm-voucher-head h2 {
  margin-top: 0;
}

.fpm-voucher-status {
  border-bottom: 1px solid var(--fpm-line);
  border-top: 1px solid var(--fpm-line);
  margin: 16px 0;
  padding: 14px 0;
}

.fpm-voucher-status strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.fpm-payment-result-success {
  border-color: #22c55e;
}

.fpm-payment-result-warning {
  border-color: #f59e0b;
}

.fpm-payment-result-error {
  border-color: #ef4444;
}

.fpm-payment-table {
  display: grid;
  gap: 0;
  margin-top: 16px;
}

.fpm-payment-result h3 {
  font-size: 18px;
  margin: 22px 0 0;
}

@media print {
  body * {
    visibility: hidden !important;
  }

  #fpm-transfer-receipt,
  #fpm-transfer-receipt * {
    visibility: visible !important;
  }

  #fpm-transfer-receipt {
    border: 1px solid #111 !important;
    box-shadow: none !important;
    color: #111 !important;
    left: 0;
    margin: 0 !important;
    padding: 24px !important;
    position: absolute;
    top: 0;
    width: 100%;
  }

  #fpm-transfer-receipt::before {
    content: "Recibo de transferencia";
    display: block;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
  }

  .fpm-print-button,
  .fpm-detail-cta-card,
  .fpm-detail-layout {
    display: none !important;
  }

  .fpm-detail-row {
    break-inside: avoid;
  }
}

.fpm-panel .fpm-kicker,
.fpm-sidebar-box .fpm-kicker {
  color: var(--fpm-primary);
  margin-bottom: 10px;
}

.fpm-richtext {
  color: var(--fpm-muted);
  line-height: 1.7;
}

.fpm-feature-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.fpm-feature {
  background: var(--fpm-soft);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  padding: 16px;
}

.fpm-feature h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

.fpm-feature p,
.fpm-sidebar-box p {
  color: var(--fpm-muted);
  line-height: 1.55;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}

.fpm-sidebar-box {
  overflow-wrap: anywhere;
}

.fpm-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.fpm-media-tile {
  aspect-ratio: 16 / 10;
  background: var(--fpm-soft);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  color: var(--fpm-primary);
  display: grid;
  font-weight: 800;
  overflow: hidden;
  place-items: center;
  text-decoration: none;
  width: 100%;
}

.fpm-image-tile {
  appearance: none;
  cursor: zoom-in;
  padding: 0;
}

.fpm-image-tile:hover {
  border-color: var(--fpm-primary);
  box-shadow: var(--fpm-shadow);
}

.fpm-media-image {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
  width: 100%;
}

.fpm-image-tile:hover .fpm-media-image {
  transform: scale(1.025);
}

.fpm-video-frame {
  aspect-ratio: 16 / 9;
  margin-top: 16px;
}

.fpm-lightbox-open {
  overflow: hidden;
}

.fpm-billing-modal-open {
  overflow: hidden;
}

.fpm-billing-modal {
  align-items: center;
  box-sizing: border-box;
  color: var(--fpm-ink);
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 24px;
  position: fixed;
  z-index: 99998;
}

.fpm-billing-backdrop {
  appearance: none;
  background: rgba(0, 0, 0, 0.62);
  border: 0;
  cursor: pointer;
  inset: 0;
  padding: 0;
  position: absolute;
}

.fpm-billing-surface {
  background: var(--fpm-surface);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 18px;
  max-height: calc(100dvh - 48px);
  max-width: 680px;
  overflow: auto;
  padding: 24px;
  position: relative;
  width: min(100%, 680px);
  z-index: 1;
}

.fpm-billing-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.fpm-billing-head h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}

.fpm-billing-close {
  appearance: none;
  background: var(--fpm-normal-bg);
  border: 1px solid var(--fpm-line);
  border-radius: 999px;
  color: var(--fpm-ink);
  cursor: pointer;
  display: inline-grid;
  flex: 0 0 auto;
  height: 40px;
  place-items: center;
  width: 40px;
}

.fpm-billing-close::before,
.fpm-billing-close::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  grid-area: 1 / 1;
  height: 2px;
  width: 17px;
}

.fpm-billing-close::before {
  transform: rotate(45deg);
}

.fpm-billing-close::after {
  transform: rotate(-45deg);
}

.fpm-billing-disclaimer {
  background: var(--fpm-soft);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  color: var(--fpm-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  padding: 14px 16px;
}

.fpm-billing-error {
  background: var(--fpm-error-bg);
  border: 1px solid var(--fpm-error-border);
  border-radius: 8px;
  color: var(--fpm-error-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  padding: 12px 14px;
}

.fpm-billing-final-consumer {
  align-items: flex-start;
  background: var(--fpm-normal-bg);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  color: var(--fpm-ink);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
  line-height: 1.4;
  padding: 12px 14px;
}

.fpm-billing-final-consumer input {
  flex: 0 0 auto;
  height: 18px;
  margin: 1px 0 0;
  width: 18px;
}

.fpm-license-email-field {
  color: var(--fpm-ink);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

.fpm-license-email-field input {
  appearance: auto;
  background: var(--fpm-input);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  color: var(--fpm-ink);
  font: inherit;
  font-weight: 500;
  min-height: 46px;
  min-width: 0;
  padding: 0 12px;
  width: 100%;
}

.fpm-license-email-field small {
  color: var(--fpm-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.fpm-billing-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fpm-billing-grid label {
  color: var(--fpm-ink);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  min-width: 0;
}

.fpm-billing-grid input,
.fpm-billing-grid select {
  appearance: auto;
  background: var(--fpm-input);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  color: var(--fpm-ink);
  font: inherit;
  font-weight: 500;
  min-height: 46px;
  min-width: 0;
  padding: 0 12px;
  width: 100%;
}

.fpm-billing-grid input::placeholder {
  color: var(--fpm-placeholder);
}

.fpm-billing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.fpm-lightbox[hidden] {
  display: none;
}

.fpm-lightbox {
  align-items: center;
  box-sizing: border-box;
  color: #ffffff;
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 24px;
  position: fixed;
  z-index: 99999;
}

.fpm-lightbox-backdrop {
  appearance: none;
  background: rgba(0, 0, 0, 0.82);
  border: 0;
  cursor: zoom-out;
  inset: 0;
  padding: 0;
  position: absolute;
}

.fpm-lightbox-surface {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  height: calc(100dvh - 48px);
  max-height: 1000px;
  max-width: 1680px;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: min(100%, calc(100vw - 48px), 1680px);
  z-index: 1;
}

.fpm-lightbox-topbar {
  align-items: center;
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  min-height: 48px;
  padding-bottom: 12px;
}

.fpm-lightbox-count {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.fpm-lightbox-close,
.fpm-lightbox-nav {
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  display: inline-grid;
  height: 44px;
  place-items: center;
  transition: background 160ms ease, transform 160ms ease;
  width: 44px;
}

.fpm-lightbox-close:hover,
.fpm-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.fpm-lightbox-close::before,
.fpm-lightbox-close::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  grid-area: 1 / 1;
  height: 2px;
  width: 18px;
}

.fpm-lightbox-close::before {
  transform: rotate(45deg);
}

.fpm-lightbox-close::after {
  transform: rotate(-45deg);
}

.fpm-lightbox-nav {
  align-self: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.fpm-lightbox-prev {
  left: 0;
}

.fpm-lightbox-next {
  right: 0;
}

.fpm-lightbox-prev::before,
.fpm-lightbox-next::before {
  border-color: currentColor;
  border-style: solid;
  content: "";
  height: 12px;
  width: 12px;
}

.fpm-lightbox-prev::before {
  border-width: 0 0 2px 2px;
  transform: translateX(3px) rotate(45deg);
}

.fpm-lightbox-next::before {
  border-width: 2px 2px 0 0;
  transform: translateX(-3px) rotate(45deg);
}

.fpm-lightbox-figure {
  align-items: center;
  display: grid;
  box-sizing: border-box;
  grid-column: 1;
  grid-row: 2;
  height: 100%;
  justify-items: center;
  margin: 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 0 72px;
  width: 100%;
}

.fpm-lightbox-image {
  background: #0b0b0c;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  display: block;
  height: auto !important;
  max-height: 100%;
  max-width: 100%;
  min-height: 0 !important;
  min-width: 0 !important;
  object-fit: contain;
  object-position: center;
  width: auto !important;
}

.fpm-video-frame iframe {
  border: 0;
  border-radius: 8px;
  height: 100%;
  width: 100%;
}

.fpm-detail-row {
  border-top: 1px solid var(--fpm-line);
  display: grid;
  gap: 6px;
  grid-template-columns: 120px 1fr;
  margin: 0;
  padding: 12px 0;
}

.fpm-detail-row dt {
  color: var(--fpm-muted);
  font-weight: 700;
}

.fpm-detail-row dd {
  margin: 0;
}

.fpm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .fpm-hero,
  .fpm-detail-hero,
  .fpm-detail-layout {
    grid-template-columns: 1fr;
  }

  .fpm-grid,
  .fpm-feature-list,
  .fpm-featured-grid,
  .fpm-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fpm-detail-hero {
    align-items: flex-start;
  }

  .fpm-hero-collage {
    min-height: 0;
  }

  .fpm-collage-stage {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    position: static;
  }

  .fpm-float-card,
  .fpm-float-dot {
    animation: none;
    position: static;
  }

  .fpm-float-card {
    flex: 1 1 200px;
    max-width: 320px;
    width: auto;
  }

  .fpm-float-dot {
    flex: 0 0 auto;
  }

  .fpm-section-heading {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fpm-slide,
  .fpm-button,
  .fpm-featured-card,
  .fpm-category-card,
  .fpm-float-card,
  .fpm-float-dot {
    transition: none;
  }

  .fpm-icon-track,
  .fpm-float-card,
  .fpm-float-dot {
    animation: none;
  }

  .fpm-solutions-track {
    scroll-behavior: auto;
  }
}

@media (max-width: 760px) {
  .fpm-shell,
  .fpm-detail {
    padding: 14px;
  }

  .fpm-searchbar {
    max-width: none;
    padding: 0 16px;
  }

  .fpm-grid,
  .fpm-feature-list,
  .fpm-gallery,
  .fpm-featured-grid,
  .fpm-category-grid {
    grid-template-columns: 1fr;
  }

  .fpm-searchbar input,
  .fpm-filterbar select {
    font-size: 16px;
  }

  .fpm-filterbar {
    width: 100%;
  }

  .fpm-filterbar select {
    flex: 1 1 160px;
  }

  .fpm-hero {
    gap: 28px;
    grid-template-columns: 1fr;
    margin-top: 14px;
    min-height: 0;
    padding: 28px 22px;
  }

  .fpm-hero h1,
  .fpm-detail h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .fpm-hero .fpm-hero-description {
    font-size: 16px;
  }

  .fpm-searchbar input {
    height: 56px;
  }

  .fpm-featured,
  .fpm-categories,
  .fpm-catalog {
    margin-top: 40px;
  }

  .fpm-section-description {
    font-size: 16px;
  }

  .fpm-dev-hero {
    min-height: 0;
    padding: 24px;
  }

  .fpm-dev-hero h2 {
    font-size: 32px;
    line-height: 1.08;
  }

  .fpm-dev-hero p {
    font-size: 16px;
  }

  .fpm-hero-collage {
    align-self: stretch;
    min-height: 0;
  }

  .fpm-icon-carousel {
    justify-content: center;
    min-height: 0;
    padding: 24px 14px;
  }

  .fpm-icon-carousel::before,
  .fpm-icon-carousel::after {
    display: none;
  }

  .fpm-icon-track {
    animation: none;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    padding: 0;
    width: 100%;
  }

  .fpm-icon-tile {
    border-radius: 18px;
    flex-basis: 68px;
    height: 68px;
    width: 68px;
  }

  .fpm-icon-tile img {
    height: 68px;
    width: 68px;
  }

  .fpm-icon-tile.is-duplicate,
  .fpm-icon-tile:nth-child(n+7) {
    display: none;
  }

  .fpm-slide {
    display: none;
    grid-template-columns: 1fr;
    inset: auto;
    opacity: 1;
    position: relative;
    transform: none;
  }

  .fpm-slide.is-active {
    display: grid;
  }

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

  .fpm-detail-heading {
    flex-direction: column;
  }

  .fpm-detail-hero {
    padding: 22px;
  }

  .fpm-detail-logo {
    flex-basis: 80px;
    height: 80px;
    width: 80px;
  }

  .fpm-detail-title h1 {
    font-size: 34px;
  }

  .fpm-detail-heading p {
    font-size: 16px;
  }

  .fpm-detail-cta-card strong {
    font-size: 26px;
  }

  .fpm-lightbox {
    padding: 12px;
  }

  .fpm-billing-modal {
    align-items: end;
    padding: 12px;
  }

  .fpm-billing-surface {
    max-height: calc(100dvh - 24px);
    padding: 18px;
    width: calc(100vw - 24px);
  }

  .fpm-billing-grid {
    grid-template-columns: 1fr;
  }

  .fpm-billing-grid input,
  .fpm-billing-grid select {
    font-size: 16px;
  }

  .fpm-billing-actions {
    flex-direction: column-reverse;
  }

  .fpm-billing-actions .fpm-button {
    width: 100%;
  }

  .fpm-lightbox-surface {
    height: calc(100dvh - 24px);
    width: calc(100vw - 24px);
  }

  .fpm-lightbox-figure {
    padding: 0;
  }

  .fpm-lightbox-close,
  .fpm-lightbox-nav {
    height: 40px;
    width: 40px;
  }
}

@container (max-width: 980px) {
  .fpm-hero,
  .fpm-detail-hero,
  .fpm-detail-layout {
    grid-template-columns: 1fr;
  }

  .fpm-grid,
  .fpm-feature-list,
  .fpm-featured-grid,
  .fpm-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fpm-detail-hero {
    align-items: flex-start;
  }

  .fpm-hero-collage {
    min-height: 0;
  }

  .fpm-collage-stage {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    position: static;
  }

  .fpm-float-card,
  .fpm-float-dot {
    animation: none;
    position: static;
  }

  .fpm-float-card {
    flex: 1 1 200px;
    max-width: 320px;
    width: auto;
  }

  .fpm-float-dot {
    flex: 0 0 auto;
  }

  .fpm-section-heading {
    flex-wrap: wrap;
  }
}

@container (max-width: 760px) {
  .fpm-searchbar {
    max-width: none;
    padding: 0 16px;
  }

  .fpm-grid,
  .fpm-feature-list,
  .fpm-gallery,
  .fpm-featured-grid,
  .fpm-category-grid {
    grid-template-columns: 1fr;
  }

  .fpm-searchbar input,
  .fpm-filterbar select {
    font-size: 16px;
  }

  .fpm-filterbar {
    width: 100%;
  }

  .fpm-filterbar select {
    flex: 1 1 160px;
  }

  .fpm-hero {
    gap: 28px;
    grid-template-columns: 1fr;
    margin-top: 14px;
    min-height: 0;
    padding: 28px 22px;
  }

  .fpm-hero h1,
  .fpm-detail h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .fpm-hero .fpm-hero-description {
    font-size: 16px;
  }

  .fpm-searchbar input {
    height: 56px;
  }

  .fpm-featured,
  .fpm-categories,
  .fpm-catalog {
    margin-top: 40px;
  }

  .fpm-section-description {
    font-size: 16px;
  }

  .fpm-dev-hero {
    min-height: 0;
    padding: 24px;
  }

  .fpm-dev-hero h2 {
    font-size: 32px;
    line-height: 1.08;
  }

  .fpm-dev-hero p {
    font-size: 16px;
  }

  .fpm-hero-collage {
    align-self: stretch;
    min-height: 0;
  }

  .fpm-icon-carousel {
    justify-content: center;
    min-height: 0;
    padding: 24px 14px;
  }

  .fpm-icon-carousel::before,
  .fpm-icon-carousel::after {
    display: none;
  }

  .fpm-icon-track {
    animation: none;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    padding: 0;
    width: 100%;
  }

  .fpm-icon-tile {
    border-radius: 18px;
    flex-basis: 68px;
    height: 68px;
    width: 68px;
  }

  .fpm-icon-tile img {
    height: 68px;
    width: 68px;
  }

  .fpm-icon-tile.is-duplicate,
  .fpm-icon-tile:nth-child(n+7) {
    display: none;
  }

  .fpm-slide {
    display: none;
    grid-template-columns: 1fr;
    inset: auto;
    opacity: 1;
    position: relative;
    transform: none;
  }

  .fpm-slide.is-active {
    display: grid;
  }

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

  .fpm-detail-heading {
    flex-direction: column;
  }

  .fpm-detail-hero {
    padding: 22px;
  }

  .fpm-detail-logo {
    flex-basis: 80px;
    height: 80px;
    width: 80px;
  }

  .fpm-detail-title h1 {
    font-size: 34px;
  }

  .fpm-detail-heading p {
    font-size: 16px;
  }

  .fpm-detail-cta-card strong {
    font-size: 26px;
  }

  .fpm-lightbox {
    padding: 12px;
  }

  .fpm-lightbox-surface {
    height: calc(100dvh - 24px);
    width: calc(100vw - 24px);
  }

  .fpm-lightbox-figure {
    padding: 0;
  }

  .fpm-lightbox-close,
  .fpm-lightbox-nav {
    height: 40px;
    width: 40px;
  }
}

.fpm-license-modal-open {
  overflow: hidden;
}

.fpm-license-modal {
  align-items: center;
  box-sizing: border-box;
  color: var(--fpm-ink);
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 24px;
  position: fixed;
  z-index: 99997;
}

.fpm-license-backdrop {
  appearance: none;
  background: rgba(0, 0, 0, 0.62);
  border: 0;
  cursor: pointer;
  inset: 0;
  padding: 0;
  position: absolute;
}

.fpm-license-surface {
  background: var(--fpm-surface);
  border: 1px solid var(--fpm-line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 16px;
  max-width: 520px;
  padding: 24px;
  position: relative;
  width: min(100%, 520px);
  z-index: 1;
}

.fpm-license-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.fpm-license-head h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0;
}

.fpm-license-close {
  appearance: none;
  background: var(--fpm-normal-bg);
  border: 1px solid var(--fpm-line);
  border-radius: 999px;
  color: var(--fpm-ink);
  cursor: pointer;
  display: inline-grid;
  flex: 0 0 auto;
  height: 40px;
  place-items: center;
  width: 40px;
}

.fpm-license-close::before,
.fpm-license-close::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  grid-area: 1 / 1;
  height: 2px;
  width: 17px;
}

.fpm-license-close::before {
  transform: rotate(45deg);
}

.fpm-license-close::after {
  transform: rotate(-45deg);
}

.fpm-license-help {
  color: var(--fpm-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.fpm-license-field {
  display: block;
}

.fpm-license-field input {
  background: var(--fpm-input);
  border: 1px solid var(--fpm-line);
  border-radius: 6px;
  box-sizing: border-box;
  color: var(--fpm-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  padding: 12px;
  width: 100%;
}

.fpm-license-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
