/* Glayru Spot v24: image on the left, actions in one right-hand column. */
#tab-services .spot-photo-layout-v24 {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
}
#tab-services .spot-menu-photo-layout-v24 .spot-food-image-box {
  width: 100%;
  max-width: none;
  aspect-ratio: 1;
}
#tab-services .spot-menu-photo-layout-v24 .spot-catalog-photo-actions,
#tab-services .spot-service-photo-layout-v24 .spot-service-photo-controls-v24 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
#tab-services .spot-menu-photo-layout-v24 .spot-catalog-photo-actions > .button,
#tab-services .spot-service-photo-layout-v24 .spot-service-photo-controls-v24 > .button,
#tab-services .spot-service-photo-layout-v24 .spot-photo-upload-v24 .spot-service-upload-custom {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 10px 11px;
  text-align: center;
  line-height: 1.3;
  font-size: 12px;
  font-weight: 650;
  box-sizing: border-box;
  white-space: normal;
}
#tab-services .spot-menu-photo-layout-v24 .spot-catalog-photo-actions > .button > span,
#tab-services .spot-service-photo-layout-v24 .spot-service-photo-controls-v24 .button > span {
  min-width: 0;
  overflow-wrap: break-word;
  font-size: inherit;
}
#tab-services .spot-menu-photo-layout-v24 .spot-catalog-photo-actions > .button > i,
#tab-services .spot-service-photo-layout-v24 .spot-service-photo-controls-v24 .button > i {
  flex: 0 0 auto;
}
#tab-services .spot-service-photo-actions .spot-service-photo-layout-v24 {
  flex: 0 0 100%;
}
#tab-services .spot-service-photo-layout-v24 .spot-service-photo-box-v24 {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  border: 1px solid #304461;
  border-radius: 14px;
  background: #13243a;
  overflow: hidden;
}
#tab-services .spot-service-photo-layout-v24 #service-image-preview {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}
#tab-services .spot-service-photo-layout-v24 #service-image-preview[hidden] { display: none; }
#tab-services .spot-service-photo-placeholder-v24 {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8ea4bf;
  font-size: 11px;
}
#tab-services .spot-service-photo-placeholder-v24 i { font-size: 22px; }
#tab-services .spot-service-photo-box-v24 #service-image-preview:not([hidden]) + .spot-service-photo-placeholder-v24 {
  display: none;
}
#tab-services .spot-service-photo-layout-v24 .spot-photo-upload-v24 {
  display: block;
  position: relative;
  min-width: 0;
  width: 100%;
  margin: 0;
  cursor: pointer;
}
#tab-services .spot-service-photo-layout-v24 .spot-photo-upload-v24 .spot-catalog-file,
#tab-services .spot-service-photo-layout-v24 .spot-photo-upload-v24 #service-image-file {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  clip-path: inset(50%);
}
#tab-services .spot-service-photo-layout-v24 .spot-photo-upload-v24:focus-within .spot-service-upload-custom {
  outline: 2px solid #9fc7ff;
  outline-offset: 2px;
}
#tab-services .spot-service-photo-layout-v24 .spot-photo-upload-v24 .spot-service-upload-custom,
#tab-services .spot-service-photo-layout-v24 #service-image-ai { border-radius: 10px; }
@media (max-width: 760px) {
  #tab-services .spot-photo-layout-v24 { grid-template-columns: minmax(0, 48%) minmax(0, 1fr); gap: 10px; }
  #tab-services .spot-menu-photo-layout-v24 .spot-catalog-photo-actions { display: flex; }
}
@media (max-width: 430px) {
  #tab-services .spot-menu-photo-layout-v24 .spot-catalog-photo-actions > .button,
  #tab-services .spot-service-photo-layout-v24 .spot-service-photo-controls-v24 > .button,
  #tab-services .spot-service-photo-layout-v24 .spot-photo-upload-v24 .spot-service-upload-custom {
    padding: 8px 6px;
    gap: 6px;
    font-size: 11px;
  }
}
