.vhps-showcase {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 1px;
}

.vhps-showcase .vhps-track-wrapper {
  overflow: hidden !important;
  width: 100% !important;
  min-width: 0;
}

.vhps-showcase .vhps-track {
  display: flex !important;
  gap: 16px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.vhps-showcase .vhps-item {
  position: relative;
  flex: 0 0 calc(25% - 12px);
  aspect-ratio: 1 / 1;
  min-height: 260px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.vhps-showcase .vhps-image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  z-index: 1;
}

.vhps-showcase .vhps-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.15));
}

.vhps-overlay h3 {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.vhps-overlay p {
  margin: 8px 0 0;
  color: #ff9c33;
  font-size: 0.95rem;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.vhps-arrow {
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
}

.vhps-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.vhps-lightbox.is-open {
  display: block;
}

.vhps-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.vhps-lightbox-content {
  position: relative;
  width: 80vw;
  max-width: 1100px;
  max-height: 85vh;
  overflow: hidden;
  background: #111;
  margin: 5vh auto;
  border-radius: 10px;
  padding: 24px;
  z-index: 2;
}

.vhps-lightbox-images {
  display: block;
}

.vhps-lightbox-images img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
}

.vhps-lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  z-index: 3;
}

.vhps-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
}

.vhps-lightbox-prev { left: 10px; }
.vhps-lightbox-next { right: 10px; }

.vhps-upload-form input,
.vhps-upload-form textarea,
.vhps-upload-form button {
  width: 100%;
  max-width: 560px;
  padding: 10px;
}

.vhps-dropzone {
  max-width: 560px;
  border: 2px dashed #999;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  background: #fafafa;
  cursor: pointer;
}

.vhps-dropzone.is-dragover {
  border-color: #ff8f1f;
  background: #fff3e8;
}

.vhps-dropzone input[type="file"] {
  margin-top: 8px;
}

.vhps-featured-fieldset {
  width: 100%;
  max-width: 560px;
  border: 1px solid #ddd;
  padding: 10px;
  margin: 0 0 12px;
}

.vhps-featured-radios label {
  display: block;
  margin-top: 8px;
}

.vhps-upload-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.vhps-upload-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: vhps-spin 0.8s linear infinite;
}

.vhps-upload-submit.is-loading .vhps-upload-spinner {
  display: inline-block;
}

.vhps-upload-loading-text {
  font-weight: 600;
  min-height: 22px;
}

@keyframes vhps-spin {
  to { transform: rotate(360deg); }
}

.vhps-message {
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 6px;
}

.vhps-message-error {
  background: #fbeaea;
  color: #8b0000;
}

.vhps-message-success {
  background: #eaf8ea;
  color: #0b6f0b;
}

.vhps-manage-projects {
  margin-top: 24px;
}

.vhps-manage-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vhps-manage-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.vhps-manage-thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f0f0;
  flex: 0 0 60px;
}

.vhps-manage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vhps-manage-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.vhps-delete-form button {
  width: auto;
}

@media (max-width: 1024px) {
  .vhps-showcase .vhps-item {
    flex: 0 0 calc(50% - 8px);
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .vhps-showcase .vhps-item {
    flex: 0 0 100%;
    min-height: 260px;
  }

  .vhps-lightbox-content {
    width: 95vw;
    padding: 14px;
  }
}
