/* Shared gallery styling */
.rm-gallery-uploader { margin-top:0; }
.rm-dropzone {
  border: 2px dashed #c8c8c8;
  border-radius: 10px;
  padding: 18px;
  background: #fafafa;
  position: relative;
}
.rm-dropzone.is-dragover { background: #f0f8ff; border-color: #0073aa; }
.rm-dropzone input[type="file"]{
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.rm-dropzone p { margin: 0 0 6px 0; }
.rm-gallery-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top:0;
}
.rm-image-item {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
  position: relative;
}
.rm-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Admin remove button */
.rm-gallery-admin .rm-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.65);
  color: #fff;
  line-height: 22px;
  padding: 0;
  cursor: pointer;
}

.rm-gallery-existing-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
}
.rm-gallery-existing-item input { margin-top:0; }
.rm-remove-label { font-size: 12px; opacity: 0.8; }

/* Drag cues */
.rm-image-item, .rm-gallery-existing-item { cursor: move; }
.rm-image-item.is-dragging, .rm-gallery-existing-item.is-dragging { opacity: 0.6; }

/* Lightbox */
.rm-lightbox-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 18px;
}
.rm-lightbox-overlay img{
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 12px;
}
.rm-single-gallery{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 10px 0 18px;
}
.rm-single-gallery a img{ border-radius: 10px; }


/* --- Hero Cleanup Patch --- */
.rm-hero-top-space,
.rm-mobile-filters,
.rm-filter-toggle,
.rm-mobile-menu,
.rm-mobile-toggle {
    display: none !important;
}

.rm-hero,
.rm-hero-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

