:root {
  --vistana-spotlight-text: #1a1a1a;
  --vistana-spotlight-muted: #6b6b6b;
  --vistana-spotlight-border: #e8e8e8;
  --vistana-spotlight-radius: 28px;
  --vistana-spotlight-shadow: 0 25px 60px rgba(20, 20, 20, 0.12);
  --vistana-spotlight-accent: #0c0c0c;
}

.vistana-spotlight-wrapper {
  font-family: "Poppins", "Sora", "Space Grotesk", sans-serif;
  color: var(--vistana-spotlight-text);
  width: min(220px, 100%);
}

.vistana-spotlight-card {
  border-radius: 0;
  padding: 20px 24px 24px;
  text-align: center;
  background: #fff;
  box-shadow: none;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vistana-spotlight-card__logo {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.vistana-spotlight-card__logo img {
  max-width: 100px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.vistana-spotlight-card__title {
  display: none;
}

.vistana-spotlight-card__category {
  font-size: 1rem;
  color: var(--vistana-spotlight-text);
  margin: 0 0 12px;
  font-weight: 400;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
}

.vistana-spotlight-card__trigger {
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  border: none !important;
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease !important;
  padding: 0 !important;
  min-width: unset !important;
  box-shadow: none !important;
}

.vistana-spotlight-card__trigger:hover {
  transform: translateY(2px) !important;
  background: var(--vistana-spotlight-text) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.vistana-spotlight-card__trigger svg {
  width: 20px;
  height: 20px;
}

.vistana-spotlight-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.vistana-spotlight-modal[hidden] {
  display: none !important;
}

.vistana-spotlight-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(51, 51, 51, 0.95);
}

.vistana-spotlight-modal__dialog {
  position: relative;
  width: 540px;
  max-width: calc(100vw - 32px);
  height: 642px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border-radius: 0px;
  padding: 60px 40px 50px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  border: none;
  animation: vistana-spotlight-pop 320ms ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vistana-spotlight-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none !important;
  background: transparent !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  color: #333;
  font-size: 20px;
  padding: 0;
  line-height: 1;
}

.vistana-spotlight-modal__close:hover {
  opacity: 0.6;
}

.vistana-spotlight-modal__close svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.vistana-spotlight-modal__logo {
  display: block;
}

.vistana-spotlight-modal__logo img {
  width: 200px;
  max-width: 100%;
  margin: 0 auto 60px;
  display: block;
}

.vistana-spotlight-modal__image {
  display: none;
}

.vistana-spotlight-modal__image img {
  width: 100%;
  height: auto;
  display: block;
}

.vistana-spotlight-modal__body {
  text-align: center;
}

.vistana-spotlight-modal__title {
  font-family: "Poppins", "Sora", "Space Grotesk", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 36px;
  color: #000;
}

.vistana-spotlight-modal__category {
  font-family: "Poppins", "Sora", "Space Grotesk", sans-serif;
  color: #404040;
  margin: 0 0 40px 0;
  line-height: 36px;
  font-size: 24px;
  font-weight: 400;
}

.vistana-spotlight-modal__description {
  display: none;
}

.vistana-spotlight-modal__details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.vistana-spotlight-modal__detail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: "Poppins", "Sora", "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 36px;
  font-weight: 300;
  justify-content: center;
}

.vistana-spotlight-modal__detail-label {
  font-weight: 700;
  color: #000;
}

.vistana-spotlight-modal__detail-value {
  font-weight: 400;
  color: #000;
}

.vistana-spotlight-modal__detail-link {
  color: #000;
  text-decoration: none;
  border-bottom: none;
  font-weight: 300;
}

.vistana-spotlight-modal__detail-link:hover {
  border-color: rgba(0, 0, 0, 0.5);
}

.vistana-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 580px) {
  .vistana-spotlight-modal__dialog {
    width: calc(100vw - 32px);
    height: auto;
    min-height: 500px;
    border-radius: 0px;
    padding: 50px 24px 40px;
  }

  .vistana-spotlight-modal__logo img {
    width: 160px;
    margin-bottom: 30px;
  }

  .vistana-spotlight-modal__title {
    font-size: 24px;
  }

  .vistana-spotlight-modal__category {
    font-size: 16px;
    margin-bottom: 24px;
  }
}

@keyframes vistana-spotlight-pop {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
