.customisations-product-builder {
  width: 100%;
  padding: 20px;
  border-radius: 6px;
}
.customisations-product-controls {
  margin-bottom: 10px;
}
.customisations-product-controls .customisations-add {
  cursor: pointer;
  border-color: #316756;
  background-color: #316756;
  color: white;
}

.customisations-product-controls .customisations-add:hover {
  background-color: #316756;
  color: white;
}

.customisations-row {
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #fafafa;
}
.customisations-row-top {
  display: flex;
  gap: 8px;
  align-items: center;
}
.customisations-search {
  position: relative;
  flex: 1;
}
.customisations-search-input {
  width: 100%;
  border: none !important;
}

.customisations-search-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-top: 4px;
  max-height: 280px;
  overflow: auto;
}
.customisations-result {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  cursor: pointer;
}
.customisations-result:hover {
  background: #f2f2f2;
}
.customisations-result img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
}
.customisations-remove {
  border: none !important;
  font-size: 40px !important;
  padding: 0 !important;
  cursor: pointer;
}

.customisations-remove:hover {
  background-color: transparent !important
}

.customisations-selected-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}
.customisations-selected-head .customisations-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #eee;
}
.customisations-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.customisations-field {
  display: grid;
  gap: 4px;
}

.customisations-field input, .customisations-field select {
  border-radius: 5px;
  border: none !important;
  background-color: white;
}

.customisations-empty {
  padding: 8px;
  color: #666 
}

.product-data {
  display: none;
}

@media (max-width: 640px){
  .customisations-fields {
    grid-template-columns: 1fr;
  }
}