.revonik-configurator {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.revonik-configurator.is-column {
  flex-direction: column;
  align-items: stretch;
}

.revonik-configurator__fields {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}

.revonik-configurator__field {
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1 1 220px;
}

.revonik-configurator__label {
  display: none !important;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #222;
}

.revonik-configurator__select {
  appearance: none;
  width: 100%;
  min-height: 56px;
  padding: 10px 40px 10px 12px;
  border: 1px solid #d6d8dd;
  border-radius: 20px !important;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.2;
  color: #111827;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.revonik-configurator__select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  color: #ffffff !important;
    backdrop-filter: blur(40px) !important;
background: rgba(255, 255, 255, 0.2) !important;
}

.revonik-configurator__cta {
  min-height: 56px;
  width: 25% !important;
  border: 0;
  border-radius: 20px !important;
  border: none !important;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  color: #111;
  background: #fff;
  box-shadow: 0 0 0 1px #d6d8dd inset;
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.revonik-configurator__cta:hover {
  background: #f2f3f5;
}

.revonik-configurator__cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.revonik-configurator.is-loading .revonik-configurator__cta {
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .revonik-configurator {
    flex-direction: column;
    align-items: stretch;
  }

  .revonik-configurator__cta {
    width: 100% !important;
  }
}

/* Live search field inside the custom dropdown menu */
.rv-dropdown-search {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
}

.rv-dropdown-search__input {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #d6d8dd;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.2;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rv-dropdown-search__input:focus {
  border-color: #c0451f;
  box-shadow: 0 0 0 2px rgba(192, 69, 31, 0.15);
}

.rv-dropdown-menu__empty {
  padding: 14px 16px;
  color: #6b7280;
  font-size: 15px;
  text-align: center;
}

/* Product-type group header inside the parts dropdown */
.rv-dropdown-menu__group {
  padding: 12px 16px 6px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.01em;
  pointer-events: none;
  cursor: default;
}

.rv-dropdown-menu__group:first-child {
  padding-top: 6px;
}
