/* INFOBUDO · SYSTEM CREATORS · PREMIUM CATALOG PASS */

#ib-creators.ib-catalog-page {
  width: min(100% - 40px, 1480px);
  max-width: none;
  margin: 0 auto;
  padding: 28px 0 76px;
  color: #142b43;
}

.ib-catalog-page .ib-creators-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 5vw, 64px);
  margin: 0 0 24px;
  border: 1px solid rgba(157, 202, 240, .38);
  border-radius: 30px;
  background: radial-gradient(circle at 86% 20%, rgba(94, 185, 255, .24), transparent 28%), linear-gradient(132deg, #0d2947 0%, #124d7d 58%, #176fc0 100%);
  box-shadow: 0 24px 56px rgba(12, 52, 86, .16);
}

.ib-catalog-page .ib-creators-header::before,
.ib-catalog-page .ib-creators-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  pointer-events: none;
}

.ib-catalog-page .ib-creators-header::before {
  width: 420px;
  height: 420px;
  right: -125px;
  top: -170px;
  box-shadow: 0 0 0 48px rgba(255,255,255,.035), 0 0 0 96px rgba(255,255,255,.025);
}

.ib-catalog-page .ib-creators-header::after {
  width: 170px;
  height: 170px;
  right: 10%;
  bottom: -110px;
  border-color: rgba(111, 211, 255, .2);
}

.ib-catalog-page .ib-eyebrow {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(190, 228, 255, .22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #c8e8ff !important;
  font-size: 11px;
  letter-spacing: .16em;
}

.ib-catalog-page .ib-creators-header h1 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 16px 0 10px;
  color: #fff !important;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.ib-catalog-page .ib-creators-header p {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0;
  color: #d9edfb !important;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
}

.ib-catalog-page .ib-catalog-toolbar {
  margin: 0 0 20px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #e0e9f2 !important;
  border-radius: 22px;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 14px 40px rgba(22, 52, 82, .065);
}

.ib-catalog-page .ib-catalog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.ib-catalog-page .ib-section-kicker {
  margin-bottom: 9px;
  color: #0b71ba;
  font-size: 11px;
  letter-spacing: .15em;
}

.ib-catalog-page .ib-catalog-heading h2 {
  margin: 0 0 8px;
  color: #142d49;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.ib-catalog-page .ib-catalog-heading p {
  margin: 0;
  color: #6b7e91;
  line-height: 1.5;
}

.ib-catalog-page .ib-catalog-counter {
  min-width: 112px;
  padding: 13px 18px 12px;
  border: 1px solid #d7e7f6;
  border-radius: 16px;
  background: linear-gradient(180deg, #f2f8ff, #e9f3fd);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.ib-catalog-page .ib-catalog-counter strong {
  display: block;
  color: #0969b6;
  font-size: 30px;
  line-height: 1;
}

.ib-catalog-page .ib-catalog-counter span {
  display: block;
  margin-top: 5px;
  color: #61788d;
  font-size: 12px;
}

.ib-catalog-page .ib-catalog-search {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  margin: 0 0 15px;
  padding: 5px 14px;
  border: 1px solid #d8e5ef !important;
  border-radius: 14px !important;
  background: #f8fbfe !important;
  box-shadow: none;
}

.ib-catalog-page .ib-catalog-search > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: #e8f3fc;
  color: #0b70b9;
  font-size: 23px;
  line-height: 1;
}

.ib-catalog-page .ib-catalog-search input {
  min-height: 44px;
  padding: 9px 4px;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #163652;
}

.ib-catalog-page .ib-catalog-search:focus-within {
  border-color: #80bdf0 !important;
  box-shadow: 0 0 0 4px rgba(36, 139, 219, .1);
}

.ib-catalog-page .ib-catalog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-catalog-page .ib-category-pill {
  min-height: 38px;
  padding: 8px 14px !important;
  border: 1px solid #dce6ef !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #3f5a72 !important;
  font-size: 13px;
  font-weight: 700;
  transition: color .18s, background .18s, border-color .18s, transform .18s;
}

.ib-catalog-page .ib-category-pill:hover,
.ib-catalog-page .ib-category-pill.is-active {
  border-color: #126eb8 !important;
  background: #126eb8 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.ib-catalog-page .ib-pro-controls {
  position: sticky;
  z-index: 5;
  top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  padding: 10px 13px 10px 16px;
  border: 1px solid rgba(215, 227, 238, .92);
  border-radius: 14px;
  background: rgba(248, 251, 254, .9);
  box-shadow: 0 8px 26px rgba(16, 52, 83, .08);
  backdrop-filter: blur(12px);
}

.ib-catalog-page .ib-pro-results {
  color: #587087;
  font-size: 13px;
  font-weight: 700;
}

.ib-catalog-page .ib-pro-selects {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ib-catalog-page .ib-pro-selects label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #718499;
  font-size: 12px;
  font-weight: 700;
}

.ib-catalog-page .ib-pro-selects select {
  min-height: 37px;
  padding: 7px 30px 7px 10px;
  border: 1px solid #d6e2ec;
  border-radius: 9px;
  background: #fff;
  color: #183954;
  font-size: 12px;
  font-weight: 700;
}

.ib-catalog-page .ib-creators-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 0 36px !important;
}

.ib-catalog-page .ib-pro-card {
  display: flex !important;
  min-width: 0;
  min-height: 370px;
  flex-direction: column !important;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid #dfe8f0 !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #142d48;
  text-decoration: none !important;
  box-shadow: 0 5px 18px rgba(18, 53, 87, .055) !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ib-catalog-page .ib-pro-card:hover {
  border-color: #9fc8eb !important;
  box-shadow: 0 18px 38px rgba(18, 53, 87, .14) !important;
  transform: translateY(-5px);
}

.ib-catalog-page .ib-pro-card:focus-visible {
  outline: 3px solid #63b7f3;
  outline-offset: 4px;
}

.ib-catalog-page .ib-pro-image {
  position: relative;
  height: auto;
  aspect-ratio: 1.82;
  overflow: hidden;
  background: radial-gradient(circle at 18% 15%, rgba(255,255,255,.8), transparent 28%), linear-gradient(135deg, #e9f4fc, #cfe6f7);
}

.ib-catalog-page .ib-pro-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(7, 42, 73, .17));
  pointer-events: none;
}

.ib-catalog-page .ib-pro-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: .98;
  transition: transform .35s ease;
}

.ib-catalog-page .ib-pro-card:hover .ib-pro-image img {
  transform: scale(1.045);
}

.ib-catalog-page .ib-pro-category {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 11px;
  max-width: calc(100% - 52px);
  overflow: hidden;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  color: #224866;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ib-catalog-page .ib-pro-image-arrow {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(10, 54, 88, .7);
  color: #fff;
  font-size: 17px;
  opacity: .9;
}

.ib-catalog-page .ib-pro-card-content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 17px 17px 15px;
}

.ib-catalog-page .ib-pro-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  margin-bottom: 9px;
  color: #6d8499;
  font-size: 11px;
  font-weight: 750;
}

.ib-catalog-page .ib-pro-card-brand {
  overflow: hidden;
  color: #126db7;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ib-catalog-page .ib-pro-card-status {
  flex: none;
  padding: 5px 7px;
  border-radius: 6px;
  background: #f0f6fb;
  color: #577087;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ib-catalog-page .ib-pro-card h3 {
  min-height: 50px;
  margin: 0 0 8px !important;
  color: #183751 !important;
  font-size: 18px !important;
  line-height: 1.28 !important;
  letter-spacing: -.02em;
}

.ib-catalog-page .ib-pro-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 17px !important;
  color: #687e92 !important;
  font-size: 13px !important;
  line-height: 1.52 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ib-catalog-page .ib-pro-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid #edf2f6;
  color: #7890a3;
  font-size: 11px;
}

.ib-catalog-page .ib-pro-card-use {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ib-catalog-page .ib-pro-card-use i {
  color: #b2c3d0;
  font-style: normal;
}

.ib-catalog-page .ib-pro-card-footer strong {
  flex: none;
  color: #0b6db8;
  font-size: 12px;
  white-space: nowrap;
}

.ib-catalog-page .ib-pro-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0 0;
  color: #6c8194;
  font-size: 12px;
}

.ib-catalog-page .ib-pro-pages {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ib-catalog-page .ib-pro-pages button {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #d9e4ed;
  border-radius: 9px;
  background: #fff;
  color: #2c526e;
  font-size: 12px;
  font-weight: 750;
}

.ib-catalog-page .ib-pro-pages button:hover:not(:disabled),
.ib-catalog-page .ib-pro-pages button[aria-current="page"] {
  border-color: #126eb8;
  background: #126eb8;
  color: #fff;
}

.ib-catalog-page .ib-pro-pages button:disabled {
  cursor: default;
  opacity: .42;
}

@media (max-width: 1240px) {
  .ib-catalog-page .ib-creators-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  #ib-creators.ib-catalog-page {
    width: min(100% - 28px, 720px);
  }

  .ib-catalog-page .ib-creators-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  #ib-creators.ib-catalog-page {
    width: calc(100% - 20px);
    padding-top: 16px;
    padding-bottom: 48px;
  }

  .ib-catalog-page .ib-creators-header {
    min-height: 218px;
    padding: 25px 21px;
    border-radius: 22px;
  }

  .ib-catalog-page .ib-creators-header h1 {
    max-width: 300px;
    margin-top: 13px;
    font-size: clamp(30px, 9vw, 42px);
  }

  .ib-catalog-page .ib-creators-header p {
    max-width: 315px;
    font-size: 14px;
  }

  .ib-catalog-page .ib-catalog-toolbar {
    padding: 18px;
    border-radius: 18px;
  }

  .ib-catalog-page .ib-catalog-heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 17px;
  }

  .ib-catalog-page .ib-catalog-heading h2 {
    font-size: 25px;
  }

  .ib-catalog-page .ib-catalog-counter {
    min-width: 78px;
    padding: 10px 9px;
  }

  .ib-catalog-page .ib-catalog-counter strong {
    font-size: 24px;
  }

  .ib-catalog-page .ib-catalog-counter span {
    font-size: 10px;
  }

  .ib-catalog-page .ib-catalog-categories {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -2px -4px;
    padding: 1px 2px 8px;
    scrollbar-width: thin;
  }

  .ib-catalog-page .ib-category-pill {
    flex: 0 0 auto;
  }

  .ib-catalog-page .ib-pro-controls {
    position: static;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .ib-catalog-page .ib-pro-selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ib-catalog-page .ib-pro-selects label {
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

  .ib-catalog-page .ib-pro-selects select {
    width: 100%;
  }

  .ib-catalog-page .ib-creators-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .ib-catalog-page .ib-pro-card {
    min-height: 0;
  }

  .ib-catalog-page .ib-pro-image {
    aspect-ratio: 2.05;
  }

  .ib-catalog-page .ib-pro-card-content {
    padding: 15px 16px 14px;
  }

  .ib-catalog-page .ib-pro-card h3 {
    min-height: 0;
    font-size: 18px !important;
  }

  .ib-catalog-page .ib-pro-pagination {
    align-items: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ib-catalog-page *,
  .ib-catalog-page *::before,
  .ib-catalog-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* INFOBUDO · CREATOR DETAIL · INTERACTIVE 3D PREVIEW */
.ib-creator-3d-panel {
  --ib-3d-blue: #1577c5;
  --ib-3d-ink: #173451;
  --ib-3d-line: #dce8f2;
  margin: 28px 0 24px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #dce8f1;
  border-radius: 24px;
  background: linear-gradient(145deg, #f9fcff 0%, #edf6fc 100%);
  box-shadow: 0 18px 48px rgba(20, 54, 86, .09);
}

.ib-creator-3d-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ib-3d-kicker {
  display: inline-block;
  color: #0b71ba;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
}

.ib-creator-3d-head h3 {
  margin: 8px 0 7px;
  color: var(--ib-3d-ink);
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -.035em;
}

.ib-creator-3d-head p {
  max-width: 600px;
  margin: 0;
  color: #6a7f92;
  line-height: 1.55;
}

.ib-3d-reset {
  flex: none;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #cbddeb;
  border-radius: 10px;
  background: #fff;
  color: #276087;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.ib-3d-reset:hover {
  border-color: #8bbbe0;
  color: var(--ib-3d-blue);
}

.ib-creator-3d-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(230px, .72fr);
  gap: 16px;
}

.ib-3d-stage {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid #c7d9e7;
  border-radius: 18px;
  background: linear-gradient(145deg, #eaf4fb 0%, #cbddeb 54%, #a9c4d7 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 16px 34px rgba(12, 47, 78, .16);
  cursor: grab;
  perspective: 1100px;
  touch-action: none;
}

.ib-3d-stage.is-dragging {
  cursor: grabbing;
}

.ib-3d-photo-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .24;
}

.ib-3d-photo-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(246, 251, 255, .78) 0%, rgba(228, 240, 249, .34) 48%, rgba(28, 78, 111, .18) 100%);
}

.ib-3d-photo-layer img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.9) contrast(1.02);
}

.ib-3d-grid {
  position: absolute;
  inset: 52% -8% -30%;
  opacity: .34;
  background-image: linear-gradient(rgba(44, 116, 162, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(44, 116, 162, .25) 1px, transparent 1px);
  background-size: 22px 22px;
  transform: perspective(360px) rotateX(62deg) scale(1.35);
}

.ib-3d-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 330px;
  height: 280px;
  margin: -140px 0 0 -165px;
  transform-style: preserve-3d;
  transform: scale(1) rotateX(-16deg) rotateY(28deg);
  transition: transform .18s ease-out;
}

.ib-3d-building {
  --ib-3d-width: 222px;
  --ib-3d-depth: 136px;
  position: absolute;
  left: 50%;
  top: 70px;
  width: var(--ib-3d-width);
  height: 138px;
  transform: translateX(-50%);
  transform-style: preserve-3d;
  filter: drop-shadow(0 24px 17px rgba(19, 63, 91, .27));
}

.ib-3d-face {
  position: absolute;
  border: 1px solid rgba(19, 80, 121, .5);
  background: linear-gradient(145deg, rgba(238, 248, 253, .98), rgba(91, 163, 205, .96));
  box-shadow: inset 0 0 24px rgba(255,255,255,.28);
  backface-visibility: hidden;
}

.ib-3d-front,
.ib-3d-back {
  width: var(--ib-3d-width);
  height: 138px;
}

.ib-3d-front {
  transform: translateZ(calc(var(--ib-3d-depth) / 2));
}

.ib-3d-back {
  transform: rotateY(180deg) translateZ(calc(var(--ib-3d-depth) / 2));
}

.ib-3d-right,
.ib-3d-left {
  left: calc((var(--ib-3d-width) - var(--ib-3d-depth)) / 2);
  width: var(--ib-3d-depth);
  height: 138px;
}

.ib-3d-right {
  transform: rotateY(90deg) translateZ(calc(var(--ib-3d-width) / 2));
}

.ib-3d-left {
  transform: rotateY(-90deg) translateZ(calc(var(--ib-3d-width) / 2));
}

.ib-3d-top,
.ib-3d-bottom {
  top: calc((138px - var(--ib-3d-depth)) / 2);
  width: var(--ib-3d-width);
  height: var(--ib-3d-depth);
}

.ib-3d-top {
  transform: rotateX(90deg) translateZ(69px);
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(103, 181, 220, .95));
}

.ib-3d-bottom {
  transform: rotateX(-90deg) translateZ(69px);
}

.ib-3d-roof {
  position: absolute;
  left: -14px;
  top: -35px;
  width: calc(var(--ib-3d-width) + 28px);
  height: 42px;
  border: 1px solid rgba(19, 80, 121, .45);
  border-bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(50, 134, 184, .96));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translateZ(0);
}

.ib-3d-dimension {
  position: absolute;
  z-index: 3;
  color: #124e76;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.ib-3d-dimension::before {
  content: "";
  position: absolute;
  border-color: rgba(29, 101, 145, .75);
  border-style: solid;
}

.ib-3d-dimension span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 5px 12px rgba(23, 67, 94, .14);
}

.ib-3d-dimension-x {
  left: 61px;
  bottom: 31px;
  width: 220px;
}

.ib-3d-dimension-x::before {
  top: 50%;
  left: 0;
  width: 100%;
  border-width: 1px 0 0;
}

.ib-3d-dimension-y {
  right: 10px;
  top: 118px;
  transform: rotate(38deg);
}

.ib-3d-dimension-y::before {
  top: 50%;
  left: -30px;
  width: 92px;
  border-width: 1px 0 0;
}

.ib-3d-dimension-z {
  left: 20px;
  top: 92px;
  transform: rotate(-90deg);
}

.ib-3d-dimension-z::before {
  top: 50%;
  left: -32px;
  width: 94px;
  border-width: 1px 0 0;
}

.ib-3d-hint {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #315e78;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  padding: 7px 10px;
  letter-spacing: .02em;
}

.ib-3d-specs {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--ib-3d-line);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
}

.ib-3d-spec-intro {
  display: grid;
  gap: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e7eef4;
}

.ib-3d-spec-intro span {
  color: #0b71ba;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
}

.ib-3d-spec-intro strong {
  color: var(--ib-3d-ink);
  font-size: 17px;
}

.ib-3d-spec-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f6;
}

.ib-3d-spec-row span,
.ib-3d-spec-row small {
  color: #71869a;
  font-size: 11px;
}

.ib-3d-spec-row strong {
  color: #106eaf;
  font-size: 18px;
}

.ib-3d-spec-row small {
  grid-column: 1 / -1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ib-3d-photo-caption {
  margin-top: auto;
  color: #8094a5;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .ib-creator-3d-panel {
    padding: 16px;
    border-radius: 18px;
  }

  .ib-creator-3d-head {
    flex-direction: column;
  }

  .ib-3d-reset {
    width: 100%;
  }

  .ib-creator-3d-layout {
    grid-template-columns: 1fr;
  }

  .ib-3d-stage {
    min-height: 350px;
  }

  .ib-3d-scene {
    transform: scale(.9) rotateX(-16deg) rotateY(28deg);
  }

  .ib-3d-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .ib-3d-spec-intro,
  .ib-3d-photo-caption {
    grid-column: 1 / -1;
  }

  .ib-3d-spec-row {
    display: block;
    padding: 9px 4px;
  }

  .ib-3d-spec-row strong,
  .ib-3d-spec-row small {
    display: block;
    margin-top: 5px;
  }
}

/* Four-wall cutaway: show the complete volume, not only the façade. */
.ib-3d-stage::before {
  content: "BRYŁA 4 ŚCIAN  •  WIDOK 3D";
}

.ib-3d-canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ib-3d-face {
  backface-visibility: visible;
  background: linear-gradient(145deg, rgba(225, 244, 253, .68), rgba(55, 139, 190, .72));
}

.ib-3d-front {
  z-index: 4;
  background: linear-gradient(145deg, rgba(133, 201, 234, .78), rgba(31, 119, 174, .84));
}

.ib-3d-right {
  z-index: 3;
  background: linear-gradient(145deg, rgba(72, 157, 208, .9), rgba(17, 82, 132, .94));
}

.ib-3d-left {
  z-index: 2;
  opacity: .54;
  border-style: dashed;
}

.ib-3d-back {
  z-index: 1;
  opacity: .38;
  border-style: dashed;
}

.ib-3d-bottom {
  opacity: .52;
  border-style: dashed;
}

.ib-creator-3d-sciany .ib-3d-roof,
.ib-creator-3d-elewacja .ib-3d-roof,
.ib-creator-3d-fundamenty .ib-3d-roof,
.ib-creator-3d-izolacje .ib-3d-roof,
.ib-creator-3d-instalacje .ib-3d-roof,
.ib-creator-3d-stolarka .ib-3d-roof,
.ib-creator-3d-sucha-zabudowa .ib-3d-roof,
.ib-creator-3d-lekka-obudowa .ib-3d-roof,
.ib-creator-3d-kominy .ib-3d-roof {
  display: none;
}

/* Realer volume: façade details and stronger depth cues */
.ib-3d-building {
  --ib-3d-width: 232px;
  --ib-3d-depth: 164px;
  height: 148px;
  top: 72px;
}

.ib-3d-front,
.ib-3d-back {
  height: 148px;
}

.ib-3d-right,
.ib-3d-left {
  height: 148px;
}

.ib-3d-top,
.ib-3d-bottom {
  top: calc((148px - var(--ib-3d-depth)) / 2);
}

.ib-3d-top {
  transform: rotateX(90deg) translateZ(74px);
}

.ib-3d-bottom {
  transform: rotateX(-90deg) translateZ(74px);
}

.ib-3d-front::before {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 0;
  width: 42px;
  height: 72px;
  border: 1px solid rgba(236, 250, 255, .84);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, rgba(255,255,255,.16) 0 48%, rgba(16,91,139,.24) 49% 52%, rgba(255,255,255,.13) 53%);
  box-shadow: inset 0 0 0 5px rgba(11, 87, 132, .12);
}

.ib-3d-front::after {
  inset: 23px 22px 94px 88px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent 46%, rgba(238,251,255,.78) 47%, transparent 50%), linear-gradient(0deg, transparent 46%, rgba(238,251,255,.78) 47%, transparent 50%);
}

.ib-3d-right::after {
  content: "";
  position: absolute;
  inset: 28px 18px 40px;
  border: 1px solid rgba(231, 249, 255, .74);
  background: linear-gradient(90deg, transparent 46%, rgba(231,249,255,.6) 47%, transparent 50%);
  opacity: .78;
}

.ib-3d-roof {
  left: -18px;
  top: -48px;
  width: calc(var(--ib-3d-width) + 36px);
  height: 52px;
  border-color: rgba(21, 92, 137, .55);
  box-shadow: 0 8px 0 rgba(27, 101, 145, .12);
}

@media (max-width: 760px) {
  .ib-3d-building {
    --ib-3d-width: 214px;
    --ib-3d-depth: 148px;
    height: 138px;
  }

  .ib-3d-front,
  .ib-3d-back,
  .ib-3d-right,
  .ib-3d-left {
    height: 138px;
  }

  .ib-3d-top,
  .ib-3d-bottom {
    top: calc((138px - var(--ib-3d-depth)) / 2);
  }

  .ib-3d-top {
    transform: rotateX(90deg) translateZ(69px);
  }

  .ib-3d-bottom {
    transform: rotateX(-90deg) translateZ(69px);
  }
}

/* Final polish: clearer architectural studio view on small screens */
.ib-3d-stage {
  isolation: isolate;
  background: linear-gradient(145deg, #f8fcff 0%, #e3eff7 56%, #c5d9e6 100%);
}

.ib-3d-stage::before {
  content: "MODEL REFERENCYJNY  •  WIDOK 3D";
  position: absolute;
  z-index: 6;
  top: 14px;
  left: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 6px 16px rgba(24, 74, 104, .09);
  color: #1f5f86;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}

.ib-3d-photo-layer {
  z-index: 0;
  opacity: .13;
}

.ib-3d-photo-layer::after {
  background: linear-gradient(135deg, rgba(255,255,255,.83), rgba(241,248,252,.36) 52%, rgba(189,215,230,.14));
}

.ib-3d-grid {
  z-index: 1;
  opacity: .3;
}

.ib-3d-scene {
  z-index: 3;
}

.ib-3d-building {
  top: 72px;
  filter: drop-shadow(0 27px 18px rgba(16, 66, 95, .3));
  overflow: visible;
}

/* Visible side volume keeps the model readable even on narrow mobile stages. */
.ib-3d-building::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 5px;
  left: calc(var(--ib-3d-width) - 1px);
  width: calc(var(--ib-3d-depth) * .44);
  height: calc(100% - 8px);
  border: 1px solid rgba(12, 69, 111, .62);
  border-left: 0;
  background: linear-gradient(145deg, rgba(64, 153, 205, .96), rgba(12, 73, 122, .98));
  clip-path: polygon(0 0, 100% 12%, 100% 88%, 0 100%);
  transform: skewY(-7deg);
  transform-origin: left center;
  box-shadow: inset 12px 0 18px rgba(255,255,255,.08);
}

.ib-3d-front {
  background: linear-gradient(145deg, rgba(133, 201, 234, .98), rgba(31, 119, 174, .98));
}

.ib-3d-right,
.ib-3d-left {
  background: linear-gradient(145deg, rgba(72, 157, 208, .98), rgba(17, 82, 132, .98));
}

.ib-3d-front::after {
  content: "";
  position: absolute;
  inset: 20px 24px 18px;
  border: 1px solid rgba(238, 251, 255, .72);
  background: linear-gradient(90deg, transparent 47%, rgba(238,251,255,.64) 48%, transparent 50%), linear-gradient(0deg, transparent 47%, rgba(238,251,255,.64) 48%, transparent 50%);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,.08);
  opacity: .76;
}

.ib-3d-roof {
  background: linear-gradient(135deg, rgba(245,252,255,.98), rgba(25,112,169,.98));
}

.ib-3d-dimension {
  pointer-events: none;
  text-shadow: none;
}

.ib-3d-dimension-x {
  bottom: 28px;
}

.ib-3d-dimension-y {
  right: 6px;
  top: 125px;
  transform: rotate(-32deg);
}

.ib-3d-dimension-z {
  left: 16px;
  top: 106px;
  transform: rotate(-90deg);
}

.ib-3d-hint {
  z-index: 7;
}

@media (max-width: 760px) {
  .ib-3d-stage::before {
    top: 12px;
    left: 12px;
    font-size: 8px;
  }

  .ib-3d-scene {
    transform: scale(.9) rotateX(-12deg) rotateY(18deg);
  }

  .ib-3d-dimension-x {
    left: 54px;
    width: 222px;
  }
}

/* Final four-wall visibility override. */
.ib-3d-stage::before {
  content: "BRYŁA 4 ŚCIAN  •  WIDOK 3D";
}

.ib-3d-face {
  backface-visibility: visible;
  background: linear-gradient(145deg, rgba(225, 244, 253, .68), rgba(55, 139, 190, .72));
}

.ib-3d-front {
  z-index: 4;
  background: linear-gradient(145deg, rgba(133, 201, 234, .78), rgba(31, 119, 174, .84));
}

.ib-3d-right {
  z-index: 3;
  background: linear-gradient(145deg, rgba(72, 157, 208, .9), rgba(17, 82, 132, .94));
}

.ib-3d-left {
  z-index: 2;
  opacity: .54;
  border-style: dashed;
}

.ib-3d-back {
  z-index: 1;
  opacity: .38;
  border-style: dashed;
}

.ib-3d-bottom {
  opacity: .52;
  border-style: dashed;
}

/* Cutaway mode makes all four walls readable in one isometric view. */
.ib-3d-building::after {
  display: none;
}

.ib-3d-face {
  border-width: 2px;
  background-image: linear-gradient(145deg, rgba(230, 247, 255, .32), rgba(44, 128, 182, .38));
}

.ib-3d-front {
  opacity: .62;
}

.ib-3d-right {
  opacity: .78;
}

.ib-3d-left,
.ib-3d-back {
  border-color: rgba(34, 112, 157, .82);
  background: rgba(161, 219, 243, .2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.58), 0 0 14px rgba(52, 139, 183, .18);
}

.ib-3d-top {
  opacity: .7;
}

/* Creator detail pass: remove catalog-only content and give every calculator a focused shell. */
#ib-creators[data-slug]:not([data-slug=""]) .ib-catalog-toolbar,
#ib-creators[data-slug]:not([data-slug=""]) .ib-catalog-workspace {
  display: none !important;
}

#ib-creators[data-slug]:not([data-slug=""]) {
  width: min(100% - 32px, 1420px);
  padding-top: 20px;
}

#ib-creators[data-slug]:not([data-slug=""]) .ib-creators-header {
  min-height: 198px;
  margin-bottom: 22px;
  padding: 34px clamp(24px, 4vw, 56px);
  border-radius: 24px;
  background: radial-gradient(circle at 88% 16%, rgba(116, 205, 255, .24), transparent 25%), linear-gradient(128deg, #102b4c 0%, #155889 60%, #1478c3 100%);
  box-shadow: 0 18px 38px rgba(12, 52, 86, .14);
}

#ib-creators[data-slug]:not([data-slug=""]) .ib-creators-header h1 {
  max-width: 900px;
  margin: 13px 0 8px;
  font-size: clamp(30px, 4vw, 50px);
}

#ib-creators[data-slug]:not([data-slug=""]) .ib-creators-header p {
  max-width: 720px;
  font-size: 15px;
}

#ib-creators[data-slug]:not([data-slug=""]) .ib-creator-detail {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#ib-creators[data-slug]:not([data-slug=""]) .ib-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 15px;
  padding: 8px 13px;
  border: 1px solid #d8e6f0;
  border-radius: 10px;
  background: rgba(255,255,255,.72);
  color: #1269aa;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 5px 15px rgba(18, 53, 87, .05);
}

#ib-creators[data-slug]:not([data-slug=""]) .ib-back:hover {
  border-color: #8dbfe3;
  background: #fff;
  transform: translateY(-1px);
}

#ib-creators[data-slug]:not([data-slug=""]) .ib-creator-detail > h2 {
  margin: 0 0 6px;
  color: #143450;
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -.035em;
}

#ib-creators[data-slug]:not([data-slug=""]) .ib-creator-detail > p {
  max-width: 720px;
  margin: 0 0 22px;
  color: #688096;
  font-size: 15px;
  line-height: 1.55;
}

#ib-creators[data-slug]:not([data-slug=""]) #ib-creator-form {
  margin-top: 22px;
  border-color: #d8e6f0;
  box-shadow: 0 14px 32px rgba(20, 54, 86, .08);
}

@media (max-width: 760px) {
  #ib-creators[data-slug]:not([data-slug=""]) {
    width: calc(100% - 20px);
    padding-top: 12px;
  }

  #ib-creators[data-slug]:not([data-slug=""]) .ib-creators-header {
    min-height: 188px;
    margin-bottom: 18px;
    padding: 25px 21px;
    border-radius: 18px;
  }

  #ib-creators[data-slug]:not([data-slug=""]) .ib-creators-header h1 {
    max-width: 310px;
    font-size: clamp(29px, 9vw, 40px);
  }

  #ib-creators[data-slug]:not([data-slug=""]) .ib-creators-header p {
    max-width: 315px;
    font-size: 14px;
  }

  #ib-creators[data-slug]:not([data-slug=""]) .ib-creator-detail > p {
    margin-bottom: 18px;
    font-size: 14px;
  }
}
