/* Monument carousel: the selected shape remains the only card with controls. */
body.reference-study #catalog {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding: 38px max(20px, calc((100vw - 1240px) / 2)) 42px !important;
  background: #fff !important;
  overflow: hidden;
}
body.reference-study #catalog .section-heading {
  display: block !important;
  margin: 0 0 8px !important;
  text-align: center;
}
body.reference-study #catalog .section-heading > div { width:100% !important; }
body.reference-study #catalog .section-heading h2 {
  text-align: center !important;
}
body.reference-study #catalog #catalog-grid {
  position: relative;
  display: block !important;
  width: 100%;
  height: 430px;
  overflow: visible;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  outline: none;
  --carousel-step: clamp(220px, 20vw, 270px);
}
body.reference-study #catalog #catalog-grid.is-dragging { cursor: grabbing; }
body.reference-study #catalog #catalog-grid:focus-visible .catalog-card.is-active .catalog-image-window { outline:2px solid #345744 !important; outline-offset:4px; }
body.reference-study #catalog .catalog-card,
body.reference-study #catalog .catalog-card:nth-child(n) {
  position: absolute !important;
  z-index: var(--layer, 1);
  top: 0;
  left: 50%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  width: 290px;
  height: 405px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: translateX(calc(-50% + var(--offset, 0) * var(--carousel-step))) scale(var(--scale, 1));
  transform-origin: center top;
  transition: transform .45s cubic-bezier(.22,1,.36,1), filter .45s;
  opacity: var(--opacity, 1);
  cursor: pointer;
}
body.reference-study #catalog .catalog-card.is-active { cursor: default; }
body.reference-study #catalog .catalog-card.is-away { pointer-events: none; visibility: hidden; transition: none; }
body.reference-study #catalog .catalog-card.is-far { filter: blur(2px); }
body.reference-study #catalog .catalog-image-window {
  width: 100% !important;
  height: 405px !important;
  flex: none;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  overflow: visible !important;
}
body.reference-study #catalog .catalog-photo {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #fff !important;
  pointer-events: none;
}
body.reference-study #catalog .catalog-save,
body.reference-study #catalog .catalog-price { display: none !important; }
body.reference-study #catalog .catalog-meta {
  display: none !important;
  flex: none !important;
  width: 100%;
  min-height: 0 !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s;
}
body.reference-study #catalog .catalog-meta h3 {
  margin: 0 !important;
  color: #111 !important;
  font-size: 25px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}
body.reference-study #catalog .catalog-action {
  display: none !important;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 275px !important;
  min-height: 58px !important;
  margin: 30px auto 0 !important;
  padding: 12px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #20372c !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-decoration: none !important;
  opacity: 0;
  visibility: hidden;
  transition: background .2s, opacity .2s;
}
body.reference-study #catalog .catalog-action:hover,
body.reference-study #catalog .catalog-action:focus-visible { background: #345744 !important; }
body.reference-study #catalog .catalog-card.is-active .catalog-meta,
body.reference-study #catalog .catalog-card.is-active .catalog-action {
  opacity: 1;
  visibility: visible;
  transition-delay: .25s;
}
body.reference-study #catalog #catalog-status { margin: 0; }
body.reference-study #catalog .catalog-carousel-caption { position:relative; z-index:5; display:flex; flex-direction:column; align-items:center; gap:20px; min-height:105px; text-align:center; }
body.reference-study #catalog .catalog-carousel-caption h3 { margin:0; color:#20372c; font-size:25px; line-height:1.3; font-weight:400; }
body.reference-study #catalog .catalog-carousel-action { min-width:275px; min-height:58px; padding:12px 18px; border:0; border-radius:999px; background:#20372c; color:#fff; font:inherit; font-size:15px; cursor:pointer; }
body.reference-study #catalog .catalog-carousel-action:hover,
body.reference-study #catalog .catalog-carousel-action:focus-visible { background:#345744; }

@media (max-width: 700px) {
  body.reference-study #catalog { padding: 32px 0 30px !important; }
  body.reference-study #catalog .section-heading { margin-bottom: 12px !important; padding-inline: 20px; }
  body.reference-study #catalog #catalog-grid {
    width: 100vw;
    max-width: 100%;
    height: 310px;
    --carousel-step: clamp(142px, 44vw, 190px);
  }
  body.reference-study #catalog .catalog-card,
  body.reference-study #catalog .catalog-card:nth-child(n) {
    width: 220px;
    height: 290px;
    top: 0;
  }
  body.reference-study #catalog .catalog-image-window { height: 290px !important; }
  body.reference-study #catalog .catalog-meta { margin-top: 8px !important; }
  body.reference-study #catalog .catalog-meta h3 { font-size: 20px !important; }
  body.reference-study #catalog .catalog-action {
    width: 212px !important;
    min-height: 48px !important;
    margin-top: 18px !important;
    font-size: 14px !important;
  }
  body.reference-study #catalog .catalog-carousel-caption { gap:14px; min-height:90px; }
  body.reference-study #catalog .catalog-carousel-caption h3 { font-size:20px; }
  body.reference-study #catalog .catalog-carousel-action { min-width:212px; min-height:48px; font-size:14px; }
}
@media (prefers-reduced-motion: reduce) {
  body.reference-study #catalog .catalog-card,
  body.reference-study #catalog .catalog-meta,
  body.reference-study #catalog .catalog-action { transition: none !important; }
}
