/* =====================================================================
   Reviews popup — modal layout only; button styling lives elsewhere.
   Load it alongside trustpilot-popup.js. Any element carrying the
   data-trustpilot-trigger attribute will open it.
   ===================================================================== */

.tp-overlay {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.7); padding: 24px 16px;
  opacity: 0; transition: opacity .2s ease;
}
.tp-overlay.tp-open { opacity: 1; }
.tp-overlay[hidden] { display: none; }

.tp-modal {
  position: relative; background: #fcfcfc;
  width: 100%; max-width: 1024px; height: calc(100vh - 48px); max-height: 960px;
  border-radius: 10px; overflow: hidden;
  transform: translateY(14px) scale(.99); transition: transform .2s ease;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.tp-overlay.tp-open .tp-modal { transform: translateY(0) scale(1); }

.tp-frame { width: 100%; height: 100%; border: 0; display: block; }

.tp-close {
  position: absolute; top: 12px; right: 16px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; border: 0;
  font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.tp-close:hover { background: rgba(0,0,0,.8); }

@media (max-width: 560px) {
  .tp-overlay { padding: 0; }
  .tp-modal { height: 100vh; max-height: none; border-radius: 0; }
}
